Created
May 25, 2018 19:59
-
-
Save lisabaut/8d1cfa191bc9349d4fceadac32d215b6 to your computer and use it in GitHub Desktop.
SonicPi Workshop 2018-01-22
This file contains 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
# Benjamin Workshop | |
use_bpm 110 | |
live_loop :bubble do | |
use_synth (ring :tri, :blade).tick | |
play :e2, attack: 1, cutoff: 100 | |
sleep 0.5 | |
end | |
sleep 8 | |
live_loop :timbre do | |
use_synth (ring :tb303, :blade, :prophet, :saw, :beep, :tri).tick | |
play :e2, attack: 0, release: 0.5, cutoff: 100 | |
sleep 0.5 | |
end | |
sleep 4 | |
live_loop :bubble2 do | |
32.times do | |
use_synth (ring :tri, :blade).tick | |
play :a2, attack: 1, cutoff: 100 | |
sleep 0.5 | |
end | |
stop | |
end | |
sleep 16 | |
live_loop :hihat do | |
15.times do | |
sample :drum_cymbal_pedal, amp: 0.2 | |
sleep 0.5 | |
end | |
sample :drum_cymbal_open, amp: 0.2 | |
sleep 0.5 | |
end | |
live_loop :melody do | |
8.times do | |
use_synth :mod_fm | |
notes = scale :e4, :minor | |
puts notes | |
play 64, release: 10, amp: 0.3 | |
play 64 | |
sleep 1 | |
play 66 | |
sleep 1 | |
play 67 | |
sleep 1 | |
play 69 | |
sleep 1 | |
end | |
stop | |
end# We to So | |
sleep 16 | |
live_loop :kickdrum do | |
sample :bd_haus, amp: 1 | |
sleep 1 | |
end | |
live_loop :hihat do | |
sample :drum_cymbal_soft, amp: 0.4 | |
sleep 0.5 | |
end | |
live_loop :snare do | |
sleep 1 | |
sample :drum_snare_soft, amp: 1.3 | |
sleep 1 | |
end | |
sleep 16 | |
# comment do | |
live_loop :drums do | |
sample :bd_housesample | |
sample :bd_klub | |
sleep 1 | |
sample :bd_house | |
sample :bd_klub | |
sleep 0.5 | |
sample :bd_house | |
sample :bd_klub | |
sleep 0.5 | |
sample :bd_house | |
sample :bd_klub | |
sleep 1 | |
sample :bd_house | |
sample :bd_klub | |
sleep 1 | |
end | |
# end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment