This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# needs v2.10 | |
sample :drum_roll, finish: 0.5 | |
3.times do | |
sample :drum_bass_hard | |
sleep 1 | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
live_loop :a do | |
sample (ring :perc_swash, :perc_till).tick | |
sleep 0.5 | |
end | |
live_loop :b do | |
#sync :a | |
play (ring 38, 45).stretch(4).tick, release: 0.2, amp: (line 0.2, 2, steps: 16).mirror.look | |
sleep 0.125 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sample :vinyl_rewind | |
live_loop :a do | |
sample :tabla_dhec if (spread 9, 14).tick | |
sleep 0.25 | |
end | |
live_loop :b do | |
#sync :a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sample lines were copied from somewhere, maybe the Sonic Pi mailing list, maybe Robin Newman | |
live_loop :groove do | |
tick | |
sample sample_names(:tabla).choose, beat_stretch: 0.25 if spread(7, 13).look | |
sample sample_names(:drum).choose, beat_stretch: 0.25 unless spread(5, 13).look | |
sample :sn_zome,beat_stretch: 0.25 if spread(5,8).look | |
sample :bd_haus,amp: 2 if look % 4 == 0 | |
play (ring 51, 46, 48).stretch(32).look, release: 0.8, amp: 2 if look % 4 == 0 | |
play 72, release: 0.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
live_loop :a do | |
sample :drum_bass_hard | |
sleep (ring 1, 0.5, 0.25).tick | |
end | |
live_loop :b do | |
sync :a | |
sleep rrand(0.1, 0.3) | |
with_fx :echo do | |
with_fx :reverb do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s = :loop_tabla | |
t = (sample_duration s) / 16.0 | |
live_loop :l1 do | |
sample s, amp: 4 | |
sleep sample_duration s | |
end | |
live_loop :l2 do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_bpm 180 | |
live_loop :one do | |
synth :mod_fm, note: 72, release: 2, mod_pulse_with: 1 | |
play (ring 72, 70, 72, 74, 72, 70, 72, 72).tick, release: 4 | |
sleep 3 | |
end | |
live_loop :two do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
live_loop :m do | |
sleep 4 | |
end | |
live_loop :b do | |
sync :m | |
3.times do | |
sample :bd_808, amp: (ring 2, 2.5, 3).tick | |
sleep 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
live_loop :a do | |
play (ring 72, 70, 75, 69).tick | |
sleep (ring 0.5, 1, 0.25, 0.5).look | |
end | |
live_loop :b do | |
sync :a | |
sample :bd_haus | |
sample :bd_haus, pan = [-1, 1].choose |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
live_loop :m do | |
sleep 1 | |
end | |
live_loop :c do | |
sync :m | |
with_fx :reverb, mix: 0.6, pre_mix: 0.5, room: 0.4 do | |
sample :drum_cymbal_open, amp: 1, pan: 0.3 | |
sleep 0.5 |