lilypond-user
[Top][All Lists]
Advanced

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

Re: MIDI Dynamics


From: Marc Hohl
Subject: Re: MIDI Dynamics
Date: Sat, 28 Jan 2012 14:02:57 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111109 Thunderbird/3.1.16

Am 28.01.2012 13:45, schrieb Helge Kruse:
Hello,

I want to generate a MIDI file with the correct dynamics. Although it is possible to have different dynamics in left and tight hand I want to have the upper staff the same volume as the lower staff. Therefore I want only to write the dynamics to the upper staff. How can I apply the same dynamics to the lower staff without printing it in both staves?

\score {
<<
    \new PianoStaff <<
        \new Staff = "up" \relative c'' { c\f\> d e f\! g\p a }
        \new Staff = "down" \relative c' { c\f\> d e f\! g\p a }
>>
>>
\layout { }
\midi { }
}

Have you tried a separate dynamics context?

music = { c d e f g }

dyn = { s\f\> s s s\! s\p s }

\score {
<<
\new PianoStaff <<
  \new Staff="up" { \music }
  \new Dynamics { \dyn }
  \new Staff="down" { \music }
>>
>>
\layout { }
\midi { }
}

This is untested, and I believe that it should work with midi.

HTH,

Marc





reply via email to

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