Does MIDI Octaves Start at 0 or 1?
Posted: Tue Jan 23, 2018 3:32 am
I'm working on expanding Syntil8 to create sheet music so you can write and save songs.
However, C4 is supposed to be the middle C, which resides below the staff (on the 6th line or the first below the staff lines).
However, it sounds an octave too high when I compare C4 on my real guitars or keyboard.
Then I found this while researching:
The first bar shows the notation of C4, middle C, and the second bar shows what the SmartBASIC documentation C4 sounds like. It is an octave too high.
However, C4 is supposed to be the middle C, which resides below the staff (on the 6th line or the first below the staff lines).
However, it sounds an octave too high when I compare C4 on my real guitars or keyboard.
Then I found this while researching:
And this:The MIDI specification only defines note number 60 as "Middle C", and all other notes are relative. The absolute octave number designations shown here are based on Middle C = C5, which is an arbitrary assignment.
So my question is what range does SmartBASIC allow for octaves.There is a discrepancy that occurs between various models of MIDI devices and software programs, and that concerns the octave numbers for note names. If your MIDI software/device considers octave 0 as being the lowest octave of the MIDI note range, then middle C's note name is C5. The lowest note name is then C0 (note number 0), and the highest possible note name is G10 (note number 127).
Some software/devices instead consider the third octave of the MIDI note range (2 octaves below middle C) as octave 0. In that case, the first 2 octaves are referred to as -2 and -1. So, middle C's note name is C3, the lowest note name is C-2, and the highest note name is G8.
The first bar shows the notation of C4, middle C, and the second bar shows what the SmartBASIC documentation C4 sounds like. It is an octave too high.