Skip to content

Instantly share code, notes, and snippets.

@tado
Created November 20, 2021 00:09
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 tado/72b821a86004b53b3a1eca0bbc3053b8 to your computer and use it in GitHub Desktop.
Save tado/72b821a86004b53b3a1eca0bbc3053b8 to your computer and use it in GitHub Desktop.
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