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
Add 'Octave shifts' to spec and by-example page #158
Conversation
…hift section to MNX-Common spec
This relates to issue #111. |
Here's a way to view the "MNX-Common by example" page as it stands on this branch: https://cdn.githubraw.com/w3c/mnx/octave-lines/by-example/index.html |
The link to "MNX-Common’s definition of written pitch" in the final paragraph of the Octave shifts example in MNX-Common by example is broken. There are two problems with:
Actually, I think the spec should contain a hierarchically organised Definitions section, in which the terms "written pitch" and "sounding pitch" are defined as fundamental terms that can be used in dependent definitions.
I think this "written pitch" must be the pitch written in the XML, not the pitch written on paper, but I'm not sure.... |
Yes — all the relative links in that page are broken when viewed on the githubraw.com domain. To get the correct link, replace cdn.githubraw.com with w3c.github.io. Here's the correct link: https://w3c.github.io/mnx/specification/common/#written-pitches Regarding "notes are rendered down an octave from their true pitched values," I took that wording from the MusicXML docs here. This is surprisingly tricky to define in a precise way. Do you have a concrete suggestion on a specific wording? |
On second thoughts, maybe we only need a Basic Definitions section... Sorry this posting has got a bit long, but it ends with the answer to your question, -- and you did ask... :-) The following definitions need to be discussed. There will be changes and refinements to be made, but I think the general idea is okay. Definition: pitch name: Examples of pitch names are A3, Gb5, F#3, Ebb3 etc. Comment 1: This definition ought to be formalised as a regular expression. I've done it less formally for the moment. Definition: written pitch Examples of written pitch are identical to the pitch name examples. Definition: sounding pitch Examples of sounding pitch are identical to the pitch name (and written pitch) examples. If the written pitch is supposed to be equal to the sounding pitch when a score is performed, then we can say that the score "sounds as written", i.e. is "non-transposing". The alternative is that the score is "transposed", and there will be a constant interval (frequency relationship) between the frequency associated with the written pitch (interpreted as a sounding pitch) and the frequency associated with the sounding pitch.
Can now be rephrased as: Comment 1: To raise any pitch name by one octave, just increment its octave index by one. -- Question: Are the signs really correct in the pull request? Currently "-8" means 8va, "8" means 8vabassa, "-15" means 15ma and "15" means 15mabassa? That's rather counterintuitive. Maybe these are typos? |
Just FYI -- in music21 we have a default setting ("graphical") but allow "graphical" or "transforming" (or some terminology like that) as settings. Graphical ottavas expect the pitch of the note element to be the sounding pitch and thus change the way the note looks. Transforming ottavas leave the note in the same place on the staff but change how the note sounds. The reason for having both is to encode ambiguous situations where it is unclear whether a note should be covered by the ottava or not, where it seems more truthful to encode the notes at written pitch and let the user manipulate the ottava spanner in order to determine which notes are covered by the ottava or not. Another example where transforming ottavas are helpful: imagine a short score / particel which encodes the melody but puts in "tpt +fl 8va" -- this would be a specialized ottavation that should not need the notes to be encoded twice an octave apart. (this would not be covered by this spec, but something to think about in the future). I could not find any documentation about what MEI expects for what they call "octavation". |
Btw -- is there a text attribute or anything that specifies how the octave-shift is to be displayed? A number of scores use "15va" instead of "15ma" or "8va bassa" instead of "8vb" etc. Cage uses "16va" (or 16ma, I can't remember) instead of 15va. etc. btw I think this is incorrect: "8va: raises both written pitch and sounding pitch by one octave." One of the two must remain the same under 8va. 8va either LOWERS written pitch by an octave ("graphical") or raises SOUNDING pitch by an octave ("transforming"), but definitely not both in the same direction. |
@mscuthbert We generally have been holding off on graphical issues like alternate representations of octave symbols for later work on specifying styles. These issues are focusing on semantics. However, it appears that MusicXML 3.1 does not let you specify the symbol used in octave-shift elements either. That might be a good issue to add for MusicXML 3.2. |
@mscuthbert said:
I was trying to get back to the simple, intuitive meaning of an 8va, regardless of how it might be defined in any current standards. |
@notator: Alas, this pull request is not the place to relitigate the definition of pitch. I've attempted to work around the wording issue in this followup commit. |
@adrianholovaty Thanks. Okay. The new paragraph above the individual 8va explanations solves the problem by making it clear that its the score rendering that is meant, not the sound rendering or even the rendering in the XML. (You've simply avoided saying anything about the XML or sound rendering.) As I said above, I still think §4.12 is very confused. Briefly: Edit 26.09.2019 Shall I open a new issue about defining "written pitch", or would you like to do that? I'm not sure whether you would prefer simply to revise both §4.12 Written pitches and §5.4 Chromatic pitch syntax, or to create a new "Basic definitions" section in the spec. |
This looks good to me. |
In this pull request, I've added an "Octave shifts" section to the spec and the MNX-Common By Example page.
Preview | Diff