On 3/9/11 12:22 PM, "TaoCG" <[email protected]> wrote:

> 
> 
> Hi,
> 
> is it possible to determine the current time signature with scheme?
> I would like to alter the functions from this snippet so that the length of
> the produced rest equals the denominator and that $count equals the
> nominator.
> http://lsr.dsi.unimi.it/LSR/Snippet?id=332

It is possible to determine the current time signature from the Timing
context using the timeSignatureFraction property.

However, this is difficult to do in a music function, because the music
function does not have a context available.

You'll need to use a context-specced-music expression to make this happen,
if I recall correctly.

You might search the lilypond-devel archives for context-specced-music.

HTH,

Carl


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to