MidiInput.record

Records raw midi input data from the device.

The timestamp is given in milliseconds since recording began (if you keep this program running for 23ish days it might overflow! so... don't do that.). The other bytes are the midi messages.

Do not call any other multimedia functions from the callback!
struct MidiInput
void
record
(
void delegate
(,
ubyte b1
,
ubyte b2
,
ubyte b3
)
dg
)

Meta