-
PHS (PHelpSynth) defines Pbind(s) for using synth values of a HS Part of: miSCellaneous Inherits from: PHSuse (PHelpSynthUse) Defines Pbind(s) which, when played, can use values of a synth derived from HS 's synth definition. See also: Work ...
-
... Server .default = s; s.boot; ) // define Pattern and prepare Environments ( p = Pbind ( \midinote , PLrand ( \a ), \dur , 0.2 ); e = (a: (67..72)); f = (a: (77..82)); ) // start together or not, but sync anyway e.use { x = p.play(quant: 0.2 ...
-
... clock= TempoClock (140/60); RedMst .quant= 8; RedMstGUI2 (20); RedTrk ( \bass , Pbind ( \degree , Pseq ([0, 5], inf ), \octave , 4), #[0, 1, 2, 3] ); RedTrk ( \melody , Pbind ( \degree , Pseq ([0, 5, 2, 3, 3, 1], inf ), \dur , Pseq ([0.25, ...
-
... s; s.boot; ) // definition for future reference in arbitrary Environments ( p = Pbind ( \midinote , PLseq ( \a ), \dur , 0.1 ); ) // assign a value to variable ~a in current Environment, // play there. // PLseq defaults to repeats = inf, Ps ...
-
... press cmd+. then you'll need to start the clock again //--simple example with 3 pbind tracks ( s.waitForBoot{ RedMst .clear; //remove all tracks and clock from previous RedMst .clock= TempoClock (150/60); //create and set a new clock RedMst ...
-
... ~dur.value; ~s = ~s ? ~instrument; d.value(currentEnvironment) }) ) ( Pdef(\x, Pbind( \type, \dirt, \s, Pn(Pshuf([\bd, \hh, \cp, \imp], 5)), \begin, Pn(Pseries(0, 0.002, 20)), \dur, 0.1, \legato, Pwhite(0.01, 0.4) ) ).play; ) // using a fi ...
-
PbindArrayDefault : Pbind PbindArrayDefault differs from Pbind in its handling of array items in the key/value pairs. Consider a Pbind as follows (a bit contrived, but it could happen). Note that the event prototype e contains default value ...
-
PbindArrayDefault : Pbind PbindArrayDefault differs from Pbind in its handling of array items in the key/value pairs. Consider a Pbind as follows (a bit contrived, but it could happen). Note that the event prototype e contains default value ...
-
... clock= TempoClock (140/60); RedMst .quant= 8; RedMstGUI3 (20); RedTrk ( \bass , Pbind ( \degree , Pseq ([0, 5], inf ), \octave , 4), #[0, 1, 2, 3] ); RedTrk ( \melody , Pbind ( \degree , Pseq ([0, 5, 2, 3, 3, 1], inf ), \dur , Pseq ([0.25, ...
-
... parallel ( ~a = Pseq ([4, 2, 0]) + [0, -5]; ~b = Pseq ([7, 5, 4]) + [0, 5]; p = Pbind ( \dur , Pseq ([0.4, 0.2, 0.2], inf ), \note , PLn ( \a ) ); q = Pbindf (p, \note , PLn ( \b )); x = Ppar ([p, q]).play; ) // replace the lower event stre ...