[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiplication of multi mesure test
From: |
David Kastrup |
Subject: |
Re: Multiplication of multi mesure test |
Date: |
Tue, 22 Jan 2019 22:29:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
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
Re: Multiplication of multi mesure test, Valentin Villenave, 2019/01/22