lilypond-user
[Top][All Lists]
Advanced

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

Re: bar line


From: Brett Duncan
Subject: Re: bar line
Date: Mon, 23 Nov 2009 15:12:45 +1100
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

Hugh Myers wrote:
Here is the 'close--- but not quite ready for cigar time' code that
I've cobbled together:

\version "2.13.7"
%
% malaguena.ly -- q&d testbed for mixed notation score and tab.
%
\header {
  title = "Malaguena"
  subtitle = "none"
  composer = "Music by Unknown"
}

eMinor = < e   b  gis  e b e, >
firstMono = { \eMinor \eMinor \eMinor }
firstPoly = {
  << { b c d } \\ { < gis, d e, >2. } >>
  << { d'4 c b } \\ { e,,2. } >>
  << { c''4 a b} \\ { a,2. } >>
  << { \acciaccatura d'8 c4 b a } \\ { a,2. } >>
  << { b'4 a c } \\ { g,2. } >>
  << { a'4 g f } \\ { f,2. } >>
}

firstPolyRepeat = {
  << { r4 \times 2/3 {gis'8 b e } e,4 \times 2/3 {gis8 b e} e,2 }\\ {e,2.~e} >>
}
secondMono = {
  { e'8 [e'] gis, [e'] b [e] }
  { e,8 [e'] gis, [e'] b [e] }
  { a,8 [e'] c [e] b [e] }
  { a,8 [e'] g, [e'] f, [e'] }
}
thirdMono = {
  { e,8 [e'] gis, [e'] b [e] }
}

{
\time 3/4
\set Score.barNumberVisibility = #all-bar-numbers-visible
\bar ""
<<
  \new Staff \relative c'' {
    \firstMono
    \repeat volta 2 {
     \firstPoly
    }
    \alternative {
      { \firstPolyRepeat }
      { \secondMono }
    }
    \thirdMono
  }
  \new TabStaff \relative c' {
    \firstMono
    \repeat volta 2 {
     \firstPoly
    }
    \alternative {
      { \firstPolyRepeat }
      { \secondMono }
    }
    \thirdMono
  }
}

If you run this, you will see that the bar between the alternates is
single sided where it should be double sided. Likewise there is no bar
concluding the second alternative. Also a nit-pick, but the volta bars
are two long, should be one bar, not 'N' bars.

Is the section from bar 10 to bar 14 repeated or not? If not, then the single sided repeat bar is correct. If bars 10-14 are repeated, then you'll need a slightly different structure for the repeats.

Brett





reply via email to

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