heuchi / courtesyAccidentals

A plugin for MuseScore that adds and removes courtesy accidentals
GNU General Public License v3.0
9 stars 1 forks source link

Wanted: subsequent accidentals (e.g. a single measure with 32 notes, some repeat flatted/sharped notes) #1

Open i-SillyGit opened 3 years ago

i-SillyGit commented 3 years ago

As discussed at musescore.org/en/node/318863, if an F# is played near the beginning of a measure and the F# repeats later in that same measure, I want that sharp sign to be repeated (perhaps in parentheses) before every sharped F. Not necessary if you only have 4 or perhaps 8 notes in a bar, but with 16 or 32 per bar and sometimes no easily-discernible pattern, making subsequent accidentals appear would be very good.

A workaround almost exists. Dodecaphonic mode puts an accidental or natural in front of every note. If only we could then press a button to remove all naturals.

Does this seem like something that could be implemented, one way or another?

Thanks

The image below is not the best example - it's relatively simple compared to many other measures - but I suppose the idea is clear. musescore - adding courtesy accidentals

heuchi commented 3 years ago

This is an interesting idea. I don't think it should be too hard to implement the functionality. But I wouldn't put it in this plugin. This plugin compares accidentals across measures and does this by reading the score 'vertically' (i.e. all staves/voices at the same time). A plugin for your request would probably better be reading 'horizontally' (i.e. only one voice at a time) because it would need to count the number of notes in-between.