Am 28.01.2012 17:51, schrieb Christopher R. Maden:
I almost always end up with separate scores for layout and MIDI.
dynamics = { s4\f\> s4*3\! s4\p s4 }
right = \relative c'' { c d e f g a }
left = \relative c' { c d e f g a }
\score {
\new PianoStaff<<
\new Staff = "up" \right
\new Dynamics \dynamics
\new Staff = "down" \left
>>
\layout {}
}
\score {
\new PianoStaff<<
\new Staff = "up"<<
\right
\dynamics
>>
\new Staff = "down"<<
\left
\dynamics
>>
>>
\midi {}
}
Great, that works. A separate score for the MIDI output has the benefit
that you can make adjustments that won't affect the score layout.
... but see<URL:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Piano-templates
, Piano Centered Dynamics, for the shenanigans in \layout{} to enable
the Dynamics context.
Nope, this was not necessary in the current Lilypond version 2.14.2. The
template you mentioned is for Lilypond version 2.12.3).
Thanks,
Helge
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user