Eric <[email protected]> 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
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user