-
PinkNoise 1/f noise PinkNoise.ar(mul, add) PinkNoise.kr(mul, add) see also: WhiteNoise , BrownNoise , Randomness Generates noise whose spectrum falls off in power by 3 dB per octave. This gives equal power over the span of each octave. This ...
-
... two channels on a stereo setup. ( SynthDef ("help-Pan4", { Out .ar(0, Pan4 .ar( PinkNoise .ar, FSinOsc .kr(2), FSinOsc .kr(1.2), 0.3)) }).play; ) play({ Pan4 .ar( PinkNoise .ar, -1, 0, 0.3) }); // left pair play({ Pan4 .ar( PinkNoise .ar, 1 ...
-
... de (\addToHead by default) args : controls to set when starting the synth a = { PinkNoise .ar([0.1, 0.1]) }.play; a.release; // setting argument a = { |freq = 500| HPF .ar( PinkNoise .ar([1, 1] * 0.4), freq) }.play; a.set( \freq , 1000) a.r ...
-
... erator a / b Division can be tricky with signals because of division by zero. { PinkNoise .ar(0.1) / FSinOsc .kr(10, 0, 0.5, 0.75) }.play; { PinkNoise .ar(0.1) / FSinOsc .kr(10, 0, 0.5) }.play; //note: div by zero
-
... d) Generates noise whose spectrum has equal power at all frequencies. see also: PinkNoise , BrownNoise , Randomness // compare { WhiteNoise .ar(0.5) }.play; { PinkNoise .ar(0.5) }.play; // white noise as a frequency modulator { SinOsc .ar( ...
-
... lope generation // no inner envelope and audio / control rate output ( ~out = { PinkNoise .ar([1,1]*0.1) }; ) ( ~kout = { PinkNoise .kr([1,1]*0.1) }; ) b) automatic free instead of crossfade // inner envelope that cannot free the synth, the ...
-
... f and write it to disk ( SynthDef ( "Help-SynthDef" , { arg out=0; Out .ar(out, PinkNoise .ar(0.1)) }).writeDefFile; ) // Compile, write, and load it to the server ( SynthDef ( "Help-SynthDef" , { arg out=0; Out .ar(out, PinkNoise .ar(0.1)) ...
-
+ addition BinaryOperator a + b { FSinOsc .ar(800, 0, 0.1) + PinkNoise .ar(0.1) }.play; // DC offset; add: 0.1 would be more efficient { FSinOsc .ar + 0.1 }.play
-
... 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;
-
... 200,500))); right = Decay2 .ar( Impulse .ar(0.5, 0.25), 0.01, 0.25, Resonz .ar( PinkNoise .ar(4), SinOsc .kr(2.7,0,1000,2500), 0.2)); Out .ar(0, PingPong .ar(bufnum, [left,right], delayTime, feedback, 1) ) }).play(s,[ \out , 0, \bufnum , b, ...