-
... chain = PV_CopyPhase (chainA, chainB); Out .ar(out, 0.5 * IFFT (chain).dup); }).play(s,[ \out , 0]); ) d = Buffer .read(s, "sounds/a11wlk01.wav" ); ( SynthDef ( "help-copyPhase2" , { arg out=0, soundBufnum=2; var inA, chainA, inB, chainB, c ...
-
... ariable rate) VDiskIn.ar(numChannels, bufnum, rate, loop, sendID ) Continuously play a longer soundfile from disk. This requires a buffer to be preloaded with one buffer size of sound. If loop is set to 1, the soundfile will loop. If a send ...
-
... hly. { SinOsc .ar( LFNoise1 .ar( MouseX .kr(0.1, 1000, 1), 200, 500), 0, 0.2) }.play { SinOsc .ar( LFDNoise1 .ar( MouseX .kr(0.1, 1000, 1), 200, 500), 0, 0.2) }.play // LFNoise quantizes time steps at high freqs, LFDNoise does not: { LFNois ...
-
... 0, \exponential ), 0.8, // rq MouseY .kr(12.0, -12.0, \linear ), 0.5); // mul }.play) z.release; ( z = { // toy with rq BPeakEQ .ar( SoundIn .ar([0,1]), MouseX .kr(20,20000, \exponential ), MouseY .kr(10, 0.4, \linear ), // rq 6, // boost/c ...
-
... .ar(in, 0.1, 1 - (fdiff / f0), 0.01, 0.01); RLPF .ar(out, [2000, 5000], 0.3) }.play; ) b.free; // basic test. ( s = Server .local; t = [ 200, 210, 400, 430, 600, 800 ]; b = Buffer (s, t.size, 1); // alloc and set the values s.listSendMsg( ...
-
... ; Pdefn ( \y , Prand ([5, 9, 1], 2)); Pdefn ( \z , Pdefn ( \y ) * 2); ( Pdef ( \play , Pbind ( \instrument , \gpdef , \harmonic , Pnsym ( Pseq ([ \x , \x , Prand ([ \x , \y ]), [ \z , \y ], \y ], inf )).trace, \dur , 0.2, \note , 10 ) ).pla ...
-
... ents may be initialized to literals or expressions, but in the case of Function-play or SynthDef-play, they may only be initialized to literals. // this is okay: { arg a = Array .geom(4, 100, 3); a * 4 }.value; // this is not: { arg freq = ...
-
... y works inside a UGen function. { Blip .ar( Blip .kr(4, 5, 500, 60), 59, 0.1) }.play; *buildSynthDef Return the SynthDef in which the UGen is situated. { UGen. buildSynthDef.dump; Silent.ar }.play; Note: For internally used class methods, s ...
-
... nth ( \help_SPE3_SimpleSine , [ \freq , a.next, \sustain , d ]); d.wait; }); }).play ) Pser is like Pseq, however the repeats variable gives the number of items returned instead of the number of complete cycles. ( var a, b; a = Pser .new(#[ ...
-
... ); SinOsc .ar( Demand .kr( Dust .kr(10), 0, Dbufrd (b, indexPattern)) ) * 0.1 }.play; ) // buffer as a time pattern c = Buffer .alloc(s, 24, 1); c.setn(0, { [1, 0.5, 0.25].choose } ! c.numFrames); c.getn(0, c.numFrames, { |x| x.postln }) ( ...