lilypond-user
[Top][All Lists]
Advanced

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

Re: Rehearsal marks and grace notes at the beginning of bars


From: Cynthia Karl
Subject: Re: Rehearsal marks and grace notes at the beginning of bars
Date: Mon, 26 Jan 2015 17:11:49 -0600

> 
> Message: 4
> Date: Sun, 25 Jan 2015 22:22:02 -0800
> From: Flaming Hakama by Elaine <address@hidden>
> To: address@hidden
> Subject: Rehearsal marks and grace notes at the beginning of bars
> Message-ID:
>       <address@hidden>
> Content-Type: text/plain; charset="utf-8"
> 
> Hello everyone,
> 
> I ran into a problem today when I had an instrument with grace notes.
> It made rehearsal marks between different instruments not line up, printing
> duplicate rehearsal marks.
> 
> The fix was to put the grace notes before the rehearsal mark.
> 
> I was just wondering if this was expected behavior.

See v.2.19.15 Notation Manual, Section 1.2.6, "Special rhythmic concerns", 
subsection "Grace notes", subsubsection "Known issues and warnings":  Grace 
note synchronization can also lead to surprises.  You just ran into a surprise.

LilyPond has problems when (I think) it gets into negative time on one staff 
and not on a concurrent one.  Grace notes apparently lead to negative time 
after bar lines.  The following snippet is equivalent to yours with all the 
stuff irrelevant to your issue removed, and shows the four possible cases:

\version "2.19.5"

violinOK = \relative c'' {
   \mark\default \grace e16  e4 r r2
}

violinBroken = \relative c'' {
  \grace e16 \mark\default e4 r r2
}

clarinetBroken = \relative c' {
  \mark\default R1
}

clarinetFixed = \relative c' {   
  \mark\default \grace s16 R1 
}

global = { \key g\major }

 \score {
    <<
     \new Staff { \global \clarinetBroken }
     \new Staff { \global \violinOK }
     >>
 }

 \score {
    <<
     \new Staff { \global \clarinetFixed }
     \new Staff { \global \violinOK }
   >>
 }
 
 \score {
   <<
     \new Staff { \global \clarinetBroken }
     \new Staff { \global \violinBroken }
   >>
 }
 
 \score {
   <<
     \new Staff { \global \clarinetFixed }
     \new Staff { \global \violinBroken }
   >>
 }

In my viewpoint, the original violin part wasn't broken, so it didn't need 
fixing.  The clarinet part needed the fixing.  So what you call violinBroken I 
call violinOK, your clarinet is my clarinetBroken, my clarinetFixed, which you 
don't have, follows the cited warnings, and your violinFixed is my violinBroken.

HTH.

Patrick Karl
> 
> \version "2.19.5"
> \include "english.ly"
> 
> violinBroken = \relative c'' {
>  \key d \minor
>  \numericTimeSignature
>  \time 4/4
>  \tempo 4=230
>  r2 r8 d8\f e [ a, ] \bar "||"
>  <f' a,>4-. a, e'-- d | <f a,>-. a,8 <e' bf>-- ~ <e bf> <e bf> d4-. | <f
> a,>4-. <f a,>2-> \grace { e16 ( d } cs8 ) d-. | r1 \bar "||"
> 
>  % With grace notes in the 'proper' place, we get duplcate marks in the
> wrong place
>  \mark \markup { \box Bridge }
>  \grace { e16 ( ds } cs8 ds ) e fs as4-- fs-. | as4-- e8 as-. ~ as as
> fs4-- | a?4-. a2-> r4 | r1 \bar "|."
> }
> 
> violinFixed = \relative c'' {
>  \key d \minor
>  \numericTimeSignature
>  \time 4/4
>  \tempo 4=230
>  r2 r8 d8\f e [ a, ] \bar "||"
>  <f' a,>4-. a, e'-- d | <f a,>-. a,8 <e' bf>-- ~ <e bf> <e bf> d4-. | <f
> a,>4-. <f a,>2-> \grace { e16 ( d } cs8 ) d-. | r1 \bar "||"
> 
>  % With grace notes in the 'improper' place, we get marks in the right
> place
>  \grace { e16 ( ds }
>  \mark \markup { \box Bridge }
>  cs8 ds ) e fs as4-- fs-. | as4-- e8 as-. ~ as as fs4-- | a?4-. a2-> r4 |
> r1 \bar "|."
> }
> 
> clarinet = \relative c' {
>  \key d \minor
>  \numericTimeSignature
>  \time 4/4
>  \tempo 4=230
>  r4 cs8\mf bf? a g f e \bar "||"
>  d4. d8 f a4 bf8 ~ | bf4 a bf cs | d4. d8 ~ d4 cs8 d | r1
>  \mark \markup { \box Bridge }
>  r1 | \grace { e16 ( ds } cs8 ds ) e fs as4-- cs-. | ds4-. r8 ds r4 ds ~ |
> ds fs8 ds cs b r4 \bar "|."
> }
> 
>  \score {
>      \new StaffGroup <<
>      \new Staff {
>        \set Staff.instrumentName = #"Bb Clarinet"
>        \transpose bf, c { \clarinet }
>      }
>      \new Staff {
>        \set Staff.instrumentName = #"Violin"
>        \violinBroken
>      }
>>> 
>  }
> 
>  \score {
>    \new StaffGroup <<
>      \new Staff {
>        \set Staff.instrumentName = #"Bb Clarinet"
>        \transpose bf, c { \clarinet }
>      }
>      \new Staff {
>        \set Staff.instrumentName = #"Violin"
>        \violinFixed
>      }
>>> 
>  }
> 
> 
> 
> Thanks,
> 
> David Elaine Alt




reply via email to

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