Re: How to use \parallelMusic with \lyricmode ?

2015-03-02 Thread Klaus Blum
Matej Kosik wrote
 doesn't that mean that:
 
   Cee syllable has length 2
   Eee syllable has length 4
   Gee syllable has length 4
 ?

Hmmm... not really.
At the moment when \parallelMusic sorts the whole expression into three
variables, the syllables have no length. Thus, your variable \text
contains a sequence of syllables without length information. 
The \lyricsto command takes those syllables and puts them under the notes
in \melody - one by one. So the notes have the length information, the
syllables don't need them.

You can simply ignore the warnings, because this method works well. However,
the bar check does not work on syllables without length - you can not
guarantee that syllables will be used in the bar where you defined them. For
example,

% --
\parallelMusic #'(harmonies melody text)
{
  c1 |
  c2 e4 g |
  \lyricmode { Cee Eee Gee too many} |
  
  c1 |
  c2 e4 g |
  \lyricmode { Cee Eee Gee } |
}
% --

will produce six notes, therefore the first six syllables will be used.

I guess it will be easier to define the whole lyrics in one \lyricmode
statement.


Hope this helps, 
Klaus





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/How-to-use-parallelMusic-with-lyricmode-tp172507p172515.html
Sent from the User mailing list archive at Nabble.com.

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


Re: How to use \parallelMusic with \lyricmode ?

2015-03-02 Thread Klaus Blum
Hi Matej, 

the message occurs because the syllables don't have a length like the notes
in the two upper voices. 
Using 
\lyricmode { Cee2 Eee4 Gee4 } |
will supress the message, even if it's not necessary because of the
\lyricsto assignment. 

I'm afraid there is no way to get rid of the \lyricmode, because
parallelMusic needs a MUSIC expression and therefore cannot accept simple
strings.


Cheers, 
Klaus





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/How-to-use-parallelMusic-with-lyricmode-tp172507p172509.html
Sent from the User mailing list archive at Nabble.com.

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


Re: How to use \parallelMusic with \lyricmode ?

2015-03-02 Thread Matej Kosik
On 02/03/15 18:23, Klaus Blum wrote:
 Hi Matej, 
 
 the message occurs because the syllables don't have a length like the notes
 in the two upper voices. 

How so?

If this is the lyrics:

Cee Eee Gee

and if these are the notes of the voice to which lyrics is linked
(via \lyricsto):

c2 e4 g

doesn't that mean that:

Cee syllable has length 2
Eee syllable has length 4
Gee syllable has length 4

?

The output is rendered correctly so in lilypond seems to computes something 
that makes sense.
Why does it then print that warning?
What lengths of syllables did it compute and why?

 Using 
 \lyricmode { Cee2 Eee4 Gee4 } |
 will supress the message, even if it's not necessary because of the
 \lyricsto assignment. 
 
 I'm afraid there is no way to get rid of the \lyricmode, because
 parallelMusic needs a MUSIC expression and therefore cannot accept simple
 strings.
 
 
 Cheers, 
 Klaus
 
 
 
 
 
 --
 View this message in context: 
 http://lilypond.1069038.n5.nabble.com/How-to-use-parallelMusic-with-lyricmode-tp172507p172509.html
 Sent from the User mailing list archive at Nabble.com.
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user
 



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