w3c / musicxml

MusicXML specification
508 stars 57 forks source link

<fingering>: valid values #438

Open cecilios opened 2 years ago

cecilios commented 2 years ago

The documentation just says it is an string and that typical values are numbers 1,2,3,4 and 5. But what other values are valid? Are there any guidelines about what is valid to encode in <fingering> and what a MusicXML importer should expect and validate?

SMuFl symbols include letters T, p, t, i, m, a, c, x, e and o. It also includes digits 6 to 9, and 0. E.Gould, in fingering for woodwind and brass (p.258) mention the use of symbols for holes: open, closed and half open: should I expect to find them encoded in the <fingering> element? How?

The samples in Lylipond test set includes an empty value and the "something" string values (both displays nothing). music21 Unofficial MusicXML Test Suite also includes a variation of this sample, but renders the "something" string.

Any clarifications about valid values and about how to deal with this in the MusicXML importer is appreciated. Thank you.

mdgood commented 2 years ago

@cecilios Symbols like p, i, m, a would be represented in MusicXML using the <pluck> element rather than the <fingering> element. Similarly, the hole symbols would be represented using the <hole> element. However, any string value is valid, and I believe most software either 1) displays the string or 2) discards fingering strings that don't match the application's model of how fingerings work.

I agree that the documentation could provide more guidance in this area.