Seems to be a nice drum pattern

use_bpm 180

ClosedHiHat  = [ 0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0 ]
HighTom  = [ 0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0 ]
MediumTom  = [ 0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0 ]
SnareDrum  = [ 0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0 ]
LowTom  = [ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 ]
Cowbell  = [ 1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0 ]
BassDrum  = [ 1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0 ]

live_loop :pattern do
  tick
  
  sample :drum_cymbal_closed if ClosedHiHat.look == 1
  
  sample :drum_tom_hi_soft if HighTom.look == 1
  
  sample :drum_tom_mid_hard if MediumTom.look == 1
  
  sample :drum_snare_soft if SnareDrum.look == 1
  
  sample :drum_tom_lo_hard if LowTom.look == 1
  
  sample :drum_cowbell if Cowbell.look == 1
  
  sample :drum_bass_hard if BassDrum.look == 1
  
  
  sleep 0.5
end


Seems to be a nice drum pattern. Thought of share with you. Please suggest improvements etc.

3 Likes

cowbell_more

(sorry, couldn’t resist :smiley: )

I would not call the following version ‘improved’, better or more correct, just different and more economical - and it uses randomised amp values in place of on/off triggers for each sample (and I randomised the cowbell pattern, even though you didn’t ask!).

use_bpm 180

chh  = [ 0,0,0.5,0]
htm  = [ 0,0,0,0,0,0,0,0.6]
mtm  = htm.rotate(4)
snr  = [ 0,0,1,0 ]
ltm  = knit( 0,15, 0.5,1 )
cwb  = [ 0.6,0,0,0]
bdr  = [ 0.8,0,0,0.5]

live_loop :pattern do
  tick
  cwb = cwb.rotate(rrand_i(0,3))
  sample :drum_cymbal_closed, amp: chh.look * rrand(0.5, 1.5)
  
  sample :drum_tom_hi_soft, amp: htm.look * rrand(0.5, 1.5)
  
  sample :drum_tom_mid_hard, amp: mtm.look * rrand(0.5, 1.5)
  
  sample :drum_snare_soft, amp: snr.look * rrand(0.5, 1.5)
  
  sample :drum_tom_lo_hard, amp: ltm.look * rrand(0.5, 1.5)
  
  sample :drum_cowbell, amp: cwb.look * rrand(0.5, 1.5)
  
  sample :drum_bass_hard, amp: bdr.look * rrand(0.5, 1.5)
  
  sleep 0.5
end

PD-Pi

2 Likes

those toms got me feelin kina:

1 Like