bug-lilypond
[Top][All Lists]
Advanced

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

Re: bug in 2.4.6 with add-grace-property and \midi block


From: Erik Sandberg
Subject: Re: bug in 2.4.6 with add-grace-property and \midi block
Date: Mon, 18 Jul 2005 11:30:45 +0200
User-agent: KMail/1.8

This is because Lilypond looks for the context where graceSettings was set; 
since MIDI doesn't use graceSettings, no context is found.

A workaround is to add
\set Score.graceSettings = #'()
before your code.

Han-Wen: A simple short-term fix is to add
graceSettings = #'()
to the Score block of performer-init.ly
Iwbn if there were a nicer fix though.

On Sunday 17 July 2005 23.33, roland wrote:
> \version "2.4.6"
> \include "english.ly"
>
> \score {
>         <<
>         % you get the error if one (or both) of theese two lines is active
> AND the midi block is active
>                 #(add-grace-property 'Voice 'Slur 'direction 1)
>                 #(add-grace-property 'Voice 'Stem 'direction -1)
>                 \relative c'' {a b c d e}
>         \\
>                 \relative c'{a b c d e}
>         >>
>
>         \midi {
>         }
>                 
>         \layout {
>         }
> }

-- 
Erik Sandberg
Maintainer of the Lilypond bug CVS archive,
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lily-bugs/bugs/
http://lilypond.org/doc/v2.5/bugs/out/index.html




reply via email to

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