Skip to content

Instantly share code, notes, and snippets.

@algorev
Created May 19, 2017 15:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save algorev/2ff2e5d11819cc3620753f3ef2237239 to your computer and use it in GitHub Desktop.
Save algorev/2ff2e5d11819cc3620753f3ef2237239 to your computer and use it in GitHub Desktop.
The final code of an algorave session with Sonic Pi: the result is available here: http://www.newgrounds.com/audio/listen/745306
live_loop :dubstep do
use_synth :growl
play_pattern_timed [:c4, :f53, :c3], 1, amp: 2
end
live_loop :drums do
sample :loop_industrial
sample :misc_cineboom
sleep 0.9
end
live_loop :thing do
sync :drums
sample :vinyl_scratch
sample :bd_tek
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment