Scan for control messages from midi devices to get the id of the device
Function will display a prompt for the user to move the midi control and return when a control messages is detected or ctrl-C is pressed.
None
ctrlid - control id made from the controller channel * 1000 + controller number.
dev = name of the midi device the controller was detected on.
Monitor midi devices for first moving controller
[ctrlid, devname] = midiid()
See also: mididevinfo, midicontrols.
Package: audio