partikkelsetSignal Generators:Granular Synthesispartikkelsetpartikkelset Set mask index for a specific mask parameter of a running partikkel instance.
Descriptionpartikkelset is an opcode for setting the partikkel mask index for a specific parameter.
Used together with partikkelget, it can be used to synchronize partikkel masking between several running instances of the partikkel opcode.
It can also be used to set the internal mask index basaed on other processes, for example to create more complex masking patterns than is available with the regular grain masking system.
Syntaxpartikkelset kparameterindex, kmaskindex, iopcode_idInitializationiopcode_id -- the opcode id, linking an
instance of partikkel to an instance of partikkelsync.
Performancekparameterindex -- mask parameter.
Selection of the masking parameter for which to set the current mask index. The different parameters are identified as:
0: gain mask1: pitch sweep start mask2: pitch sweep end mask3: fm modulation index mask4: channel mask5: waveform mix maskkmaskindex -- value to set mask index to.
Sets the current mask index for the parameter specified with kparameterindex in the partikkel instance identified with iopcode_id.
Example
Here is an example of the partikkelget and partikkelset opcodes. It uses the file partikkelgetset.csd.
Example of manipulating the internal mask index of partikkel, based on the value of other mask indices in the same partikkel instance.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See AlsopartikkelCreditsAuthor: Thom JohansenAuthor: &nameoeyvind;May 2017New in version 6.09