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 16:23:16 +1100
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

Hugh Myers wrote:
Let's say that it is--- what would the different structure look like?
Try this:

\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
\set Score.voltaSpannerDuration = #(ly:make-moment 3 4)
<<
 \new Staff \relative c'' {
   \firstMono
   \repeat volta 2 {
    \firstPoly
   }
   \alternative {
     { \firstPolyRepeat }
     { \repeat volta 2 { \bar ":|.|:"
        \secondMono }}
   }
   \thirdMono
 }
 \new TabStaff \relative c' {
   \firstMono
   \repeat volta 2 {
    \firstPoly
   }
   \alternative {
     { \firstPolyRepeat }
     { \repeat volta 2 { \bar ":|.|:"
        \secondMono }}
   }
   \thirdMono
 }
>>
}

More like what you want?

Brett




reply via email to

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