-
... -todo: //drawing normalization RedLTurtle { var <>lsystem, <>length, <>theta, <>scale, <>noise, <>commands, <>preCommandAction, n, index; *new {|lsystem, length= 40, theta= 20, scale= 1, noise= 0| ^super.newCopyArgs(lsystem, length, theta, ...
-
... Bus{ var <bus; var <oscTag; var <server; var responder; var <numChannels; var <>scale=1; *updateWarning{ "OSCBus: the order of arguments to create an OSCBus has changed to match the logic of OSCFunc. Please update your code!".warn; } *new{ ...
-
... void */ Instr([\trails,\pelog],{ arg audio=0.0,degree=1,pchDispersion=0.0; var scale; scale = FloatArray[0, 1, 3, 7, 8]; PitchShift.ar( audio, 0.1, DegreeToKey.kr(scale.asBufnum,degree.round(1.0)).midiratio, pchDispersion,0) },#[ \audio, [ ...
-
... inMax = 1, outMin = 0, outMax = 1, curve = -4, clip = \minmax; var grow, a, b, scaled, curvedResult; if (curve.isNumber and: { abs(curve) < 0.125 }) { ^this.linlin(inMin, inMax, outMin, outMax, clip) }; grow = exp(curve); a = outMax - outM ...
-
... leader and follower // for each chord change, invoke leader first to choose the scale // followers just use the last-selected scale Proto { ~isJIHelper = true; ~debug = false; // for now, do not change this: // ~fillOne currently expects a ...
-
... ePlayTime = true; //Function to use in .play to clip var <playSafety = \none; //Scale time with clock's tempo var <tempoScaling = false; //On replace, use this scaling if possible. var <prevPlayScale = 1.0; //On replace, use this out if pos ...
-
... } setViewProperties { view .keepRatio_(false) .gridLines_([0,0]) .maxZoom_(8) .scale_([1,1]) .move_([0.5,0.5]) } applyTransformers { var out; out = object; transformers.do({ |item| out = item.value( out ) }); ^out; } value { ^spec.map( thi ...
-
... ass was first made out of code from W. Sethares' book Tuning, Timbre, Spectrum, Scale . This model is based on frequency and amplitude. Later on, the algorithm was refined to use Richard Parncutt's model based on subjective units of barks a ...
-
... e(220, 880), fx: ( def: \tanh, dist: Pseq([1, 2, 4, 6],inf) ) )).play(chans: 2, scale: 0.5); }); ) //Modifying the 'fx' key triggers 'replace'. //The Pseq will apply tanh, comb and then let the original sound through (\dry). ( a.from( Pseq( ...
-
+ ScaledUserView { doScale { |point| ^point*this.scale*this.drawBounds.extent / this.fromBounds.extent } doReverseScale{ |point| ^point / (this.drawBounds.extent / this.fromBounds.extent * this.scale ) } }