-
... scale ) * LFNoise1.kr(0.5).range(-45, -30).dbamp; input = mallet + (sing_switch.clip(0, 1) * sing); sig = DynKlank.ar(`[ [ (first = LFNoise1.kr(0.5).range(2424, 2444)) + Line.kr(20, 0, 0.5), first + LFNoise1.kr(0.5).range(1,3), LFNoise1.kr( ...
-
... (min,max,0,1)*contrast; //- ((1-contrast)/2); val = (color*val).floor.asInteger.clip(0,255); Integer.fromRGBA(val[0],val[1],val[2],255); }); image.pixels_(rgbs) ^image } asSCImageBi{ |rect, hsize=100, res = 0.1, contrast = 1, color1 = #[247 ...
-
... * rHum) + c1; humidity = tempC * (t1 + (t2*rHum)) + rhlin; humidity = humidity.clip( 0.1, 100 ); } calcTempC{ tempC = rTemp * d2C; tempC = tempC + d1C; } calcTempF{ tempF = rTemp * d2F; tempF = tempF + d1F; } // from someone's arduino code ...
-
... .linlin(0, width, dep.neg, dep) ); }); //--render Pen.fillColor= Color.grey(dep.clip(0, 1), 0.75); Pen.fillOval(Rect.aboutRedObject3D(o, ss, ff)); }; }; w.play; CmdPeriod.doOnce({w.close}); w.onClose= {synths.do{|x| x.free}}; })
-
... }; }; overflow = (newKeys.size - numItems).max(0); keysRotation = keysRotation.clip(0, overflow); newKeys = newKeys.drop(keysRotation).keep(numItems); specsToUse = newKeys.collect { |key| this.getSpec(key, object[key]) }; ^( object: object ...
-
... }; }; overflow = (newKeys.size - numItems).max(0); keysRotation = keysRotation.clip(0, overflow); newKeys = newKeys.drop(keysRotation).keep(numItems); specsToUse = newKeys.collect { |key| this.getSpec(key, object[key]) }; ^( object: object ...
-
... d, i| pad.action.add(\setInflux, {|ana| var name = q.inphlux.getHalo(\padNames).clipAt(i); q.inphlux.set(name, ana.value.pow(3)); //.pow(6)); // the pow(6) helps toflatten the steep curve of the FSRs as they are now. ana.value }) }; /* MFde ...
-
... zeToFit; view.bounds = Rect(0,0,buttonWidth,24 * nameFuncs.size); focus = focus.clip(0,nameFuncs.size - 1); this.guiBody; }) } doAction { view.children.at(focus).doAction } keyDownResponder { var kdr; kdr = UnicodeResponder.new; kdr.registe ...
-
... oFit; view.bounds = Rect(0, 0, buttonWidth, 24 * nameFuncs.size); focus = focus.clip(0, nameFuncs.size - 1); this.guiBody; }) } doAction { view.children.at(focus).doAction } keyDownResponder { var kdr; kdr = UnicodeResponder.new; kdr.regist ...
-
... The object knows the duration and file path of the soundfile, and can be set to clip off the start and end of the file. - start: region startoffset (samples or seconds) - end: end of the region (samples or seconds) - loop: loop mode on or o ...