lilypond-user
[Top][All Lists]
Advanced

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

completion_heads_engraver within a bar


From: Jim Tisdall
Subject: completion_heads_engraver within a bar
Date: Mon, 03 Jun 2013 14:38:33 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6

Relative newbie alert.

I'd like to have the action of the completion_heads(rests)_engraver
*within* a bar --- so that, for example, rhythms that cross over the
start of the 3rd beat in a measure of 4/4 rewrite as two groups of
two-beat rhythms with a tie between them.  (Also, between bars
as before).

I had the idea of changing the time signature to 2/4 (in that example),
calling the completion_heads_engraver and completion_rests_engraver,
and then wrapping that back into a 4/4 time signature.  But I'm not
sure if that's the happy path to take.

(I'd also, for example, like to handle 3/8 time signatures, by rewriting
as 3 groups of 1/8 beat-long groups, with ties between them as needed.
And etc...)

I'm generating "random" rhythms from user input, so this will be a
help.  I've actually got a perl rewrite program that's mostly working,
but then I found the completion_heads_engraver and realized that my
needs might already be met by the lilypond system.  Any built-in
solution or sage advice would be much appreciated.

Thanks for your help, and
Peace,
Jim



reply via email to

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