Created
February 21, 2015 11:09
-
-
Save nicoder/a7f484bf127ad8f59e99 to your computer and use it in GitHub Desktop.
20150221 gab sonic pi
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
# sto lat, Gabriel! | |
use_bpm 100 | |
live_loop :beat do | |
sample :bass_voxy_c, release: 2, attack: 0.01, sustain: 0.01, amp: 0.5, rate: [0.5, 1, 2].choose | |
4.times do | |
sample :elec_bell, release: 0.1, attack: 0.01, sustain: 0.01 unless one_in 6 | |
sleep 0.25 | |
end | |
end | |
live_loop :mel do | |
2.times do | |
play :g | |
sleep 1 | |
play :e | |
sleep 1 | |
end | |
play :g | |
sleep 1 | |
play :a | |
sleep 0.5 | |
play :g | |
sleep 0.5 | |
play :f | |
sleep 0.5 | |
play :e | |
sleep 0.5 | |
play :f | |
sleep 2 | |
2.times do | |
play :f | |
sleep 1 | |
play :d | |
sleep 1 | |
end | |
play :f | |
sleep 1 | |
play :g | |
sleep 0.5 | |
play :f | |
sleep 0.5 | |
play :e | |
sleep 0.5 | |
play :d | |
sleep 0.5 | |
play :e | |
sleep 2 | |
2.times do | |
play :g | |
sleep 0.5 | |
play :g | |
sleep 0.5 | |
play :e | |
sleep 1 | |
end | |
play :g | |
sleep 1 | |
play :c5 | |
sleep 0.5 | |
play :b | |
sleep 0.5 | |
play :a | |
sleep 0.5 | |
play :ab | |
sleep 0.5 | |
play :a | |
sleep 2 | |
play :b | |
sleep 2 | |
play :b | |
sleep 1 | |
play :b | |
sleep 1 | |
play :c5 | |
sleep 4 | |
`say gabriel` | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment