-
... 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 ...
-
... (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 ...
-
... i. delay = (1 / (freq * [2.pow(-0.04/12), 1, 2.pow(0.03/12)])); tonefreq = tone.linlin(0, 1, 1000, 5000); hammer = Decay2.ar( in: Impulse.ar(0.001), attackTime: 0.008, decayTime: 0.04, mul: LFNoise2.ar(freq: amp.linlin(0, 1, tonefreq, 2 * t ...
-
... splineIntFunction( (0,1/50..1), p[1].y, p[2].y ) .do({ |item, i| Pen .lineTo( i.linlin( 0, 50, p[0].x, p[3].x, \none )@item ) }); }, 1, { p.collect( _ .y).interpolate(15, 'bspline' , false , c.value.linlin( 0,1,2,8 ).asInteger ) .do({ |item ...