This is similar to Pmono, but allows an arbitrary number of differently timed setting streams in parallel.
History: PmonoPar and PpolyPar grew out of discussions on sc-users list, based on an example by Jonatan Liljedahl. Thanks to him, Ron Kuivila, user Monsieur and others for their comments on this – I then suggested classes PsetGroup and PsetFxGroup, which internally used Pgroup. Meanwhile I reworked the implementation, but it's still based on groups. I renamed PsetGroup to PmonoPar – as this makes the functionality more clear – and PsetFxGroup to PpolyPar, as it can be used with or without effect synths, the crucial point is the setting of parallel streams.
Creates a new PmonoPar object.
setPatternPairs |
SequenceableCollection of SequenceableCollections containing key/value pairs. Each of the inner collections represents the data of one synth setting stream. Per convention key/value pairs written after a pair with \dur will cause setting, pairs before will not. If keys \midinote, \note or \degree are occuring after \dur, they will be converted to a frequency value, which will be used for setting the arg 'freq'. |
defname |
Symbol or String. Name of the SynthDef to be used for the synth being set. Defaults to \default. |
offset |
Number. Offset to be taken for time-shifting synth init and streams. Defaults to 1e-6. |