bug-lilypond
[Top][All Lists]
Advanced

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

Re: Bare durations as music function argument?


From: David Kastrup
Subject: Re: Bare durations as music function argument?
Date: Fri, 11 Dec 2015 13:49:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Simon Albrecht <address@hidden> writes:

> Hello,
>
> 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.

Would \tuplet 3/2 4 2 be a quarter triole followed by a half note, or a
half triole to be grouped in groups of quarter length?

-- 
David Kastrup



reply via email to

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