-
... var ampCtl, delayCtl; out = ins[i]; #amp, dt ... eqSpecs = specList; delayCtl = NamedControl.kr(("eqDt_c" ++ (i+1)).asSymbol, dt ? 0, 0.2); out = DelayN.ar(out, 0.1, delayCtl); ampCtl = NamedControl.kr(("eqAmp_c" ++ (i+1)).asSymbol, amp ? 1 ...
-
... if((val.isAlgaNode).or(val.isAlgaArg), { if(AlgaProxySpace.isTriggerDef.not, { ^NamedControl.ar(this, 0, lag, spec); }, { AlgaProxySpace.addParamArgs(this, val); ^DC.ar(0) }); }); if(AlgaProxySpace.isTriggerDef.not, { ^NamedControl.ar(this, ...
-
... , lagCtl; params = params ?? {EQuiParams()}; // defaults chain = this; lagCtl = NamedControl.kr(prefix ++ "lagEQ", lag); chain = BLowShelf.ar( chain, NamedControl.kr(prefix ++ "loShelfFreq", params.loShelfFreq, lagCtl), NamedControl.kr(pref ...
-
... original.isNumber } and: { spec.notNil }) { Spec.add(ctlName, spec.storeArgs); NamedControl.new(ctlName, original, \control); } { original * NamedControl.new(ctlName, 1.0, \control) } }, ugenFunc) } *bendAllUGens { |bendFunc| ugens.do { |u ...
-
... and/or rewriting the SynthDef with other sizes. // For those reasons the use of NamedControl turns out to be very convenient with array args, // it also gives an easy way of lagging. ( // Alternative to SynthDef \array_1a using NamedControl ...
-
... ; s.sync; Synth(\setbus, [\out, a.index]); Synth(\sine, [\freq, a.busArg]); } ) NamedControl ( a = AlgaBus(s, 2, \audio); AlgaSynth(\algaInterp_audio1_audio1, [\in, 0.5, \fadeTime, 0.5, \out, a.index]; ); {Out.ar(0, InBus.ar(a.bus, 2))}.pla ...
-
... us_audio_" ++ i, { arg out = 0, fadeTime = 0, curve = 0, gate = 1; var values = NamedControl.ir(\values, 0 ! i); var env = Env([In.ar(out, i), values, values], [1, 0], curve, 1); var sig = EnvGen.ar(env, gate + Impulse.kr(0), timeScale: fad ...
-
... te; if(rate == \audio and: { UGen.buildSynthDef.canReleaseSynth.not }) { gate = NamedControl.kr(\gate, 1); fadeTime = NamedControl.kr(\fadeTime, 0.02); result = result * EnvGen.kr( Env([fadeTime < 0, 1, 0], [fadeTime, fadeTime], releaseNode ...
-
... tw Control.names doesn't work for arrayed controls // maybe have to concatenate NamedControls for those? + Control { streamCode { |key, stream, decomp| var contents = this.getPairs(key, decomp); case // we should now never reach this branch ...
-
... ndReply.perform( UGen.methodSelectorForRate(rate), trig, cmd, args, replyID ); ^NamedControl.perform( UGen.methodSelectorForRate(rate), "sequencer_in_" ++ replyID, 0.0 ! args.size.max(1) ); } *respond { |msg, addr| var res, nodeID, replyID, ...