Reads the entire input and returns the data in a MIDI object.
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
See Implementation
Reads the entire input and returns the data in a MIDI object.