-
... w. font_(font) Set the Font used by all the views. font - An instance of Font . Examples // try several examples together ( // many menus // inherits the parent's decorator gap ( w= Window .new( "oscillators" , Rect (200,500,200,160)).front ...
-
... mind expanding. // It may take some effort to grasp what is happening in these examples. // iota fills an array with a counter z = Array .iota(2, 3, 3); z.rank; // 3 dimensions z.shape; // gives the sizes of the dimensions z = z.reshape(3, ...
-
... >Utilities folder) to search for all occurrences of a given word or phrase. For example, to see all documents that use the LFSaw class, evaluate (in the Terminal application) grep -r LFSaw /Applications/SuperCollider ⧉ ✔ Because lines in th ...
-
... uts array of source channels monitor returns the current monitor (see Monitor ) Example // using as a control bus listener s.boot; z = Bus .control(s, 16); a = BusPlug .for(z); m = { Mix ( SinOsc .ar(a.kr(16), 0, 0.1)) }.play; z.setn( Array ...
-
... rs. If the n is set too low there is a chance of audible clicks. When using for example a lagtime of 1 and triggers happen every 0.5 s, n should be set to 3 . If n == 1 no crossfading will happen, and triggers will always result in clicks. ...
-
... tion that returns a LPRange that holds references to the Launchpad LED-Buttons. Example of creating a button on the launchpad Launchpad.initMIDI; // before the Launchpad can be used it has to be initialized ( a = LPButton(Launchpad.getRange ...
-
... t channel x.set( \spread , 1, \center , 0); // full n chans x.free; // the same example written with arFill: ( x = { arg spread=1, level=0.5, width=2, center=0.0; SplayAz .arFill( 4, 10, { |i| SinOsc .ar( LFNoise2 .kr( rrand(10, 20), 200, i ...
-
... ag has been recieved. Performs valueAction_() using currentDrag as an argument. Examples ( w = Window .new.front; a = TextField (w, Rect (10, 10, 150, 20)); a.string = "hi there" ; a.action = { arg field; field.value.postln; }; ) // does no ...
-
... urns whether the scheduling queue is empty. clear clear the scheduling queue // example: a = Scheduler ( SystemClock ); a.sched(3, { "now it is 3 seconds." .postln; nil }); a.sched(5, { "now it is 5 seconds." .postln; nil }); a.sched(1, { " ...
-
... ne have a device that is not yet known by the toolkit? // - pick one to give an example how it works for everyone, preferably one of each type (MIDI / HID) // - then help those who have other devices that do not work out of the box