-
... tically imports a latency parameter from the server's latency variable. You can set the default latency for event patterns like this: myServer.latency = 0.2; // 0.2 is the default Here are three ways to play a synth with the latency paramet ...
-
... e expanded, as per String-standardizePath. Class Methods tmp tmp_(aPath) Get or set the global temp directory as a String . This is used by Buffer , etc. By default this is "/tmp/" for Linux and OSX, and "/WINDOWS/TEMP/" for Windows. Instan ...
-
... is note. After \sustain beats, a release message will be sent to the synth node setting its 'gate' control to 0. Your SynthDef should use 'gate' in an EnvGen based on a sustaining envelope (see Env ), and the EnvGen should have a doneAction ...
-
... ned incrementally by repeated next messages. A Stream can be restarted with a reset message. (Not all streams actually implement reset semantics.) The class Object defines next to return the object itself. Thus every object can be viewed as ...
-
... that looks up responses in a collection. For example, you could have a separate set of response functions for each channel. ~noteOn = Array .fill(16, IdentityDictionary .new); MIDIIn .noteOn = { |port, chan, num, vel| ~noteOn[chan].do( _ .v ...
-
... n The method flop swaps columns and rows, allowing to derive series of argument sets: ( SynthDef ( "help_multichannel" , { |out=0, freq=440, mod=0.1, modrange=20| Out .ar(out, SinOsc .ar( LFPar .kr(mod, 0, modrange) + freq ) * EnvGate (0.1) ...
-
... (in, 0.2, 0.2, 3, 1, in); }.play(addAction: \addToTail ); { loop({ orc.use({ // set values in the environment ~freq = exprand(80, 600); ~amp = 0.1; ~pan = 1.0.rand2; // call a randomly chosen instrument function // with values from the envi ...
-
... lasses. ( x = List [1, 2, 3]; x.array.add( "foo" ); x.postln; ) array_(anArray) Sets the List's Array. at(index) Return the item at index . List [ 1, 2, 3 ].at(0).postln; clipAt(index) Same as at , but values for index greater than the size ...
-
... d to vary as the sum of the segment durations, as figure 1 demonstrates. We can setup some memory of n (conventionally 12) points, or even simply vary sucessively a single point's ordinate and duration. There are thus various schemes availa ...
-
... in the default event, and the parameters they expect. The pattern cookbook is a set of examples with explanations. PG_Cookbook01_Basic_Sequencing Playing a predefined note sequence “Multichannel” expansion Using custom SynthDefs (including ...