-
... n a.distort distort(a) ( { var a; a = Line.ar(-4, 4, 0.01); a.distort }.plot) { FSinOsc.ar(500, 0.0, XLine.kr(0.1, 10, 10)).distort * 0.25 }.scope;
-
... rator scaleneg(a, b) a scaleneg: b a.scaleneg(b) a*b when a < 0, otherwise a. { FSinOsc .ar(500).scaleneg( Line .ar(1,-1,4)) }.play;
-
... a amclip: b a.amclip(b) 0 when b <= 0, a*b when b > 0 { WhiteNoise .ar.amclip( FSinOsc .kr(1,0.2)) }.play; // makes a sine envelope
-
... rtion with a perfectly linear region from -0.5 to +0.5 Server .internal.boot; { FSinOsc .ar(500,0.0, XLine .kr(0.1, 10, 10)).softclip * 0.25 }.scope(2);
-
... the difference of the original signal and its clipped form: (a - clip2(a,b)). { FSinOsc .ar(1000).excess( Line .kr(0,1,8)) }.play;
-
... er after dividing a by b. 5%3 //should post 2 19.1%6.4 //also works on floats { FSinOsc .ar(100, 4) % 1 }.play // results in a sawtooth wave
-
... nOsc .ar(440) * 0.5 }.play; // This creates a beating effect (subaudio rate). { FSinOsc .kr(10) * PinkNoise .ar(0.5) }.play; // This is ring modulation. { SinOsc .ar(XLine.kr(100, 1001, 10), 0, 0.5) * SyncSaw .ar(100, 200, 0.5) }.play;
-
... level input SynthDef ( "help-Pan2" , { Out .ar(0, Pan2 .ar( PinkNoise .ar(0.4), FSinOsc .kr(2), 0.3)) }).play;
-
... elp-IRand" , { Out .ar( I Rand (0, 1), //play on random channel between 0 and 1 FSinOsc .ar(500, 0, Line .kr(0.2, 0, 0.1, doneAction:2)) ) }).send(s); ) ( Routine({ 16.do({ Synth .new( "help-IRand" ); 0.5.wait; }) }).play; )
-
... : LinRand , Rand ( SynthDef ( \help_ExpRand , { | out = 0, n = 0 | Out .ar(out, FSinOsc .ar( ExpRand (100.0, 8000.0, n), 0, Line .kr(0.2, 0, 0.01, doneAction:2)) ) }).send(s); ) ( Routine ({ inf .do({ arg i; Synth .new( \help_ExpRand ); 0.0 ...