-
Notifications
You must be signed in to change notification settings - Fork 69
schema: revise incipCode/@form
attribute documentation
#1651
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
base: develop
Are you sure you want to change the base?
Conversation
Currently, `incipCode/@form` uses the value "parsons" to indicate that the incipit contains an encoding of melodic contour. A better value here would be "melodicContour", defined as > "Representation of 1] diatonic interval direction and quality (e.g., "P0 +P5 +P0 +M2 +P0 -M2"), 2] precise interval direction with size in half steps (e.g., "0 +7 +0 +2 +0 -2"), or 3] general interval direction only (e.g., "sususddsdsdsd", often called "Parsons code")." This change will better align the `@form` attribute values with the intended values of the `<incipCode>` element.
I think we should keep "Parsons" as-is, since it's a known and defined specification (p. 16), and it has the advantage of remaining backwards-compatible. Then we could either have "melodicContour" take both other representations, or split the two representations into their own attribute values so that parsers would know what kind of code to expect when reading it. |
I started off doing as you suggest, but figured you'd complain that there would be 3 different values for recording melodic contour. Seems I can't win. |
I'm sorry imaginary me had a different opinion than real me. 😁 |
I just proposed a PR to alter the code types. I hope it doesn't come across as an "aggressive" move -- I meant it as a form of "working, not just talking". |
Instead of calling it "diatonicMelodicContour" why not use the name "humdrumMint" for |
Looking here: https://www.humdrum.org/Humdrum/commands/mint.html It looks like
Which means that a format of |
Maybe @craigsapp could clarify? |
I mean, the documentation seems pretty clear to me already? Also, isn't |
incipCode/@form
attribute documentationincipCode/@form
attribute documentation
Any action needed for this to continue? |
Currently,
incipCode/@form
uses the value "parsons" to indicate that the incipit contains an encoding of melodic contour. A better value here would be "melodicContour", defined asThis change will better align the
@form
attribute values with the intended values of the<incipCode>
element.