-
... softclip; x = Balance2.ar(x[0], x[1], bal); x = x * EnvGen.kr(Env.cutoff, gate, doneAction: Done.freeSelf); Out.ar(out, x); }, [0.1, 0.1, 0.1, 0.1, 0.1, 0] ).add; // make the window w = Window("another control panel", Rect(200, 400, 300, 18 ...
-
... DI responder. And when the action is called (via valueAction or doAction) it is done immediately instead of with the AppClock delay ( t = Task ({ var pt; pt = PintC ( Pseq ( [b.value, Pwhite ( 0.0 .dup, 1.0 .dup, inf )], 1 ), 1 / Pseries ( ...
-
... ( soundFile.path ); soundFile.uSplit( path, action: { |files| soundFile.close; "done splitting, created % files:\n%\n".postf( files.size, files.collect(_.path).join("\n") ); }, threaded: true ); }.fork( AppClock ) }, {}, soundFile.path.dirn ...
-
... d-argument functions will be inlined. If you use && or || , no inlining will be done and performance will be slower. a = 1; a == 1 and: { "second condition".postln; [true, false].choose } second condition true a == 1 or: { "second condition ...
-
... his => VC(collIndex); (vp = VP.locateVPbyGui(dest)).notNil.if({ // some ops are done in bind; need to do update thru a bind op VC(collIndex) => vp; }, { dest.model.voicer_(VC(collIndex).v); }); }); } draggedIntoMTGui { |gui, index| this.isB ...
-
... ([freq, freq * detune], 0, width, preamp)).distort * amp * EnvGen.kr(env, gate, doneAction: Done.freeSelf); sig = LPF.ar(sig, ffreq); Out.ar(out, sig ! 2) }).add; ) ( TempoClock.default.tempo = 132/60; p = Pxrand([ Pbind( // repeated notes ...
-
... nged by moving fadergroup (bundled == 0).if({ // only do this if it hasn't been done before // if these groups already exist, they might be targets // for other objects; therefore they must keep the same nodeID // either the groups already ...
-
... play", Color.black, Color.rand]]) .mouseDownAction_({ a = { EnvGen.kr(Env.adsr, doneAction: Done.freeSelf) * SinOsc.ar(440, 0, 0.4) }.play; }) .action_({ |butt, mod| a.release(0.3); }); w.front; }) ) ⧉ ✔ If you drag a function to a button, ...
-
... in the client app without immediately creating a group node on the server. Once done one can call methods which create messages to add to a bundle, which when sent to the server will instantiate the group or perform other operations. (See C ...
-
... ime. Note that the calculation of all modal data is an offline procedure and is done behind the scenes in the Python programming language with the help of the NumPy and SciPy packages. This calculation stage may take a significant amount of ...