-
// wslib 2006 + UGen { // scaling support for UGens // mostly obsolete with new version, except for clipMinMax? But what's the use.. clipMinMax { |outMin, outMax, clip = \minmax| // -> replaced by UGen:prune case {clip == \minmax } { ^this. ...
-
// this file is part of redUniverse toolkit /redFrik +Rect { *aboutRedVector2D {|redVec, size| ^this.aboutPoint(Point(redVec[0], redVec[1]), size, size) } //!!!TODO. clean up focal and scaling *aboutRedVector3D {|redVec, size, width, height ...
-
... erView.drawFunc= { Pen.translate(this.bounds.width/2,this.bounds.height/2); Pen.scale(zoom,zoom); Pen.translate(xTranslate,yTranslate); func.value(); Pen.translate(0,0); Pen.scale(1/zoom,1/zoom); Pen.translate(xTranslate.neg,yTranslate.neg) ...
-
... .color_(Color.white); Pen.width = 3; Pen.stroke; if (NTMI.usesMainFX) { var fontScaler = uv.bounds.height / 900 * 1.618; var mainIndex = NTMI.mfx.domainIndex ? -1; var domainName = NTMI.mfx.preNames[mainIndex] ? "¿-?"; "bigUV updating.".pos ...
-
ModalFreqUGen { // a pseudo ugen // buffer is expected to have the scale *kr { arg degree=0,bufferProxy,root=0.0,octave=4.0,stepsPerOctave=12.0; var note,midinote; note=DegreeToKey.kr(bufferProxy.bufnumKr, degree.round(1.0), stepsPerOctave) ...
-
/* \envelope_rel An envelope generator of which the duration is automatically scaled to that of the event. env: an Env or EnvM object, containing time and level values. timeScale: if timeScale is 1, the duration of the envelope will become ...
-
... ( a.replace(( def:\test, dur: 0.125, //freq: 440 ), sched:1) ) a.from(b, \freq, scale:[120, 440], time:1) //CLEAR a.clear a.replace(\test2); //Doesn't work? a.clear a.replace(\test2); //Not working? a.clear
-
... .x = super.getXValueMapping( super.values[0], super.min[0], super.max[0], super.scales[0], super.expMins[0] ); } { symbolPosition.x = super.getXValueMappingBipolar( super.values[0], super.min[0], super.max[0], super.scales[0], super.expMins ...
-
... ).add ); Synth(\cheappiano); FreqScope.new; ( Pbind( \instrument, \FMRhodes2, \scale, Scale.mixolydian, \ctranspose, -4, \legato, Pseq([0.9, 0.5, 0.5, 0.9, 0.9, 0.9, 0.9, 0.5, 1, 0.5, 1, 0.6, 0.3], inf), \dur, Pseq([1 + (1/3), 1/3, 1/3, 1/ ...
-
... y(chans:2); //Click b = AP(( def: { Impulse.ar(0) }, dur: 1 )).play(chans:2); //Scale over a set number of beats ~change_clock_tempo = {|clock, tempo, beats=1| var oldDur = ~dur; var newDur = 1.0 / tempo; beats.do {|beat| var stepDur = beat ...