chords above piano staff

2008-09-30 Thread Sebastian Menge
Hi all

I have a piece with a written out piano intro directly followed by a
leadsheet with lyrics. The lower staff is only needed for the intro.

Now the chords appear below both staffs in the intro, but stay there,
when the leadsheet/with lyrics starts. Then the chords are between
melody and lyrics instead of above as it is the case when i have only
one staff. How can I force it to put the chords always above the piano
staff?

The layout is as follows:

\new PianoStaff 
\chords { ... }  % 24 bars
\new Staff = upper {
  \upperIntro%  8 bars 
  \melody% 16 bars
  } 
  \addlyrics { } 
}
\new Staff = lower {
  \lowerIntro% 8 bars
}


Thanks, Sebastian.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: chords above piano staff

2008-09-30 Thread Gilles Sadowski
Hi.

 The layout is as follows:
 
 \new PianoStaff 
 \chords { ... }  % 24 bars
 \new Staff = upper {
   \upperIntro%  8 bars 
   \melody% 16 bars
   } 
   \addlyrics { } 
 }
 \new Staff = lower {
   \lowerIntro% 8 bars
 }
 

Please send a minimal but *compilable* example: It's a waste of time if
someone willing to help must first fill in the blanks to have an idea of
what you already got and are not happy with.

Best,
Gilles


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: chords above piano staff

2008-09-30 Thread Sebastian Menge
Am Tue, 30 Sep 2008 13:40:44 +0200
schrieb Gilles Sadowski [EMAIL PROTECTED]:

 Please send a minimal but *compilable* example: It's a waste of time

Sorry, I thought advanced users could imagine the output. Here we go:

 \new PianoStaff 
 \chords { c1 g }   
 \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 
   }
 }  
  

Seb.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: chords above piano staff

2008-09-30 Thread Mats Bengtsson

Quoting Sebastian Menge [EMAIL PROTECTED]:


Hi all

I have a piece with a written out piano intro directly followed by a
leadsheet with lyrics. The lower staff is only needed for the intro.

Now the chords appear below both staffs in the intro, but stay there,
when the leadsheet/with lyrics starts. Then the chords are between
melody and lyrics instead of above as it is the case when i have only
one staff. How can I force it to put the chords always above the piano
staff?

The layout is as follows:

\new PianoStaff 
   \chords { ... }  % 24 bars

If you move the \chords outside the PianoStaff context, I guess
it will work as expected, i.e. something like

\score{

 \chords {...}
 \new PianoStaff 
   \new Staff = upper ...
...
 



}

  /Mats

   \new Staff = upper {
 \upperIntro%  8 bars
 \melody% 16 bars
 }
 \addlyrics { }
   }
   \new Staff = lower {
 \lowerIntro% 8 bars
   }




Thanks, Sebastian.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user







___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: chords above piano staff

2008-09-30 Thread Gilles Sadowski
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
\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
   }
 }
 
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user