diff --git a/src/constants.py b/src/constants.py index fb329b7..153379a 100644 --- a/src/constants.py +++ b/src/constants.py @@ -17,7 +17,7 @@ for value in range( 128 ): noteidx = value % NOTE_PER_OCTAVE - octidx = value / OCTAVE_MAX_VALUE + octidx = value / NOTE_PER_OCTAVE name = NOTE_NAMES[noteidx] if len( name ) == 2: # sharp note @@ -46,4 +46,3 @@ SIXTYFOURTH = 6 DEFAULT_MIDI_HEADER_SIZE = 14 -