lilypond-user
[Top][All Lists]
Advanced

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

Re: grace notes in TimeSig


From: Stefan Thomas
Subject: Re: grace notes in TimeSig
Date: Fri, 23 May 2008 22:04:44 +0200

Hmm,
it's an ugly trick, but it works! Shouldn't it added to the collection of snippets?

2008/5/23 Trevor Daniels <address@hidden>:
Stefan

The mechanism used for timing means you have to include matching dummy grace notes in all parallel contexts.  If you make the following change I think it will work as you want:

dreiviertel = {
  \time 3/4
  \grace {s32 s s}  % matching grace timing

  #(override-auto-beam-setting '(end * * 3 4) 1 4 'Score)
  #(override-auto-beam-setting '(end * * 3 4) 2 4 'Score)
  #(override-auto-beam-setting '(end * * 3 4) 3 4 'Score)
      }

----- Original Message ----- From: "Stefan Thomas" <address@hidden>
To: "lilypond-user" <address@hidden>
Sent: Thursday, May 22, 2008 3:29 PM
Subject: grace notes in TimeSig



Dear lilypondusers,
I have a problem with TimeSig in connection with grace-notes.
I don't understand why the grace notes why the grace-notes in the below
quoted example appear before the time signature.
It must have to do with the TimeSig function. How can I fix the problem?
Here is the example:
%%%%%%%%%% begin %%%%%%%%%%%%%%

dreiviertel = {
  \time 3/4
  #(override-auto-beam-setting '(end * * 3 4) 1 4 'Score)
  #(override-auto-beam-setting '(end * * 3 4) 2 4 'Score)
  #(override-auto-beam-setting '(end * * 3 4) 3 4 'Score)
      }
fourtoms = {  \override Staff.StaffSymbol #'line-positions = #'(-3 -1 1 3) }
\layout{

 \context {
  \type "Engraver_group"

  \consists "Text_spanner_engraver"
  \consists "Text_engraver"
  \consists "Dynamic_engraver"
  \consists "Axis_group_engraver"
  \name "TimeSig"



 }
 \context {
  \Score \accepts TimeSig}





\context { \RemoveEmptyStaffContext }

      }

global = { \time 2/4 s2 \dreiviertel s2. }

\score {
<<
\new TimeSig  { \override Score.TimeSignature #'style = #'( ) \global }
\new Staff
\relative { \fourtoms \clef percussion  b8 b8 d4 |
\grace {g,32\f\> [ b d\!] } g,2.\p | }

}
%%%%%%%%%% END %%%%%%%%%%%%%%%%%%%%%5



--------------------------------------------------------------------------------


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




reply via email to

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