lilypond-devel
[Top][All Lists]
Advanced

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

Re: \sustainOff


From: Carl Sorensen
Subject: Re: \sustainOff
Date: Thu, 18 Feb 2010 16:18:34 -0700

On 2/18/10 3:52 PM, "Werner" <address@hidden> wrote:

> I want to create a sustain-pedal-signature longer then the last note.
> 
> \set Staff.pedalSustainStyle = #'mixed
> c\sustainOn
> c c c
> s1 s8
> % r1 r8
> \sustainOff
> 
> This works fine with rests but doesn't work with spacer rests.

You can make this work yourself by doing the following:
\set Staff.pedalSustainStyle = #'mixed
c\sustainOn
c c c
\override Rest #'transparent = ##t
r1 r8
\revert Rest #'transparent
\sustainOff

HTH,

Carl





reply via email to

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