[Top][All Lists]

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

Piano pedalling patch

From: Chris Jackson
Subject: Piano pedalling patch
Date: Mon, 11 Mar 2002 21:06:48 +0000
User-agent: Mutt/1.3.27i

I've been hacking around with piano pedalling, to try to implement
bracketed pedals, and my patch is now ready to be tested.  

Firstly, all pedal symbols (Ped. *  texts, and brackets) are now
horizontally aligned, using a line spanner. I think this looks much
neater than having them attached to notes. 

To get the brackets, you set 
\property Staff.SustainPedal \override #'pedal-type = #'bracket
to obtain pedal markings which look like


Also there's 
\property Staff.SustainPedal \override #'pedal-type = #'mixed

to get

Ped. ______/\_______|

which is what the Stone book recommends, as it's easier to follow when
there's more than one sort of pedal occuring simultaneously. You can do
similar things for Sostenuto and UnaCorda pedals. 

As a result, the piano pedal engraver is now a lot hairier, a bit like
the dynamic engraver.  The actual dimensions of the brackets are set
using a new function in Please let me know how much I
have coded things in the proper lilypond way! 


Attachment: lilypond-1.5.38.chj1.diff.gz
Description: Binary data

reply via email to

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