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,
Dmytro O. Redchuk brownian@gmail.com writes:
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
On Mon 21 Mar 2011, 09:30 David Kastrup wrote:
Not particularly. You can intersperse Scheme expressions with music
events, and they are evaluated and the value, in general, is ignored.
Nothing more, nothing less. With one exception:
#(define len (ly:export (ly:make-duration 1 0)))
{
-duration d 0)))
{
r#(len duration)
#(set! duration 2)
r#(len duration)
}
--
View this message in context:
http://old.nabble.com/control-notelength-via-variable--tp31190034p31202057.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com
://old.nabble.com/control-notelength-via-variable--tp31190034p31190034.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user