Skip to content

Instantly share code, notes, and snippets.

View nicoder's full-sized avatar

Nicolas Dermine nicoder

View GitHub Profile
with_fx :echo do
live_audio :in, amp: 2
end
live_loop :a do
use_synth :hollow
with_fx :echo do
play 60, release: 0.2
end
sleep 1
with_fx :panslicer, phase: 0.5 do
with_fx :reverb do
with_fx :echo do
with_fx :krush do
live_audio :in1, amp: 3, pan: -1
end
with_fx :distortion do
live_audio :in2, amp: 3, pan: 1
end
end
with_fx :echo do
live_audio :hi, amp: 3
end
live_loop :a do
sample :bd_808
sleep 1
end
live_loop :b, sync: :a do
live_loop :flibble do
sample :bd_haus
sleep 0.5
end
live_loop :drugi do
# sync :flibble
with_fx :ring_mod do
with_fx :echo do
play 60, release: 0.4
with_fx :echo do
live_audio :in, amp: 3
end
live_loop :a do
sample :bd_mehackit
sleep 1
end
live_loop :b do
live_loop :baseline do
use_synth :hoover
with_fx :lpf, cutoff: line(48, 64).tick do
play 60, attack: 0, release: 0, sustain: 4
play (ring 67, 69).stretch(2).look, attack: 0, release: 0, sustain: 4
sleep 4
end
end
live_loop :beat do
with_fx :echo do
live_audio :in
end
live_loop :a do
use_synth :hollow
play (ring 60, 62, 64, 60).tick, release: 4
sleep 1
end
with_fx :echo do
live_audio :in
end
live_loop :a do
sample :bd_haus
sleep 0.5
end
live_loop :b do
with_fx :echo do
live_audio :in
end
live_loop :a do
sample :bd_haus
sleep 0.5
end
live_loop :b do
# end-result of 5 minutes of live-coding at wroc_love.rb
live_loop :wroc do
sample :loop_amen ,onset: pick, rate: [-1, 1].choose
sleep 0.25
end
live_loop :love do
sync :wroc
use_synth :fm