|
From: | Markus Baertschi |
Subject: | Can not get '\override Score.BarNumber.break-visibility' to work |
Date: | Tue, 16 Sep 2014 21:08:55 +0200 |
\header {
title = "Le Vieux Chalet"
composer = "Joseph Bovet"
poet = "Joseph Bovet"
tagline = \markup {
Engraved at
\simple #(strftime "%Y-%m-%d" (localtime (current-time)))
with \with-url #"http://lilypond.org/"
\line { LilyPond \simple #(lilypond-version) (http://lilypond.org/) }
% from \sourcefilename
}
}
\score {
<<
\new Staff = "Tenor" <<
\set Staff.midiInstrument = #"acoustic grand"
\set Staff.instrumentName = "Tenor"
\time 3/4 \key g \major
\partial 4
\relative c'
\new Voice = "Tenor 1" {
\override Score.BarNumber.break-visibility = ##(#t #t #t)
% \set Score.currentBarNumber = #21
% % Permit first bar number to be printed
% \bar ""
\set Score.barNumberVisibility = #(every-nth-bar-number-visible 2)
\voiceOne
% Tenor 1
d4
\repeat volta 2 { d'4. c8 b8. c16 b4 a d, d'8. c16 b4 a4 }
\alternative { { g2 d4 } { g2 g4 } }
a4. b8 g a | b4. c8 a b | c4. d8 b c | d2 g,4 |
e'4. d8 c b | a8.( b16) a4 a | d8. c16 b4 a | g2
}
\addlyrics {
La | haut sur la mon -- | ta -- gne l'é -- | tait un vieux cha -- |
let. La | let. Murs |
blancs, toit de bar -- | deaux, de -- vant la | porte un veux bou -- | leau. La |
haut sur la mon -- | tag -- ne l'é -- | tait un vieux cha -- | let.
}
\new Voice = "Tenor 2" {
\voiceTwo
% Tenor 2
d4 b'4. a8 g8. a16 g4 fis d g8. e16 g4 fis4
g2 d4 g2 g4
fis4. d8 e fis | g4. e8 fis g | a4. fis8 g a |
g4 fis g | c4. b8 a g | fis8. g16 fis4 fis | g8. e16 d4 c | b2
}
>>
\new Staff = "Bass" <<
\set Staff.instrumentName = "Bass/Bar"
\set Staff.midiInstrument = #"acoustic bass"
\clef "bass" \key g \major
\relative c
\new Voice = "Bariton" {
% Bariton
\set Voice.midiInstrument = #"glockenspiel"
\voiceThree
d4 | d4. d8 d8. e16 | d4 d d | d8. e16 e4 d8 c |
b2 d4 | b2 b8 d8 |
d4. d8 d d | d4. d8 d d | d4. d8 d d | d2 g4 |
g4. fis8 e d | e4 e d | d8. e16 d4 d8 c | b2
}
\relative c
\new Voice = "Bass" {
% Bass
\voiceFour
d4 | g,4. g8 g8. c16 | d4 d,4 d'8 c | b8. c16 e4 d,4 |
g2 d'4 | g,2 g8 b8 |
d4. d8 d d | d4. d8 d d | d4. d8 d d | g,2 g'4 |
c,4. gis8 a b | c4 c c | b8. c16 d4 d,4 g2
}
>>
>>
\layout {}
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 270 8)
}
}
}
[Prev in Thread] | Current Thread | [Next in Thread] |