-
... rt is true. onFailure If not nil , a failure stops the tests and evaluates this function. UnitTest.new.assert(2 == 2, "Two does equal two."); UnitTest.new.assert(2 == 2.00001, "Two does equal two."); ⧉ ✔ assertFloatEquals Make sure that the ...
-
... urs + daylightSavings) / 24).floor; // this is not entirely right, but seems to function ok year = (theDay / 365.242199).floor + 1970; dayN = ( ( ( theDay / 365.242199 ).frac * 365.242199 ) // - ((year - 1972) / 4).floor ).round(1) + 1; // ...
-
... isteners for all of them that send to the forward address. "making nufo forward functions:".postln; q.nufoRelays = q.nufoMsgNames.collect { |msgName| var name = ("fwd_" ++ msgName.asString.drop(6)).asSymbol.postln; OSCdef(name, { |msg| // m ...
-
... olor.grey(0.8); leftColor=Color.grey(0.2); step=this.pixelStep; // set the draw function of the SCUserView this.drawFunc={ this.draw}; } // (4) define a drawing function for SCPen draw{ // Draw the fill SCPen.fillColor = Color.grey; Pen.add ...
-
... xample with a gui ( var synths, notes, buses, buffers; var window, guiElements, functions; var liveInbus = 0, outbus = 0; //config input and output buses = IdentityDictionary.new; notes = IdentityDictionary.new; buffers = IdentityDictionary ...
-
... e basic Node tree so that methods such as Server-scope, Server-record, etc. can function without running into order of execution problems. In the example below the scoping node will come after the default group. Server .internal.boot; { Sin ...
-
... ariables. It is a nice place to store menus, annotations, and commonly reusable functions. Class Methods Library. postTree From superclass: LibraryBase Post a formatted description of the entire library. Library.postTree; ⧉ ✔ Library. put ( ...
-
... h uses .tanh distortion // \safeLimit uses a Limiter.ar // you can add your own functions here: Safety.synthDefFuncs; // and change the defName like this: Safety(s).defName = \safeLimit; /// Set the general Safety limit level // - sets limi ...
-
... egerSpec( 0 ) ) .category_( \private ) .uchainInitFunc_({ |unit, chain| // this function replaces the wfsPoint unit in the chain // by a \shared_point, and any of \map_control_point UMaps // further in the chain by corresponding \shared_poi ...
-
... h stutter allowed to occur (for all tail of phrase) BBCutProc11 : BBCutProc { //functional variables var sdiv,barlength,phrasebars,numrepeats,stutterchance,stutterspeed,stutterarea; //variables persisting var numbarsnow; var unitblock,units ...