-
... equivalent to MouseX in the language, on guis etc. First code examples: // use just the Mouse class (no polling needed): Mouse.pos Mouse.x Mouse.y // start polling - more efficient with multiple instances Mouse.start; // use instances with ...
-
... creating a collection, so that variables do not need to be initialized. Nil is just the "ground" (default case) from which the rest is bootstrapped. add Returns an array with the value. This makes it unnecessary to initialize when adding t ...
-
... ee also: Scale Description Represents a musical tuning (e.g. equal temperament, just intonation, etc.). Used in conjunction with Scale to generate pitch information. t = Tuning.et12; t.semitones; // [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] t. ...
-
... path; //stop recording ~rec.stop; ~board.stop; ~rec.path.openOS; //open file we just recorded in text editor //an example showing adding four extra columns of data //WARNING - this might break the playback and or other functions that expect ...
-
... 0.2), SinOsc.ar(442, 0, 0.2)] }.play; ⧉ ✔ Not too inspiring? Don't worry, we're just getting started, and this is just a simple example to demonstrate Functions and sound. We'll take it apart a bit below. Before we get to doing that though, ...
-
... ckground_(Color.green); b.stringColor_(Color.red); b.action_({"bu1".postln}); //just a function b.remove; //init only, send to page later b = WsSimpleButton.init(a, nil); // no bounds specified b.string_("string"); b.font_(Font.new(\Georgia ...
-
... crucial>Instr'>Instr Instr Patterns Extension Using Instr in Patterns Patterns Just as for SynthDef, an Instr supports .add which will compile a SynthDef and add it to the SynthDescLib that the Pattern system uses. But when using the Event ...
-
... >crucial > crucial>GuiClasses'>GuiClasses SimpleTriggerGui Extension gui class. just a button to trigger Location: NOT INSTALLED! See also: SimpleTrigger Description Class Methods Inherited class methods Instance Methods . guiBody Arguments ...
-
... passed thru, rather than converting them with map/nmap functions. PassSpec does just that, so deviceValue and value are always just passed thru as is. First code examples: PassSpec.new; // returns PassSpec class, because PassSpec.map(23); / ...
-
... programming language to start with a simple program called 'Hello World'. This just makes the program print the text 'Hello World!' to well, wherever it prints text. In SC that's a place called the post window. The post window is the one t ...