Skip to content

Instantly share code, notes, and snippets.

@mgalushka
Created July 9, 2016 11: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 mgalushka/41fdd6919c768ce79eb80a659f0eef0b to your computer and use it in GitHub Desktop.
Save mgalushka/41fdd6919c768ce79eb80a659f0eef0b to your computer and use it in GitHub Desktop.
Session with KG.
ls = [50, 55, 62, 50, 55, 62, 50, 55, 62, 50, 55, 62].ring
counter = 0
live_loop :amen_break do
use_bpm 80
counter = (inc counter)
sample :loop_amen, beat_stretch: 2
#play [:E3, :G3, :B3]
play ls[counter]
sleep 1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment