fixed improper string format in note_to_midi