You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
621 B
Plaintext

s.boot;
(
x = {
var sig, freq = \freq.kr([54, 57, 61, 66].midicps, 0.2);
sig = VarSaw.ar(freq *.x {Rand(-0.08, 0.08).midiratio}.dup(5), {Rand(0, 1.0)}.dup(5));
sig = (sig * MouseX.kr(1, 100, 1).poll).softclip;
sig = LPF.ar(sig, freq);
sig = Splay.ar(sig) * 0.2;
sig = sig.blend(LPF.ar(GVerb.ar(sig.sum, 299, 4), 1200), 0.5);
sig.postln;
}.play(fadeTime: 5)
)
x.set(\freq, [52, 56, 61, 64].midicps);
x.set(\freq, [50, 54, 59, 62].midicps);
x.set(\freq, [49, 54, 57, 61].midicps);
x.set(\freq, [47, 52, 56, 59].midicps);
x.set(\freq, [54, 57, 61, 66].midicps);
x.set(\freq, [54, 59, 62, 66].midicps);
x.release(5)