made octave numbers optional in midi_to_note