-
... 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 ...
-
... SynthDesc , SynthDef Description For an explicit creation of control names see: NamedControl , Control Class Methods Inherited class methods Undocumented class methods ControlName. new ( name , index , rate , defaultValue , argNum , lag ) I ...
-
... 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 ...
-
... SynthDef , as reported by the server. . controls Returns: An Dictionary mapping NamedControl names to values of those controls at the time of the snapshot. Inherited instance methods Examples fork { SynthDef(\outputTest, { |out, freq| var s ...
-
... 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 ...
-
... l to be defined in the SynthDef. There are two ways to define arrayed controls: NamedControl -- recommended for flexibility and clarity. Literal arrays (as noted above). NamedControl can accept default values determined in code. For example ...
-
... 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, ...
-
... [original, original.isNumber, index].postln; if(original.isNumber) { original = NamedControl.kr("bend_"++index, original); index = index + 1; }; original; }, { f = LFSaw.kr(0.4, 0, 24, LFSaw.kr([8,7.23], 0, 3, 80)).midicps; // glissando fun ...