-
... 5, 3, 4], inf ) * 200, \dur , 0.1).play; ( // a SynthDef SynthDef ( \test , { | out, freq = 440, amp = 0.1, nharms = 10, pan = 0, gate = 1 | var audio = Blip .ar(freq, nharms, amp); var env = Linen .kr(gate, doneAction: 2); OffsetOut .ar(ou ...
-
... se skewed towards hi. See also: Rand , ExpRand ( SynthDef ( \help_LinRand , { | out = 0, minmax = 1 | Out .ar(out, FSinOsc .ar( LinRand (200.0, 10000.0, minmax), 0, Line .kr(0.2, 0, 0.01, doneAction:2)) ) }).send(s); ) // towards hi ( Routi ...
-
... rom the pattern 5.do({ b.next.postln; }); // print 5 values from the stream ) Prout is a Pattern that returns a Routine. The same function argument is supplied as is supplied to Routine. ( var a, b, c; a = Prout .new({ 3.do({ arg i; 3.rand. ...
-
... of the LPF UGen. The transfer function is estimated by dividing the FFT of the output, by the FFT of the input, and looking at the magnitudes in the result. ( s.waitForBoot { var fftsize = 16384; b = Buffer .alloc(s, fftsize) } ); ( x = { ...
-
... }); ) Pser used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( a = P ...
-
... ; ) Pstutter used as a sequence of pitches ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( c = P ...
-
... = GeneralHIDSpec .new( a ); ( // defining the spec. // trick: look at the debug output, by using each input thing on the gamepad and use the first two numbers posted as indexes // example output of debug: [ 3, 2, 0.49803921568627, nil ] // ...
-
... }); ) Pshuf used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( a = P ...
-
... ); ) Pxrand used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( a = P ...
-
... tion to evaluate when the pattern is stopped, or when the supplied pattern runs out of values. For example, if you loaded a Buffer in the initializer function, you could free it in the cleanupFunc. ( var a, b; a = Pfset ({ ~legato = 0.3; ~d ...