Pdict:
Filter:
Description
Class methods
Inherited class methods
Undocumented class methods
new
Instance methods
Inherited instance methods
Undocumented instance methods
default
dict
embedInStream
repeats
which
Examples
Classes
|
JITLib
>
Patterns
|
Live Coding
Pdict
:
Pattern
:
AbstractFunction
:
Object
pattern that embeds patterns from a dictionary
Source:
Pdef.sc
See also:
Pbind
Description
A general purpose lookup stream.
Class Methods
Inherited class methods
Undocumented class methods
Pdict.
new
(
dict
,
which
,
repeats: inf
,
default
)
Instance Methods
Inherited instance methods
Undocumented instance methods
.
default
.
default
= value
.
dict
.
dict
= value
.
embedInStream
(
inval
)
.
repeats
.
repeats
= value
.
which
.
which
= value
Examples
SynthDescLib.read; ( e = ( a: Pbind(\dur, 0.1, \degree, Pseq([0, 5, 4, 3, 2])), b: Pbind(\dur, 0.06, \degree, Pseq([7, 8, 7, 8])), c: Pbind(\dur, 0.3, \degree, Pseq([0, 1, 2], 2)) ); x = Pdict(e, Pseq([ \a, \b, Prand([\a, \c]) ], 4) ); x.play; )
helpfile source:
https://github.com/supercollider/supercollider/tree/3.13/HelpSource/Classes/Pdict.schelp
link::Classes/Pdict::