MIDIMonitor:
Filter:
Modality-toolkit/Classes (extension) | Utilities

MIDIMonitor
ExtensionExtension

monitor MIDI input

Description

MIDIMonitor records all midi input and sorts it into a msgTree. This can be used to determine which messages a given controller is actually sending, so one can automatically make descriptions of its elements.

First code examples:

Class Methods

.chanNumMsgTypes

.chanMsgTypes

.allMsgTypes

The midi message types MIDIMonitor can look for

.start

start monitoring

.stop

stop monitoring

.monitoring

flag whether monitoring is on

.verbose

.trace

turn verbose on and off

.msgTree

.postTree

monitoring results are collected here and can be pretty-posted

.treeAt

deep lookup method

.sources

.srcAt

.msgTypes

.midiNumsAt

lookup methods

.indexForSrcID

get the index in MIDIIn.sources for a given source uid