-
... enum.isNumber ) { curveval = curvenum; curvenum = 5; } { curvenum = ( \lin: 1, \linear: 1, \exp: 2, \exponential: 2, \cos: 3, \sin: 4, \amp: 6, \db: 7 )[curvenum ]; }; ^[ minval, maxval, curvenum, curveval ? -2, step ]; } asOSCArgEmbeddedAr ...
-
... enum.isNumber ) { curveval = curvenum; curvenum = 5; } { curvenum = ( \lin: 1, \linear: 1, \exp: 2, \exponential: 2, \cos: 3, \sin: 4, \amp: 6, \db: 7 )[curvenum ]; }; ^[ minval, maxval, curvenum, curveval ? -2, step ]; } asOSCArgEmbeddedAr ...
-
... dency object giving fixed upper and lower bounds a = Tendency.new(1.0, 0.0); // Linear Distributions: // uniform z = 500.collect({arg i; a.at(i)}) z.plot(discrete: true) // lowpass z = 500.collect({arg i; a.at(i, \lpRand)}) z.plot(discrete: ...
-
... swing"-argument. // Speed is in Hz. // Behaves asymetrial. // swing = 0 is linear. Negative values shift things towards start, positive values towards end of cycle. // The masterclock is chopped with the "div"-argument in shorter pa ...
-
... r <dict; *initClass { dict = ( \step: PintN, \N: PintN, 1: PintN, \lin: PintL, \linear: PintL, \L: PintL, 2: PintL, \cub: PintC, \cubic: PintC, \C: PintC, 4: PintC ) } *new { arg pattern=0.0, rate=1, length=inf, interpolation = 2; ^(dict[ i ...
-
// wslib 2010-2011 // cascaded butterworth filters // these filters provide linear slope of -12 to -60 dB per octave /* ( 6.collect({ |i| // order: 0-5 BLowCut.magResponse( 1000, 44100, 1000, i ).ampdb }).plot2( minval: -350, maxval: 10 ).s ...
-
... s); }; }; ^outcome; } //integrating under an envelope for only multi breakpoint linear envelopes, no curved, sine or others. //if the integral time is more than the duration of the envelope, output the integral of the whole envelope. integr ...
-
... er.new( w, Rect( 0, 0, 200, 20)); w.front; sliderSpec = [0,fp.indexFile.length,\linear,1].asSpec; updFunc = { |v| v.postln; }; playB.action = { |but| if ( but.value == 1 ){ playTask.play; }{ playTask.pause } }; nextB.action = { updFunc.valu ...
-
... sirable properties, the more CPU-expensive alternatives are AllpassL which uses linear interpolation, and AllpassC which uses cubic interpolation. Class Methods AllpassN. ar ( in: 0.0 , maxdelaytime: 0.2 , delaytime: 0.2 , decaytime: 1.0 , ...
-
... e interpolation method used for pitchshifting grains. 1 = no interpolation. 2 = linear. 4 = cubic interpolation (more computationally intensive). mul add Inherited class methods Instance Methods Inherited instance methods Examples s.boot; ( ...