euwbah / musescore-xen-tuner

full xenharmonic & microtonal support for musescore! just intonation, regular temperaments, chromatic staves, bohlen pierce, anything at all
GNU General Public License v3.0
32 stars 2 forks source link

updowns showing arrow and sharp together despite key signature #13

Open wolftune opened 1 week ago

wolftune commented 1 week ago

Describe the bug I set keysig 0 0 # 0 0 # 0 and put in the normal D major signature in Musescore. I see it working correctly when there is no up/down arrow, but when the up/down arrow is added, I'm seeing it with the unnecessary extra sharp (which is redundant to the key signature). I should be seeing only the arrow with the sharp being inherited from the key signature.

To Reproduce

  1. make a key signature with a # like D major
  2. use updown (I'm using the generated script's 41edo)
  3. reduce a note that is # already by one arrow
  4. note that the sharp shows up instead of only the arrow showing up
TUNING CONFIG:
// 41edo.txt generated by generate-edo-updown.py
//
// Not using HEJI ligatures.
// Equave size: 1200c
// Fifth mapped to 24 steps (best fifth)
// Apotome mapped to 4 steps
// Chain of fifths ranges 1 flats to 1 sharps
// Generated with 1 up/down arrows (1 arrows are required to fully map tuning)

A4: 440
0.0c 204.878049c 292.682927c 497.560976c 702.439024c 790.243902c 995.121951c 1200c
b (117.0731707c) #
\\ (29.2682927c) /

displaysteps(41, below)

sec()
'b' b -117.0731707c
'#' # 117.0731707c
'v' \\ -29.2682927c
'^' / 29.2682927c

Environment:

Screenshots Screenshot_20240911_115219

wolftune commented 1 week ago

I see that I can get a note with a single down and no # but that is for down-F-natural. That should be forcing a down symbol with a natural symbol to cancel the key signature. The natural does show correctly for plain-F-natural, but then for down-F-natural it disappears.

It appears that the interaction between the ups/downs and sharp/flat symbols is just not functioning, as though the up/down support is incomplete and not recognizing up/down as modifications of the sharp/flat.

wolftune commented 1 week ago

related question/concern: is it possible (and if so how) to put ups and downs in a key signature? I wasn't clear on what the key signature notation is for that situation in order to test it.