-
... "/Volumes/data/stevebeattrack/samples/019.wav" ); //very feature dependent ( a= SynthDef ( \help_beattrack2_1 ,{ arg vol=1.0, beepvol=1.0, lock=0; var in, kbus; var trackb,trackh,trackq,tempo, phase, period, groove; var bsound,hsound,qsound ...
-
... 48.dup), inB); chain = PV_Min (chainA, chainB); 0.1 * IFFT (chain); }.play ); ( SynthDef ( \help_max , { arg out=0, soundBufnum1=0, soundBufnum2 = 0; var inA, chainA, inB, chainB, chain ; inA = PlayBuf .ar(1, soundBufnum1, BufRateScale .kr( ...
-
... 48.dup), inB); chain = PV_Max (chainA, chainB); 0.1 * IFFT (chain); }.play ); ( SynthDef ( \help_max , { arg out=0, soundBufnum1=0, soundBufnum2 = 0; var inA, chainA, inB, chainB, chain ; inA = PlayBuf .ar(1, soundBufnum1, BufRateScale .kr( ...
-
... ; Pseq ([0.2, 0.5, 0.8]).coin; Pwhite (-100, 100, inf ).abs; // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05, amp=0.1; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2, amp), doneAction:2); Out .ar ...
-
... a segmented envelope. Envs can be used both server-side, by an EnvGen within a SynthDef, and clientside, with methods such as at and asStream , below. An Env can have any number of segments which can stop at a particular value or loop seve ...
-
... Pbrown (0.0, 1.0, 0.2, inf ); a.asStream.nextN(1000).plot; ) // sound example ( 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 . ...
-
... he bus: a.slots[1].at( 272 ).createBus( s ); a.slots[2].at( 8 ).createBus( s ); SynthDef( \hidbus_help, { |out=0,amp=0| Out.ar( out, SinOsc.ar( 300, 0, 0.01*amp.abs ) ); }).load( s ); ) x = Synth.new( \hidbus_help ); x.map( \amp, a.slots[2] ...
-
... // state 1 \bar : [ 0, 3 ] ) ], 0, 2 ).asStream; 11.do({ p.next.postln }); ) ( SynthDef ( \help_Pdfsm1 , { 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( ...
-
... d are used to specify their parameters when constructing synth definitions (see SynthDef ). See also: UGens , Tour_of_UGens , and UGens-and-Synths . Class Methods *ar(arg1, arg2, ... ) *kr(arg1, arg2, ... ) *ir(arg1, arg2, ... ) Return a ne ...
-
... , inf ), Pseq ([1, -1], inf ), // turn around at either end 0); x = a.asStream; SynthDef ( \help_walk , { arg freq; Out .ar(0, Saw .ar([freq, freq+1], 0.5) * EnvGen .kr( Env .perc(0.01, 0.1), doneAction:2)) }).add; ) ( r = Task ({ { Synth . ...