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 Element Values
CompMKtl - Composing an MKtl from several MKtls
PagedMKtl - Paging by using multiple MKtls for the same device
Fix Missing hutDirectory on OSX
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 a MIDI device
This section is intended as a rough and quick overview. For more detailed information, see Modality Tutorial.
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: