Skip to content

Instantly share code, notes, and snippets.

@tado
Created November 20, 2021 00:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
live_loop :live do
use_synth :dsaw
32.times do
play scale(:C2, :dorian, num_octaves: 4).shuffle.take(2),
cutoff: rrand(40, 120), release: rand(0.5)
sleep 0.125
end
32.times do
play scale(:G2, :dorian, num_octaves: 4).shuffle.take(2),
cutoff: rrand(40, 120), release: rand(0.5)
sleep 0.125
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment