-
//redFrik 130612 //4-bit fibonacci LFSR, https://en.wikipedia.org/wiki/Linear_feedback_shift_register //--pseudo random numbers 0-15 RedLFSR4 { *ar {|trig= 0, iseed= 2r1000| var buf= LocalBuf(1).set(iseed); var b= Demand.ar(trig, 0, Dbufrd( ...
-
... ilter is used but separate times for upwards and downwards lag can be set. The 'linear' mode creates straight lines between the old and new values. The 'lpf' mode uses a second order low pass filter, causing a slight resonance after the val ...
-
... ilter is used but separate times for upwards and downwards lag can be set. The 'linear' mode creates straight lines between the old and new values. The 'lpf' mode uses a second order low pass filter, causing a slight resonance after the val ...
-
... spec = sp.asSpec ?? {ControlSpec.new}; fractspec = ControlSpec(0, 1-spec.step, \linear, spec.step); intspec = ControlSpec(spec.minval.asInteger, spec.maxval.asInteger, \linear, 1); this.value_(val); } value { ^(int + fract) } poll { ^(int + ...
-
... spec = sp.asSpec ?? {ControlSpec.new}; fractspec = ControlSpec(0, 1-spec.step, \linear, spec.step); intspec = ControlSpec(spec.minval.asInteger, spec.maxval.asInteger, \linear, 1); this.value_(val); } value { ^(int + fract) } poll { ^(int + ...
-
... ssive?] \passive \settable specs for each dimension one ControlSpec. nil: [0,1,'linear'].asSpec 1-DOF JInTC_onoff : JInTController simple one-DOF controller with on/off a = JInTC_onoff .new; a.numDOF; a.description; a.semantics; a.specs.do{ ...
-
TestControlSpec : UnitTest { test_equals { var a,b,c; a = ControlSpec(0, 1, 'linear', 0, 0.0, ""); b = ControlSpec(0, 1, 'linear', 0, 0.0, ""); c = ControlSpec(0, 2, 'linear', 0, 0.0, ""); // no really, this failed ! this.assert( a == b, "2 ...
-
... spreadSpec, delayMsSpec, lpHzSpec, hpHzSpec; aziSpec = ControlSpec(-180, 180, \linear, 0.01); eleSpec = ControlSpec(-90, 90, \linear, 0.01); dbSpec = ControlSpec(-50, 0, \linear, 0.01); spreadSpec = ControlSpec(0, 1, \linear, 0.01); delayM ...
-
... }; case {default == 0} {case {default.isInteger and: (default === 0)} {[0, 1, \linear, 1].asSpec;} {default.isInteger and: (default === 0).not} // i.e. -0 {[zeroScale.neg, zeroScale, \linear, 1].asSpec;} {default.isFloat and: (default === ...
-
... w( [ 0.0, 1.1 * ipress, ipress, ipress, 0.0 ], [ 0.06, 0.2, dur - 0.46, 0.2 ], 'linear' ) ); // overall envelope kenv2 = EnvGen.kr(Env.new( [ 0.0, amp, amp, 0.0 ], [ 0.1, dur - 0.02, 0.1 ], 'linear' ), doneAction: 2 ); // vibrato envelope k ...