lilypond-user
[Top][All Lists]
Advanced

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

Re: MIDI Dynamics


From: Christopher R. Maden
Subject: Re: MIDI Dynamics
Date: Sat, 28 Jan 2012 11:51:55 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111108 Thunderbird/3.1.16

On 01/28/2012 07:45 AM, Helge Kruse wrote:
> In this example the dynamics in the down staff is necessary for MIDI
> but no wanted for the layout.

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 {}
}

... 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.

> Seconds question: Can I add another PianoStaff and assign one piano
> to the left stereo channel and one to the other? Is there a Windows
> program available to do this quite easy after generation with
> Lilypond?

I don’t know the answer to that, sorry.

~Chris
-- 
Chris Maden, text nerd  <URL: http://crism.maden.org/ >
“Be wary of great leaders.  Hope that there are many, many small
 leaders.” — Pete Seeger



reply via email to

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