lilypond-user
[Top][All Lists]
Advanced

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

Re: Possible feature request for 'q' shorthand or tie syntax


From: David Kastrup
Subject: Re: Possible feature request for 'q' shorthand or tie syntax
Date: Mon, 24 Sep 2012 15:23:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Janek Warchoł <address@hidden> writes:

> On Sun, Sep 23, 2012 at 2:03 PM, David Kastrup <address@hidden> wrote:
>
>>> good point.  So, i still think that we shouldn't allow "c2 4 4"
>>> despite some really nice benefits it could bring us.
>>
>> Well, it won't affect previously valid programs.
>
> Now i'm *totally* puzzled.  What do you mean by "programs"? Do you
> mean that allowing standalone durations, like c2 d 4 4 => c2 d2 d4 d4,

The first 4 in there is not standalone, so  c2 d 4 4 => c2 d4 d4 and
c2 d2 4 4 => c2 d2 d4 d4

> wouldn't cause incompatibility with old scores?

Your rule would, but that's not what I consider "standalone".

> Also, i remember you saying that allowing whitespace before duration
> is needed for example in music functions:
>
> makeAquarterNote = #(define-music-function (parser location note)
>   (ly:pitch?)
>   #{ $note 4 #})
>
> How could this function be written if we allowed standalone durations
> that repeat previous pitch?

"standalone" has nothing to do with spaces.  It just means that the
duration has no preceding note to attach to.

-- 
David Kastrup



reply via email to

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