-
... is.elements = this.elements.add( element ); } size { ^elements.size } select { |function| ^elements.select( function ) } collect { |function| ^elements.collect( function ) } inject { |thisValue, function| ^elements.inject(thisValue, functio ...
-
... lib 2006 // automatically add controls for all arg names (use inside a SynthDef function) // maybe already there? couldn't find it though.. + Function { valueControls { |... prependArgs| // for prependArgs no controls are created ^UGen.buil ...
-
/* You can define arbitrary functions to be called from Tidal The examples below assume you have stored dirt in a variable ~dirt, andyour first dirt bus in ~d1 NOTE: The interface for ~diversion (see bottom) may change! */ // d1 $ sound "tl ...
-
... ar v_slider_position; var sv_slider; var hex_text_field; var helper; var binded_function; var margin; // Slider half dead zone // HSV to Color function *new { | initFunc | ^super.new.init(initFunc); } init { | initFunc | func = initFunc; co ...
-
... ///////////////////// // From Environment // ////////////////////// *make { arg function; ^this.new.make(function) } *use { arg function; ^this.new.use(function) } make { arg function; // pushes the Envir, executes function, returns the Env ...
-
... ineRegister = IdentityDictionary.new; midiFuncRegister = Array.new; } add { arg function, timeline, timelineOptions = (); timeline = timeline.asTimeline(clock, timelineOptions); this.addTimelineToRegister(cueList.size+1, timeline); ^super.a ...
-
... ing ExtendableObjects without nesting them */ + Object { addMethod { |selector, function| ^ExtendableObject(this).addMethod(selector, function) } // replace later by addHalo addHalo2 { |...args| ^Halo2(this).addHalo(*args) } } + Halo2 { // ...
-
... rogram. If not, see <http://www.gnu.org/licenses/>. // // ~name = \sndFile; // ~function = { | bufnum = 0, loop = 0, startPos=0, rate = 1, t_trig=0 | // // DiskIn.ar(1, bufnum, loop = loop); // PlayBuf.ar(1, bufnum, rate, t_trig, startPos, ...
-
... e: (symbol) name of the spatializer ~description: (string) a short description ~function: the actual definition of the plugin */ ~name = \sndFile2; ~description = "A sound file player (stream from disk)"; ~channelLayout = \mono; ~function = ...
-
... ***************************************/ Bessel /*@ shortDesc: calculate Bessel functions longDesc: Calculates Bessel functions of the first kind. This creates a table, so looking up many different n values is efficient. instDesc: Creation ...