Skip to content
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

piano staff messes up xml export #134

Open
vanderaalle opened this issue Jul 12, 2019 · 1 comment
Open

piano staff messes up xml export #134

vanderaalle opened this issue Jul 12, 2019 · 1 comment

Comments

@vanderaalle
Copy link

When using a PianoStaff, the muscixml export seems to incorrectly add some elements to the staves after the piano.
LilyPond code

\version "2.18.2"



\score {
<<
\new PianoStaff
\with {
  instrumentName = #"Piano "
  shortInstrumentName = #"Pn. "
}
<<
\new Staff {
\set fontSize = -1
\time 4/4
c''4 

}

\new Staff

{\clef bass

\set fontSize = -1
\time 4/4

 c4


}
>>
\new Staff
\with {
  instrumentName = #"Violoncello "
  shortInstrumentName = #"Vc. "
}
{
\set fontSize = -1
\time 4/4

 c'4
}
>>
}

MusicXML for cello part has a

<staff>2</staff>

attribute for each note one, messing up the import

@vanderaalle
Copy link
Author

If pianoStaff are the last in the score, the issue is not present, so it could be a sort of trailing effect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant