[Top][All Lists]

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

Re: Bare durations as music function argument?

From: Simon Albrecht
Subject: Re: Bare durations as music function argument?
Date: Fri, 11 Dec 2015 14:08:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

On 11.12.2015 13:49, David Kastrup wrote:
Simon Albrecht<address@hidden>  writes:

>the bare durations that can now be used to write notes with
>unspecified pitch don’t work as music function arguments:
>\version "2.19.32"
>\new DrumStaff \with {
>   \override StaffSymbol.line-count = 1
>} \new DrumVoice {
>   4 \slashedGrace 16 4
>\relative {
>   r4 r8 c'' \appoggiatura 4 b2
>– each yielding ‘error: wrong type for argument 1.  Expecting music,
>found 16’ or similar.
>David, is that intentional?
Quite so.  From lilypond-changes.info:

    • Isolated durations in music sequences now stand for unpitched
      notes.  This may be useful for specifying rhythms to music or
      scheme functions.

"Isolated durations in music sequences".  You can place { } to make a
sequence.  Telling different types of music function arguments apart is
tricky enough as it stands.

I see. That’s fine – the {} also aid humans’ reading.

Yours, Simon

reply via email to

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