MIDIReader.readMIDI

Reads the entire input and returns the data in a MIDI object.

struct MIDIReader(T)
readMIDI
()
if (
isInputRange!T &&
is(ElementType!T : const(ubyte))
)

Throws

Exception if all chunks are read and the input is not empty yet; Exception if the header chunk or any of the track chunks is invalid

Meta