-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lyrics - To which note does a syllable belongs? #151
Comments
Was formatted wrong - put an arrow instead of the "+" that I wrote:
|
In the schema, this would involve adding an |
Pull request #153 has been created with the implementations suggested above, including some cleanup of the lyric element documentation in the XSD. |
I hope that time-only shall solve the problem. "time-only" is defined as CDATA. Hope I have understood this right (and a list of numbers may be provided)? |
Yes, a list of numbers may be provided. The attribute is defined as CDATA in the DTD, but restricted with a pattern in the XSD. The documentation is more restricted still: "The value is a comma-separated list of positive integers arranged in ascending order, indicating which times through the repeated section that the element applies." We couldn't get the "ascending order" part into an XSD pattern definition. |
Pull request merged. |
Notes are played more than once when repeats occur. A song may also have more verses.
Therefore a note need to be coupled to the right lyric syllable when played (i.e. converted to MIDI).
This is mainly for positioning lyrics for playback - but also to show the entire lyric text.
My first proposal was to let the number be in the format v.r.rr where v is the verse number, r is repeat number and rr is repeat in repeat.
Michael proposed to add the time-only attribute. This could look like (the line with plus-sign is added):
In schema/note.mod:
<!ATTLIST lyric
number NMTOKEN #IMPLIED
name CDATA #IMPLIED
Regards
Mogens
The text was updated successfully, but these errors were encountered: