[MEI-L] accid/@ploc/@oloc vs. keyAccid/@pname/@oct

Thomas Weber tw at notabit.eu
Wed Nov 30 09:18:56 CET 2016

Am 30.11.2016 um 01:03 schrieb Roland, Perry D. (pdr4h):
> @pname and @oct are used to capture "logical" information for a pitched entity, such as a <note>, while @loc, @ploc and @oloc are for recording the "visual" location of an object with respect to the staff.
> @loc uses a number-based approach where positive values are used for positions above the bottom line and negative values for the positions below. The value '0' indicates the bottom line of the current staff.  @loc = "4" indicates placement of an object on the middle line of a 5-line staff.
> @ploc and @oloc also capture visual location, but in pitch terms.  In this case, the middle line of a 5-line staff using the treble clef is indicated by @ploc = "b" and @oloc = "4".  @pname and @oct could have been used for this purpose, but then it would have been difficult to differentiate between pitched items (those things that make a sound) and those things that don't make a sound by themselves, but need to identify their location in terms of pitch.
> Some entities; that is, rests, permit @loc as well as @ploc and @oloc attributes, mostly to make it easier to accommodate translation from other representation systems that use one or the other approach.  Other entities; that is, accid and dot, allow @loc all the time, but @ploc and @oloc only when the MEI.mensural module is activated.  In the mensural repertoire placing these items according to pitch makes sense I'm told.
> Since it has all the modules turned on, the mei-all schema is undoubtedly a source of confusion.  My recommendation is to use one of the other customizations instead.  Using mei-CMN for instance makes @ploc and @oloc unavailable on <accid>, thereby somewhat reducing the complexity of specifying a place for <accid>.

Sorry for causing you going into these details - I could learn most of that in the documentation.  I should have been more specific.

I'm trying to gain clarity on how to use <accid> (and potentially <keyAccid>) in context of the neumes module - so I'm closer to mensural land here.  I'm ignorant about why and how in the mensural module, @ploc and @oloc are used instead of their logical domain cousins.  Also, in what situations <accid> is used directly inside <layer>.  I couldn't find any example in the sample encodings.

Because in neumatic notation they are written before an entire group of pitches, accidentals usually are spatially detached from the graphical bit representing the pitch/"note" they apply to (unless they apply to the very first pitch in the group or the "group" only consists of one pitch).  I don't think we can attach the accidentals to the pitches/"notes" themselves.  As there are no modern notes present and definitive pitch information is not a given, encoders might not encode <note> elements with logical @pname and @oct attributes.  But maybe in repertoires where accidentals are used, pitch information is adequately specific and it's clear to which pitch/"note" an accidental applies to.  I'll address that question to the experts on the mei-neumes-ig mailing list.

Thanks for supporting me thinking aloud,

More information about the mei-l mailing list