lilypond-user
[Top][All Lists]
Advanced

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

Re: Multiplication of multi mesure test


From: Paolo Cantamessa
Subject: Re: Multiplication of multi mesure test
Date: Tue, 22 Jan 2019 23:39:52 +0100

Yes, now it's clear.

Many thanks David, Cheers.

Paolo

Il giorno mar 22 gen 2019 alle ore 22:29 David Kastrup <address@hidden> ha scritto:
Paolo Cantamessa <address@hidden> writes:

> Hi David,
> I use lilypond version "2.19.82".

Check Issue 5327 in the issue tracker.  Slated for 21.0.

> I don't understand which type data is " * 2 " in this example { R1 * 2 }.
> Char? String? Integer? Symbol? Whatever else?
> Which mathematical operation should I do?

* 2 is not a data type.  1*2 is a duration with a multiplier.

>> > But I need of this and doesn't work:
>> > { R1 * #(+ 2 3) }

You could write

{ R $(ly:make-duration 0 0 (+ 2 3)) }

which creates a duration of duration-log 0, with 0 dots, and a
multiplier of 5 .

--
David Kastrup

Mailtrack Sender notified by
Mailtrack 22/01/19, 23:38:19

reply via email to

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