lilypond-user
[Top][All Lists]
Advanced

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

Re: Automatically identify beats


From: Kieren MacMillan
Subject: Re: Automatically identify beats
Date: Sat, 6 Oct 2018 14:19:05 -0400

Hi Daniel,

> is it possible to identify the beats on each different timing automatically, 
> in order to set a different color for strong, medium and weak beats ?

This looks like a job for… Scheme!  =)

Much like auto-beaming has rules that are applied by time signature, what you 
want can be done using a callback function for NoteHead.color, which figured 
out which beat of which time signature it was and colored itself accordingly.

Way beyond my current Scheme-fu… but there are definitely people on the list 
who could whip up an example for you, if you can’t get there yourself (by 
adapting similar functions from the docs).

Cheers,
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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