-
... ern1 <> pattern2 <> ... patternN <> pattern add another pattern to the chain // examples ( Pchain ( Pbind ( \detune , Pseq ([-30, 0, 40], inf ), \dur , Prand ([0.2, 0.4], inf )), Pbind ( \degree , Pseq ([1, 2, 3], inf ), \dur , 1) ).trace.p ...
-
... a given object. If object is not element of the dictionary, it returns nil. // example a = TwoWayIdentityDictionary .new; a.put( \test , 999); a.put([ "some" , "strings" ], 1200); a.at( \test ); a.getID(999); a.getID(1200); a.getID(888); / ...
-
... ig , 1); // after this trigger, the change will take effect. x.free; // // next example b = Buffer .read(s, "sounds/a11wlk01.wav" ); ( { var input, kernel; input= SoundIn .ar(0); // must have power of two framesize Convolution2L .ar(input, ...
-
... buffer can be reallocated at any time, using .ir will not track the changes. // example s.sendMsg( "/b_allocRead" , 0, "sounds/a11wlk01.wav" ); // indexing with a phasor { BufRd .ar(1, 0, Phasor .ar(0, BufRateScale .kr(0), 0, BufFrames .kr( ...
-
... ndex is suitable for linearly interpolating between the buffer slot values. For example, if the Buffer contains [3, 21, 25, 26] and the input has the value 22, then the output will be 1.25, because the value 22 is in-between the values stor ...
-
... ySpace returns a NodeProxy . A similar class without environment: Ndef For more examples see: proxyspace_examples jitlib_basic_concepts_01 For GUI overview, see ProxyMixer . See NodeProxy for many relevant methods. First Example s.boot; p = ...
-
Cocoa see also: CocoaDialog Cocoa.getPathsInDirectory(path) // example: Cocoa .getPathsInDirectory( "plugins" ) // note: it is better to now use pathMatch (unix compatible). Wild cards like * can be used. "plugins/*" .pathMatch; "plugins/D* ...
-
... jectGui. see [gui] It is the simplest display, just the the object asString. an example gui class YourSimpleGuiClass : ObjectGui { guiBody { arg layout; // we refer to the model and // access its variable howFast. // if its a simple number, ...
-
... ditional window is still needed once the first one has closed. See below for an example of how to do this. Creation / Class Methods *new (name, bounds, resizable, border, server, scroll) Creates a new SCModalWindow instance. You do not need ...
-
... gate when gate is 0, node is paused, when 1 it runs nodeID node to be paused //example s.boot; SynthDef ( "a" , { Out .ar(0, SinOsc .ar(800, 0, 0.2)) }).send(s); SynthDef ( "b" , { arg gate=1; Out .ar(1, PinkNoise .ar(0.3)); Pause .kr(gate ...