linux: shared memory interface - link with librt
[supercollider.git] / HelpSource / Classes / Pdict.schelp
bloba07e36013ecc5e91ae52b8ebc8408a16585de00d
1 class:: Pdict
2 summary:: pattern that embeds patterns from a dictionary
3 categories:: Libraries>JITLib>Patterns
4 related:: Classes/Pbind
6 description::
7 A general purpose lookup stream.
9 Examples::
11 code::
12 SynthDescLib.read;
15 e = (
16         a: Pbind(\dur, 0.1, \degree, Pseq([0, 5, 4, 3, 2])),
17         b: Pbind(\dur, 0.06, \degree, Pseq([7, 8, 7, 8])),
18         c: Pbind(\dur, 0.3, \degree, Pseq([0, 1, 2], 2))
21 x = Pdict(e, Pseq([
22                         \a, \b,
23                         Prand([\a, \c])
24                 ], 4)
25         );
26 x.play;