musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
11.8k stars 2.56k forks source link

Consider highlighting hard/impossible chords #21609

Open HadrienG2 opened 4 months ago

HadrienG2 commented 4 months ago

Your idea

It would be great if in addition to highlighting hard/impossible individual notes, MuseScore had at least some (possibly limited and instrument specific) ability to highlight hard/impossible chords.

Problem to be solved

MuseScore currently highlights individual notes that are hard to play for inexperienced players on a standard instrument in yellow, and notes that are impossible to play on standard instruments in red. But on chordal instruments, another playability consideration is how much hand contortion and stretching is needed to play the chord.

This is obviously hard to tell for an arbitrary instrument and an arbitrary chord, but there are some easy cases. For example, on standard piano keyboards more than 5 notes per hand is only possible through tricks and more than an octave of spread is going to be very hard for players who are less experienced or have smaller hands.

Given how many unplayable piano scores one can find on musescore.com, I think MuseScore would do the community a service by trying at least a bit to contribute to the education of inexperienced composer about this issue ;)

Prior art

Every music app I have ever used has this problem and does not try to solve it. The main reason why I think MuseScore should try to do so is that with musescore.com integration and branding, you are trying to "sell" a platform, not just composition software, and thus this is a concern that more directly impacts you.

One useful asset for implementing this would be a music composition book collecting hard patterns for various instruments. I'm not aware of any, but suspect some may exist, so it may be worth pinging composers with good bookshelves.

Additional context

The same arguments that apply against hard/impossible note detection also apply against hard/impossible chord detection:

I believe MuseScore already accepted the tradeoff of having a hard pattern detection feature with false positives and negatives back when yellow and red notes were added. But at the time, this concern was mitigated by allowing composers to adjust the default warning range. For hard chords, such fine grained configuration might be be too complicated, and a score-wide on/off switch may be a better starting point.

wizofaus commented 1 month ago

This sounds like the ideal application for a plugin...

lllll03 commented 1 month ago

Hi! I am trying to realise this issue, here is the example of the piano, but are there any other instruments that are easy to calculate?

wizofaus commented 1 month ago

For stringed instruments (including guitars) yes, you can't have a chord with more than 1 note on the same string. E.g. for Violin you can't have more than 1 between G3-C#4, or more than 2 notes between between G3-G#4, or more than 3 notes below E5 - or any chord with more than 4 notes!

cbjeukendrup commented 1 month ago

Perhaps these things for strings are indeed one of the most objectively true things one could say about this topic. However, even for these things we shouldn't make assumptions too quickly:

The point: it's very dubious where to draw the line of what should be considered "impossible", because the user might always have a special meaning with it, or MuseScore can't know all context.

Does that mean we should not attempt to implement this feature at all? I don't know, but at least it should be possible to turn it off.

wizofaus commented 1 month ago

Sure, just like spell-checkers can't know every reason you might need to spell a word in a way it doesn't know about, and you can choose to ignore that particular word. Anyway, for me a plugin makes sense, which would allow turning it on or off entirely (I'm assuming you can have a plugin that's triggered to run regularly as new musical material is added?)