-
... ick; Pen.fillColor= Color.black; physics.particles.do{|p| Pen.addOval(Rect.aboutPoint(Point(p.position.x, p.position.y), p.mass, p.mass)); }; Pen.fill; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed ...
-
... imal-Fractions-Part-A-only.pdf //it doesn't work perfectly due to floating point errors, I can't find an arbitrary precision float for SC ~fraction2basimal.(1/3, 10); //without rounding in the equals comparision, this returns a bunch ...
-
... (octaveRatio == 2.ratiomidi.midiratio) { octaveRatio = 2 }; // prevent floating point weirdness pitches = [0] ++ pitches.drop(-1); ^Tuning(pitches, octaveRatio, name) } }
-
... { scales = scales.dup(numchans) }; // Apply the rotation array = array.collect{|point| spinmatrix.collect{|spincol, scindex| (point * spincol).sum * scales[scindex] + offsets[scindex] } }; ^array } *initBufGridRand { |buf, netsize, numdims, ...
-
... bedView2 quark. Class Methods . new Arguments: redMixer A RedMixer . position A Point . . numMixerChannelsBeforeScroll Get or set the number of RedMixerChannelGUI that will be visible in the window before adding horizontal scrollbars. The d ...
-
... | redMixer.free; redMixer= RedMixer.restoreFile(x); redMixer.init; redMixer.gui(Point(win.bounds.left, win.bounds.top)); this.close; }}*/ {Dialog.openPanel{|x| Object.readArchive(x).keysValuesDo{|k, v| redEffectsRack.cvs[k].value_(v.value). ...
-
... culate? if(unitsdone>=(totalunits-0.000001), //account for very slight floating point errors { //new cutsize? subdiv= sdiv.value.round(1.0).asInteger; //integers only //new number of beats to cut into subdiv units sdivbeats=barlength.value; ...
-
... "Mags multiplied with noise" ], [ 'mgbw', "Clears bins above or below a cutoff point" ], [ 'mgbs', "Randomizes the order of the bins" ], [ 'pvmt', "Crossfades between two sounds by copying bins in a random order with track" ], [ 'pvmi', "C ...
-
... && { spec.isKindOf( FreqSpec ) } ) { fromSpec = spec; }; if( fromSpec.isKindOf( PointSpec ) ) { fromSpec = fromSpec.asControlSpec; if( val.isKindOf( Point ) ) { val = val.x }; }; if( fromSpec.isKindOf( SMPTESpec ) && { spec.isKindOf( SMPTES ...
-
... by integers beginning with zero. Buffers Buffers are arrays of 32 bit floating point values with a small descriptive header. Buffers are stored in a single global array indexed by integers beginning with zero. Buffers may be safely allocat ...