-
... numTicks , tickSpacing: 64 ) Specifically for use by DrawGrid . This returns a Dictionary with keys: 'lines' , an array of values where lines should be drawn, and 'labels' , an array of 2-element arrays [value, "formatted label"] for each ...
-
... e AtkMatrix: -writeToFile method has some optional arguments: note and attributeDictionary . A note can be a brief description, while an attributeDictionary is a Dictionary for storing any info you'd like in the form of key:value pairs. Inf ...
-
... ng characters in melody ( k = Pseq("ab"); c = [ "a" -> "ba", "b" -> "ca" ]; d = Dictionary[ $a -> 0, $b -> 5, $c -> 3 ]; z = Pdict(d, // apply homomorphism (final translation) k.asStream.rewriteString(c, 5) ); Pbind( \instrument, \sinegrain ...
-
... hese properties, see this link. All of the properties are used in the form of a dictionary with the name of the property being the key and the value being a string in that key. Here is an example of using properties to set an item ( var pro ...
-
... IdentityBag[1, 2, 3].remove(3); ⧉ ✔ . contents From superclass: Bag Returns the dictionary that stores the objects in pairs (obj -> numberOfObjects) IdentityBag[\a, \b, \c, \c].contents; ⧉ ✔ Iteration . do ( function ) From superclass: Bag ...
-
... s: The name of the SynthDef , as reported by the server. . controls Returns: An Dictionary mapping NamedControl names to values of those controls at the time of the snapshot. Inherited instance methods Examples fork { SynthDef(\outputTest, ...
-
... port_debouncer; *new { |model| ^super.new(model).init; } init { nk_checkboxes = Dictionary[]; nk_indicators = Dictionary[]; port_debouncer = MSCDebouncer.new; } // remove automatic name plaque thing writeName {} /** * Build the whole GUI * ...
-
... Num, chan, srcID).permanent_(true); hasMapping = true; } getState { var state = Dictionary(); state[\msgNum] = msgNum; state[\chan] = chan; state[\srcID] = srcID; state[\hasMapping] = hasMapping; ^state; } loadState { |state| if (state[\has ...
-
... umbers. The 6 transport controls remain the same in all scenes. NanoKtl keeps a dictionary of actions for all mapped controllers. See also: UsingMIDI , CCResponder , MIDIIn First example // make a ProxySpace and a mixer for it, map the Nano ...
-
... r boids dist = thisBoid.dist(thatBoid); // get their distance neighbors[nIdx] = Dictionary[\pos->thatBoid.pos, \vel->thatBoid.vel, \dist->dist]; // store in a dictionary //////// RULE 1 //////////////////////////////////// // nothing else t ...