lilypond-user
[Top][All Lists]
Advanced

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

Re: Snippet "music box" does not work in 2.16


From: David Kastrup
Subject: Re: Snippet "music box" does not work in 2.16
Date: Wed, 12 Dec 2012 22:11:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Eric <address@hidden> writes:

> Hi Lilypond helpers,
>
> The following snippet :
>
> http://lsr.dsi.unimi.it/LSR/Snippet?id=346
>
> does not work any longer.
>
> The error occurs "In procedure car in expression (car pes):
> /home/eric/musique/lilypond/test.ly:49:49: Wrong type (expecting pair): ()"
>
> that is, at line (in function defineTransform) :
>
> (pnew (ly:music-property (car pes) 'pitch))
>
>
> Can anyone find what is wrong ?

Things got simpler.  Converge the two lines

                       (pes (ly:music-property (list-ref pitches i) 'elements))
                       (pnew (ly:music-property (car pes) 'pitch))

into

                       (pnew (ly:music-property (list-ref pitches i) 'pitch))

-- 
David Kastrup




reply via email to

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