-
... / keep all ratios within the octave }); r.postln; // see the ratios as floating point r.asRational; // see the ratios as integer fractions ) t = TuningRatios (12, 440, 69, r); // show deviations from 12ET // note 9 corresponds to 69 used fo ...
-
... / keep all ratios within the octave }); r.postln; // see the ratios as floating point r.asRational; // see the ratios as integer fractions ) t = TuningRatios (12, 440, 69, r); // show deviations from 12ET // note 9 corresponds to 69 used fo ...
-
... eComp; republic = aRepublic; bounds = bounds ?? { 0@500 }; if (bounds.isKindOf( Point)) { bounds = Rect(bounds.x, bounds.y, 0, 0).setExtent(width, height); }; parent = parent ?? { this.makeWindow(bounds.width, bounds.height) }; width = boun ...
-
... { storeEditOn { | stream, cacheKey | stream.putAll(this.asCompileString); } } + Point { storeEditOn { | stream, cacheKey | stream << "Complex("; x.storeEditOn(stream, cacheKey); stream << ", "; y.storeEditOn(stream, cacheKey); stream << ")" ...
-
... { storeEditOn { | stream, cacheKey | stream.putAll(this.asCompileString); } } + Point { storeEditOn { | stream, cacheKey | stream << "Complex("; x.storeEditOn(stream, cacheKey); stream << ", "; y.storeEditOn(stream, cacheKey); stream << ")" ...
-
... s.assertEquals(instances.at(\foo), synth, "Instance dictionary key \\foo should point to synth \\foo"); // \testtone's single argument is called \sfreq and has the default value 200 // get is asynchronous, so we sync synth.get(\sfreq, { |va ...
-
... |unit, key, umapdef| unit.isKindOf( UPattern ).not && { [ SimpleNumber, Array, Point ].any({ |class| unit.getDefault( key ).isKindOf( class ) }); }; }) .setSpec( \loop, ListSpec( [ \off, \loop, \backwards, \alternate, \back_at_end, \hold ] ...
-
... Of(a) - 1); prev = a; } }; res.do{|r| // res contains indexes of the inflection points...filter out minima if (temp[1][r] > temp[1].wrapAt(r-1)) //check to the left { max[0] = max[0].add(temp[0][r]); max[1] = max[1].add(temp[1][r]); } }; if ...
-
... 0)*obj[\particle].mass; var pos= obj[\particle].position; Pen.addOval(Rect.aboutPoint(Point(pos.x, pos.y), size, size)); obj[\synth].set(\x, pos.x, \y, pos.y, \a, age, \d, delta); }; Pen.stroke; }; win.front; CmdPeriod.doOnce({win.close}); ...
-
... eneric mixer gui definition (vertical) MixerChannelGUI.defaultDef = MixerGUIDef(Point(50, 290), [MixerMuteWidget, MixerRecordWidget, MixerPresendWidget, MixerPanWidget, MixerLevelSlider, MixerLevelNumber, MixerPostsendWidget, MixerNameWidge ...