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


Re: chords in piano staff

2005-04-09 Thread libero . mureddu3
Thanks again, it worked perfectly, but just to go deeper in this, and to
understand better about lilypond layout, what I can do if I want to move
only the chords a bit up or down; i.e. now the chords are not perfectly centered
but they are closer to the upper staff.

Greetings

Libero Mureddu


-- Original Message --
Date: Fri, 08 Apr 2005 17:54:57 +0200
From: Mats Bengtsson [EMAIL PROTECTED]
To:  [EMAIL PROTECTED]
CC:  lilypond-user@gnu.org
Subject: Re: chords in piano staff


Try something like
 \layout {
   \context{
 \PianoStaff
 \override VerticalAlignment #'forced-distance = #6
 \accepts ChordNames
   }

   /Mats

[EMAIL PROTECTED] wrote:

Hi Mats,
thank you, your solution works, even if now I have a very large distance
between the two staves.
How can I come back to the original distance of the piano staff?
Thanks

Libero Mureddu


\version 2.4.5
md = {c'4 c' c' c'}
ms = {c4 c c c}
 harmonies = \chordmode {
c4:m f:min7 g:maj c:aug
 }
\score {
  \context PianoStaff 
   \context Staff = upper \md
   \context ChordNames {
  \set chordChanges = ##t
  \harmonies
   }

   \context Staff = lower \ms

 \layout {
   \context{
 \PianoStaff
 \accepts ChordNames
   }
 }
}

Compilation exited abnormally with code 1 at Fri Apr  8 13:23:50


-- Original Message --
Date: Fri, 08 Apr 2005 11:00:00 +0200
From: Mats Bengtsson [EMAIL PROTECTED]
To:  [EMAIL PROTECTED]
CC:  lilypond-user@gnu.org
Subject: Re: chords in piano staff


By default, a PianoStaff context cannot contain a ChordNames context,
but
that's easy to modify. Just add (untested)
\layout{
 \context{
   \PianoStaff
   \accepts ChordNames
 }
}

  /Mats

[EMAIL PROTECTED] wrote:



Hi!
I'm trying to have a piano staff with the chords written between the
two
staves.
I've tried many combination but with no result: in a piano staff or a
grand
staff the chords appear below the lower staff. The only way has been
to


create


a staff group, but in this case I lost the brace at the beginning of
the
system. Or maybe is it possible to move the position of the chords?
Any suggestion?
Thanks

Libero Mureddu




___
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






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


chords in piano staff

2005-04-08 Thread libero . mureddu3
Hi!
I'm trying to have a piano staff with the chords written between the two
staves.
I've tried many combination but with no result: in a piano staff or a grand
staff the chords appear below the lower staff. The only way has been to create
a staff group, but in this case I lost the brace at the beginning of the
system. Or maybe is it possible to move the position of the chords?
Any suggestion?
Thanks

Libero Mureddu




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


Re: chords in piano staff

2005-04-08 Thread Mats Bengtsson
By default, a PianoStaff context cannot contain a ChordNames context, but
that's easy to modify. Just add (untested)
\layout{
 \context{
   \PianoStaff
   \accepts ChordNames
 }
}
  /Mats
[EMAIL PROTECTED] wrote:
Hi!
I'm trying to have a piano staff with the chords written between the two
staves.
I've tried many combination but with no result: in a piano staff or a grand
staff the chords appear below the lower staff. The only way has been to create
a staff group, but in this case I lost the brace at the beginning of the
system. Or maybe is it possible to move the position of the chords?
Any suggestion?
Thanks
Libero Mureddu

___
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 in piano staff

2005-04-08 Thread libero . mureddu3
Hi Mats,
thank you, your solution works, even if now I have a very large distance
between the two staves.
How can I come back to the original distance of the piano staff?
Thanks

Libero Mureddu


\version 2.4.5
md = {c'4 c' c' c'}
ms = {c4 c c c}
 harmonies = \chordmode {
c4:m f:min7 g:maj c:aug
 }
\score {
  \context PianoStaff 
   \context Staff = upper \md
   \context ChordNames {
  \set chordChanges = ##t
  \harmonies
   }

   \context Staff = lower \ms

 \layout {
   \context{
 \PianoStaff
 \accepts ChordNames
   }
 }
}

Compilation exited abnormally with code 1 at Fri Apr  8 13:23:50
-- Original Message --
Date: Fri, 08 Apr 2005 11:00:00 +0200
From: Mats Bengtsson [EMAIL PROTECTED]
To:  [EMAIL PROTECTED]
CC:  lilypond-user@gnu.org
Subject: Re: chords in piano staff


By default, a PianoStaff context cannot contain a ChordNames context, but
that's easy to modify. Just add (untested)
\layout{
  \context{
\PianoStaff
\accepts ChordNames
  }
}

   /Mats

[EMAIL PROTECTED] wrote:

Hi!
I'm trying to have a piano staff with the chords written between the two
staves.
I've tried many combination but with no result: in a piano staff or a grand
staff the chords appear below the lower staff. The only way has been to
create
a staff group, but in this case I lost the brace at the beginning of the
system. Or maybe is it possible to move the position of the chords?
Any suggestion?
Thanks

Libero Mureddu




___
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 in piano staff

2005-04-08 Thread Mats Bengtsson
Try something like
\layout {
  \context{
\PianoStaff
\override VerticalAlignment #'forced-distance = #6
\accepts ChordNames
  }
  /Mats
[EMAIL PROTECTED] wrote:
Hi Mats,
thank you, your solution works, even if now I have a very large distance
between the two staves.
How can I come back to the original distance of the piano staff?
Thanks
Libero Mureddu
\version 2.4.5
md = {c'4 c' c' c'}
ms = {c4 c c c}
harmonies = \chordmode {
   c4:m f:min7 g:maj c:aug
}
\score {
 \context PianoStaff 
  \context Staff = upper \md
  \context ChordNames {
 \set chordChanges = ##t
 \harmonies
  }
  \context Staff = lower \ms
   
\layout {
  \context{
\PianoStaff
\accepts ChordNames
  }
}
}
Compilation exited abnormally with code 1 at Fri Apr  8 13:23:50
 

-- Original Message --
Date: Fri, 08 Apr 2005 11:00:00 +0200
From: Mats Bengtsson [EMAIL PROTECTED]
To:  [EMAIL PROTECTED]
CC:  lilypond-user@gnu.org
Subject: Re: chords in piano staff
By default, a PianoStaff context cannot contain a ChordNames context, but
that's easy to modify. Just add (untested)
\layout{
\context{
  \PianoStaff
  \accepts ChordNames
}
}
 /Mats
[EMAIL PROTECTED] wrote:
   

Hi!
I'm trying to have a piano staff with the chords written between the two
staves.
I've tried many combination but with no result: in a piano staff or a grand
staff the chords appear below the lower staff. The only way has been to
 

create
   

a staff group, but in this case I lost the brace at the beginning of the
system. Or maybe is it possible to move the position of the chords?
Any suggestion?
Thanks
Libero Mureddu

___
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
 


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