-
... .kr(2), 440.reciprocal, 440.reciprocal, 10, coef: MouseX .kr(-0.999, 0.999)) }.play(s) ) s.quit; // a group of angry fretless mandolin players ( { var freq, numparts; numparts = 50; freq = SinOsc .kr( Array .fill(numparts, { Rand (0.05, 0. ...
-
... ait; "the condition has stopped waiting." .postln; 1.wait; "the end" .postln; }.play; ) // continue ( c.test = true ; c.signal; ) // a typical use is a routine that can pause under certin conditions: ( c = Condition .new; fork { loop { 1.wa ...
-
... he first fft buf var result = PV_Div (fft2, fft1); Out .ar(0, out.dup * 0.1); }.play; ) // Now we can grab the FFT buffer and peek at the magnitudes ( w = Window .new.front; t = Task {loop{ 0.1.wait; b.loadToFloatArray(action: { |data| { w. ...
-
... r( SinOsc .ar(1), SinOsc .ar(1.3), Rect (0,0.5,0.5,0.5))* LFSaw .ar(44,0,0.1) }.play //stereo effect {( InRect .ar( LFNoise0 .ar([140,141]), LFNoise0 .ar(143), Rect (0,0,0.5,1)).lag(0.1))* LFSaw .ar( SinOsc .ar(10,0,5,400),0,0.1) }.play //f ...
-
... result event; it doesn't care what the data are. The event prototype used when playing the pattern defines the actions to take, and it is here that parameters are defined. Most patterns will play using the default event prototype (Event.de ...
-
... p({ chord = x.next.postln.midicps; (instrument: \help_sinegrain , freq : chord).play; 0.2.wait; }) }).play; )
-
... and(7, 14) }, -1, { rrand(4, 8) }) // down (step = -1) ], inf ), \dur , 0.125 ).play; ) p.stop; But it gets even more fun -- list patterns don't care whether they're enclosing value patterns (as in the previous example) or event patterns. T ...
-
... 4, 3, 4, 2, 1], 2), #[0, 2, 3, 6, 7, 9], #[0, 1, 3, 7, 8, 11] ), \dur , 0.25 ).play; ) //___indian video game (1) ( SynthDef ( "ivg" , { arg out, freq=900, pan; var trig, snd; trig = Impulse .kr( LFClipNoise .kr(4, 3, LFClipNoise .kr(0.2, ...
-
... e (chainA, chainB, MouseX .kr(-1, 1)); Out .ar(out, 0.5 * IFFT (chain).dup); }).play(s,[ \out , 0]); ) ( SynthDef ( "help-binWipe2" , { arg out=0, soundBufnum=2; var inA, chainA, inB, chainB, chain; inA = WhiteNoise .ar(0.2); inB = PlayBuf ...
-
... ample: p = Pbind( \degree, ( PhidKey( \lx, a, inf )*12 ).round(1), \dur, 0.25 ).play; p.stop; // more complex example, showing multichannel expansion and sequences of slots: p = Pbind( \degree, ( PhidKey( Pseq([[\lx,\ly],\rx,\ry],inf), a, i ...