Skip to content

Instantly share code, notes, and snippets.

@tado
Created Nov 20, 2021
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