-
... ns.monitorInChannels.do{ arg chan; inLevelArray[chan].value = msg[curMsg].ampdb.linlin(-75, 0, 0, 1); inLevelArray[chan].peakLevel = msg[curMsg+1].ampdb.linlin(-75, 0, 0, 1); curMsg = curMsg + 2; } }.defer; }, ( '/in_levels' ++ options.moni ...
-
... 05, 0.01 .. 1).collect{|hot| Color(hot, 0, 0)}; maptotextcolour = {|val| if(val.linlin(min, max, -1, 1) < -0.85){Color.grey(0.15)}{Color.black} }; }, \brw, { // Black as low, red as medium, white as high cols = (1, 0.99 .. 0).collect{|cold| ...
-
... 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 ...
-
... ion = 1; if( loop.next == \backwards ) { current = 1; direction = -1 }; current.linlin( 0, 1, lo.next, hi.next ).yield; inf.do { |i| current = (current + ((direction/steps.next).clip2( 1.0e12 ))); switch( loop.next, \loop, { current = curre ...
-
... ion = 1; if( loop.next == \backwards ) { current = 1; direction = -1 }; current.linlin( 0, 1, lo.next, hi.next ).yield; inf.do { |i| current = (current + ((direction/steps.next).clip2( 1.0e12 ))); switch( loop.next, \loop, { current = curre ...
-
... ); freqs = (exponential * freqs.linexp(0,1,*range)) + ((1-exponential) * freqs.linlin(0,1,*range)); amp = \amp.asSpec.map( Rand(0.dup(n),1).linlin(0,1,*amp) ); ringTime = Rand(0.dup(n),1).linexp(0,1,*ringTime); in = UIn.ar( 0 ); sig = DynK ...
-
... ); freqs = (exponential * freqs.linexp(0,1,*range)) + ((1-exponential) * freqs.linlin(0,1,*range)); amp = \amp.asSpec.map( Rand(0.dup(n),1).linlin(0,1,*amp) ); ringTime = Rand(0.dup(n),1).linexp(0,1,*ringTime); in = UIn.ar( 0 ); sig = DynK ...
-
... t)); Slider2D(positionLayout, Rect(0,0,sliderHeight,sliderHeight)) .x_(initialX.linlin(min,max,0,1)) .y_(initialY.linlin(min,max,0,1)) .action_{ |slider| xNumberBox.valueAction_(slider.x.linlin(0,1,min,max)); yNumberBox.valueAction_(slider. ...
-
... .collect({ |level, i| Point( (env.times[..i-1].sum / dur) * bounds.width, level.linlin( min, max, bounds.height, 0 ) ) }); } setPoints { |pts, bounds| var dur, levels, times; dur = env.times.sum; pts = pts.sort({ |a,b| a.x <= b.x }); #times ...
-
... =0 , mul=1 ; PlayBuf.ar(~buffer0.numChannels, ~buffer0, rate, trigger, startPos.linlin(0,1,0, ~buffer0.numFrames), 1)*mul;}); == radpostcont == (none)