Enjoy…If you see something to improve, tell ot to me, it will be with pleasure!
use_bpm 120
a = [1,0,0,0,2,0,0,0,1,0,0,0,2,0,0,0]
b = [3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3]
c = [0,0,4,0,4,0,4,4,4,0,0,0,4,0,4,4]
d = [0,0,5,0,0,5,5,0,0,5,0,0,5,0,0,5]
e = [0,6,0,0,0,0,0,0,6,0,0,6,0,0,0,0]
f = [7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7]
live_loop :drums do
with_fx :reverb, room: 0.9, mix: 0.4 do
16.times do |i|
sample :bd_haus, rpitch: rrand_i(1,12) if a[i] == 1
sample :sn_zome,rate: rrand(1, 4), pan: -1 if a[i] == 2
sample :drum_cymbal_closed, amp: 0.5 if b[i] == 3
sample :drum_cowbell, amp: 0.5, num_slices: 8, slice: pick if c[i] == 4
sample :drum_tom_hi_soft, cutoff: rrand(60,120) if d[i] == 5
sample :misc_crow,amp: 0.6, num_slices: 8, slice: pick if e[i] == 6
sample :tabla_tas1, amp: 0.7, hpf: 0.5, pan: rrand(-1, 1) if f[i] == 7
sleep 0.5
end
end
end
live_loop :dense do
with_fx :echo, phase: 0.5, decay: 0.1 do
use_random_seed 800
density (ring, 2, 4, 6, 8).tick do
play scale(:e, :minor_pentatonic).choose, amp: 0.3, pan: rrand(-1, 1)
sleep 1
end
end
end