[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: engraver how-to?
From: |
Neil Puttock |
Subject: |
Re: engraver how-to? |
Date: |
Sat, 17 Oct 2009 21:34:17 +0100 |
2009/10/17 Marc Hohl <address@hidden>:
> 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