refactor NoteReader
refactor note reader
refactor note reader
refactor midiFile
pass bpm