lilypond-user
[Top][All Lists]
Advanced

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

Re: Coloring adjacent notes by interval


From: David Kastrup
Subject: Re: Coloring adjacent notes by interval
Date: Sat, 30 Nov 2019 21:47:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Michael Käppler <address@hidden> writes:

> Am 29.11.2019 um 23:27 schrieb David Kastrup:
>> Michael Käppler <address@hidden> writes:
>>
>>> Hi all,
>>> I would like to color all successive notes in a voice that span a
>>> certain interval, like e.g. a perfect fifth upwards.
>>> Seems to me the most straightforward and extensible way would be to
>>> write a scheme engraver for this, right?
>> No, just a callback function for a NoteHead's color property should be
>> fine.
>>
> That means it is possible to access properties of a preceding or
> subsequent event from within a callback?

Ah, no.  I didn't really get what you meant using "successive" here.
Yes, this sounds like something that you'd use an engraver for.

-- 
David Kastrup



reply via email to

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