As per rism-digital#4400, we are reverting to using pitch/alter to infer the @accid.ges accidental, and thus doing away with the method of tracking implicit accidentals by carrying over the notated accidentals.
The consequence of this change is that the pitch/alter information must be present in MusicXML files in order for the custom tuning to correctly match tuning tones to the accidented notes in the score.
The problem is that MuseScore and possibly other engravers do not correctly preserve (import or export) the pitch/alter information beyond the basic semitones. It thus needs to be added manually for microtonal tones, which is a tedious and error-prone process. Especially that the pitch/alter is not used per se, since the note tunings are given by the tuning definition. pitch/alter is only used to distinguish between the note degrees, which is an information that's already given by the notated accidentals.
One possible approach would be to explicitly tell Verovio that the encoded score does NOT support pitch/alter information. Only in this case, Verovio would revert to using carried-over implicit accidentals as per the original microtonal technique. In MusicXML, this is done by adding a <supports element="alter" type="no"/> declaration to the document ` header.
Note that the original carry-over method had introduced 2 regressions, and thus will need to be carefully rewritten:
- Tied notes keep the same accidental regardless of measure boundaries
- In-measure accidentals only apply to the same note in the same staff and octave (as opposed to key signatures)
As per rism-digital#4400, we are reverting to using
pitch/alterto infer the@accid.gesaccidental, and thus doing away with the method of tracking implicit accidentals by carrying over the notated accidentals.The consequence of this change is that the
pitch/alterinformation must be present in MusicXML files in order for the custom tuning to correctly match tuning tones to the accidented notes in the score.The problem is that MuseScore and possibly other engravers do not correctly preserve (import or export) the
pitch/alterinformation beyond the basic semitones. It thus needs to be added manually for microtonal tones, which is a tedious and error-prone process. Especially that thepitch/alteris not used per se, since the note tunings are given by the tuning definition.pitch/alteris only used to distinguish between the note degrees, which is an information that's already given by the notated accidentals.One possible approach would be to explicitly tell Verovio that the encoded score does NOT support
pitch/alterinformation. Only in this case, Verovio would revert to using carried-over implicit accidentals as per the original microtonal technique. In MusicXML, this is done by adding a<supports element="alter" type="no"/> declaration to the document` header.Note that the original carry-over method had introduced 2 regressions, and thus will need to be carefully rewritten: