The NewNote function in Measure translates from (name,
octave) to MIDI pitch incorrectly. The MIDI pitch 0 is
actually at the International Pitch C-1, not C0, so
pitch = octave * 12 + Constants.note_name_map[name]
will actually map to a pitch one octave lower than it
Log in to post a comment.