-
... be the one left of center. Default is 0.5. ( { var w, x, y, p, a, b, c, d; p = PinkNoise .ar; // source // B-format encode #w, x, y = PanB2 .ar(p, MouseX .kr(-1,1), 0.1); // B-format decode to quad #a, b, c, d = DecodeB2 .ar(4, w, x, y); [ ...
-
... Osc .kr(1, 0, 24, 84).midicps, 0.3, 12) }.play // notch filter ( { var in; in = PinkNoise .ar(0.2) + SinOsc .ar(600, 0, 0.1); MidEQ .ar(in, SinOsc .kr(0.2, 0.5pi) * 2 + 600, 0.01, -24) }.play ) ///// // first start the synth ( x = { | freq= ...
-
... rphism is play . Many different kinds of objects know how to play themselves. { PinkNoise .ar(0.1) }.play; // Function ( // AppClock var w, r; w = Window .new( "trem" , Rect (512, 256, 360, 130)); w.front; r = Routine ({ arg appClockTime; [ ...
-
... }).send(s); SynthDef ( "help-XOut" , { arg out=0, xFade=1; var source; source = PinkNoise .ar(0.05); // write to the bus, crossfading with previous contents XOut .ar(out, xFade, source); }).send(s); ) Synth ( "help-SinOsc" , [ \freq , 500]) ...
-
... anges dynamically: ~y = { Impulse .ar( MouseX .kr(2, 18, 1)) * [1, 1] }; ~y = { PinkNoise .ar( MouseX .kr(0, 0.2) * [1, 1]) }; ~y = { Impulse .ar([ MouseX .kr(2, 18, 1), MouseY .kr(2, 18, 1)]) }; // stop listening. the proxies run in the ba ...
-
... Impulse .ar(rate), 0.5 / rate, 1 - difficulty, difficulty); source1 = source1 * PinkNoise .ar(1.dup); detect = PV_JensenAndersen .ar( FFT ( LocalBuf (2048), source1), threshold: MouseX .kr(0.1,1.0)); SinOsc .ar([440, 445], 0, Decay .ar(0.1 ...
-
... oise2 LFNoise0 LFClipNoise WhiteNoise GrayNoise Hasher MantissaMask PinkerNoise PinkNoise ClipNoise Dust Dust2 Rossler Crackle Triggers MostChange PulseCount Stepper Gate CoinGate Peak PulseDivider LastValue Latch Trig Trig1 SendTrig Sweep ...
-
... levelScale: amp, doneAction: 2); Out .ar(0, GrainIn .ar(2, Impulse .kr(32), 1, PinkNoise .ar * 0.05, pan, envbuf) * env) }).send(s); ) // use built-in env x = Synth ( \in_grain_test , [ \envbuf , -1]) // switch to the custom env x.set( \en ...
-
... ap( \freq , a); }); ) x.free; // don't send ( b = s.makeBundle( false , { x = { PinkNoise .ar(0.1) * In .kr(0, 1); }.play; }); ) // now pass b as a pre-existing bundle, and start both synths synchronously ( s.makeBundle( nil , { // nil exec ...
-
... ethod, which takes a def's name as its first argument. SynthDef .new( "tutorial-PinkNoise" , { Out .ar(0, PinkNoise .ar(0.3)) }).send(s); x = Synth .new( "tutorial-PinkNoise" ); y = Synth .new( "tutorial-PinkNoise" ); x.free; y.free; This i ...