lilypond-user
[Top][All Lists]
Advanced

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

Extending Slur engraver


From: Kyle Baldwin
Subject: Extending Slur engraver
Date: Wed, 8 Jun 2022 19:55:03 +0000

Hello – 

 

I’m looking at creating a new slur to be used as a “bowing-slur.” Essentially it would be a styled slur that can co-exist with the slur and phrasing slur grobs.  

 

Looking in the source code for the phrasing slur engraver, it looks like it just passes the information to the slur engraver 

https://gitlab.com/lilypond/lilypond/-/blob/master/lily/slur-engraver.cc

 

I’m looking through the external documentation and found the “creating an engraver” in scheme, but have had no luck doing the same kind of extending that happens in the phrasing slur (as I’m not sure of the c++ <-> scheme equivalence). https://extending-lilypond.readthedocs.io/en/latest/translation.html#writing-an-engraver

 

  1. How could I recreate my new “Bowing_slur_engraver” to just pass to the slur engraver? (I assume I can…) 
  2. How do I style the slur before passing it to the slur engraver? I would assume the (tweaks (..)) function in scheme, but just want to make sure. 

 

Thank you !

 

-Kyle  

 

 

 

 

 


reply via email to

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