-
... ating with main pattern ( Ndef(\lfo1, { EnvGen.kr(Env([1,4,1],[0.1,0.2]), \trig.tr(0)) * \lforange.kr(1000); }); Pdef(\main, Pbind( \instrument, \rlpf, \midinote, Pseq([60, 62, 64], inf), \legato, 0.5, \move, Pseq([0,1,0, 1 ...
-
... nning = true; }; } *endOSC { OSCdef( this.tag ).free; running = false; } *kr { |trig, value, id| id = id ? \key; if( id.isKindOf( Symbol ) ) { id = id.ukr(-1, UReplyKeySpec() ); }; ^SendReply.kr( trig, this.tag, value, id.asUGenInput ); } * ...
-
... Pluck.sc Description A Karplus-Strong UGen Class Methods Pluck. ar ( in: 0.0 , trig: 1.0 , maxdelaytime: 0.2 , delaytime: 0.2 , decaytime: 1.0 , coef: 0.5 , mul: 1.0 , add: 0.0 ) Arguments: in an excitation signal. trig upon a negative to ...
-
... Out.ar(out, snd * amp); }).add; SynthDef(\pluckImpulse, { |out = 0, t_trig = 0, amp = 0.3| Out.ar(out, PinkNoise.ar * EnvGen.kr(Env.perc(0.01, 0.02), t_trig) * amp); }).add; // Useful for testing. For programmatic usage u ...
-
Logger : UGen { *kr { arg inputArray, trig=0.0, bufnum=0, reset=0.0; // Note rearranged args - code expects buffer ref first, and input data last ^this.multiNewList(['control', bufnum, trig, reset] ++ inputArray.asArray) } *categories { ^ # ...
-
... lectRoutines.do (_.play(SystemClock)); record = { arg running = 1; var soundin, trig = 1, pos = 0, amp, freq, hasFreq, bufLength, cycle; soundin = if (in.isInteger) {SoundIn.ar(in)} {In.ar(in)}; //pos = Phasor.ar(0, BufRateScale.kr(buffer.b ...
-
... ( val ). If val is an array, the control will be multichannel. tr(val) Return a TrigControl input with a default value ( val ). If val is an array, the control will be multichannel. a = { Ringz .ar( T2A .ar( \trig .tr), \freq .kr(500, 1), 0 ...
-
... Env.linen(0, decay, 0), doneAction: 2); snd = Pluck.ar( in: WhiteNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime: 0.1, delaytime: freq.reciprocal, decaytime: decay, coef: coef); snd = Pan2.ar(snd, pan); Out.ar(0, [snd, snd]); }).add;
-
... e=1,pos=0,sdens=1,edens=1; var dens = Line.kr(sdens,edens,dur); var trig = [LFNoise0,SinOsc,Impulse,LFPulse,LFSaw].choose.ar(Line.kr(sdens,edens,dur)); //var env = EnvGen.kr(Env.perc(0.0001.rrand(0.1),dur*0.5.rrand(2)),don ...
-
... or /n_map. This is slightly more efficient in terms of CPU than a regular arg. trigger rate - Arguments that begin with "t_" (e.g. t_trig), or that are specified as \tr in the def's rates argument (see below), will be made as a TrigControl ...