Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

midiid

Interactively identify MIDI control

Syntax

[controlNumber,deviceName] = midiid

Description

example

[controlNumber,deviceName] = midiid returns the control number and device name of the MIDI control you move. Call the function and then move the control you want to identify. The function detects which control you move and returns the control number and device name that specify that control.

Examples

collapse all

Call midiid and then move the control you want to identify on the MIDI device you want to identify.

[ctl,dev] = midiid;
Move the control you wish to identify; type ^C to abort.
Waiting for control message...
ctl =
1002
dev =
nanoKONTROL

Output Arguments

collapse all

MIDI device control number, specified as an integer. The device manufacturer assigns the value to the control for identification purposes.

MIDI device name assigned by the device manufacturer or host operating system, specified as a string.

Was this topic helpful?