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: Thu, 21 Jul 2005 00:13:09 +0200
User-agent: KMail/1.8

On Wednesday 20 July 2005 23.26, Roland wrote:
> On Mon, 18 Jul 2005 11:30:45 +0200, Erik Sandberg
>
> <address@hidden> wrote:
> >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.
> >....
>
>  Unfortunately, this workaround also breaks the printout. SIze
> of grace notes is equal to normal notes one.
>
>  Any idea to get both midi and paper outputs ?

You could try this in the \midi block:
\context {\Score graceSettings = #'() }

(basically the same as the prev solution, except that it sets it slightly more 
globally, and only when generating midi)

Erik




reply via email to

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