-
... ) envelope - an instance of Env , or an Array of Controls. (See Control and the example below for how to use this.) gate - this triggers the envelope and holds it open while > 0. If the Env is fixed-length (e.g. Env.linen, Env.perc), the ga ...
-
... can embed Pdefs by name. dict_(a dictionary) set the dictionary to be used. // example: ( // load a synthdef s.boot; SynthDef ( \gpdef , { |out=0, freq=440, sustain=0.05, amp=0.1, pan| var env; env = EnvGen .kr( Env .perc(0.01, sustain), d ...
-
... hether the file is open. An open request can fail if a file cannot be found for example. This method lets you test that the open call succeeded. length Answer the length of the file. pos Answer the current file position seek(offset, origin) ...
-
... he note should cut off early and the next event should produce a new synth. The example uses Pfsm (finite state machine) to arrange a set of predefined phrases in a partially randomized order. Each phrase is followed by a list pointing to t ...
-
... nary messages The pattern for a binary message is RECEIVER OPERATOR OPERAND For example 2 * 3 is a receiver (the object to which a message is sent), a binary operator, and an operand. //////////////////////////////////////////////////////// ...
-
... nd the label (if you use one), otherwise you may get confusing results. See the examples below. Creation / Class Methods *new (parent, bounds, label, controlSpec, action, initVal, initAction, labelWidth, knobSize,unitWidth,labelHeight, layo ...
-
... p) in modulated input force spring spring constant (incl. mass) damp damping // examples // trigger gate is mouse button // spring constant is mouse x // mouse y controls damping ( { var inforce, outforce, freq, k, d; inforce = K2A .ar( Mou ...
-
... at. This allows for Env parameters to be settable arguments in a SynthDef . See example above under * newClear . Client-side Access and Stream Support at(time) Returns the value of the InterplEnv at time . InterplEnv ([0, 1, 0.707], [0.2, 1 ...
-
... 44100 samples are allocated, the maximum delay would be 32768 samples. // These examples compare the variants, so that you can hear the difference in interpolation // allocate buffer b = Buffer .alloc(s,44100,1); // Comb used as a resonator ...
-
... 44100 samples are allocated, the maximum delay would be 32768 samples. // These examples compare the variants, so that you can hear the difference in interpolation // allocate buffer b = Buffer .alloc(s,44100,1); // Comb used as a resonator ...