Re: [frogs] chord-name-engraver plus capo - schemeing away ...

[ Thread Index | Date Index | More lilynet.net/frogs Archives ]


 On 31/08/10 00:00, Carl Sorensen wrote:
>>>> All being well, I'll start on the capo-indicating-engraver in Scheme
>>>> >>> tomorrow, so expect a flurry of "how on earth do I do this!" emails :-)
>>> >> Why do you want to do this as a scheme engraver?  It seems to sit very
>>> >> nicely as part of the ChordName engraver, which is already written.  Note
>>> >> that Neil's comment above indicates that he doesn't mean *as a scheme
>>> >> engraver*.
>> > Ummm. How do I do that then? I agree it makes a lot of sense, but this
>> > is the bit that returns "Capo 3 (A)", so I can't do it in process_music,
>> > because it's not processing music, afaict.
> Oh, my mistake.  Yes, you may eventually want to do that as an engraver.
> But to do it as an engraver, you'll also need to add a capoEvent that the
> capo-indication-engraver will respond to.
Actually, it's just struck, me looking at key-engraver ...

Can I make chord-name-engraver respond to a key change to print the capo
indication? I don't know whether that's a good idea, or whether it would
even work, but it looks like it might be sensible...

But if it needs its own engraver, I think it's best for it to be my next
task, because once I've cracked Scheme enough to do that, I'll have
learnt enough to properly finish off the chord-name-engraver, before I
actually commit it to lilypond :-)
> (Note that the name should be a noun, not a verb, so it's
> capo-indication-engraver, not capo-indicating-engraver)
>
Okay.

---
----
Join the Frogs!


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/