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.

PercussionOneLine: Stem direction wrong when notes beamed, displayStep

See original GitHub issue

Expected Output (from Sibelius): sibelius-beamed-notes-bug

OSMD Output: osmd-beamed-notes-bug

In the .musicxml file, there are<stem>up</stem>tags nested in each <note></note>.

File: beamed-notes-stem-direction-example.zip

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
sschmidTUcommented, Jan 26, 2021

@Sterv the full fix is now released in OSMD 0.9.1! I couldn’t stand looking at the 1 hour old 0.9.0 anymore after i fixed this and one other big issue (#747) 😉

1reaction
sschmidTUcommented, Jan 26, 2021

Ah, this is an issue with the octave offset, it works with osmd.rules.PercussionOneLineXMLDisplayStepOctaveOffset = 1: image

@Sterv could you make a sample file that is basically a C major scale going from C to the next C? That would be great for testing the octave shift.

I know where to apply the solution, but i’m not quite sure about the specific values.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stems of beamed notes don't respond to direction change in ...
The issue is that for beamed notes, the been has its own direction property that also needs to be set. We do this...
Read more >
Stem direction - Steinberg.help
If the note is on the middle line of the staff, its stem direction is determined by the stem directions of any adjacent...
Read more >
Notation Basics: Stems & Ties, Beams, Accidentals
NOTES SHARING A STAFF: Notes have opposite stem direction when sharing a staff if the parts represent different melodic lines. Stems in the...
Read more >
Stem Direction - YouTube
So, we know that notes like the CROTCHET, MINIM and DOTTED MINIM get STEMS...but, like, what exactly is the deal with STEMS anyways?...
Read more >
Stem (music) - Wikipedia
In musical notation, stems are the, "thin, vertical lines that are directly connected to the ... If there are multiple notes beamed together,...
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