lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] autochange.scm: Use averaged chord pitches to determine staf


From: Neil Puttock
Subject: Re: [PATCH] autochange.scm: Use averaged chord pitches to determine staff.
Date: Wed, 29 Jul 2009 22:43:01 +0100

2009/7/29 Mark Polesky <address@hidden>:

> Can I make it a property of the AutoChangeMusic object?

I suppose you could use a music property, but you wouldn't add it to
this object's definition.

> I had thought that applyContext was the way to go. But what's a parser
> variable? Can you give me an example of one?

A good example would be afterGraceFraction, which is basically an
identifier \afterGrace accesses via parser lookup.  Of course, what I
said earlier about using such variables is incorrect: you *can* change
them within music, as long as you use define or set! (the docs for
\afterGrace use define, but it would make more sense to use set!,
since afterGraceFraction is already defined in
music-functions-init.ly).

Regards,
Neil




reply via email to

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