Strings and Chars as high-level representations for musical objects can be used for sequencing with very condensed syntax. This is already possible with standard patterns like Pseq etc. – PLx list patterns fit this concept as their referenced Arrays/Strings can be replaced on the fly. Examples below also use EventShortcuts to minimize typing.
Control of embedding resp. the number of Events, that one Patterns should produce when played, is a subtle topic. A basic distinction is whether an embedded sequence should be produced with desired behaviour from begin to end (2a) or it should be paused and resumed (2b). The latter is the classical behaviour of Streams, but it can be mimiced with PSx stream patterns. In any case embedding can be done with varying length, e.g. by defined sequences or by interaction.
Use SynthDefs from above.
Use SynthDefs from above.
Use SynthDefs from above.
Use SynthDefs from above.
High-level control of Strings can be combined with replacing key streams with PLbindef/PLbindefPar.
Use SynthDefs from above.
Use SynthDefs from above.
Control with Strings can be thought in many ways. With effects one can e.g. use different Strings for src and fx sequencing.
Use SynthDefs from last example.