[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unwanted warnings/errors on pedals for multiple voices
From: |
Timothy Lanfear |
Subject: |
Re: Unwanted warnings/errors on pedals for multiple voices |
Date: |
Sun, 5 Apr 2020 16:53:23 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 05/04/2020 15:11, Paolo Prete wrote:
Hello,
I still experience unwanted warnings (and, consequently, unwanted
behavior on midi) with pedals on PianoStaff with multiple voices.
Consider this example (tested on 2.19.84):
%%%%%%%%%%%%%%%%%%%%
\version "2.19.84"
upper = {
<<
{c'8\sustainOn c' c'}
\\
{r8 r r}
>>
<<
{c'8 c' r}
\\
{r8 r c'\sustainOff}
>>
}
lower = { }
\score {
\new PianoStaff <<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
>>
\layout { }
\midi { }
}
%%%%%%%%%%%%%%%%%%%%
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 { }
}
--
Timothy Lanfear, Bristol, UK.
- Unwanted warnings/errors on pedals for multiple voices, Paolo Prete, 2020/04/05
- Re: Unwanted warnings/errors on pedals for multiple voices,
Timothy Lanfear <=
- Re: Unwanted warnings/errors on pedals for multiple voices, Paolo Prete, 2020/04/05
- Re: Unwanted warnings/errors on pedals for multiple voices, Kieren MacMillan, 2020/04/06
- Re: Unwanted warnings/errors on pedals for multiple voices, Paolo Prete, 2020/04/06
- Re: Unwanted warnings/errors on pedals for multiple voices, Thomas Morley, 2020/04/06
- Re: Unwanted warnings/errors on pedals for multiple voices, Paolo Prete, 2020/04/06
- Re: Unwanted warnings/errors on pedals for multiple voices, Carl Sorensen, 2020/04/06
- Re: Unwanted warnings/errors on pedals for multiple voices, Timothy Lanfear, 2020/04/06
- Re: Unwanted warnings/errors on pedals for multiple voices, Paolo Prete, 2020/04/06
- Re: Unwanted warnings/errors on pedals for multiple voices, Carl Sorensen, 2020/04/06
- Re: Unwanted warnings/errors on pedals for multiple voices, Paolo Prete, 2020/04/06