lilypond-user
[Top][All Lists]
Advanced

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

Re: dynamics in \parallelMusic


From: Phil Holmes
Subject: Re: dynamics in \parallelMusic
Date: Sun, 24 Feb 2013 12:48:24 -0000

----- Original Message ----- From: <address@hidden>
To: <address@hidden>
Sent: Sunday, February 24, 2013 12:35 PM
Subject: dynamics in \parallelMusic


Hello,

I mainly write music for the piano.

In the following snippet:

\header {
 title = "dynamics in parallelMusic"
 composer = "me"

}
\version "2.16.2"
{
 \parallelMusic #'(righthand lefthand){
   %bar1
   d''2\mp b'2|
   d'2 g'2|

    }
 \new PianoStaff<<
   \new Staff << \righthand >>
   \new Staff << \lefthand >>
 >>
}


the dynamics appear too close to the upper staff.

How can I make the dynamics appear in the middle between the staffs?

I attached the test.ly file...

Thank you for your help...

Gabriel

A dynamics context should do what you want:

\version "2.16.2"
{
 \parallelMusic #'(righthand lefthand dynam){
   %bar1
   d''2 b'2|
   d'2 g'2|
   s2 \mp s2 |

    }
 \new PianoStaff<<
   \new Staff { \righthand }
\new Dynamics { \dynam } \new Staff { \lefthand }
 >>
}


--
Phil Holmes



reply via email to

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