Drum and drum beats
From wikiluntti
Introduction
Some drum beats made with Sonic Pi are shown here.
Theory
4/4 beat or 3/4 beat.
Examples
We Will Rock You
live_loop :rummut do
sample
sleep 1
sample
sleep 1
sample
sleep 1
end
Drum Samples
First, try the different drums on the Pi:
live_loop :rummut do
sample :drum_tom_hi_hard
sleep 2
end
r = ring(:drum_splash_soft,:drum_splash_hard)
live_loop :rummut do
sample r.tick
sleep 2
end
r = ring(:drum_snare_soft,:drum_snare_hard)
live_loop :rummut do
sample r.tick
sleep 2
end
r = ring(:drum_cymbal_soft,:drum_cymbal_hard,:drum_cymbal_open,:drum_cymbal_closed,:drum_cymbal_pedal)
live_loop :rummut do
sample r.tick
sleep 2
end
r = ring(:drum_bass_soft,:drum_bass_hard)
live_loop :rummut do
sample r.tick
sleep 2
end
Basic Beats
Basic beats following Niels Myrners videos https://www.nkmdrums.com/beats/, and the instructions are given at https://www.nkmdrums.com/wp-content/uploads/2014/07/The-Seven-Basic-Beats-E-Book.pdf The same information is given on multiple pages, e.g. Tuomaksen rumpunurkka. Actually, there are three (3) different instruments but the hihat is played at every beat.
r = 0.4
live_loop :beatA do
sample :drum_bass_hard
sample :drum_tom_hi_hard
sleep r
sample :drum_tom_hi_hard
sample :drum_cymbal_hard
sleep r
end
r = 0.35
live_loop :beatB do
sample :drum_cymbal_closed
sample :drum_bass_soft
sleep r
sample :drum_cymbal_closed
sample :drum_bass_soft
sleep r
sample :drum_cymbal_closed
sample :drum_snare_hard
sleep r
sample :drum_cymbal_closed
sleep r
end
Beat C is played e.g. in
:
r = 0.35
live_loop :beatB do
sample :drum_cymbal_closed
sample :drum_bass_soft
sleep r
sample :drum_cymbal_closed
sample :drum_bass_soft
sleep r
sample :drum_cymbal_closed
sample :drum_snare_hard
sleep r
sample :drum_cymbal_closed
sample :drum_bass_soft
sleep r
end
r = 0.30
live_loop :beatD do
sample :drum_cymbal_closed
sample :drum_bass_soft
sleep r
sample :drum_cymbal_closed
sleep r
sample :drum_cymbal_closed
sample :drum_snare_hard
sleep r
sample :drum_cymbal_closed
sample :drum_bass_soft
sleep r
end
Latino Rhytms
The following is from http://www.cruiseshipdrummer.com/2012/08/groove-o-day-copelands-cha-cha.html. <syntaxhighlight> r = 0.3 live_loop :chachacha do
sample :drum_cymbal_pedal sample :drum_cowbell, amp:0.01 sample :drum_bass_hard sleep r sample :drum_cymbal_pedal sleep r sample :drum_cymbal_pedal sample :drum_cowbell, amp:0.01 sample :drum_cymbal_open sleep r sample :drum_cymbal_pedal sample :drum_bass_hard sleep r sample :drum_cymbal_pedal sample :drum_cowbell, amp:0.01 sleep r sample :drum_cymbal_pedal sleep r sample :drum_tom_hi_hard sample :drum_cowbell, amp:0.01 sample :drum_bass_hard sample :drum_cymbal_pedal sleep r sample :drum_tom_hi_hard sleep r
end <syntaxhighlight>