pub fn read_midi_near( path: &Path, bpm: Bpm, refined: Option<Bpm>, ) -> Result<NoteList, MidiError>
Reads the notes of a MIDI file at path as read_midi does, and also accepts a file whose every tempo matches refined, the trusted tempo refined from the stem. A refined equal to bpm counts as none.
path
read_midi
refined
bpm
As read_midi, with a tempo that matches neither bpm nor refined.