[Top][All Lists]

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

Dynamics in MIDI ,Re:

From: Mats Bengtsson
Subject: Dynamics in MIDI ,Re:
Date: Thu, 03 Mar 2005 17:39:08 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

(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
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 {
      \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.


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

reply via email to

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