-
... parms; eventually I'll add safety checks? parmsToInsert = bp.v.coordParms ?? { IdentityDictionary.new }; parms.respondsTo(\keysValuesDo).if({ parmsToInsert.putAll(parms); }); currentEnvironment.putAll(parmsToInsert); (bp.v.alwaysReset == t ...
-
... parms; eventually I'll add safety checks? parmsToInsert = bp.v.coordParms ?? { IdentityDictionary.new }; parms.respondsTo(\keysValuesDo).if({ parmsToInsert.putAll(parms); }); currentEnvironment.putAll(parmsToInsert); (bp.v.alwaysReset == t ...
-
... super.newCopyArgs(userView,bounds ?? {userView.bounds}).init } init { objects = IdentityDictionary.new; stack = List.new; selected = List.new; selectedStrokeColor = Color.blue; bounds = bounds.moveTo(0,0); } add { arg obj, renderFunc, bound ...
-
... vLabels Boolean for plotting vertex labels. Default value is true. statsDict an IdentityDictionary associating to a vertexID the number of its occurences. The counter is referred to all the actants. colFact The factor used to calculate the ...
-
... separate set of response functions for each channel. ~noteOn = Array .fill(16, IdentityDictionary .new); MIDIIn .noteOn = { |port, chan, num, vel| ~noteOn[chan].do( _ .value(port, chan, num, vel)) }; // this function will respond only on c ...
-
... r Class EventDispatcher { var events; *new { ^super.new.init; } init { events = IdentityDictionary.new; } // Method to subscribe to an event subscribe { |eventName, action| events[eventName] = events[eventName] ?? { Set.new }; events[eventN ...
-
... initClass { // each func takes "in" and outputs eq'ed signal (1 band) eqFuncs = IdentityDictionary[ \eq -> { arg in, k, freq, rq; MidEQ.ar(in, freq, rq, k.ampdb) }, \lopass -> { arg in, k, freq; LPF.ar(in, freq) }, \hipass -> { arg in, k, f ...
-
... ndows var <>player; var <>preset; *initClass { StartUp.add ({ Conductor.specs = IdentityDictionary.new; Conductor.specs.putPairs([ // set up some ControlSpecs for common mappings // you can add your own after the fact. unipolar: ControlSpec ...
-
... = \audio, index = 0, name| if( this.ioNames.isNil ) { this.ioNames = MultiLevelIdentityDictionary(); }; this.ioNames.put( mode, rate, index.asInteger, name ); } audioInName { |index=0| ^this.prGetIOName( \in, \audio, index ); } controlInNa ...
-
... h ; // init is relevant var p, l, name ; samplesPath = aSamplesPath ; bufDict = IdentityDictionary .new ; server.doWhenBooted({ // load a buffer for all the files in samplePath p = Pipe .new( "ls -R" + samplesPath, "r" ) ; l = p.getLine ; w ...