(Please write something in the Subject line of your emails)

It seems that the person who originally did the template thought
that he had managed to affect also the MIDI dynamics, but at least
in the current versions it doesn't seem to work. I tried to play
a bit with the template, but didn't manage. I'm afraid that it's
hard to do fully automatically the way the MIDI support is implemented
in LilyPond today.

However, what you can do is to have separate \score{...} sections
for the printed output and MIDI output. Just remove the lines with
\midi{
  ...
}
from the current \score{...} and add the following lines at the
end of the file:

\score {
  \context PianoStaff <<
    \context Staff=upper << \upper \dynamics >>
    \context Staff=lower << \lower \dynamics >>
    \context Dynamics=pedal \pedal
  >>
  \midi {
    \context {
      \type "Performer_group_performer"
      \name Dynamics
      \consists "Piano_pedal_performer"
    }
    \context {
      \PianoStaff
      \accepts Dynamics
    }
  }
}

As you can see, I have inserted the \dynamics identifier into the
staves for the left and right hand staves, so the same dynamics
applies to both.

   /Mats



Erik Jensen wrote:


I am creating some music using the piano centered dynamics template from the manual, with lilypond 2.4.2. It works great for the printed music, but the MIDI output is unaffected by the dynamics. How can I modify the template so that the dynamics will also be used in the midi output?




------------------------------------------------------------------------

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to