bug-lilypond
[Top][All Lists]
Advanced

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

Re: Midi output problem in 2.15.38


From: David Kastrup
Subject: Re: Midi output problem in 2.15.38
Date: Fri, 11 May 2012 17:42:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Michael Pozhidaev <address@hidden> writes:

> Hello!
>
> I have tried the 2.15.38 on my scores and have found that the result is
> not correct. I don't know should it be considered as critical bug or no so
> writing this message. Please, take a look at files in attachment.
>
> There are three files: short snippet, proper midi output by
> lilypond-2.14.2 and incorrect midi output by 2.15.38.
>
> The 2.15.38 is installed in linux-x86_64 and downloaded as binary
> package. Thanks!

I just read the code: the problem is not likely related to Midi.  There
is a music function that expect its argument to be wrapped inside of an
EventChord, but this is no longer the case by default.

Try putting

   (set! note (event-chord-wrap! note parser))

directly after the line

sr = #(define-music-function (parser location note) (ly:music?)

and see whether this will make the function work.  If it does, that's
the easiest workaround.

-- 
David Kastrup



reply via email to

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