partikkelget Signal Generators:Granular Synthesis partikkelget partikkelget Get mask index for a specific mask parameter of a running partikkel instance. Description partikkelget is an opcode for outputting partikkel mask index for a specific parameter. Used together with partikkelset, it can be used to synchronize partikkel masking between several running instances of the partikkel opcode. It can also be used to control other processes based on the internal mask index, for example to create more complex masking patterns than is available with the regular grain masking system. Syntax kindex partikkelget kparameterindex, iopcode_id Initialization iopcode_id -- the opcode id, linking an instance of partikkel to an instance of partikkelsync. Performance kmaskindex -- mask index output. Outputs the current mask index for the parameter specified with kparameterindex in the partikkel instance identified with iopcode_id. kparameterindex -- mask parameter. Selection of the masking parameter for which to output the current mask index. The different parameters are identified as: 0: gain mask 1: pitch sweep start mask 2: pitch sweep end mask 3: fm modulation index mask 4: channel mask 5: waveform mix mask 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 Also partikkel Credits Author: Thom Johansen Author: &nameoeyvind; May 2017 New in version 6.09