Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
live_loop :arp do
#stop
play (scale :e3, :minor_pentatonic).tick,
release: 0.20,
amp: 0.25
sleep 0.125
end
live_loop :pippo do
#stop
var_use_tb303 = false
n = (ring :e2, :e3, :d3,
:c2, :c3, :d2,
:e3, :e3, :d2, :d3, :d3, :f3,
:e3, :e2, :d2, :c2, :c1, :a2).tick
if var_use_tb303 then
use_synth :tb303
play n, amp: 0.50,
#decay: 0.25,
decay_level: 0.2,
release: 0.25,
cutoff: 90,
wave: 0
sleep 0.250
else
use_synth :dsaw
play n, amp: 0.5,
#decay: 0.25,
decay_level: 0.2,
release: 0.25, cutoff: 90
sleep 0.250
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.