Re: initial acciaccatura confuses things?
On Wed, Aug 22, 2007 at 03:15:53PM +0200, Mats Bengtsson wrote: [...] > > A score that starts with an \grace section needs an explicit \context > > Voice declaration, otherwise the main note and grace note end up on > > different staves. > > > >But it would be nice if the manual had an example. > It does! The point you probably missed is that the \grace s16 should be > inserted > in all the other staves, so that all staves begin with a grace note of > some form > (\grace or \acciaccatura or \appoggiatura). Aha, now it makes sense. And there was no need for me to define a new Voice context - adding this to the beginning of both the melody and upper staves worked: % extra grace note to work around LilyPond bug with the initial % grace note in the lower staff \grace s16 Many thanks! -- Ed > A complete version of the example from the manual, > including the fix, is > > << \new Staff { e4 \bar "|:" \grace c16 d4 } >\new Staff { c4 \bar "|:" \grace s16 d4 } >> ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: initial acciaccatura confuses things?
Now I realize that you didn't read the relevant part of the text. What you should read is the paragraph starting with "Grace note synchronization can also lead to surprises. ..." /Mats Mats Bengtsson wrote: Ed Ravin wrote: On Wed, Aug 22, 2007 at 08:04:47AM +0200, Mats Bengtsson wrote: This bug is described in the manual in the section on grace notes, together with an explanation on how to solve the problem. Funny, I've read that section many times, and even down to the bottom when I was first learning LilyPond. Just not recently. I presume you mean this bit under "Bugs": A score that starts with an \grace section needs an explicit \context Voice declaration, otherwise the main note and grace note end up on different staves. But it would be nice if the manual had an example. It does! The point you probably missed is that the \grace s16 should be inserted in all the other staves, so that all staves begin with a grace note of some form (\grace or \acciaccatura or \appoggiatura). I'll see if I can clarify this further in the manual. A complete version of the example from the manual, including the fix, is << \new Staff { e4 \bar "|:" \grace c16 d4 } \new Staff { c4 \bar "|:" \grace s16 d4 } >> I've tried this: \new Voice { \acciaccatura bf,16 bf4 4 8 }| And this: \context Voice { \acciaccatura bf,16 bf4 4 8 bf> }| And neither one fixes the bug. Again, what you have to do is to insert a corresponding \grace s16 in the upper part. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: initial acciaccatura confuses things?
Ed Ravin wrote: On Wed, Aug 22, 2007 at 08:04:47AM +0200, Mats Bengtsson wrote: This bug is described in the manual in the section on grace notes, together with an explanation on how to solve the problem. Funny, I've read that section many times, and even down to the bottom when I was first learning LilyPond. Just not recently. I presume you mean this bit under "Bugs": A score that starts with an \grace section needs an explicit \context Voice declaration, otherwise the main note and grace note end up on different staves. But it would be nice if the manual had an example. It does! The point you probably missed is that the \grace s16 should be inserted in all the other staves, so that all staves begin with a grace note of some form (\grace or \acciaccatura or \appoggiatura). I'll see if I can clarify this further in the manual. A complete version of the example from the manual, including the fix, is << \new Staff { e4 \bar "|:" \grace c16 d4 } \new Staff { c4 \bar "|:" \grace s16 d4 } >> I've tried this: \new Voice { \acciaccatura bf,16 bf4 4 8}| And this: \context Voice { \acciaccatura bf,16 bf4 4 8}| And neither one fixes the bug. Again, what you have to do is to insert a corresponding \grace s16 in the upper part. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: initial acciaccatura confuses things?
On Wed, Aug 22, 2007 at 08:04:47AM +0200, Mats Bengtsson wrote: > This bug is described in the manual in the section on grace notes, > together with an explanation on how to solve the problem. Funny, I've read that section many times, and even down to the bottom when I was first learning LilyPond. Just not recently. I presume you mean this bit under "Bugs": A score that starts with an \grace section needs an explicit \context Voice declaration, otherwise the main note and grace note end up on different staves. But it would be nice if the manual had an example. I've tried this: \new Voice { \acciaccatura bf,16 bf4 4 8}| And this: \context Voice { \acciaccatura bf,16 bf4 4 8}| And neither one fixes the bug. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: initial acciaccatura confuses things?
This bug is described in the manual in the section on grace notes, together with an explanation on how to solve the problem. /Mats Quoting Ed Ravin <[EMAIL PROTECTED]>: I am trying to transcribe a piano piece that beings with a grace note in the lower staff. lower = \relative c, { \clef bass \key c \major \time 4/4 % e4 fs g a | \acciaccatura bf,16 bf4 4 8| } If I uncomment the "e4 fs g a |" line, then everything renders as expected. But when the first element is the acciaccatura, everything renders weird. The clefs and time signatures are drawn twice on the melody line and upper staff, the time signature (but not the clef) is drawn twice on the lower staff, and the acciaccatura on the lower staff is stretched across from one time signature to the next. What on earth is going on here? For the details, see: http://www.panix.com/~eravin/brokenlily/broken.pdf And the full LilyPond source file is there at: http://www.panix.com/~eravin/brokenlily/broken.ly.txt I'm using LilyPond 2.10.29 on a G4 Mac OS 10.3.9. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
initial acciaccatura confuses things?
I am trying to transcribe a piano piece that beings with a grace note in the lower staff. lower = \relative c, { \clef bass \key c \major \time 4/4 % e4 fs g a | \acciaccatura bf,16 bf4 4 8| } If I uncomment the "e4 fs g a |" line, then everything renders as expected. But when the first element is the acciaccatura, everything renders weird. The clefs and time signatures are drawn twice on the melody line and upper staff, the time signature (but not the clef) is drawn twice on the lower staff, and the acciaccatura on the lower staff is stretched across from one time signature to the next. What on earth is going on here? For the details, see: http://www.panix.com/~eravin/brokenlily/broken.pdf And the full LilyPond source file is there at: http://www.panix.com/~eravin/brokenlily/broken.ly.txt I'm using LilyPond 2.10.29 on a G4 Mac OS 10.3.9. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user