<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);"><div>Hello Perry,</div><div><br></div><div>Thanks again for the answer.</div><div>In any case, I think harmonic analysis based on harmonic labels is not a good idea.</div><div>The Jazz harmonic labels aren’t in any case standardized. The Major 7th can be Maj7 or △ , min can be min or - , the diminished degree can be dim or ° all this can be superscripted or not, that’s the problem…</div><div><div>And it’s even worse if there is a necessity to use SVG for bass chords (I don’t know how the <stack> element works).</div><div><br></div><div>However the @inth on <harm> to encode the intervallic content of the chord seems to be the best place and I guess it should be able to encode all possible jazz chords (to check with <a href="https://en.wikipedia.org/wiki/Chord_names_and_symbols_(popular_music">https://en.wikipedia.org/wiki/Chord_names_and_symbols_(popular_music</a>))</div><div><br></div><div>Agreed also that a @root attribute is missing on the <harm> element.</div><div>Keeping the bass note as a chordMember of the scoreDef is acceptable as it’s an inversion of the chord, thus a voicing, that doesn’t change the harmonic structure.</div><div>The difficulty is to identify that bass note inside the scoreDef.</div><div><br></div><div>Converting from/to MusicXML a fragment like this : (G6/D chord)</div></div><div><br></div><div><div><harmony></div><div> <root></div><div> <root-step>G</root-step></div><div> </root></div><div> <kind text="6">major-sixth</kind></div><div> <bass></div><div> <bass-step>D</bass-step></div><div> </bass></div><div></harmony></div><div><br></div><div>wouldn’t be too easy.</div></div><div><br></div><div>Therefore I think a @bass attribute on <harm> could encode this in a more efficient manner.</div><div><br></div><div>Thanks</div><div><br></div><div>Le 03/12/2019 17:13, « Roland, Perry D (pdr4h) » <<a href="mailto:pdr4h@virginia.edu">pdr4h@virginia.edu</a>> a écrit :</div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div>Hi Etienne,</div><div><br></div><div>Of course using SVG for chord labels is not ideal, but the only other possibility is to create a renderer smart enough to handle all the various ways in which labels can be presented. This is not so difficult for your "D7b5/G" example; that is, the behavior expected when processing the <stack> element could be tweaked, but ultimately there's a limit on how intelligent a renderer can be.</div><div><br></div><div>Turning to harmonic analysis based on harmonic labels, the obvious approach is to use the content of the <harm> element itself. That is, the string "D-7b5" already conveys the information you're looking to encode -- a chord containing a diminished 5th with a root of D -- so there's no need to capture it elsewhere. If you're interested in finding diminished chords with a root other than D, then a search for <harm> containing "-7b5" or a regular expression that matches the root, such as "[A-G][#-]?7b5", would work.</div><div><br></div><div>Another possibility is to use @inth on <harm> to encode the intervallic content of the chord. For example, <harm inth="m3 d5 m7"> captures the intervals of the chord (so really "m3d5m7" is a substitute for "half-diminished"), but it doesn't capture the root. That may be a useful feature to add, probably via a @root attribute, especially for those cases where the label doesn't indicate the root of the chord. If that's done, then it's not unreasonable to add another attribute to hold a chord quality value, like "half-diminished", etc. However, one could use the @type attribute to hold this data or use the @class attribute to point to a value in a formal taxonomy.</div><div><br></div><div>To move this discussion toward actualization, I suggest you file an issue in the MEI github repo to add @root to <harm>.</div><div><br></div><div>Hope this helps,</div><div><br></div><div>--</div><div>p.</div><div>_______________________________________________</div><div>mei-l mailing list</div><div><a href="mailto:mei-l@lists.uni-paderborn.de">mei-l@lists.uni-paderborn.de</a></div><div><a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l">https://lists.uni-paderborn.de/mailman/listinfo/mei-l</a></div><div><br></div></blockquote></body></html>