Skip to content

Instantly share code, notes, and snippets.

@jajoosam
Created March 21, 2017 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jajoosam/e6a3331c6a72b6d043ae6784f7da323e to your computer and use it in GitHub Desktop.
Save jajoosam/e6a3331c6a72b6d043ae6784f7da323e to your computer and use it in GitHub Desktop.
My first track created using SonicPi. 18 seconds of retro game music. Or something like it.
2.times do
3.times do
use_synth :dull_bell
play 80
play 90
sleep 0.5
use_synth :prophet
play 60
sleep 0.5
end
use_synth :prophet
play 60
sleep 0.5
5.times do
sample :drum_heavy_kick
end
end
sample :loop_mika
use_synth :chipbass
5.times do
play :C
sleep 0.5
play :D
sleep 0.5
play :E
end
sleep 0.5
play :Fs3
sleep 1
play :Gb2
sleep 1
play :As4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment