Sonic Piのサンプル その1
live_loop :live do | |
with_fx :flanger do | |
base = 0 | |
cf = rrand(60, 120) | |
ch = chord(:C4, '7sus4') | |
rel = choose([0.1, 0.2, 0.4, 0.6]) | |
use_synth :prophet | |
play choose(ch) + base + choose([-12, 0, 12])+12, cutoff: cf, pan: rrand(-1.0, 1.0), release: rel | |
play choose(ch) + base + choose([-12, 0, 12]), cutoff: cf, pan: rrand(-1.0, 1.0), release: rel | |
play choose(ch) + base + choose([-12, 0, 12]), cutoff: cf, pan: rrand(-1.0, 1.0), release: rel | |
play choose(ch) + base + choose([-12, 0, 12])-12, cutoff: cf, pan: 0.0, release: rel | |
sleep 0.125 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment