-
... add( NumberBox( view, 40@14 ).font_( eq[ \font ] ).value_( eq[ \frdb ][i][0] ) .clipLo_(20).clipHi_(22000) .action_({ |vw| eq[ \frdb ][i][0] = vw.value; eq[ \send_current ].value; eq[ \uvw ].refresh; eq[ \pumenu_check ].value; }) ); GUI.sta ...
-
... "KeyBus: assuming index for poly bus is 0.".inform; }; inIndex = (inIndex ? 0).clip(0, inBus.values.first.size - 1); this.polyBus_(inBus, inIndex); ^this }; } setMulTree { |tree, setBase = true, inIndex| if (tree.isNil) { mulTree = nil; th ...
-
... ing.size; (size div: 3).do({ arg i; var triplet, value, j; i = i * 3; j = (i+2).clip(i, size); triplet = string.copyRange(i, j); value = this.translate(triplet); if(verbose) { postf("% ... % : %", triplet, value, aminoacids.at(value)) }; if ...
-
... rV rVdist = (xyzEncDirs * rVu).collect({ |item| // arccos(dot product) item.sum.clip(-1.0, 1.0).acos }); // (test) encoding directions vs rE rEdist = (xyzEncDirs * rEu).collect({ |item| // arccos(dot product) item.sum.clip(-1.0, 1.0).acos } ...
-
... 0, attackMs=0.01, releaseSecs=1, warp=5, transp=0, sampAzi=0, sampSpr=0, amp=1, clipBoostDB = 0, note = #[60, 1, 1] | var env, sig; var noteFq = (transp + note[0]).midicps; // using midi 60 == speed of 1, midi 48 == speed of var gate = abs ...
-
... ial'); Out.ar(out, Pan2.ar( (SinOsc.ar(freq) * EnvGen.ar(window, doneAction:2)).clip2(1), pan ) ) }).add; /***** s.sendMsg('/s_new', 'grainXLine', -1, 0, 0, \freq, 2000, \sustain, 1, \out, 0); *****/ SynthDef('grainXLRev', { arg out = 0, fr ...
-
... on=0; var levels; levels = spline.bilinearInterpolate(divisions,dimension,true).clip(outSpec.minval,outSpec.maxval); ^LocalBuf.newFrom(levels); } }
-
... prGetSource { | sourceNum | if (sourceNum.isInteger) { ^sources.get[(sourceNum.clip(1, sources.get.size)) - 1]; } { ^Error("index must be an Integer").throw; }; } prGetAuxIndex { | auxNum | if (auxNum.isInteger) { ^(auxNum.clip(1, 5) - 1); ...
-
... make encoder rotation endless var step = enc.deviceValue - enc.prevDeviceValue.clip(1, 126); // prepare for mode var enchat = m.elAt(\enchat, i); var enchatIsUp = enchat.isOn.not or: enchat[0].isOn.not; if (enchatIsUp) { // "// normal mode ...
-
... .18 range (same as legacy pipeline) var normA = ((a / maxMag.max(1e-9)) * 0.18).clip(0.0, 0.18); pts.add([t, f, normA, ph]); }; pts }; // Helper: build [nFrames][25] bandEnergy from ATSResidual.bandEnergy buildBandEnergy = { |residual, numF ...