Skip to content

Instantly share code, notes, and snippets.

@dalekmad
Created February 4, 2017 10:31
Show Gist options
  • Save dalekmad/d9712fecc57c8bfa098c3b3f52e190e8 to your computer and use it in GitHub Desktop.
Save dalekmad/d9712fecc57c8bfa098c3b3f52e190e8 to your computer and use it in GitHub Desktop.
use_synth :piano
live_loop :p do
use_random_seed 80
y = (scale :f5, :augmented ).shuffle
x = (scale :g5, :chinese).shuffle
6.times do
play y.tick, release: 0.125, cutoff: 70, res: 0.5, wave: 1
sleep 0.25
end
6.times do
play x.tick, release: 0.125, cutoff: 10, res: 0.9, wave: 3, amp: 2
sleep 0.25
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment