pub fn parse(bytes: &[u8]) -> Result<Smf<'_>>Expand description
Parse a Standard MIDI File (or a RIFF RMID wrapper). Strict where leniency would
fake a whole table: an overrunning track, a cut event, a data byte without status,
or fewer tracks than the header says are errors. Non-MTrk chunks and anything
after the promised tracks are skipped; a missing End of Track is fine.