|
From: | Michael Käppler |
Subject: | Re: Coloring adjacent notes by interval |
Date: | Sat, 30 Nov 2019 21:19:54 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 |
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? Because I would have to know the pitch of the note causing the grob for which the callback is called and the pitch of the preceding note. Maybe I did not express clearly enough what I'm trying to achieve. Michael
[Prev in Thread] | Current Thread | [Next in Thread] |