w3c / musicxml

MusicXML specification
479 stars 56 forks source link

Single note with two wedges #499

Open lemzwerg opened 3 months ago

lemzwerg commented 3 months ago

What is the recommended way to implement a single note with two wedges attached to it?

image

The MusicXML specification doesn't give an example for this – IMHO, it would be very helpful if there were one!

The LilyPond code for the image above is

{
  \after 2*0 \<
  \after 2*1 \>
  \after 2*2 \!
    f'1
}

just in case :slightly_smiling_face:

lemzwerg commented 1 month ago

A possible solution is this, which boils down to

<direction>
  <wedge type="crescendo"/>
</direction>

<note>...</note>

<direction>
  <wedge type="stop"/>
  <offset>-9</offset>
</direction>

<direction>
  <wedge type="crescendo"/>
  <offset>-7</offset>
</direction>

<direction>
  <wedge type="stop"/>
</direction>

assuming that <divisions> is set to value 4.

Finale 27 renders this fine

wedges-finale

but MuseScore pre-4.4 doesn't:

wedges-musescore

(which is probably due to the buggy in MusicXML import of MuseScore).

However, my question still stands: What is the recommended way to encode this?

Jojo-Schmitz commented 1 month ago

Mind to report that on MuseScore's issue tracker?

lemzwerg commented 1 month ago

Done: https://github.com/musescore/MuseScore/issues/22814