-
... 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 ...
-
... ////////////////////////////// // same thing converted into a Routine! :) ( SynthDef("param", { arg freq = #[300,310], sustain; // # - freq has literal array of defaults! var sig; sig = LFPar.ar(freq: freq, mul: EnvGen.k ...
-
... arms); ~func.value; }; }) => PR(\funcCmd); PR(\abstractTLCommand).clone({ ~iMadeSynthDef = false; ~fire = { |parms| // ~setParms.(parms); var msg, templib; // you might provide a synthdef or func - needs to be sent if(~newDef = [Symbol, Str ...
-
... instance method). Arguments: newlag . env An instance of Env to be sent to the synthdef controlling an instance of ProcMods overall amplitude and event control. If a Number is passed in, it will represent a releasetime for the ProcMod. Arg ...
-
... ay the samples // SIMPLE PLAYER // A synth to play the sample as it is. ( SynthDef(\simple_player, { | out=0, amp=0.5, gate=1, buf, rate=1.0, pan=0.0, atk=0.01, dcy=0.2, sus=0.7, rel=0.1 | var sig, env; env = EnvGen.ar(Env ...
-
... + " " ++ synth.asString ++ " not contained " ++ "in global SynthDescLib (forgot SynthDef.add, former .memStore ?)") .class_(VarGui).throw; } } { [Synth, Integer].any(synth.isKindOf(_)).not } { SimpleInitError("Single synth input item must b ...
-
... sis bell //port of the pure-data example: D07.additive.pd ( s.waitForBoot{ SynthDef(\risset, {|out= 0, pan= 0, freq= 400, amp= 0.1, dur= 2, t_trig= 1| var amps= #[1, 0.67, 1, 1.8, 2.67, 1.67, 1.46, 1.33, 1.33, 1, 1.33]; var durs= ...
-
... , Impulse.kr(5), MouseX.kr>0.5), 0, 0.1)}.play a.free //more advanced example ( SynthDef(\redseq, {|out= 0| var freq, dur, z, e; freq= RedSequencer.kr([200, 300, 400, 500], Impulse.kr(MouseX.kr(0.1, 10))); dur= RedSequencer.kr([0.5, 1, 2], ...
-
... tance.set(\limiter, 1); }, 0, { synthInstance.set(\limiter, 0); } ); }); fork { SynthDef("hrDAC"++uniqueID, { arg inBus1, inBus2, level = 1, limiter = 0; var sound = [InFeedback.ar(inBus1), InFeedback.ar(inBus2)]; sound = Select.ar(limiter, ...
-
... |unit| ^(this.findUdefFor( unit ).argNamesFor( unit ) ? []) ++ this.argNames; } synthDef { ^udefs.collect(_.synthDef).flat } createSynth { |unit, target, startPos| ^this.findUdefFor( unit ).createSynth( unit, target, startPos ); } prIOids { ...