On Thu, 11 Sept 2025 at 19:33, Michael Rivers <[email protected]>
wrote:
>
> In this code from a transcription of Meditation from the opera Thais by
Massenet, I'm not getting flags on the 8th notes, and I had to add manual
beams to the double-dotted 8th note and 32nd note. The example in the
manual works fine, but I can't find the difference between it and my code.
>
Hello,
You need to put the \crossStaff command in the voice where you want to
remove the flags and beam.
Remove it from "right".
\version "2.25.25"
global = {
\key d \major
\time 4/4
}
right = \relative c' {
\global
<<
{
\voiceOne
f8..( e32) e4~ e8 <bes des f>4-> q8-> |
}
\new Voice {
\voiceTwo
r8 <bes des>4. s2 |
}
>>
}
left = \relative c {
\global
<<
{
\voiceOne
\crossStaff { f8..( e32) e4~ e8 f4 f8 } |
}
\new Voice {
\voiceTwo
g,,8 g' bes des f,, f' bes des |
}
>>
}
\score {
\new PianoStaff <<
\new Staff = "right" \right
\new Staff = "left" { \clef bass \left }
>>
\layout {
\context {
\PianoStaff
\consists "Span_stem_engraver"
}
}
}
Kind regards,
Xavier