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

2008/5/23 Trevor Daniels <[EMAIL PROTECTED]>:

> 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" <
> [EMAIL PROTECTED]>
> To: "lilypond-user" <lilypond-user@gnu.org>
> 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
>> 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

Reply via email to