Janek Warchoł <janek.lilyp...@gmail.com> writes:

> On Sun, Sep 23, 2012 at 2:03 PM, David Kastrup <d...@gnu.org> 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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to