----- Original Message ----- From: <[email protected]>
To: <[email protected]>
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

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to