2009/10/17 Marc Hohl <m...@hohlart.de>:

> As bends are used to combine two different notes, an approach similar to
> slurs
> will be the best (in my opinion), but by randomly picking up any file
> concerning slurs and
> ending with .cc isn't the right way to find out how it works (that's what I
> found out so far).

Look at the files ending with -engraver.cc.  If you study some of the
simpler examples (e.g., tweak-engraver.cc, parentheses-engraver.cc or
bend-engraver.cc), you should get a feel for how they're implemented.

The Slur_engraver looks quite complicated, but it's a walk in the park
compared with the code which does all the slur scoring/formatting. :)

Regards,
Neil


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to