Skip to content

Instantly share code, notes, and snippets.

View nicoder's full-sized avatar

Nicolas Dermine nicoder

View GitHub Profile
use_bpm 180
use_synth :dsaw
live_loop :a do
sample :bd_808, amp: 2
sleep 1
end
live_loop :b do
use_synth :dsaw
live_loop :a do
play 50, cutoff: 50, release: 1.5, pan: -0.2
play 50 - (ring 5, 7).stretch(8).tick, cutoff: 50, release: 1.5, pan: -0.2
sleep 1
end
notes = scale(50 + 12, :major, num_octaves: 2).shuffle.stretch(16)
use_bpm 180
live_loop :a do
sample :bd_ada
sleep 1
end
live_loop :b do
sync :a
sleep (ring 0.1, 0.2, 0.3, 0.4).tick
live_loop :a do
sample :bd_808, amp: rrand(2, 4)
sleep 1
end
live_loop :b do
sync :a
sleep 0.5
with_fx :reverb, mix: rand() do
live_loop :a do
sample :bd_haus unless one_in 3
sleep 1
end
live_loop :b do
sync :a
use_synth :mod_beep
d = rrand_i(1, 5)
with_fx :gverb, mix: rrand(0.1, 0.5) do
live_loop :a do
use_synth :growl
play 42, pan: -0.5
sleep 1
end
live_loop :b do
sync :a
sleep 0.5
use_synth :growl
live_loop :a do
sample :drum_bass_hard
sleep 1
end
live_loop :b do
#sync :a
use_synth :fm
play 48 + (ring 0, 5, 3, 8).stretch(4).tick
sleep 0.5
with_fx :echo do
live_audio :in, amp: 10
end
use_synth :dull_bell
live_loop :a do
play 45
sleep 1
end
with_fx :echo do
live_audio :in, amp: 3
end
live_loop :a do
sample :bd_fat
sleep 1
end
live_loop :b do
with_fx :echo do
live_audio :in, amp: 3
end
live_loop :a do
sample :bd_mehackit, amp: (rrand 1, 2)
sleep 1
end
live_loop :b do