-
... } fuzzygcd { |that, error = 0.15, tries| // error = acceptable amount of error in deciding "equality" // tries = how many iterations before giving up & returning nil ^this.asFloat.fuzzygcd(that.asFloat, error, tries) } } + Float { /% { |th ...
-
... aTempoClock) aTempoClock.default is used if aTempoClock is not supplied. test prints 4 beats of test values testRate prints 1 beat's worth of test values at rate schedAbs(beat, priority, function, interval, quant, schedQuant) schedules a fu ...
-
... sclang. */ DirtEventTypes { classvar <midiEvent; classvar <>alwaysFlop = true; *initClass { // allows to play events in superdirt from sclang Event.addEventType(\dirt, { var keys, values; var dirt = ~dirt ? SuperDirt.default; if(dirt.isNil) ...
-
//f.olofsson & t.ungvary 2019 //for Budapest concert SGliss : AbstractSInstrument { var out; //synth var <voices; //list with gliss voice instances *new {|maxNumVoices= 100, target, outbus= 0, addAction= \addToHead, args| ^super.new(2, targ ...
-
/* \tremolo Applies a tremolo to the amplitude of the input sound. speed: number of tremolo's per second. amount: sets the minimum and maximum of the tremolo effect. smooth: smoothen the modulator signal; 0 means square wave, 1 means sine w ...
-
// read in example text files ( b = (); // maybe set path by hand if needed (thisProcess.nowExecutingPath.dirname +/+ "*.txt").pathMatch.do { |path| var textName = path.basename.splitext[0].asSymbol.postcs; var file = File(path, "r"); var l ...
-
//a pendulum in 3d ( var width= 300, height= 300, depth= 300, w, wgrav, world, obj, ploc, s= 1, f= 0.1; //--world w= RedWindow("pendulum 3d", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0, 0]; world= RedWorld(RedVector3D[widt ...
-
/* \tremolo Applies a tremolo to the amplitude of the input sound. speed: number of tremolo's per second. amount: sets the minimum and maximum of the tremolo effect. smooth: smoothen the modulator signal; 0 means square wave, 1 means sine w ...
-
... for the given name symbol, nil will be returned. If needed, you can protect against nil being returned by the function, by appending the adverb protectNil to the chuck operator as below. The adverb allowNil may be appended to => to overrid ...
-
... for the given name symbol, nil will be returned. If needed, you can protect against nil being returned by the function, by appending the adverb protectNil to the chuck operator as below. The adverb allowNil may be appended to => to overrid ...