-
... // reverse index pattern ~w = PLseq ((7..0)); // keep in mind that indices are wrapped, no surprise here ... ~a = (70,72..84); // ... but with shorter array indices are grouped in 5 + 3 ~a = (70,72..78); x.stop; ////////////////////// // p ...
-
... ou can even customize the draw function. See drawFunc below. EZFancySlider will wrap a FancySlider just like EZSlider does with a Slider. Class Methods . new Inherited class methods Instance Methods . drawFunc A user definable function for ...
-
... 100, 30), 'vfxChpre', [0, 99, \lin, 1], { |nb| // nb.value_(nb.value.asInteger.wrap(0, NTMI.mfx.pcpop.items.size - 1)); // NTMI.mfx.pcpop.valueAction_(nb.value); // }, labelWidth: 60).font_(NTMI.mfx.font); // NTMI.mfx.pcnum.numberView.keyD ...
-
... ctive = (play: false, stop: false, return: false ); // buttons: (these could be wrapped in a standardized round button class later) // play button play = RoundButton( window, Rect( 10, 5, 120, 50 ) ) .states_( [ [ \play, Color.green(0.5), C ...
-
... set message provided by Synth instance. Returns: a Synth . makeSourceInstance A wrapper around Satie: -makeInstance to explicitly create an audio source Returns: a Synth . makeFxInstance A wrapper around Satie: -makeInstance to explicitly c ...
-
... e methods dim addBoid removeBoid boids bounds setAllBoundLengths setBoundLength wrap timestep Flocking Rules and Moving the Flock centerInstinct innerDistance matchVelocity maxVelocity minSpace moveFlock Targets and Obstacles targets addTar ...
-
... t into array of parameter arrays arg ... z; // argument list; may or may not be wrapped in an array var oneSpec, allSpecs; z = z.flat; // remove all inner array wrapping (z.size == 0).if({ ^List.new // empty list for no specs }, { allSpecs ...
-
... o do: easier access to controlProxies // passive mode recorder - how to specify wrapper for BP? // - how to start/stop? Use MBM trigger button? // - on stop, need to unwrap and go // openly stealing from ChucK for high-level control of a pe ...
-
... s(this); x = x-1; } rotateRight { |matrix| var newOrientation = (orientation+1).wrap(0,3); this.rotateIfPossible(newOrientation, matrix); } rotateIfPossible { |newOrientation, matrix| var rotatedBrick = ChordtrisBrick(this.brickType, this.c ...
-
... = (\foo: nil, \bar: 42); // -> ( 'bar': 42 ) ⧉ ✔ To overcome this constraint we wrap nil into a Ref (shortcut is using the backtick, so `nil ) wherever we encounter a null value in the JSON string. e = (\foo: `nil, \bar: 42); // -> ( 'foo': ...