The Modality toolkit simplifies using controllers in SuperCollider. It was created by a team of developers and users of SuperCollider.
see http://modalityteam.github.io/, or in browser:
SCDoc
Creating_Custom_Elements_and_Groups
Creating_Presets_for_MKtl_Values
CompMKtl - Composing an MKtl from several MKtls
PagedMKtl - Paging by using multiple MKtls for the same device
Connecting_multiple_identical_devices
Connecting_external_MIDI_devices
Connecting_multiport_MIDI_devices
Find many tutorial files and examples of common use cases of MKtl here: https://github.com/ModalityTeam/ModalityWorkshop
Also, some description files have little examples for each device:
Longer examples for some specific devices are here - please contribute examples for your device:
How_to_adapt_a_description_file - to be written
How_to_create_a_description_file_for_MIDI
This section is intended as a rough and quick overview. For more detailed information, see ModalityTutorial.
In Modality, an MKtl
represents a supported hardware controller, and one assigns functionality to its controller elements. To find your device, evaluate
MKtl.find
is able to find your device. Some devices may show up in multiple protocols. For example, the ICON IControls
show up as both MIDI
and HID
.Each MKtl
contains MKtlElement
s, which represent the hardware elements of the controller, e.g. the sliders or knobs on a faderbox. You can assign actions to these elements and to groups of elements. They will get evaluated every time the value that element is activated.
If your controller is not supported yet, you can add it by yourself! See How_to_adapt_a_description_file or How_to_create_a_description_file.
Modality and its research meetings have kindly been supported by BEK in Bergen, Norway, and STEIM, Amsterdam. The ModalityTeam is, in no particular order: