Note entered in wrong octave?

• Aug 31, 2017 - 10:08

2.1 / Win 7/10

See the attached file. If you transcribe the following passage using the computer keyboard, the 1/8th note "E" is entered one octave lower than expected.

wrong_octave.png

Attachment Size
wrong_octave.png 4.47 KB
note_input.mscz 4.64 KB

Comments

The B's are actually Bb which is the same distance from E in both directions. B-natural goes to the E above as expected.

In reply to by geetar

With no key signature MuseScore doesn't know if you want the E below or the Eb above. I say this is still acceptable behavior.

However, if you change the key signature to Bb (2 flats) rather than F (1 flat), the Eb above is closer than the Eb below so the note entered should be the higher Eb. MuseScore inserts the lower Eb, which is farther from the Bb. This I consider wrong.

In reply to by mike320

There are indeed known corner cases like this where we pick badly. It's a bit of a chicken-and-egg problem: until we choose the octave, we don't necessarily know what the accidental will be. So we pick an octave based on an educated guess regarding accidental. Only on actually adding the note do we have the necessary context to figure out the accidental for sure. It's not technically impossible to figure out the accidental ahead of time if we wanted to write a bunch of new code to do this, but the way the code is structured right now, that information isn't calculated until the note is added.

Do you still have an unanswered question? Please log in first to post your question.