This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// modulate a sine frequency and a noise amplitude with another sine
|
||||
// whose frequency depends on the horizontal mouse pointer position
|
||||
~myFunction = {
|
||||
var x = SinOsc.ar(MouseX.kr(1, 100));
|
||||
SinOsc.ar(300 * x + 800, 0, 0.1)
|
||||
+
|
||||
PinkNoise.ar(0.1 * x + 0.1)
|
||||
};
|
||||
|
||||
~myFunction.play;
|
||||
"that's all, folks!".postln;
|
||||
Reference in New Issue
Block a user