lilypond-user
[Top][All Lists]
Advanced

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

Re: Wrong stem direction in first measure with appoggiatura


From: Mats Bengtsson
Subject: Re: Wrong stem direction in first measure with appoggiatura
Date: Fri, 02 Oct 2009 09:40:54 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

As has been already pointed out, this is a known bug, see http://code.google.com/p/lilypond/issues/detail?id=630&q=grace
(which by the way contains some misleading information).

One working workaround is to move the grace/appoggiatura outside the <<{...} \\ {...}>> construct:
\appoggiatura c''8
<<  {
c''4
c''4\noBeam
c''4\noBeam
c''4\noBeam
}
\\
{
\blanknotes
r1  \unblanknotes

}
>>

By the way, please send complete examples that produce some output (and does not contain undefined macros) when you send questions and bug reports to the mailing list. Then, it will be much easier for others to try your example and find solutions.

  /Mats

Nick Didkovsky wrote:
Hello

Stems are going the wrong direction on the first measure of a score when a grace note is present. Subsequent measures do not show this problem.

The score: I have two identical measures. Each staff has two voices: notes are in the top voice and an invisible rest in the bottom voice. The first note of each measure has an appoggiatura. The problem: The first measure displays stems going down when they should be going up. Second measure (and subsequent measures if I make a longer score) show stems going in the proper direction. So this problem is limited to the first measure of the score.

Can anyone advise?

Thanks,
Nick Didkovsky

\version "2.10.0"
% Created by: Java Music Specification Language, BUILD 20090919
% Creation date: Tue Sep 29 10:06:37 EDT 2009
% JMSL to LilyPond converter by Nick Didkovsky, (c) 2006 Nick Didkovsky
% visit www.algomusic.com and www.lilypond.org

% Staff 1

"WrongStemDirWithGraceNoteStaffAA" = {
\override Score.RehearsalMark #'font-size = #-1
\override Score.VoltaBracket #'font-name = #"New Century Schoolbook"
\override Score.VoltaBracket #'font-shape = #'bold
\override Score.VoltaBracket #'font-size = #+1

% Measure 1
\override Score.MetronomeMark #'padding = #4.5
\tempo 4=60
\key c \major

\override Staff.TimeSignature #'style = #'()

\time 4/4

\clef treble
<<  {
\appoggiatura c''8
c''4
c''4\noBeam
c''4\noBeam
c''4\noBeam
}
\\
{
\blanknotes
r1  \unblanknotes

}
>>

% Measure 2

\clef treble
<<  {
\appoggiatura c''8
c''4\noBeam
c''4\noBeam
c''4\noBeam
c''4\noBeam
}
\\
{
\blanknotes
r1\noBeam  \unblanknotes

}
>>

}



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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