Re: Help with \lyricsto and polyphony

2004-12-16 Thread Alexandre B
Le Samedi 11 Décembre 2004 03:15, Joshua Kwan a écrit :
 Hello fellow Lilypond users,

 I'm encountering a problem giving lyrics to polyphonic voices.

 The soprano line for a song I'm scoring contains:

  { d4 bf c2 d4 bf c } \\
 { bf4 f f2 bf4 f f } 
 r4
  { f' bf, c f, f' } \\
 { d f, bf d, d' } 

 When I add lyrics, using

 \context Lyrics {
 \lyricsto soprano \new Lyrics \sopranolyrics
 }


First you should name the notes after a

variable = \context Voice = voicename \relative c' {
notes here
}

After that.. the \lyricsto use voicename as a position mapper :)

 The lyrics stop where the polyphony starts. I have been told that this
 is because each polyphonic voice represents a different, anonymous
 voice, and therefore is not processed by \lyricsto at all.

 How can I tell Lilypond that (especially because each voice has the
 exact same rhythm) the polyphonic voices should be treated as one when
 processing lyrics?

Would it make a lot of difference to use the chord notation

d bf4 bf f2 d bf4 bf f c f 

with whatever ', octaviation required, (note that the octaviation considers 
only the first note of each chord), instead of:

 { d4 bf c2 d4 bf c } \\
{ bf4 f f2 bf4 f f } 

 Otherwise, what is the best way to name each subvoice? It doesn't make
 intuitive sense to have to name each one.

Try giving it a \context Voice = name first.. then send your comments and 
results .. so that it helps others looking for similar solutions.

 The full .ly file is here:
 http://triplehelix.org/~joshk/servants-chorus.ly

 Thanks,

You're welcome :)


Alexandre Bourget


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help with \lyricsto and polyphony

2004-12-12 Thread Alexandre B
Le Samedi 11 Décembre 2004 03:15, Joshua Kwan a écrit :
 Hello fellow Lilypond users,

 I'm encountering a problem giving lyrics to polyphonic voices.

 The soprano line for a song I'm scoring contains:

  { d4 bf c2 d4 bf c } \\
 { bf4 f f2 bf4 f f } 
 r4
  { f' bf, c f, f' } \\
 { d f, bf d, d' } 

 When I add lyrics, using

 \context Lyrics {
 \lyricsto soprano \new Lyrics \sopranolyrics
 }


First you should name the notes after a

variable = \context Voice = voicename \relative c' {
notes here
}

After that.. the \lyricsto use voicename as a position mapper :)

 The lyrics stop where the polyphony starts. I have been told that this
 is because each polyphonic voice represents a different, anonymous
 voice, and therefore is not processed by \lyricsto at all.

 How can I tell Lilypond that (especially because each voice has the
 exact same rhythm) the polyphonic voices should be treated as one when
 processing lyrics?

Would it make a lot of difference to use the chord notation

d bf4 bf f2 d bf4 bf f c f 

with whatever ', octaviation required, (note that the octaviation considers 
only the first note of each chord), instead of:

 { d4 bf c2 d4 bf c } \\
{ bf4 f f2 bf4 f f } 

 Otherwise, what is the best way to name each subvoice? It doesn't make
 intuitive sense to have to name each one.

Try giving it a \context Voice = name first.. then send your comments and 
results .. so that it helps others looking for similar solutions.

 The full .ly file is here:
 http://triplehelix.org/~joshk/servants-chorus.ly

 Thanks,

You're welcome :)


Alexandre Bourget


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Two staves SATB score and centered Lyrics

2004-01-05 Thread Alexandre B
Hi you LilyPond folks..


I'm trying to write lyrics for some Christmas songs.. but I'm sure there is a 
smarter way to do it than the way I did.

I have four music blocks (\soprano, \alto, \tenor and \basse) and I have four 
lyric blocks (\texteUn, \texteDeux, \texteTrois and \texteQuatre) .. 

Now the four text blocks are there just because I have 4 verses and I want 
them in the middle of the two staves. Also.. I want them all to be attached 
to the soprano, because the soprano determines the melody of the song.

NOw look at that ugly snippet in \score:

\context ChoirStaff \notes 
\context Staff = staffUp {

\addlyrics
\addlyrics
\addlyrics
\addlyrics
\soprano
\context Lyrics = lyricQuatre \texteQuatre
\context Lyrics = lyricTrois \texteTrois
\context Lyrics = lyricDeux \texteDeux
\context Lyrics = lyricUn \texteUn
\\
\alto 
}
\context Lyrics = lyricUn { }
\context Lyrics = lyricDeux { }
\context Lyrics = lyricTrois { }
\context Lyrics = lyricQuatre { }
\context Staff = staffDown {  \tenor \\ \basse  }
   



That's the only way I could align all the four text blocks with the soprano 
while putting the lyrics in the middle of the two staves. There *must* be an 
alternative, isn't there ?! :)

thanks for your help

Alexandre Bourget


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


\forgetAccidentals and his friends, have no effect

2003-11-23 Thread Alexandre B
I'm using lily v2.1.0 as compiled for mdk: lilypond-2.1.0-2thac...rpm

I'm having a problem with \forgetAccidentals (or any of those 
\modernAccidentals, \pianoAccidentals, \piano and \modernCautionaries , etc..

They don't seem to affect anything.
Note that I tried with and without the:
\property Score.timing = ##f
line. So, that omitted.. this score is really nothing weird!

I'm posting an excerpt of the file for reference. I'm new to this list.. so if 
sending large scores through it isn't something the users want.. please tell 
me in a reply :)

thanks!

Alexandre Bourget



the file:


mainDroite = \notes \relative c''' {
\forgetAccidentals
\clef treble
\key c \major


% début
r4 bes r e,, r
#(set-octavation 1)
b''' r r d
#(set-octavation 0)
b,,
% accords mg début.
r a b c, f
\bar  \break
\clef bass e, g bes \clef treble ees''' r
% ensemble deux derniers avant les accords qui montent
f, aes,

% accords
 bes, c des ees aes 
 bes des ees ges bes 
 bes ees ges aes c 
 bes ees ges bes des 
 c ges' aes bes des 
 des ees'  \bar  \breakdes ees' 
 ees bes' des f   ees f' 
 f bes des ges   f ges' 
 ges des' ees aes   ges aes' 
% ici avec la tête
% on alterne avec la tête et un accord.
 aes bes' r
 aes bes' r
 bes c'   r
 bes c'   r
% grande final
des' c,, des!
% e, aes c 
% puis on quitte.
}

mainGauche = \notes \relative c {
\forgetAccidentals
\clef bass
\key c \major

% début
aes4 r d r c' r gis,, a' c' f,,
% accords mg début
g e' g r f e' f e e' f
fis gis ais fis' e r cis
% ensemble deux derniers avant les accords qui montent
ees' c'

% accords
aes,, aes' aes aes'
aes aes' aes aes'
aes aes' aes aes'
des, des' des des'
des des' des des'
des des' des des'
ges ges' r
% clusters, avec la tête là.
\apply #notes-to-clusters { c c' }
%cluster
r
\apply #notes-to-clusters { c c' }
%cluster
r
\apply #notes-to-clusters { c c' }
%cluster
r
\apply #notes-to-clusters { c c' }
%cluster
r2
% on quitte
}

\score {
\context PianoStaff 
\property Score.timing = ##f
\mainDroite \\
\mainGauche

\paper {
\translator {
\ScoreContext SpacingSpanner \override #'shortest-duration-space = 
#2.0
}

papersize = letter
}
}


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user