-
... = OSCFunc.new({ |msg, time, addr| var cohortName = msg[1].asSymbol; var beat = Float.from64Bits(msg[2], msg[3]); var localTime = Float.from64Bits(msg[4], msg[5]); var serverTime = Float.from64Bits(msg[6], msg[7]); var timeDiff = Float.from ...
-
... ment in msg, assumed to be OSC path. var cohortName = msg[1]; var applyAtBeat = Float.from64Bits(msg[2], msg[3]); var applyAtTime = Float.from64Bits(msg[4], msg[5]); var tempo = Float.from64Bits(msg[6], msg[7]); var beatsPerBar = Float.from ...
-
# Changelog ## Unreleased 1. Whole `Rational` values now hash like Integer and Float. Approximate Float equality and fraction hashes are unchanged. 2. `==` now compares only with Integers, Floats and Rationals. Anything else is false, and ` ...
-
... Test { // Note [Rational bounds] // ~~~~~~~~~~~~~~~~~~~~~~ // // Components are Float, integers are exact up to 2^53 = 9007199254740992. // See Note [Precision] in Classes/Rational.sc // // The arithmetic under test builds intermediates far ...
-
... , "Deutsch"])); p.put(\musicVolume, ChordtrisPreferenceSetting("Music Volume", \float, 0.4, [0, 1], 0.1)); p.put(\soundVolume, ChordtrisPreferenceSetting("Sound Volume", \float, 0.3, [0, 1], 0.1)); p.put(\keyboardVolume, ChordtrisPreference ...
-
... [ a0, a1, a2, b1, b2 ] } } /****** // for comparison, freq formula in RLPF_next float qres = sc_max(0.001, reson); float pfreq = freq * unit->mRate->mRadiansPerSample; float D = tan(pfreq * qres * 0.5); float C = ((1.f-D)/(1.f+D)); float co ...
-
... ker a.rev_marker a.cancel_all_solos a.rec_enable_toggle a.save_state // dB is a float indicating the desired gain in dB: a.master_gain // position is a float between 0 and 1 setting the desired position of the fader a.master_fader // where ...
-
HOABeamHCard2Hoa{ *ar { |order, in, az, ele, int_float = 0, cardOrder = 1| // az = az.neg; ele = ele.neg; // the Faust Ugens seem to have those reversed case{order == 1} { var in1, // declare variables for the b-format array in2, in3, in4; ...
-
... Traer Bernstein http://murderandcreate.com/physics/ TraerVector3D { var <>x; //Float var <>y; //Float var <>z; //Float *new {|x= 0, y= 0, z= 0| ^super.newCopyArgs(x, y, z); } setX {|x| this.x= x; } setY {|y| this.y= y; } setZ {|z| this.z= ...
-
... egative TraerAttraction : TraerForce { var <>a, <>b; //TraerParticle var <>k; //Float var <>on; //Boolean var <>distanceMin; //Float var <>distanceMinSquared; //Float *new {|a, b, k, distanceMin| ^super.new.initTraerAttraction(a, b, k, dist ...