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

2005-07-21 Thread Roland
On Thu, 21 Jul 2005 00:13:09 +0200, Erik Sandberg >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 it works fine. I am far to know

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

2005-07-20 Thread Erik Sandberg
On Wednesday 20 July 2005 23.26, Roland wrote: > On Mon, 18 Jul 2005 11:30:45 +0200, Erik Sandberg > > <[EMAIL PROTECTED]> 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 a

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

2005-07-20 Thread Roland
On Mon, 18 Jul 2005 11:30:45 +0200, Erik Sandberg <[EMAIL PROTECTED]> 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. >

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

2005-07-18 Thread Erik Sandberg
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 pe

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

2005-07-17 Thread roland
Using 2.4.6, if a \midi block is added to a .ly file containing a line #(add-grace-property ..., lilypond fails with the errors: GNU LilyPond 2.4.6 Processing `/cygdrive/D/LilyWork/Tests/add-grace-prop.ly' Parsing... Interpreting music... Backtrace: In unknown file: ?: 0* [lilypond-main ("/