bell notificationshomepageloginNewPostedit profiledmBox

Hoots : How to show an empty chord in an anacrusus I'm using Lilypond 2.19.55. I have an anacrusis. The staff and lyrics are fine. How do I define an empty place for a chord? If I don't, lilypond complains. If I use f4, it complains - freshhoot.com

10% popularity   0 Reactions

How to show an empty chord in an anacrusus
I'm using Lilypond 2.19.55. I have an anacrusis. The staff and lyrics are fine. How do I define an empty place for a chord? If I don't, lilypond complains. If I use f4, it complains at the c:7 because it does not have enough beats. If I put r4, it turns into N.C.

Due to this issue, it causes the g1:m mis-align with the G note in the 2nd ending.

Here is my complete code:

version "2.19.55"
language "english"
score {
<<

new ChordNames {
chordmode {
f4 | f1 | c:/e | a:7 | d2:m
f/c | bf1 | f:/a | ef | c:7 |
g1:m | f
}
}

new Staff {
new Voice = "myVoice" {
relative c' {
key f major
time 4/4
partial 4
repeat volta 2 {
f8 g | a4. c,8 c4 a' | g2. e8 f | g4. a,8 a4 g' | f2.
f8 e | d2. f4 | c2. f8 a |
}
alternative {
{ g2. f4 | g2.}
{ g2. (f4) | f2. }
}
}
}
}
new Lyrics lyricsto "myVoice" {
This is a word a word a word a word a word a word a word a word
a word a word a word
}
new Lyrics lyricsto "myVoice" {
This is a word a word a word a word a word a word a word a word
a word a
repeat unfold 3 { skip 1 }
new ending
}

>>

}

lilybin is www.lilybin.com/ffs8ow/2


Load Full (2)

Login to follow hoots

2 Comments

Sorted by latest first Latest Oldest Best

10% popularity   0 Reactions

Use s4 or skip 4 instead of r4, then Lilipond will print nothing above the anacrusis.

About the bar line check, it's a notation problem. It's not common to put the anacrusis inside the volta. The best is to repeat the anacrusis at the end of first ending, like this:

language "english"
score {
<<

new ChordNames {
chordmode {
s4 | f1 | c:/e | a:7 | d2:m
f/c | bf1 | f:/a | ef | c:7 |
g1:m | f
}
}

new Staff {
new Voice = "myVoice" {
relative c' {
key f major
time 4/4
partial 4
f8 g |
repeat volta 2 { a4. c,8 c4 a' | g2. e8 f | g4. a,8 a4 g' | f2.
f8 e | d2. f4 | c2. f8 a |
}
alternative {
{ g2. f4 | g2. f8 g }
{ g2. (f4) | f2. }
}
}
}
}
new Lyrics lyricsto "myVoice" {
This is a word a word a word a word a word a word a word a word
a word a word a word This is
}
new Lyrics lyricsto "myVoice" {
repeat unfold 2 { skip 1 } a word a word a word a word a word a word a word a word
a word a
repeat unfold 5 { skip 1 }
new ending
}

>>

}


10% popularity   0 Reactions

Nothing wrong with the anacrusis here, but you need to write c2.:7 | [...] in the chordmode section or the c7 chord will hang into the second alternative.

With 2.19.55 (which you appear to use here) I think that the time keeping mechanism will not complain about bad bar checks. With older versions, this might require fudging around with the timing.


Back to top Use Dark theme