A.I. Thinking - Supercollider





















(
// exponential random
{Mix.fill(12, // number of oscillators
{arg i;
Pan2.ar(SinOsc.ar(SinOsc.ar(
freq: MouseX.kr(rrand(0.1, 5.0), rrand(3.0, 20.0)), // speed of vibrato
mul: MouseY.kr(10, 50), // width of vibrato
add: exprand(200, 5000)), // freq of exponential random oscillators
mul: max(0, LFNoise0.kr(MouseX.kr(rrand(1, 6),rrand(6, 1))))),1.0.rand2)
})*0.03
}.play
)
(
// linear random waves
{Mix.fill(12, // number of oscillators
{arg i;
Pan2.ar(SinOsc.ar(SinOsc.ar(
freq: MouseX.kr(rrand(0.1, 5.0), rrand(3.0, 20.0)), // speed of vibrato
mul: MouseY.kr(10, 50), // width of vibrato
add: rrand(200, 5000)), // freq of linear random oscillators
mul: max(0, LFNoise0.kr(MouseX.kr(rrand(1, 6), rrand(6, 1))))), 1.0.rand2)
})*0.03
}.play
)


Categories: Share

Leave a Reply