Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#7 Measure.NewNote -> MIDI pitch translation bug

open
nobody
None
5
2006-07-25
2006-07-25
Anonymous
No

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

#Composer.Measure.NewNote
pitch = octave * 12 + Constants.note_name_map[name]

will actually map to a pitch one octave lower than it
should.

Discussion