Transposition: Prevent double accidentals in chord symbols #3029
-
Is there any way of preventing double accidentals when transposing chord symbols with verovio (for example, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Please add an example file and list the exact options you use for the transposition. |
Beta Was this translation helpful? Give feedback.
-
If you are transposing to D-flat major, then the double flats are correct, although I am getting a funny Korean character on my macos computer at the moment instead of double-flats. So it would not be appropriate for the spelling change to happen by default. For best control of the results you should apply the enharmonic spelling yourself after transposing. This could be done with XSLT for example. If this is done in verovio, there are two possible methods: (1) Automatically: If you transpose using (2) Manually: add an option that would enharmonically respell any double/triple sharps/flats to a single-accidental (or natural) equivalent. The option name could be something like In your example (untransposed in C major): What does |
Beta Was this translation helpful? Give feedback.
If you are transposing to D-flat major, then the double flats are correct, although I am getting a funny Korean character on my macos computer at the moment instead of double-flats.
So it would not be appropriate for the spelling change to happen by default. For best control of the results you should apply the enharmonic spelling yourself after transposing. This could be done with XSLT for example.
If this is done in verovio, there are two possible methods:
(1) Automatically: If you transpose using
--transpose 1
rather than--transpose Df
or--transpose Db
, you are already not concerned about whether C-sharp or D-flat key signature will be used. The numeric transposition process could al…