[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: MIDI Dynamics
From:       Helge Kruse <Helge.Kruse-nospam () gmx ! net>
Date:       2012-01-28 17:53:03
Message-ID: 4F2435FF.9080108 () gmx ! net
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic