Creating Custom Elements and Groups:
Filter:
Modality-toolkit/Tutorials (extension) | Libraries > Modality | Tutorials

Creating Custom Elements and Groups
ExtensionExtension

Organize alternative groups of elements in an MKtl for particular purposes

Background

MKtl objects contain a hierarchical organisation of their interaction elements in MKtl.elementsGroup. This group contains and defines every element once, and one can access every element directly by its element key, or by its hierarchical address.

Sometimes derived elements are useful, and one can make such elements, and put them in additional groups within the MKtl.

Example for reordering - put noteOns and noteOffs in separate groups

Example for derived elements - convert x, y coordinates to point and polar