-
... getSpec, addSpec, and specs See also: ControlSpec , Object , Halo , NodeProxy , PatternProxy Using Specs for proxy parameters: getSpec, addSpec, getUni, setUni JITLib proxies like PatternProxy (and thus TaskProxy, Pdef, and Tdef) and NodePr ...
-
... itialize { |noteOnAction, noteOffAction| this.needsControlSpec = false; proxy = PatternProxy(); proxy.source = 0; this.noteOnAction = noteOnAction; this.noteOffAction = noteOffAction; noteOnActionIntermediate = { |val, num, chan, src| if (( ...
-
... r. // making a pattern space using LazyEnvir a = LazyEnvir.new; a.proxyClass = \PatternProxy; a.push; ~x = Pseq([1, 2, 30], 1); ~y = Pseq([~x], inf); z = ~y.asStream; z.next; z.next; z.next; ~x = Pseq([100, 2, 300], 1); z.next; z.next; z.ne ...
-
... control ).play; ) p.stop; c.remove; If Pfunc { } is bothersome in the Pbind, a PatternProxy or Pdefn could also serve the purpose. ( ~legato = PatternProxy (1); c = CCResponder ({ |src, chan, num, value| ~legato.source = value.linlin(0, 12 ...
-
... alue of the responder (0.0 to 1.0 if normalized, 0 to 16383 if not). Returns: a PatternProxy Inherited instance methods Examples // Connect midi device MIDIIn.connectAll; // Create responder ( c = CC14.new( cc1: 0, cc2: 32, chan: 0, fix: tr ...
-
... ontrol ).play; ) p.stop; c.free; ⧉ ✔ If Pfunc { } is bothersome in the Pbind, a PatternProxy or Pdefn could also serve the purpose. ( ~legato = PatternProxy(1); c = MIDIFunc.cc({ |value, num, chan, src| ~legato.source = value.linlin(0, 127, ...
-
... sfade task starts and ends Inherited instance methods Examples // same test for PatternProxy Tdef(\a).set(\freq, 100, \reso, 5, \amp, 0.2, \pan, -1); Tdef(\a).addSpec(\reso, [2, 32, \exp]).gui; y = ParamXFade(Tdef(\a)); Tdef(\a).set(\freq, ...
-
... ying streams // therefore we use PatternProxies ~durs = ~numChans.collect({ |i| PatternProxy(0.5 + (i/10)) }); // other parameters could as well be controlled in PatternProxies, // yet, control buses are convenient either ~freqs = Bus.contr ...
-
... bufferpool = bufferpool; this.context = context; playState = 0; mixerAmpProxy = PatternProxy(); mixerAmpProxy.source = 1; eventStreamProxy = PatternProxy(); eventStreamProxy.source = Pbind(\dur, 1); eventStream = Pmul(\amp, mixerAmpProxy, e ...
-
softPut set a (number) parameter in an environment conditionally See also softSet , softVol_ . changes an existing numerical value for key in a dictionary only in two conditions: * if the new value is close enough to the current value at th ...