-
... lume_slider.mouseDownAction = { | volume_slider, x, y, m | volume_value = (y).linlin( 0, volume_slider.bounds.height, 1, 0 ); volume = volume_value; volume_slider.refresh }; volume_slider.mouseMoveAction = volume_slider.mouseDownActi ...
-
... aster fader (right-most) -> master volume q.blocks.do{ |block| q.god.ampAll(val.linlin(0, 127, 0, 1.5)); } }; (chan < 8).if{ //q.blocks[q.blockChannels.findKeyForValue(chan)].setActivityParam(\amp, val.linlin(0, 127, -85, 0).dbamp); q.block ...
-
... the synth is initialized properly yawMidi.func_({|val| try{ synth.set(\yaw, val.linlin(0.0,1.0,(-pi),pi)) } }); pitchMidi.func_({|val| try{ synth.set(\pitch, val.linlin(0.0,1.0,(-pi),pi)) } }); rollMidi.func_({|val| try{ synth.set(\roll, va ...
-
... ME.setParameterOSC( string: "/envFollower/" ++ 1 ++ "/range", value: knob.value.linlin(0,1,-5,5), addrForbidden: \GUI, ) }; range2.action = {|knob| synthiGME.setParameterOSC( string: "/envFollower/" ++ 2 ++ "/range", value: knob.value.linli ...
-
... sMaths2 = pluggedIsSignal or: { plugged >= 1 }; if(needsMaths){ phasor = phasor.linlin(-1,1,width.neg, 1-width); maths = phasor.bilin(0, width.neg, 1-width, 0, -1, 1); maths = 1-(maths.abs); maths = maths*postEnv; }; if(needsMaths2){ phasor ...
-
... .value_(0.4).action_({ | slider | masterGainSynth.set(\masterGain, slider.value.linlin(0,1,0,5)); }); if (prMasterBus.isNil, { stageMaster[\live][\element].enabled_(false); stageMaster[\live][\element].states_([["Live", Color.grey(0.4), Col ...
-
... .moveTo(0@384); (wt0.size-1).do{ arg i; Pen.line( Point(i, wt0[i].linlin(-1.02,1.02,384,0)), Point(i+1, wt0[i+1].linlin(-1.02,1.02,384,0)) ); Pen.stroke; }; }); StaticText(win, Rect(517,100,384,48)) .font_(F ...
-
... (1.0) }; OSCFunc({ |msg| defer { var a = levels[msg[2]]; a.value = msg[3].ampdb.linlin(-40, 0, 0, 1); a.peakLevel = msg[4].ampdb.linlin(-40, 0, 0, 1); } }, "/rms"); CmdPeriod.doOnce { w.close }; ) // to stop it ~dirt.stopSendRMS;
-
... yBuf.ar(~buffer0.numChannels, ~buffer0, rate, Impulse.kr(triggerRate), startPos.linlin(0,1,0, ~buffer0.numFrames), 1)*mul;}); Ndef('block1').xset('triggerRate', <measured>); == radpostcont == (none) >> lt 2 == radpost == Ndef('recblock1', 0 ...
-
... r(scaledFreq, mul: pulseLevel, add: (-1*(pulseLevel/2)), width: 1-pulseShape) * linlin(scaledFreq, 100, 1000,1,0)); sigPulse = sigPulse + Pulse.ar(scaledFreq, mul: pulseLevel * linlin(scaledFreq, 100, 1000,0,1), width: 1-pulseShape); sigPul ...