-
... ck on every note, while Pmono glides from pitch to pitch. p = Pbind ( \degree , Pwhite (0, 7, inf ), \dur , 0.25, \legato , 1).play; p.stop; p = Pmono ( \default , \degree , Pwhite (0, 7, inf ), \dur , 0.25).play; p.stop; Articulating phras ...
-
... }, // The \delta key is used automatically for the spawner.wait() call \delta , Pwhite (1, 4, inf ) * 0.25 )).play; ) p.stop; Previous: PG_06c_Composition_of_Patterns Next: PG_06e_Language_Control
-
... m = MIDIOut (0); a = Pbind ( \degree , Prand ([1, 2, 3, [0, 5]], inf ), \bend , Pwhite (0, 76, inf )); // chain a midi event into the pattern and play it (see Pchain ) (a <> (type: \midi , midiout: m)).play; The following keys are supported ...
-
... 2, 3, 4, 5 Pgeom(start, grow, length) -- geometric series, e.g., 1, 2, 4, 8, 16 Pwhite(lo, hi, length) -- random number generator, uses rrand(lo, hi) -- equal distribution Pexprand(lo, hi, length) -- random number generator, uses exprand(lo ...
-
... Pbrown ().linexp(0, 1, 0.004, 0.02), \legato , Pbrown (1, 3, 0.1, inf ), \pan , Pwhite () * Pbrown () ) ).play ) // modulating width only ( Pdef ( \x , Pbind ( \instrument , \gabor , \freq , 1000, \dur , 0.01, \width , Pseg ( Pseq ([0.25, 0 ...
-
... (addition). * Pgeom(start, grow, length): Geometric series (multiplication). * Pwhite(lo, hi, length): Random numbers, equal distribution ("white noise"). Like rrand(lo, hi). * Pexprand(lo, hi, length): Random numbers, exponential distribu ...
-
... ery time. Manipulating an EventStreamPlayer in Realtime ( p = Pbind ( \degree , Pwhite (0,12), \dur , 0.2, \instrument , \help_SPE4_CFString2 ); // e is an EventStreamPlayer e = p.play; ) ( // you can change the stream at any point in time ...
-
... p = Pbind ( \scale , #[0, 3, 6, 8, 11, 14, 17], \stepsPerOctave , 19, \degree , Pwhite (0, 7, inf ), \dur , 0.125, \legato , Pexprand (0.2, 6.0, inf ) ).play; ) p.stop; Amplitude conversion Finally, you can specify amplitude as \db or \amp ...
-
... s note: Pseq ((0..12).mirror, inf ), // play full notes up and down ctranspose: Pwhite (-0.2, 0.2), // detune up to +-20 cents detune: Pwhite (-1.0, 1.0), // detune up to 1 Hz sustain: Prand ([0.2, 0.2, 0.2, 4], inf ), // notes last 0.2 or ...
-
... nstrument , \event_set , \args , #[], \freq , Pexprand (200, 600, inf ), \dur , Pwhite (1, 5, inf ) * 0.125 ).play; ) p.stop; a.free; By argument names: args: Provide a list of the Synth argument names as an array here, e.g. [\freq, \amp, \ ...