MeasuringPolyphony / mp_editor

https://editor.measuringpolyphony.org
4 stars 2 forks source link

Colored notes are not colored anymore when uploading an MEI file #88

Closed martha-thomae closed 3 years ago

martha-thomae commented 3 years ago

When uploading an MEI file (coming from the MP Editor or from another source), the colored notes—encoded by @colored = true—are not colored anymore.

Coloration can be entered in the MP-Editor by typing the note and the tilde character (~). This tilde character is translated into MEI to the attribute @colored = true. However, when uploading a MEI file with the @colored = true attribute, the MP-Editor doesn't decode that into the tilde character ~ in **mens. Therefore, all colored notes in the MEI file are shown as regular (uncolored) notes in the MP-Editor.

martha-thomae commented 3 years ago

Here we have an example: B - coloration gets lost (altus)

The note is not showing any coloration, despite the fact that the coloration was encoded in the input MEI file (attached below).

asperges-me---bermudez_2728-2729_mpeditor - targettype.mei.zip

This particular example is happening in the altus: <note xml:id="PART6_L4" dur="semibrevis" colored="true" pname="e" oct="4"/>

Another example happens in the bassus: <note xml:id="PART9_L13" dur="semibrevis" colored="true" pname="c" oct="3"/>