-- 
 已通过Tutanota 安全发送,立即注册您的加密无广告邮箱! 
 https://tutanota.com


2023年1月6日 19:23 来自 l...@gmx.de:

>
> Hi,
>
> Am 06.01.23 um 07:54 schrieb      cc0_knight--- via LilyPond user discussion:
>
>> Hi Everyone, Sorry for my english.
>> Skip the first pedal stop(Because it's off-topic),        when I write like 
>> this:
>>
>> \repeat volta 2 {
>>   <statement..> \sustainOn
>> }
>> \alternative {
>>   { <statement..> \sustainOff }
>>   { >> <statement..>            \sustainOff >> }
>> }
>>
>
> (Please always give short and compilable code examples!)
>
>
> Perhaps something like:
>
>
>
> \version "2.24.0"
>  
>  {
>    \repeat volta 2 \relative {
>      r4 e'\sustainOn d c
>    }
>    \alternative {
>      {
>        \after 4 \sustainOff b2 r
>      }
>      {
>        \once\omit Staff.SustainPedal
>        <>\sustainOn
>        \after 4 \sustainOff b2 r
>      }
>    }
>  }
>
>
>
> Of course, in a perfect world, spanners like the sustain pedal      would be 
> "reset" to their pre-alternative state at the start of      each alternative. 
> IIRC the world of LilyPond's alternatives      handling has gotten much 
> closer to perfection thanks to Dan's work      over the last few months, but 
> this does not seem to have been part      of it.
>
>
> Lukas
>
>
Hi, I am using 2.22.2,
\after 4 \sustainOff b2 r
​is useless, because of unknown escaped string

Reply via email to