[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: control notelength via variable?
From: |
Dmytro O. Redchuk |
Subject: |
Re: control notelength via variable? |
Date: |
Mon, 21 Mar 2011 09:58:35 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sat 19 Mar 2011, 12:15 TaoCG wrote:
> Hi,
Hi!
> I need to control the length of rest and notes with a variable.
> something like:
> len = 2
> r\len
>
> this doesn't work of course but is there a way to do this?
> I tried overriding duration-log but it only changes the visual appearance.
Strange, lilypond *does* compile this:
len = #1
{
c''#len
}
but engraver c''4 actually. It's interesting.
No, i don't know how it's possible. Music function if far more complicated.
--
Dmytro O. Redchuk
Bug Squad