How does MuseScore choose to respell pitches?

• Aug 8, 2018 - 00:43

I'm wondering if there's some documentation on how the "Respell Pitches" tool actually decides to respell pitches. I can infer some things by experimentation, but I'd appreciate the nitty-gritty. Thanks in advance for any insight.


Although I have no idea how it works, I've actually stumbled into confusion as I realised this function sometimes does some questionably unmethodical actions. For example if I have four quarter notes, all as C#, pressing this button may change it to: C# C# C# Db, all in one bar. Is this odd, or am I missing something here? Is there some musical rule I don't know about, or is this a bug?

It's a very odd algorith, I think, but it looks at the key, the context, and a few other things, and then does things that may or may not make sense. Personally, I don't see much value in it. Most things I might actually want to do are more easily accomplished with an Up/Down or Down/Up.

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