lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDI Dynamics


From: Helge Kruse
Subject: Re: MIDI Dynamics
Date: Sat, 28 Jan 2012 18:53:03 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b1 Thunderbird/3.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]