-
... ions within an Environment, so it returns the return value of the function. For example ( a = Environment.make({ ~a = 100; ~b = 200; ~c = 300; }); a.postln; ) ⧉ ✔ creates an environment, while a.use({ ~a + ~b + ~c }).postln; ⧉ ✔ evaluates t ...
-
... cause i never programmed a GUI before, they might be a little bit esoteric. use examples will follow ... Launchpad{ classvar <>midiout; classvar <>pads;//2DARRAY classvar nonr,nofr,cor;//MIDI RESPONDER FUNCTIONS *initClass{ if(La ...
-
... that the scale factor of the SWDataNode is not represented on the bus itself. - Example - // define the network x = SWDataNetwork .new; // get data input from incoming serial data // (from an XBee network) q = XBeeSMS .new( "/dev/ttyUSB0" , ...
-
... _(0.3); } guiColor { ^guiColor ? (this.class.defaultGUIColor) } } UMap : U { /* example: x = UChain([ 'sine', [ 'freq', UMap() ] ], 'output'); x.prepareAndStart; x.stop; */ classvar <>allUnits; classvar <>currentBus = 0, <>maxBus = 499; cla ...
-
... ----------------------------------------------------------[STEP 2] // |Examples A B C D E ~min = 3; //MINOR notes (A, D, E) |~min 0 0 8 2 2 ~maj = 8; //MAJOR notes (C, F, G) |~maj 0 0 4 8 2 ~dim = 1; //DIMINISHED note ...
-
... the bounds of the collection (too low or too high), SuperCollider returns nil . Example: a = [100, 200, 300]; a.at(0); // Returns 100 (the first item) a[0] // Same as above (syntactic sugar; shortcut) a[2]; // Returns 300 (the third item) a ...
-
... le ENdef . The recommended way to use FRP in FPLib is with ENdef as seen in the example below. The do and fire methods should be used only for quick testing, not for actual instruments or guis. ( //Setup GUI a = Slider(); b = Slider(); w = ...
-
... may be treated as a 'mean'). If supplied, the defDist is overridden. ( // basic Example. g = Tendency.new( Env([1.0, 0.5, 1.0], [0.5, 0.5]), Env([0.9, 0.0, 0.9], [0.8, 0.2], [-10, 5])); n = 500; // get 500 samples o = n.collect({arg i; i = ...
-
... y jitlib_efficienc y jitlib_fading jitlib_asCompileString NodeProxy_roles First Example s.boot; a = NodeProxy .new.play; // play to hardware output. a.fadeTime = 2; // fadeTime specifies crossfade // set the source a.source = { SinOsc .ar([ ...
-
My first composition that goes beyond tweaking documentation examples. It uses a kind of granular synthesis where each grain is a short AM synthesized fragment. No filters or other effects are used. With some OSC based "score" visualization ...