lilypond-user
[Top][All Lists]
Advanced

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

SustainPedal: to-barline setting?


From: Xavier Scheuer
Subject: SustainPedal: to-barline setting?
Date: Wed, 29 Jun 2011 10:24:02 +0200

Hi,

I'm typesetting a piano score where the pedal is mainly
  \sustainOn  at the beginning of the measure and  \sustainOff  at the
very end of the measure (just before the bar line) and so on.
I did not find a proper way to print the  \sustainOff  at the very end
of the measure (just before the bar line).

I'd like to use a syntax like

  s1\sustainOn | s1\sustainOff\sustainOn |  % etc.

with a propertie like  Hairpin #'to-barline = ##t  that I could use
for  SustainPedal , so I do not have to care about what value is the
last note of the measure.

I tried  \override SustainPedal #'to-barline = ##t  but it does not
work.  AFAICS  SustainPedal  does not have the  'to-barline  propertie
because it does not support  spanner-interface .  I tried also
  \override Dynamics.SustainPedalLineSpanner #'to-barline = ##t
(because  SustainPedalLineSpanner  supports  spanner-interface  but it
failed).

Is there a simple way to print the  \sustainOff  at the very end of the
measure (just before the bar line)?
Thanks in advance.

Cheers,
Xavier

-- 
Xavier Scheuer <address@hidden>



reply via email to

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