[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scheme question
From: |
Carl Sorensen |
Subject: |
Re: Scheme question |
Date: |
Wed, 9 Mar 2011 13:26:10 -0700 |
On 3/9/11 12:22 PM, "TaoCG" <address@hidden> 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