On Sun, Apr 5, 2020 at 6:04 PM Timothy Lanfear <
address@hidden> wrote:
You could move the Piano_pedal_performer from Voice to Staff level. Add
or remove the \consists command to hear the difference.
\version "2.20.0"
\midi {
\context { \Voice \remove Piano_pedal_performer }
\context { \Staff \consists Piano_pedal_performer }
}
upper = {
<<
{c'8\sustainOn r r}
\\
{r8 r r}
>>
<<
{r8 r r}
\\
{r8 r c'\sustainOff}
>>
}
lower = { s1 }
\score {
%{ \new PianoStaff %} <<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
>>
\layout { }
\midi { }
}
Thanks, this helps a lot.
it should be added to the *official* documentation. IMHO.