lilypond-user
[Top][All Lists]
Advanced

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

Re: always glissandi


From: David Nalesnik
Subject: Re: always glissandi
Date: Fri, 24 Jun 2016 07:56:34 -0500

On Fri, Jun 24, 2016 at 5:19 AM, David Kastrup <address@hidden> wrote:
> Tobias Hagedorn <address@hidden> writes:
>
>> Sorry I get this error message:
>>
>>  GUILE signalisierte einen Fehler für den hier beginnenden Ausdruck
>> #
>> (define-music-function (music) (ly:music?)
>>
>> Perhaps it depends on my version… I have to update
>> lilypond. music-function is complete new for me and very interesting!
>> I have to learn a bit more by myself and spending more time on this :)
>> Thanks a lot for this quick answering!
>> Tobias
>>
>> \version "2.19.15"
>>
>> addGlissandi =
>> #(define-music-function (music) (ly:music?)
>
> Yes.  I think it's something like 2.19.22 where you can write music
> functions like that.  Before it had to be
>
>     #(define-music-function (parser location music) (ly:music?)


I changed this in the attached, so I think this ought to work at least
back to current stable.

I've also tweaked the code a little so it's more understandable, in
case someone wants to fool with the mechanism for deciding when to
draw glissandi in the presence of note repetitions.  I suppose it
could get really fancy with glissandoMap.

DN

Attachment: glissandi.ly
Description: Text Data


reply via email to

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