question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OSMD renders sus chords as omit3

See original GitHub issue

If you compare the MuseScore rendering of the attached MusicXML file MuseScore to the same rendering by OSMD OSMD

You will notice that the b13sus4 chords are correctly interpreted by MuseScore, while OSMD renders them as b13(omit3) - missing the combination of (omit3, add4) which would spell out “sus”. Here’s the relevant MusicXML fragment:

      <harmony>
        <root>
          <root-step>E</root-step>
          <root-alter>-1</root-alter>
        </root>
        <kind text="13sus" use-symbols="no">dominant-13th</kind>
        <degree print-object="no">
          <degree-value>3</degree-value>
          <degree-alter>0</degree-alter>
          <degree-type>subtract</degree-type>
        </degree>
        <degree print-object="no">
          <degree-value>4</degree-value>
          <degree-alter>0</degree-alter>
          <degree-type>add</degree-type>
        </degree>
      </harmony>

As per https://github.com/w3c/musicxml/issues/352, there is some ambiguity as to how MusicXML represents sus chords, so care must be exercised in the interpretation of the format.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:27 (20 by maintainers)

github_iconTop GitHub Comments

3reactions
sschmidTUcommented, Jan 25, 2021

fixed in #933.

image

1reaction
hartman42commented, Jan 18, 2021

Anyone seeing a problem with just removing chord degrees with the print-object attribute set to “no”?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Omitting Notes / Music Theory Lesson - Sleepfreaks
This time, in continuation of sus chords, we will be taking a look at the idea behind “omitting” notes. This is incredibly useful...
Read more >
notation - What notes comprise a (only) "sus" chord?
If there's only a sus, it's indicating a sus4. This is due to the sus4 being considered to be the default suspended chord...
Read more >
What is "omit3"? - The Accordionists Forum
This time, in continuation of sus chords, we will be taking a look at the idea behind "omitting" notes. This is incredibly useful...
Read more >
Simple “Sus” Chords
Common in popular music are “sus” chords, with “sus” being a shortening of “suspended,” a term we will study in the chapter on...
Read more >
Sus Chords on Guitar
Sus chords, orr suspended chords, are variations to traditional major and minor chords where the 3rd is replaced by a 2nd or 4th....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found