-
... faultMsgFunc; }; }; // now update values in the Event that may be determined by functions ~freq = freqs; ~amp = ~amp.value; ~sustain = sustain = ~sustain.value; // compute the control values and generate OSC commands bndl = msgFunc.valueEnv ...
-
... lue(object, args); }); } addParameter {arg key, defaultVal; defaultVal.isKindOf(Function).if({ this.addMethod(key, defaultVal); }, { this.addGetter(key, defaultVal); this.addSetter(key); }) ^this; } addUniqueMethod { arg selector, function; ...
-
... nder 'name' will be included in waitForStop. Also useful: >> funcCmd: Execute a function (saved in the 'func' argument). >> meterCmd: Set the current clock's beatsPerBar, based on ~beatsPerBar. You can also create and manipulate individual ...
-
... nder 'name' will be included in waitForStop. Also useful: >> funcCmd: Execute a function (saved in the 'func' argument). >> meterCmd: Set the current clock's beatsPerBar, based on ~beatsPerBar. You can also create and manipulate individual ...
-
... \x, { Dust.ar([30, 30], 0.5 ) } ).play; // add a control input, as in all synth functions Ndef(\x, { |amp = 0.1| Dust.ar([30, 30], amp ) } ).play; // and a control input for density: Ndef(\x, { |dens 30, amp = 0.1| Dust.ar([dens, dens], amp ...
-
... h, bounds.height)); // background fill backgrDrawFunc.value; // background draw function // the lines pen.color = Color.black; connections.do({arg conn; pen.line(paraNodes[conn[0]].nodeloc+0.5, paraNodes[conn[1]].nodeloc+0.5); }); pen.strok ...
-
... event.copy.put(\clock, clock); Event - in the schedBundle and schedBundleArray functions: near the bottom, change the following line: thisThread.clock.sched(sustain) { to read: (~clock ? thisThread.clock).sched(sustain) { Example: MIDIClie ...
-
... event.copy.put(\clock, clock); Event - in the schedBundle and schedBundleArray functions: near the bottom, change the following line: thisThread.clock.sched(sustain) { to read: (~clock ? thisThread.clock).sched(sustain) { Example: MIDIClie ...
-
... is and how complex the calculations are. For many cases, it is near zero. // a function that does nothing runs really fast bench({ nil }); // filling a big array with random numbers takes a while longer. bench({ Array.rand(100000, 0.0, 1.0 ...
-
... ns, but - // especially important with event patterns: copying within the Pfunc function ensures // that buffered items of the *source* are not altered and second copying // (delegated to the MemoRoutine) ensures that items buffered in the ...