[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: chords above piano staff
From: Gilles Sadowski <gilles () harfang ! homelinux ! org>
Date: 2008-09-30 12:28:26
Message-ID: 20080930122826.GH20301 () dusk ! harfang ! homelinux ! org
[Download RAW message or body]
Hello.
> > Please send a minimal but *compilable* example: It's a waste of time
>
> Sorry, I thought advanced users could imagine the output.
Sometimes not so advanced users, or users with less imagination can help
too. ;-)
Here attached a modified version of your code that puts the chords above the
staff.
[The problem has something to do with the PianoStaff already instantiated
when the chord line is being defined.]
Gilles
["test1.ly" (text/plain)]
\version "2.10.10"
harmony = \context ChordNames {
\chordmode {
c1 |
g |
}
}
<< \harmony
\new PianoStaff <<
\new Staff = "upper" {
\relative c' {
c4 c c c
d d d d
}
}
\addlyrics {
\repeat unfold 4 \skip 1
la la la la
}
\new Staff = "lower" {
\relative c' {
c4 c c c
}
}
>>
>>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic