lilypond-user
[Top][All Lists]
Advanced

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

Rehearsal marks and grace notes at the beginning of bars


From: Flaming Hakama by Elaine
Subject: Rehearsal marks and grace notes at the beginning of bars
Date: Sun, 25 Jan 2015 22:22:02 -0800

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.

\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
415 . 341 .4954                                           "Confusion is highly underrated"
address@hidden
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


reply via email to

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