lilypond-user
[Top][All Lists]
Advanced

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

Bug supposed


From: grisu_76
Subject: Bug supposed
Date: Mon, 27 Apr 2009 12:14:29 -0700 (PDT)

Hi everyone,

I have got the suspicion, that I detected a bug in 2.12 - but I am not
sure:confused::

As I wrote into the group on April 19th, I try to engrave a grace note at
the beginning of a pickup-bar;

The whole story is, that I engrave a string quartet useing the
string-quartet snippet for the snippets-manual (p. 230 ff); This uses
several files to generate either the full score or the single parts;
Up to the last movement all worked perfect, but the third movement begins
with a grace note in a pickup bar;
The example is as follows:

%%%%%%%%%%%%%   Music -definition (= FILE 1: "satz03")  %%%%%%%%%%%%

\include "deutsch.ly"   
global = {
        \time 6/8
        \key es \major
        \tempo "Presto"
}

\markup {
                \fill-line { 
                \huge III. 
                }
}
ViolineEins = \new Voice {\relative c'{
                \set Staff.midiInstrument = #"violin"
                \grace {d8} \partial  8*3  c8 d e 
                c d e
                \bar "|."
                }}
ViolineZwei = \new Voice {\relative c'{
                \set Staff.midiInstrument = #"violin"
                \grace {d8} \partial  8*3  c8 d e 
                c d e
                \bar "|."
                }}
Viola = \new Voice {\relative c'{
                \clef alto
                \set Staff.midiInstrument = #"viola"
                \grace {d8} \partial  8*3  c8 d e 
                c d e
                \bar "|."
                }}
Cello = \new Voice {\relative c{
                \clef bass
                \set Staff.midiInstrument = #"cello"
                \grace {d8} \partial  8*3  c8 d e 
                c d e
                \bar "|."
                }}
music = {
        <<
          \tag #'score \tag #' vn1 \new Staff { << \global \ViolineEins >> }
          \tag #'score \tag #' vn2 \new Staff { << \global \ViolineZwei >> }
          \tag #'score \tag #' vla \new Staff { << \global \Viola >> }
          \tag #'score \tag #' vlc \new Staff { << \global \Cello >> }
        >>
}
%%%    END OF FILE  1          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

File 2 includes File 1 useing the \tag to get the information of all voices

%%%%%%%%%%    score for third movement; FILE 2:
(="quartetto_in_c_satz03.ly")

\include "satz03.ly"
# (set-global-staff-size 14)
\score {
        \new StaffGroup \keepWithTag #'score \music
        \layout {}
        \midi {
                \context {
                        \Score
                                tempoWholesPerMinute = #(ly:make-moment 285 8)
                }
        }
}

%%%    END OF FILE  2          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Now to the supposed bug:

Mats Bengtsson gave me the hint to try it in the following way (which works
without any problems - thanks Mats =))

%%%% TESTFILE %%%%%%%%%%%%%%%%
\include "deutsch.ly" 

ViolineEins = \new Voice {\relative c'{
        \set Staff.midiInstrument = #"violin"
        \grace {c''8} \partial 8*3 b8\p (a) b-.          
         g8-. g-. g-. \grace{as} g(f) g-.

        \bar "|."
        }}

ViolineZwei = \new Voice {\relative c'{
        \set Staff.midiInstrument = #"violin"
        \grace {s8} \partial 8*3 r4 r8
        es'8-.\p es-. es-. r4 r8

        \bar "|."
        }} 

\new Staff { \time 6/8 \key es \major <<\ViolineEins \ViolineZwei>> }

%%%%%%%%% END OF FILE 3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Here, the rintout is perfect!


To sum it up:

obviously the grace not at the beginning of a score is crucial (as it is
reported in the reference manual on p. 78 "Known issues and warnings"); one
can override the problem to fill in unvisible grace notes for each single
voice - which works well; all other methods I tried do not work (to be more
precisely: I did not found a solution - so I suppuse a bug)

Useing the snippet with the \tag function, there is the problem that
1.) the grace note is printet between the key signature and the time
signature
2.) the default beams do not longer work
3.) the time signature of (in my example 6/8) is ignored and reset to C

That's it - I wanted to let you know that...

Best regards,

Christian

P.S.: Don't be upset for posting the whole example - I am convinced that it
is necessary to get the whole problem :wistle:

 





-- 
View this message in context: 
http://www.nabble.com/Bug-supposed-tp23263063p23263063.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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