lilypond-user
[Top][All Lists]
Advanced

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

How to obtain the same midi channel for both the staves of a PianoStaff


From: Paolo Prete
Subject: How to obtain the same midi channel for both the staves of a PianoStaff
Date: Thu, 21 Nov 2019 00:21:57 +0000 (UTC)

Hello,

in the following snippet the same midi channel is assigned to both the voices inside the same staff

%%%%%%%%%%%%%%%%%%%%%%%%%
upper = {
    a'4 b' r r
}

lower = {
    r\ppp r\fff c''4 d''
}

\score {
    \new Staff <<
        \new Voice { \upper }
        \new Voice { \lower }
    >>
    \layout { }
    \midi {
        \context {
            \Staff
            \consists "Dynamic_performer"
        }    
    } 
}

%%%%%%%%%%%%%%%%%%%%%%%%%

If I use a PianoStaff, instead of the above two voices inside "\newStaff", how can I assign the same midi channel for both the upper and lower staves as well?

...
  \new PianoStaff
  <<         
    \new Staff = "up" { \upper }
    \new Staff = "down" { \lower }    
  >>
...

Thanks
Paolo

reply via email to

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