Re: A lyrics problem

2022-11-22 Thread Jacques Menu
Hello Valentin,

Thanks, that’s a great idea!

JM

> Le 22 nov. 2022 à 00:35, Valentin Petzel  a écrit :
> 
> Hi Jacques,
> there is also the option of doing something like this:
> 
> { c2 2 << R1*3 { s8 \grace { \once\omit NoteHead c1 } s4. s2 s1 s2 s4. \grace 
> { \once\omit NoteHead c1 } } >> c1 }
> \addlyrics { \set includeGraceNotes = ##t Kum -- ba -- "" "" -- ya }
> 
> I suppse a proper implementation would have somthing like \laissezVibrer and 
> \repeatTie just for Lyric-Hyphens.
> 
> Cheers,
> Valentin
> 
> Am Montag, 21. November 2022, 23:46:50 CET schrieb Jacques Menu:
>> With:
>> 
>>% (12)
>>Oh |
>>Lo -- rd Kum --
>>\once  \override LyricText.X-offset = #-0.5
>>"ba  -" -- |
>> 
>> I get this, which is not bad :
> 




Re: A lyrics problem

2022-11-21 Thread Valentin Petzel
Hi Jacques,
there is also the option of doing something like this:

{ c2 2 << R1*3 { s8 \grace { \once\omit NoteHead c1 } s4. s2 s1 s2 s4. \grace 
{ \once\omit NoteHead c1 } } >> c1 }
\addlyrics { \set includeGraceNotes = ##t Kum -- ba -- "" "" -- ya }

I suppse a proper implementation would have somthing like \laissezVibrer and 
\repeatTie just for Lyric-Hyphens.

Cheers,
Valentin

Am Montag, 21. November 2022, 23:46:50 CET schrieb Jacques Menu:
> With:
> 
> % (12)
> Oh |
> Lo -- rd Kum --
> \once  \override LyricText.X-offset = #-0.5
> "ba  -" -- |
> 
> I get this, which is not bad :



signature.asc
Description: This is a digitally signed message part.


Re: A lyrics problem

2022-11-21 Thread Jacques Menu
With:

% (12)
Oh |
Lo -- rd Kum --
\once  \override LyricText.X-offset = #-0.5
"ba  -" -- |

I get this, which is not bad :




> Le 21 nov. 2022 à 23:27, Jacques Menu  a écrit :
> 
> Hello folks,
> 
> I have a word across a measure and a coda placed farther ahead in the score, 
> as shown below.
> 
> Is there a way to hide the hyphens between "Kumba" and the measure starting 
> the coda?
> 
> This can be tested on the snippet at the end of this message.
> 
> Thanks if you can help!
> 
> JM
> 
> 
> 
> 
> 
> … … …
> 
> 
> 
> 
> 
> 
> 
> \version "2.23.80"
> 
> #(set-global-staff-size 32)
> 
> \score {
>  <<
> 
>\new Staff
><<
>  \new Voice = "voixA"  {
>\clef "treble"
>\partial 2
>a2 |
>b16 c8. r4 r2 |
>f8 g4. a2 ~ |
>a2 r2
>  }
> 
>  \new Lyrics \lyricsto "voixA"
>  {
>Oh   |
>Lor -- d  -- | %%% <-- Here
>Kum -- ba -- ya __
>  }
> 
> 
>>> 
>>> 
> }
> 
> 
> 



A lyrics problem

2022-11-21 Thread Jacques Menu
Hello folks,

I have a word across a measure and a coda placed farther ahead in the score, as 
shown below.

Is there a way to hide the hyphens between "Kumba" and the measure starting the 
coda?

This can be tested on the snippet at the end of this message.

Thanks if you can help!

JM





… … …







\version "2.23.80"

#(set-global-staff-size 32)

\score {
  <<

\new Staff
<<
  \new Voice = "voixA"  {
\clef "treble"
\partial 2
a2 |
b16 c8. r4 r2 |
f8 g4. a2 ~ |
a2 r2
  }

  \new Lyrics \lyricsto "voixA"
  {
Oh   |
Lor -- d  -- | %%% <-- Here
Kum -- ba -- ya __
  }


>>
  >>
}




Re: Another lyrics problem

2017-01-16 Thread David Sumbler
On Mon, 2017-01-16 at 08:00 -0500, Kieren MacMillan wrote:
> Hi David,
> 
> > 
> > Can somebody show me a working version of the above?  And/or a way
> > of piecing together lyrics using variables?
> Something like this?
> 
> \version "2.19.48"
> 
> lyricsA = \lyricmode { First set of words; }
> lyricsB = \lyricmode { se -- cond set of words. }
> 
> <<
>   \new Staff {
> \relative {
>   c'2 d4 e | f1 |
>   g4 f e d| c1 |
> }
> \addlyrics { \lyricsA \lyricsB }
>   }
>   \new Staff {
> R1*4 |
>   }
> > 
> > > 
> > > 
> Hope that helps!
> Kieren.

Thanks, that's brilliant - just what I was looking for.

David


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


Re: Another lyrics problem

2017-01-16 Thread Kieren MacMillan
Hi David,

> Can somebody show me a working version of the above?  And/or a way of piecing 
> together lyrics using variables?

Something like this?

\version "2.19.48"

lyricsA = \lyricmode { First set of words; }
lyricsB = \lyricmode { se -- cond set of words. }

<<
  \new Staff {
\relative {
  c'2 d4 e | f1 |
  g4 f e d| c1 |
}
\addlyrics { \lyricsA \lyricsB }
  }
  \new Staff {
R1*4 |
  }
>>

Hope that helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Another lyrics problem

2017-01-16 Thread David Sumbler
%%%
\version "2.19.48"

<<
  \new Staff {
\relative {
  c'2 d4 e | f1 |
}
\addlyrics { First set of words; }
\relative {
  g'4 f e d| c1 |
}
\addlyrics { se -- cond set of words. }
  }
  \new Staff {
R1*4 |
  }
>>

%%%

The above works as I would like it to, except that the second set of
lyrics appears below the lower stave even though they are correctly
lined up with the notes in the first stave.  Further sections of music
with lyrics appear lower still on the page.

I have tried many different ways of getting what I want (some involving
"\new Lyrics" and "lyricsto"), but I can't get the result I want.

The reason for wanting to split the music and the lyrics in this way is
because the piece I am setting falls naturally into a number of
sections; but they are not separate movements, so I want the music and
the staves to be continuous.  I like to split things up so that I can
use variables and includes to compile only the section(s) I am working
on - this speeds the process up when I am checking the validity of my
input.

The actual music isn't a problem: I can control this using variables:
e.g.
flute = { }
flute = { \flute \fluteSectionOne }
flute = { \flute \fluteSectionTwo }
flute = { \flute \fluteSectionThree
}
etc.

and commenting out as desired.  But I can't get this to work with the lyrics, 
so I am having to include the lyrics with the music of each section.

Can somebody show me a working version of the above?  And/or a way of piecing 
together lyrics using variables?

David

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


Re: Lyrics problem

2017-01-15 Thread Craig Dabelstein
Thanks guys. All fixed. I appreciate it.

Craig


On 16 January 2017 at 08:04, Malte Meyn  wrote:

>
>
> Am 15.01.2017 um 21:58 schrieb Craig Dabelstein:
> > Has anyone encountered this before? In bars 1 and 19 of this MWE the
> > lyrics have been put a long way from the staff. In this example it only
> > occures when \compressFullBarRests is used, but in my full score it is
> > occurring with other instruments (who are required to sing) as well.
>
> Your MWE isn’t really a MWE but a WE ;) I think your usage of \addlyrics
> always creates a new Lyrics context and the different contexts are put
> at different heights to avoid collision. Why don’t you just use a single
> Lyrics context which contains the complete text? \addlyrics skips the
> rests automatically so you don’t have to count them.
>
> ___
> 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


Re: Lyrics problem

2017-01-15 Thread Malte Meyn


Am 15.01.2017 um 21:58 schrieb Craig Dabelstein:
> Has anyone encountered this before? In bars 1 and 19 of this MWE the
> lyrics have been put a long way from the staff. In this example it only
> occures when \compressFullBarRests is used, but in my full score it is
> occurring with other instruments (who are required to sing) as well.

Your MWE isn’t really a MWE but a WE ;) I think your usage of \addlyrics
always creates a new Lyrics context and the different contexts are put
at different heights to avoid collision. Why don’t you just use a single
Lyrics context which contains the complete text? \addlyrics skips the
rests automatically so you don’t have to count them.

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


Re: Lyrics problem

2017-01-15 Thread Klaus Blum
Hi Craig, 

Craig Dabelstein wrote
> In bars 1 and 19 of this MWE the lyrics
> have been put a long way from the staff. In this example it only occures
> when \compressFullBarRests is used

that happens because each \addlyrics command starts a new lyrics context. If
they belong to the same staff line, they are located on different heights,
just like different stanzas. 
I don't know how to prevent that. But you could a single context that
contains all the lyrics.

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Lyrics-problem-tp199246p199249.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


Lyrics problem

2017-01-15 Thread Craig Dabelstein
Hi Lilyponders,

Has anyone encountered this before? In bars 1 and 19 of this MWE the lyrics
have been put a long way from the staff. In this example it only occures
when \compressFullBarRests is used, but in my full score it is occurring
with other instruments (who are required to sing) as well.

Any help would be greatly appreciated.

Craig


%

\version "2.19.36"

\language "english"

global = {
  \markLengthOn
  \textLengthOn

  \key af \major
  \time 4/4
  s1*3
  \bar "||"
  \time 6/4
  s1.*4
  \bar "||"
  \time 4/4
  s1*2
  \bar "||"
  \time 6/4
  s1.*8
  \bar "||"
  \time 4/4
  s1*2
  \bar "||"
  \time 6/4
  \key ef \major
  s1.*11
  s1.
  \bar "||"
  \time 4/4
  s1*10
  \bar "||"
  \time 6/4
  s1.*2
  \bar "||"
  \key f \major
  s1.*15
  s1.*9
  \bar "||"
  \time 4/4
  s1*4
  \bar "|."
}

audienceNotes = \relative f' {
  \clef "treble"
  R1*2 |

  % 3
  <<
{
  f4. ^\p f8 f4 r4 |
}
\addlyrics {
  \set alignBelowContext = #"Audience"
  Do -- mi -- ne
}
  >>

  % 4
  R1.*4 |

  % 8
  R1 |

  % 9
  <<
{
  f4. ^\p f8 f4 r4 |
}
\addlyrics {
  \set alignBelowContext = #"Audience"
  Do -- mi -- ne
}
  >>

  \barNumberCheck #10
  R1.*8 |

  % 18
  R1 |

  % 19
  <<
{
  c4. ^\p c8 c4 r4 |
}
\addlyrics {
  \set alignBelowContext = #"Audience"
  Do -- mi -- ne
}
  >>

  \barNumberCheck #20
  R1.*12 |

  % 32
  R1*7 |

  % 39
  <<
{
  c4. ^\f c8 c4 r4 |
}
\addlyrics {
  \set alignBelowContext = #"Audience"
  Li -- bra me
}
  >>

  \barNumberCheck #40
  R1*2 |

  % 42
  R1.*2 |

  % 44
  R1.*24

  % 68
  R1 |

  % 69
  <<
{
  f4. ^\p f8 f2 ~ |

  \barNumberCheck #70
  f1 ~ |

  % 71
  f1 \fermata
}
\addlyrics {
  \set alignBelowContext = #"Audience"
  Li -- bra me __
}
  >>
}

\score {
  \new Staff = "Audience" {
\set Staff.instrumentName = #"Audience"
\set Staff.shortInstrumentName = #"Aud."
\compressFullBarRests
<<
  \global
  \audienceNotes
>>
  }
}

\layout {

}

*Craig Dabelstein*
e:craig.dabelst...@gmail.com


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


Re: Lyrics problem

2016-10-02 Thread Jacques Bedaux
Thank you, Harm and David
> On 02 Oct 2016, at 21:27, Thomas Morley  wrote:
> 
> 2016-10-02 20:06 GMT+02:00 Jacques Bedaux :
>> Hi all
>> 
>> I have a problem with lyrics in a voice that splits in two parts for only
>> one or two measures, so you don't want to make two different voices.
>> Lilypond gets confused and skips a part of the music.
> 
> Nope. LilyPond doesn't get confused.
> More likely you forgot using the  << ... \\ ... >>-construct means the
> upper voice is called "1", the lower "2".
> So \lyricsto "one" can't work, there is no Voice "called "one" at this moment.
> 
> See:
> http://lilypond.org/doc/v2.18/Documentation/notation/multiple-voices#single_002dstaff-polyphony
> scroll down to "The double backslash construct"
> 
>> 
>> Who could solve this problem for me?
> 
> http://lilypond.org/doc/v2.18/Documentation/notation/techniques-specific-to-lyrics#divisi-lyrics
> The second example
> 
> Or
> http://lilypond.org/doc/v2.18/Documentation/notation/multiple-voices#single_002dstaff-polyphony
> Scroll down to "Temporary polyphonic passages"
> 
> Cheers,
>  Harm


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


Re: Lyrics problem

2016-10-02 Thread Thomas Morley
2016-10-02 20:06 GMT+02:00 Jacques Bedaux :
> Hi all
>
> I have a problem with lyrics in a voice that splits in two parts for only
> one or two measures, so you don't want to make two different voices.
> Lilypond gets confused and skips a part of the music.

Nope. LilyPond doesn't get confused.
More likely you forgot using the  << ... \\ ... >>-construct means the
upper voice is called "1", the lower "2".
So \lyricsto "one" can't work, there is no Voice "called "one" at this moment.

See:
http://lilypond.org/doc/v2.18/Documentation/notation/multiple-voices#single_002dstaff-polyphony
scroll down to "The double backslash construct"

>
> Who could solve this problem for me?

http://lilypond.org/doc/v2.18/Documentation/notation/techniques-specific-to-lyrics#divisi-lyrics
The second example

Or
http://lilypond.org/doc/v2.18/Documentation/notation/multiple-voices#single_002dstaff-polyphony
Scroll down to "Temporary polyphonic passages"

Cheers,
  Harm

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


Re: Lyrics problem

2016-10-02 Thread David Kastrup
Jacques Bedaux  writes:

> Hi all
>
> I have a problem with lyrics in a voice that splits in two parts for
> only one or two measures, so you don't want to make two different
> voices. Lilypond gets confused and skips a part of the music.
>
> Who could solve this problem for me?
>
> Thanks in advance,
>
> Jacques
>
> My minimum example is:
>
> \version "2.18.2"
>
> text = \lyricmode { This is nice This is nice }
>
> musicOne = \relative c' {
>   e4 f g2 e4 <<{f8( a)  c2}\\{f,4 g2}>>
>   }
> musicTwo = \relative c' {
>   c4 d e2 c4 d e2
> }
>
> \score{
>   \new StaffGroup <<
> \new Staff <<
>   \new Voice ="one" { \musicOne }
> >>
> \new Lyrics \lyricsto "one" { \text }
> \new Staff <<
>   \new Voice ="two" { \musicTwo }
> >>
> \new Lyrics \lyricsto "two" { \text }
>   >>
> }

You can get this to work by just replacing every occurence of "one" with
"1" (including quote marks).  The reason is that << ... \\ ... >> uses
the voices "1" and "2", and in that manner, your \lyricto "1" will still
have one reference to cling while the voices are split.

I am not sure that the \voiceOne settings will be both heeded as well as
reverted by this construct: too lazy to try.

-- 
David Kastrup

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


Lyrics problem

2016-10-02 Thread Jacques Bedaux

Hi all

I have a problem with lyrics in a voice that splits in two parts for 
only one or two measures, so you don't want to make two different 
voices. Lilypond gets confused and skips a part of the music.


Who could solve this problem for me?

Thanks in advance,

Jacques

My minimum example is:

\version "2.18.2"

text = \lyricmode { This is nice This is nice }

musicOne = \relative c' {
  
  e4 f g2 e4 <<{f8( a)  c2}\\{f,4 g2}>>
  
}

musicTwo = \relative c' {
  
  c4 d e2 c4 d e2

}

\score{
  \new StaffGroup <<
\new Staff <<
  \new Voice ="one" { \musicOne }
>>
\new Lyrics \lyricsto "one" { \text }
\new Staff <<
  \new Voice ="two" { \musicTwo }
>>
\new Lyrics \lyricsto "two" { \text }
  >>
}


---
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
https://www.avast.com/antivirus


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


Re: Lyrics Problem

2007-02-02 Thread Mats Bengtsson

See http://lists.gnu.org/archive/html/lilypond-user/2007-02/msg6.html

  /Mats

[EMAIL PROTECTED] wrote:

Hello!
First of all thanks for your help. I already looked at that section of 
the manual, but somehow I didn't got it to work. With your help it now 
compiles without errors and warnings, but there is one thing I want to 
change:
Now the lyrics are beneath the staffs, but I want them to be above 
(because they belong to the first trumpet). If I try something like:


\new PianoStaff 
\new Lyrics \lyricsto trumpetI \text
\new Staff {
\clef treble \key f \major
 \new Voice = trumpetI { \voiceOne \trumpetone } \\ 
\trumpettwo 

}
\new Staff {
\clef bass \key f \major
 \tromboneone \\ \trombonetwo 
}


I get the error that Voice trumpetI is not known. That's because the 
voice is declared after \new Lyrics ... - Any idea how to solve this?


Greets
Robert


-Original Message-
Date: Thu, 01 Feb 2007 13:44:44 +0100
Subject: Re: Lyrics Problem
From: Mats Bengtsson [EMAIL PROTECTED]
To: 9-bert [EMAIL PROTECTED]

Basically, what you have to do is to provide a name to the corresponding
voice of music and then refer to that with \lyricsto, see the sections on
lyrics in the manual. In your example, it would look something like

mylyrics = \lyricmode{ Hi, here's some ly -- rics }

\score{

 \new PianoStaff 
   \new Staff {
  \clef treble \key f \major
   \new Voice = trumpetI {\voiceOne \trumpetone} \\ \trumpettwo 
   }
\new Staff {
  \clef bass \key f \major
   \tromboneone \\ \trombonetwo 
   }
 
 \new Lyrics \lyricsto trumpetI \myLyrics

}

  /Mats 



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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Lyrics Problem

2007-02-01 Thread Mats Bengtsson

Basically, what you have to do is to provide a name to the corresponding
voice of music and then refer to that with \lyricsto, see the sections on
lyrics in the manual. In your example, it would look something like

mylyrics = \lyricmode{ Hi, here's some ly -- rics }

\score{

 \new PianoStaff 
   \new Staff {
  \clef treble \key f \major
   \new Voice = trumpetI {\voiceOne \trumpetone} \\ \trumpettwo 
   }
\new Staff {
  \clef bass \key f \major
   \tromboneone \\ \trombonetwo 
   }
 
 \new Lyrics \lyricsto trumpetI \myLyrics

}

  /Mats  




9-bert wrote:

Hello!

I got a problem adding lyrics to a piece for four brass instruments.
Although I already searched the net and some forums I didn't get any
furhter, but I hope you can help me.

That's what I've got:
...
\new PianoStaff 
\new Staff {
\clef treble \key f \major
 \trumpetone \\ \trumpettwo 
}
\new Staff {
\clef bass \key f \major
 \tromboneone \\ \trombonetwo 
	} 
  


So far that's ok, the notes are printed exactly as I want them to be. Now I
want to add lyrics above the staffs. The lyrics belong to the first trumpet
(/trumpetone). I tried something with /addlyrics but that does not work in
polyphony and /lyricsto but I only got errors or weired output.
I hope you can give me a hint how to handle this. 


Thank you!
Robert
  


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Lyrics Problem

2007-02-01 Thread [EMAIL PROTECTED]
Hello!First of all thanks for your help. I already looked
at that section of the manual, but somehow I didn't got it to work. With
your help it now compiles without errors and warnings, but there is one
thing I want to change:Now the lyrics are beneath the staffs, but
I want them to be above (because they belong to the first trumpet). If I
try something like:\new PianoStaff     \new
Lyrics \lyricsto trumpetI \text    \new Staff {        \clef
treble \key f \major         \new Voice = trumpetI {
\voiceOne \trumpetone } \\ \trumpettwo     }    \new
Staff {        \clef bass \key f \major        
\tromboneone \\ \trombonetwo     } I get the error that Voice trumpetI is not known. That's because the
voice is declared after \new Lyrics ... - Any idea how to solve this?GreetsRobert
-Original Message-
Date: Thu, 01 Feb 2007 13:44:44 +0100
Subject: Re: Lyrics Problem
From: Mats Bengtsson [EMAIL PROTECTED]
To: 9-bert [EMAIL PROTECTED]

Basically, what you have to do is to provide a name to the
corresponding
voice of music and then refer to that with \lyricsto, see the sections
on
lyrics in the manual. In your example, it would look something like

mylyrics = \lyricmode{ Hi, here's some ly -- rics }

\score{

  \new PianoStaff 
    \new Staff {
       \clef treble \key f \major
        \new Voice = trumpetI {\voiceOne \trumpetone} \\
\trumpettwo 
    }
     \new Staff {
       \clef bass \key f \major
        \tromboneone \\ \trombonetwo 
    }
  
  \new Lyrics \lyricsto trumpetI \myLyrics
 
}

   /Mats  





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


Lyrics Problem

2007-01-30 Thread 9-bert

Hello!

I got a problem adding lyrics to a piece for four brass instruments.
Although I already searched the net and some forums I didn't get any
furhter, but I hope you can help me.

That's what I've got:
...
\new PianoStaff 
\new Staff {
\clef treble \key f \major
 \trumpetone \\ \trumpettwo 
}
\new Staff {
\clef bass \key f \major
 \tromboneone \\ \trombonetwo 
} 


So far that's ok, the notes are printed exactly as I want them to be. Now I
want to add lyrics above the staffs. The lyrics belong to the first trumpet
(/trumpetone). I tried something with /addlyrics but that does not work in
polyphony and /lyricsto but I only got errors or weired output.
I hope you can give me a hint how to handle this. 

Thank you!
Robert
-- 
View this message in context: 
http://www.nabble.com/Lyrics-Problem-tf3138925.html#a8699831
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Lyrics Problem

2007-01-30 Thread Eduardo Vieira
Citando 9-bert [EMAIL PROTECTED]:


 Hello!

 I got a problem adding lyrics to a piece for four brass instruments.
 Although I already searched the net and some forums I didn't get any
 furhter, but I hope you can help me.

 That's what I've got:
 ...
 \new PianoStaff 
   \new Staff {
   \clef treble \key f \major
\trumpetone \\ \trumpettwo 
   }
   \new Staff {
   \clef bass \key f \major
\tromboneone \\ \trombonetwo 
   }
 

 So far that's ok, the notes are printed exactly as I want them to be. Now I
 want to add lyrics above the staffs. The lyrics belong to the first trumpet
 (/trumpetone). I tried something with /addlyrics but that does not work in
 polyphony and /lyricsto but I only got errors or weired output.
 I hope you can give me a hint how to handle this.


Possibly the variable \trupetone contains constructs like this:  \\ 
If you substitute those with  \new Voice {\voiceOne  } \new Voice {\voiceTwo }
 it may solve your problem.
Remember that lyricsto needs to find a voice for the lyrics, as well.
___
Nas suas férias, de um telefone fixo ou do celular, faz um 21. A Embratel tem
tarifas muito baratas para você ligar para quem você gosta, contar como estão
as férias e economizar. Faz um 21 e aproveite.



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


Re: Lyrics problem ... Bug? Feature? ???

2006-06-13 Thread Graham Percival


On 12-Jun-06, at 6:04 AM, Mats Bengtsson wrote:


Anthony Youngman wrote:


And I'll download and read the 2.9 docu at some point. Although I get
the impression it might not be a good idea to upgrade for a while ...

Actually, the manuals for 2.8 and 2.9 are (almost) identical for the 
moment.


At this moment, I would consider the 2.9 docs significantly better than 
the 2.8 docs.  Off the top of my head, I think that I've completely 
reorganized and added new stuff to scheme, changing defaults, and 
spacing.  Some of the material in chapters 3-5 might be new in the 2.9 
docs as well.


In addition, there are no 2.9-only features in the 2.9 docs yet.  
Everything in the 2.9 docs should work in 2.8, and many things are 
explained much better.  New features will probably be added to the 
documentation soon; I'm not going to bother with the separate chapter 
idea for the next release


Cheers,
- Graham



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


chordnames vs lyrics problem

2006-06-13 Thread Simon Dahlbacka
I'm trying to typeset a SATB piece, with chords for pianoThe problem: the sopranos partially have their own lyrics (three verses, so it takes a lot of room)
If I put the ChordNames above the lyrics, the placement of the chords looks rather stupid where the sopranos sing the same as the rest,
I tried putting the cords under the lyrics and tweak the cordnames up above the lyrics where necessary, but this also moves the lyrics upI tried putting the ChordNames under the lyrics, and moving up, but this was not successful.
* I tried doing the moving with \once \override ChordNames.ChordName #'Y-offset = #6and%\once \override ChordNames.ChordName #'Y-offset = #-6respectivelyAttached2, and chords above with tweak, and chords below with tweak
What I would like: I want the chordnames under where there are no special soprano lyrics, but over the special soprano lyrics. How can I accomplish such a thing?regards,

SimonPS. lily 2.8.4 on winxp




lily-moving-down2.png
Description: PNG image


lily-moving-up2.png
Description: PNG image
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: chordnames vs lyrics problem

2006-06-13 Thread Mats Bengtsson

Problematic!

My best proposal is to typeset the ChordNames below the
lyrics. When there is lyrics, you move the ChordNames up
and the lyrics down (I would have used the extra-offset
property, but it seems that you have found another option).

  /Mats

Simon Dahlbacka wrote:



I'm trying to typeset a SATB piece, with chords for piano

The problem:

the sopranos partially have their own lyrics (three verses, so it 
takes a lot of room)


If I put the ChordNames above the lyrics, the placement of the chords 
looks rather stupid where the sopranos sing the same as the rest,
I tried putting the cords under the lyrics and tweak the cordnames up 
above the lyrics where necessary, but this also moves the lyrics up


I tried putting the ChordNames under the lyrics, and moving up, but 
this was not successful.


* I tried doing the moving with
\once \override ChordNames.ChordName #'Y-offset = #6
and
%\once \override ChordNames.ChordName #'Y-offset = #-6

respectively

Attached2, and chords above with tweak, and chords below with tweak


What I would like: I want the chordnames  under where there are no 
special soprano lyrics, but over the special soprano lyrics. How can 
I accomplish such a thing?


regards,

Simon

PS. lily 2.8.4 on winxp











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




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: chordnames vs lyrics problem

2006-06-13 Thread Simon Dahlbacka
My best proposal is to typeset the ChordNames below thelyrics. When there is lyrics, you move the ChordNames up
and the lyrics down (I would have used the extra-offsetproperty, but it seems that you have found another option).I found another option, yes, but it did not work (Y-offset that is)But thanks for steering me in the right direction,
it seems changing Y-offset also affects surrounding grobs, while extra-offset just moves the one affected.(Looking again in the reference, the extra-offset seems obvious now: This
offset is added just before outputting the symbol, so the typesetting
engine is completely oblivious to it. but that Y-offset affects surrounding grobs is not obvious from the reference (for me at least) The vertical amount that this object is moved
relative to its Y-parent)I now solved it by typesetting the ChordNames below the lyrics, andtweak the chord with\once \override ChordName #'extra-offset = #'(0 . 10)and tweaking each of the lyric verses with
\override LyricText #'extra-offset = #'(0 . -4)and after that I get the output I want (see attachment) I mention this in the event it benefits another user..regards,Simon
Simon Dahlbacka wrote: I'm trying to typeset a SATB piece, with chords for piano
 The problem: the sopranos partially have their own lyrics (three verses, so it takes a lot of room) If I put the ChordNames above the lyrics, the placement of the chords
 looks rather stupid where the sopranos sing the same as the rest, I tried putting the cords under the lyrics and tweak the cordnames up above the lyrics where necessary, but this also moves the lyrics up
 I tried putting the ChordNames under the lyrics, and moving up, but this was not successful. * I tried doing the moving with \once \override ChordNames.ChordName #'Y-offset = #6
 and %\once \override ChordNames.ChordName #'Y-offset = #-6 respectively Attached2, and chords above with tweak, and chords below with tweak What I would like: I want the chordnamesunder where there are no
 special soprano lyrics, but over the special soprano lyrics. How can I accomplish such a thing? regards, Simon PS. lily 2.8.4 on winxp
  
___lilypond-user mailing listlilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user--=Mats BengtssonSignal ProcessingSignals, Sensors and Systems
Royal Institute of TechnologySE-100 44STOCKHOLMSwedenPhone: (+46) 8 790 8463Fax: (+46) 8 790 7260Email: 
[EMAIL PROTECTED]WWW: http://www.s3.kth.se/~mabe=


wanted-output.png
Description: PNG image
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Lyrics problem ... Bug? Feature? ???

2006-06-12 Thread Anthony Youngman
I've changed my approach - I felt all along that the rests were what was
screwing things up. (Which means, I think, that if I copy your example
exactly as you've given it, it'll be just as big a mess as before. But
I'll try your approach in a minute - I'm still going to send this email
because I do think there's something fundamentally wrong under this
somewhere...)

Unfortunately, I've just swapped one error for another. I've redefined
pennsylvania as 

pennsylvania = { r2_\markup{ shout }
{ \override NoteHead #'style = #'cross f8. f16 f8. f16 f4 f f8.
f16 }
\addlyrics { Penn syl van ia six five thous and }
r4 }

which has had several effects. I no longer need to reset the notehead
style. lilypond no longer complains about getting its timing in a twist.
It is now complaining about trying to put noteheads and stems on a rest
(the r4 - and yes I did try reverting the notehead style - no effect
whatsoever). And because I've got two consecutive occurrences on the
same line, it's making the two lots of text avoid each other, which
looks daft.

Graham - I'll have to write something for the docs (I'm working from
2.8.0) because there appears to be no examples at all about how to embed
a lyric fragment in a larger piece. I'm attaching the lyrics to the
notes no problem - it's getting the resultant fragment successfully into
the bigger work that's the problem!

And part of that problem at least seems to be that \addlyrics just does
not like rests!

More investigation to follow - my current source attached ...

Cheers,
Wol

-Original Message-
From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
Sent: 08 June 2006 12:43
To: Anthony Youngman
Cc: lilypond-user@gnu.org
Subject: Re: Lyrics problem ...

I got the same programming error but still the output looked right
in the simplified example I tried. However, a better solution is to
use \lyricsto. For example, you can define a separate Voice context
for the music that the lyrics should follow and define a separate
identifier for the lyrics:

pennsylvania = \context Voice = pennsylvania {
\override NoteHead #'style = #'cross
r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4
}


pennsylvaniaLyrics = \lyricmode { Penn syl van ia six five thous and }


and redefine your \score block to:

\score {

\new Staff {
\set Score.skipBars = ##t
 {
\clef bass

\voiceTimeSig
\voiceTromboneI
\voiceMarkup

}
}
\new Lyrics \lyricsto pennsylvania {
\pennsylvaniaLyrics \pennsylvaniaLyrics
}
 
\layout {
}
}

   /Mats



Anthony Youngman wrote:

Just tried swapping your version for mine. No improvement :-(

And I'm still getting programming error: moving backwards in time in
the logs ...

Cheers,
Wol

-Original Message-
From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
Sent: 08 June 2006 11:34
To: Anthony Youngman
Cc: lilypond-user@gnu.org
Subject: Re: Lyrics problem ...

The problem is that \addlyrics doesn't really work that way, see Sect.
7.3.4 The Lyrics Context.
It seems that the following version actually does work:

pennsylvania = 
\new Voice{\override NoteHead #'style = #'cross
r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4 }
\addlyrics { Penn syl van ia six five thous and }
 


   /Mats

Anthony Youngman wrote:

  

I'm now trying to add some words to a phrase ...

pennsylvania = {
  {   \override NoteHead #'style = #'cross
  r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4 }
% \addlyrics { Penn syl van ia six five thous and }
}

voiceTromboneI =  \relative c' {

  r2  ef4.-- ef8- ~ ef1 r2 r4 bf8.-( ef16-.) r2 r4 ef,8. af,16-
~ |
\break
  af2 c-- df-- d-- ef-- df-- c-- bf-- |
\break
  \repeat volta 2 { R1*6 } \alternative { { \resetOctave f
\pennsylvania } { \pennsylvania } }

}

Note that the addlyrics line is commented out ... and I've copied the
layout of this from the example at the end of 7.3.1 in the manual ...

The music knows from elsewhere that both my alternative sections are
two bars long. When I compile the above, it works perfectly - the
notes
appear perfectly in the time bars.

As soon as I uncomment the lyrics line, the lyrics appear over the
correct notes, but the entire phrase seems to become four bars long -
completely messing up the bar structure! What am I doing wrong?

Note that the music both starts and ends with a rest, which is why I
haven't tried specifying music lengths for the words - and it seems to
be shoving the words in the correct place anyway.

Cheers,
Wol

*


***
*
*
  

This transmission is intended for the named recipient only. It may


contain private and confidential information. If this has come to you
in
error you must not act on anything disclosed in it, nor must you copy
it, modify it, disseminate it in any way, or show

RE: Lyrics problem ... Bug? Feature? ???

2006-06-12 Thread Anthony Youngman
Ummm ... your approach worked. Except not completely :-(

You'll notice my revised stuff has THREE occurrences of the lyrics (so
far). So I did a '\repeat unfold 3'. And got lyrics for the first two
only :-(

How difficult can it be :-( All I'm trying to do is create a two-bar
fragment that gets repeated in several places, so I can just drop it
into the music where it's needed ...

Cheers,
Wol

-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
.org] On Behalf Of Anthony Youngman
Sent: 12 June 2006 12:04
To: Mats Bengtsson
Cc: lilypond-devel@gnu.org; lilypond-user@gnu.org
Subject: RE: Lyrics problem ... Bug? Feature? ???

I've changed my approach - I felt all along that the rests were what was
screwing things up. (Which means, I think, that if I copy your example
exactly as you've given it, it'll be just as big a mess as before. But
I'll try your approach in a minute - I'm still going to send this email
because I do think there's something fundamentally wrong under this
somewhere...)

Unfortunately, I've just swapped one error for another. I've redefined
pennsylvania as 

pennsylvania = { r2_\markup{ shout }
{ \override NoteHead #'style = #'cross f8. f16 f8. f16 f4 f f8.
f16 }
\addlyrics { Penn syl van ia six five thous and }
r4 }

which has had several effects. I no longer need to reset the notehead
style. lilypond no longer complains about getting its timing in a twist.
It is now complaining about trying to put noteheads and stems on a rest
(the r4 - and yes I did try reverting the notehead style - no effect
whatsoever). And because I've got two consecutive occurrences on the
same line, it's making the two lots of text avoid each other, which
looks daft.

Graham - I'll have to write something for the docs (I'm working from
2.8.0) because there appears to be no examples at all about how to embed
a lyric fragment in a larger piece. I'm attaching the lyrics to the
notes no problem - it's getting the resultant fragment successfully into
the bigger work that's the problem!

And part of that problem at least seems to be that \addlyrics just does
not like rests!

More investigation to follow - my current source attached ...

Cheers,
Wol

-Original Message-
From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
Sent: 08 June 2006 12:43
To: Anthony Youngman
Cc: lilypond-user@gnu.org
Subject: Re: Lyrics problem ...

I got the same programming error but still the output looked right
in the simplified example I tried. However, a better solution is to
use \lyricsto. For example, you can define a separate Voice context
for the music that the lyrics should follow and define a separate
identifier for the lyrics:

pennsylvania = \context Voice = pennsylvania {
\override NoteHead #'style = #'cross
r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4
}


pennsylvaniaLyrics = \lyricmode { Penn syl van ia six five thous and }


and redefine your \score block to:

\score {

\new Staff {
\set Score.skipBars = ##t
 {
\clef bass

\voiceTimeSig
\voiceTromboneI
\voiceMarkup

}
}
\new Lyrics \lyricsto pennsylvania {
\pennsylvaniaLyrics \pennsylvaniaLyrics
}
 
\layout {
}
}

   /Mats



Anthony Youngman wrote:

Just tried swapping your version for mine. No improvement :-(

And I'm still getting programming error: moving backwards in time in
the logs ...

Cheers,
Wol

-Original Message-
From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
Sent: 08 June 2006 11:34
To: Anthony Youngman
Cc: lilypond-user@gnu.org
Subject: Re: Lyrics problem ...

The problem is that \addlyrics doesn't really work that way, see Sect.
7.3.4 The Lyrics Context.
It seems that the following version actually does work:

pennsylvania = 
\new Voice{\override NoteHead #'style = #'cross
r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4 }
\addlyrics { Penn syl van ia six five thous and }
 


   /Mats

Anthony Youngman wrote:

  

I'm now trying to add some words to a phrase ...

pennsylvania = {
  {   \override NoteHead #'style = #'cross
  r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4 }
% \addlyrics { Penn syl van ia six five thous and }
}

voiceTromboneI =  \relative c' {

  r2  ef4.-- ef8- ~ ef1 r2 r4 bf8.-( ef16-.) r2 r4 ef,8. af,16-
~ |
\break
  af2 c-- df-- d-- ef-- df-- c-- bf-- |
\break
  \repeat volta 2 { R1*6 } \alternative { { \resetOctave f
\pennsylvania } { \pennsylvania } }

}

Note that the addlyrics line is commented out ... and I've copied the
layout of this from the example at the end of 7.3.1 in the manual ...

The music knows from elsewhere that both my alternative sections are
two bars long. When I compile the above, it works perfectly - the
notes
appear perfectly in the time bars.

As soon as I uncomment the lyrics line, the lyrics appear over the
correct notes, but the entire phrase

Re: Lyrics problem ... Bug? Feature? ???

2006-06-12 Thread Mats Bengtsson

It works if you make sure to keep the Voice context pennsylvania
alive between the different places in the score where you use your 
\pennsylvania.

For example, you can add the following in your \score block:

\score {

   \new Staff {
   \set Score.skipBars = ##t
{
   \clef bass
   
   \new Voice = pennsylvania {s1*39}
   \voiceTimeSig
   \voiceTromboneI
   \voiceMarkup
   
   }
   }
   \new Lyrics \lyricsto pennsylvania {
\pennsylvaniaLyrics
   }

   \layout {
   }
}


  /Mats

Anthony Youngman wrote:


Ummm ... your approach worked. Except not completely :-(

You'll notice my revised stuff has THREE occurrences of the lyrics (so
far). So I did a '\repeat unfold 3'. And got lyrics for the first two
only :-(

How difficult can it be :-( All I'm trying to do is create a two-bar
fragment that gets repeated in several places, so I can just drop it
into the music where it's needed ...

Cheers,
Wol

-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
.org] On Behalf Of Anthony Youngman
Sent: 12 June 2006 12:04
To: Mats Bengtsson
Cc: lilypond-devel@gnu.org; lilypond-user@gnu.org
Subject: RE: Lyrics problem ... Bug? Feature? ???

I've changed my approach - I felt all along that the rests were what was
screwing things up. (Which means, I think, that if I copy your example
exactly as you've given it, it'll be just as big a mess as before. But
I'll try your approach in a minute - I'm still going to send this email
because I do think there's something fundamentally wrong under this
somewhere...)

Unfortunately, I've just swapped one error for another. I've redefined
pennsylvania as 


pennsylvania = { r2_\markup{ shout }
{ \override NoteHead #'style = #'cross f8. f16 f8. f16 f4 f f8.
f16 }
\addlyrics { Penn syl van ia six five thous and }
r4 }

which has had several effects. I no longer need to reset the notehead
style. lilypond no longer complains about getting its timing in a twist.
It is now complaining about trying to put noteheads and stems on a rest
(the r4 - and yes I did try reverting the notehead style - no effect
whatsoever). And because I've got two consecutive occurrences on the
same line, it's making the two lots of text avoid each other, which
looks daft.

Graham - I'll have to write something for the docs (I'm working from
2.8.0) because there appears to be no examples at all about how to embed
a lyric fragment in a larger piece. I'm attaching the lyrics to the
notes no problem - it's getting the resultant fragment successfully into
the bigger work that's the problem!

And part of that problem at least seems to be that \addlyrics just does
not like rests!

More investigation to follow - my current source attached ...

Cheers,
Wol

-Original Message-
From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
Sent: 08 June 2006 12:43

To: Anthony Youngman
Cc: lilypond-user@gnu.org
Subject: Re: Lyrics problem ...

I got the same programming error but still the output looked right
in the simplified example I tried. However, a better solution is to
use \lyricsto. For example, you can define a separate Voice context
for the music that the lyrics should follow and define a separate
identifier for the lyrics:

pennsylvania = \context Voice = pennsylvania {
   \override NoteHead #'style = #'cross
   r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4
}


pennsylvaniaLyrics = \lyricmode { Penn syl van ia six five thous and }


and redefine your \score block to:

\score {

   \new Staff {
   \set Score.skipBars = ##t
{
   \clef bass
   
   \voiceTimeSig
   \voiceTromboneI
   \voiceMarkup
   
   }
   }
   \new Lyrics \lyricsto pennsylvania {
   \pennsylvaniaLyrics \pennsylvaniaLyrics
   }

   \layout {
   }
}

  /Mats



Anthony Youngman wrote:

 


Just tried swapping your version for mine. No improvement :-(

And I'm still getting programming error: moving backwards in time in
the logs ...

Cheers,
Wol

-Original Message-
From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
Sent: 08 June 2006 11:34

To: Anthony Youngman
Cc: lilypond-user@gnu.org
Subject: Re: Lyrics problem ...

The problem is that \addlyrics doesn't really work that way, see Sect.
7.3.4 The Lyrics Context.
It seems that the following version actually does work:

pennsylvania = 
  \new Voice{\override NoteHead #'style = #'cross
  r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4 }
  \addlyrics { Penn syl van ia six five thous and }
   


 /Mats

Anthony Youngman wrote:



   


I'm now trying to add some words to a phrase ...

pennsylvania = {
{   \override NoteHead #'style = #'cross
r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4 }
%   \addlyrics { Penn syl van ia six five thous and }
}

voiceTromboneI =  \relative c' {

r2  ef4.-- ef8- ~ ef1 r2 r4 bf8.-( ef16-.) r2 r4 ef

Re: Lyrics problem ... Bug? Feature? ???

2006-06-12 Thread Mats Bengtsson



Anthony Youngman wrote:


I've changed my approach - I felt all along that the rests were what was
screwing things up. (Which means, I think, that if I copy your example
exactly as you've given it, it'll be just as big a mess as before. But
I'll try your approach in a minute - I'm still going to send this email
because I do think there's something fundamentally wrong under this
somewhere...)

Unfortunately, I've just swapped one error for another. I've redefined
pennsylvania as 


pennsylvania = { r2_\markup{ shout }
{ \override NoteHead #'style = #'cross f8. f16 f8. f16 f4 f f8.
f16 }
\addlyrics { Penn syl van ia six five thous and }
r4 }

which has had several effects. I no longer need to reset the notehead
style. 


What you said here made me completely confused, so I had to take a look at
the implementation and learned something new. The construct
music_expression \addlyrics lyrics
will create a new Voice context for the music_expression.


lilypond no longer complains about getting its timing in a twist.
It is now complaining about trying to put noteheads and stems on a rest
(the r4 - and yes I did try reverting the notehead style - no effect
whatsoever). And because I've got two consecutive occurrences on the
same line, it's making the two lots of text avoid each other, which
looks daft.


The timing gets lost already at the end of the prima volta. I have no idea
on what's going on here. Replacing
music_expression \addlyrics lyrics
by
\new Voice music_expression
in your example works well, so there's something more going on here that
I don't understand fully.

Still, my impression is that \addlyrics mainly was implemented to support
extremely simple situations where your score in principle only has a melody
and one or more lines of lyrics. What makes your example extra complicated
is that you want to insert the same construct at a number of places in the
score.

In a way, maybe the simplest solution for you is to do
pennsylvania = { r2_\markup{ shout }
 
   \new Voice { \override NoteHead #'style = #'cross f8. f16 f8. f16 f4 
f f8. f16 }
   \context Lyrics = pennsylvanialyrics \lyricmode{ Penn8. syl16 van8. 
ia16 six4 five4 thous8. and16 }

 
 r4 }
Unfortunately, it means that you have to specify the durations of the 
syllables
explicictly. Also,  the second set of lyrics gets  typeset one line too 
low. I will

write a separate bug report about that issue.


Graham - I'll have to write something for the docs (I'm working from
2.8.0) because there appears to be no examples at all about how to embed
a lyric fragment in a larger piece. 

Sure there is! In the latest manual for version 2.9, you can find two 
examples

in section 7.3.7.2 Divisi lyrics and I know that Eduardo has sent a draft
of even more documentation to Graham, with related information.


   /Mats




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


RE: Lyrics problem ... Bug? Feature? ???

2006-06-12 Thread Anthony Youngman
Thanks. 

I'll play with all this and see where I get. I thought what I was doing
WAS simple :-( I'll also try the {} you mention in your other email.

And I'll download and read the 2.9 docu at some point. Although I get
the impression it might not be a good idea to upgrade for a while ...

Cheers,
Wol

-Original Message-
From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
Sent: 12 June 2006 13:25
To: Anthony Youngman
Cc: lilypond-user@gnu.org; lilypond-devel@gnu.org
Subject: Re: Lyrics problem ... Bug? Feature? ???



Anthony Youngman wrote:

I've changed my approach - I felt all along that the rests were what
was
screwing things up. (Which means, I think, that if I copy your example
exactly as you've given it, it'll be just as big a mess as before. But
I'll try your approach in a minute - I'm still going to send this email
because I do think there's something fundamentally wrong under this
somewhere...)

Unfortunately, I've just swapped one error for another. I've redefined
pennsylvania as 

pennsylvania = { r2_\markup{ shout }
   { \override NoteHead #'style = #'cross f8. f16 f8. f16 f4 f f8.
f16 }
   \addlyrics { Penn syl van ia six five thous and }
   r4 }

which has had several effects. I no longer need to reset the notehead
style. 

What you said here made me completely confused, so I had to take a look
at
the implementation and learned something new. The construct
music_expression \addlyrics lyrics
will create a new Voice context for the music_expression.

lilypond no longer complains about getting its timing in a twist.
It is now complaining about trying to put noteheads and stems on a rest
(the r4 - and yes I did try reverting the notehead style - no effect
whatsoever). And because I've got two consecutive occurrences on the
same line, it's making the two lots of text avoid each other, which
looks daft.

The timing gets lost already at the end of the prima volta. I have no
idea
on what's going on here. Replacing
music_expression \addlyrics lyrics
by
\new Voice music_expression
in your example works well, so there's something more going on here that
I don't understand fully.

Still, my impression is that \addlyrics mainly was implemented to
support
extremely simple situations where your score in principle only has a
melody
and one or more lines of lyrics. What makes your example extra
complicated
is that you want to insert the same construct at a number of places in
the
score.

In a way, maybe the simplest solution for you is to do
pennsylvania = { r2_\markup{ shout }
  
\new Voice { \override NoteHead #'style = #'cross f8. f16 f8. f16 f4

f f8. f16 }
\context Lyrics = pennsylvanialyrics \lyricmode{ Penn8. syl16 van8. 
ia16 six4 five4 thous8. and16 }
  
  r4 }
Unfortunately, it means that you have to specify the durations of the 
syllables
explicictly. Also,  the second set of lyrics gets  typeset one line too 
low. I will
write a separate bug report about that issue.

Graham - I'll have to write something for the docs (I'm working from
2.8.0) because there appears to be no examples at all about how to
embed
a lyric fragment in a larger piece. 

Sure there is! In the latest manual for version 2.9, you can find two 
examples
in section 7.3.7.2 Divisi lyrics and I know that Eduardo has sent a
draft
of even more documentation to Graham, with related information.


/Mats



*  *

This transmission is intended for the named recipient only. It may contain 
private and confidential information. If this has come to you in error you must 
not act on anything disclosed in it, nor must you copy it, modify it, 
disseminate it in any way, or show it to anyone. Please e-mail the sender to 
inform us of the transmission error or telephone ECA International immediately 
and delete the e-mail from your information system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 8272 5300, 
Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 
2333.

*  *


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


Re: Lyrics problem ...

2006-06-08 Thread Mats Bengtsson

The problem is that \addlyrics doesn't really work that way, see Sect.
7.3.4 The Lyrics Context.
It seems that the following version actually does work:

pennsylvania = 
   \new Voice{\override NoteHead #'style = #'cross
   r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4 }
   \addlyrics { Penn syl van ia six five thous and }



  /Mats

Anthony Youngman wrote:


I'm now trying to add some words to a phrase ...

pennsylvania = {
{   \override NoteHead #'style = #'cross
r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4 }
%   \addlyrics { Penn syl van ia six five thous and }
}

voiceTromboneI =  \relative c' {

r2  ef4.-- ef8- ~ ef1 r2 r4 bf8.-( ef16-.) r2 r4 ef,8. af,16-
~ |
\break
af2 c-- df-- d-- ef-- df-- c-- bf-- |
\break
\repeat volta 2 { R1*6 } \alternative { { \resetOctave f
\pennsylvania } { \pennsylvania } }

}

Note that the addlyrics line is commented out ... and I've copied the
layout of this from the example at the end of 7.3.1 in the manual ...

The music knows from elsewhere that both my alternative sections are
two bars long. When I compile the above, it works perfectly - the notes
appear perfectly in the time bars.

As soon as I uncomment the lyrics line, the lyrics appear over the
correct notes, but the entire phrase seems to become four bars long -
completely messing up the bar structure! What am I doing wrong?

Note that the music both starts and ends with a rest, which is why I
haven't tried specifying music lengths for the words - and it seems to
be shoving the words in the correct place anyway.

Cheers,
Wol

*  *

This transmission is intended for the named recipient only. It may contain 
private and confidential information. If this has come to you in error you must 
not act on anything disclosed in it, nor must you copy it, modify it, 
disseminate it in any way, or show it to anyone. Please e-mail the sender to 
inform us of the transmission error or telephone ECA International immediately 
and delete the e-mail from your information system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 8272 5300, 
Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 
2333.

*  *


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



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


RE: Lyrics problem ...

2006-06-08 Thread Anthony Youngman
Just tried swapping your version for mine. No improvement :-(

And I'm still getting programming error: moving backwards in time in
the logs ...

Cheers,
Wol

-Original Message-
From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
Sent: 08 June 2006 11:34
To: Anthony Youngman
Cc: lilypond-user@gnu.org
Subject: Re: Lyrics problem ...

The problem is that \addlyrics doesn't really work that way, see Sect.
7.3.4 The Lyrics Context.
It seems that the following version actually does work:

pennsylvania = 
\new Voice{\override NoteHead #'style = #'cross
r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4 }
\addlyrics { Penn syl van ia six five thous and }
 


   /Mats

Anthony Youngman wrote:

I'm now trying to add some words to a phrase ...

pennsylvania = {
   {   \override NoteHead #'style = #'cross
   r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4 }
%  \addlyrics { Penn syl van ia six five thous and }
}

voiceTromboneI =  \relative c' {

   r2  ef4.-- ef8- ~ ef1 r2 r4 bf8.-( ef16-.) r2 r4 ef,8. af,16-
~ |
\break
   af2 c-- df-- d-- ef-- df-- c-- bf-- |
\break
   \repeat volta 2 { R1*6 } \alternative { { \resetOctave f
\pennsylvania } { \pennsylvania } }

}

Note that the addlyrics line is commented out ... and I've copied the
layout of this from the example at the end of 7.3.1 in the manual ...

The music knows from elsewhere that both my alternative sections are
two bars long. When I compile the above, it works perfectly - the notes
appear perfectly in the time bars.

As soon as I uncomment the lyrics line, the lyrics appear over the
correct notes, but the entire phrase seems to become four bars long -
completely messing up the bar structure! What am I doing wrong?

Note that the music both starts and ends with a rest, which is why I
haven't tried specifying music lengths for the words - and it seems to
be shoving the words in the correct place anyway.

Cheers,
Wol

*

*

This transmission is intended for the named recipient only. It may
contain private and confidential information. If this has come to you in
error you must not act on anything disclosed in it, nor must you copy
it, modify it, disseminate it in any way, or show it to anyone. Please
e-mail the sender to inform us of the transmission error or telephone
ECA International immediately and delete the e-mail from your
information system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2
8272 5300, Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New
York +1 212 582 2333.

*

*


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


-- 
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=


*  *

This transmission is intended for the named recipient only. It may contain 
private and confidential information. If this has come to you in error you must 
not act on anything disclosed in it, nor must you copy it, modify it, 
disseminate it in any way, or show it to anyone. Please e-mail the sender to 
inform us of the transmission error or telephone ECA International immediately 
and delete the e-mail from your information system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 8272 5300, 
Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 
2333.

*  *


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


Re: Lyrics problem ...

2006-06-08 Thread Mats Bengtsson

I got the same programming error but still the output looked right
in the simplified example I tried. However, a better solution is to
use \lyricsto. For example, you can define a separate Voice context
for the music that the lyrics should follow and define a separate
identifier for the lyrics:

pennsylvania = \context Voice = pennsylvania {
   \override NoteHead #'style = #'cross
   r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4
}


pennsylvaniaLyrics = \lyricmode { Penn syl van ia six five thous and }


and redefine your \score block to:

\score {

   \new Staff {
   \set Score.skipBars = ##t
{
   \clef bass
   
   \voiceTimeSig
   \voiceTromboneI
   \voiceMarkup
   
   }
   }
   \new Lyrics \lyricsto pennsylvania {
   \pennsylvaniaLyrics \pennsylvaniaLyrics
   }

   \layout {
   }
}

  /Mats



Anthony Youngman wrote:


Just tried swapping your version for mine. No improvement :-(

And I'm still getting programming error: moving backwards in time in
the logs ...

Cheers,
Wol

-Original Message-
From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
Sent: 08 June 2006 11:34

To: Anthony Youngman
Cc: lilypond-user@gnu.org
Subject: Re: Lyrics problem ...

The problem is that \addlyrics doesn't really work that way, see Sect.
7.3.4 The Lyrics Context.
It seems that the following version actually does work:

pennsylvania = 
   \new Voice{\override NoteHead #'style = #'cross
   r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4 }
   \addlyrics { Penn syl van ia six five thous and }



  /Mats

Anthony Youngman wrote:

 


I'm now trying to add some words to a phrase ...

pennsylvania = {
{   \override NoteHead #'style = #'cross
r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4 }
%   \addlyrics { Penn syl van ia six five thous and }
}

voiceTromboneI =  \relative c' {

r2  ef4.-- ef8- ~ ef1 r2 r4 bf8.-( ef16-.) r2 r4 ef,8. af,16-
~ |
\break
af2 c-- df-- d-- ef-- df-- c-- bf-- |
\break
\repeat volta 2 { R1*6 } \alternative { { \resetOctave f
\pennsylvania } { \pennsylvania } }

}

Note that the addlyrics line is commented out ... and I've copied the
layout of this from the example at the end of 7.3.1 in the manual ...

The music knows from elsewhere that both my alternative sections are
two bars long. When I compile the above, it works perfectly - the notes
appear perfectly in the time bars.

As soon as I uncomment the lyrics line, the lyrics appear over the
correct notes, but the entire phrase seems to become four bars long -
completely messing up the bar structure! What am I doing wrong?

Note that the music both starts and ends with a rest, which is why I
haven't tried specifying music lengths for the words - and it seems to
be shoving the words in the correct place anyway.

Cheers,
Wol

*
   



*
 


This transmission is intended for the named recipient only. It may
   


contain private and confidential information. If this has come to you in
error you must not act on anything disclosed in it, nor must you copy
it, modify it, disseminate it in any way, or show it to anyone. Please
e-mail the sender to inform us of the transmission error or telephone
ECA International immediately and delete the e-mail from your
information system.
 


Telephone numbers for ECA International offices are: Sydney +61 (0)2
   


8272 5300, Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New
York +1 212 582 2333.
 


*
   



*
 


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


   



 



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Lyrics problem ...

2006-06-08 Thread Mats Bengtsson



Mats Bengtsson wrote:


   \new Lyrics \lyricsto pennsylvania {
   \pennsylvaniaLyrics \pennsylvaniaLyrics
   }


This repetition of the same lyrics can of course also be obtained using
\repeat unfold 2 \pennsylvaniaLyrics

  /Mats



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


Lyrics problem ...

2006-06-07 Thread Anthony Youngman
I'm now trying to add some words to a phrase ...

pennsylvania = {
{   \override NoteHead #'style = #'cross
r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4 }
%   \addlyrics { Penn syl van ia six five thous and }
}

voiceTromboneI =  \relative c' {

r2  ef4.-- ef8- ~ ef1 r2 r4 bf8.-( ef16-.) r2 r4 ef,8. af,16-
~ |
\break
af2 c-- df-- d-- ef-- df-- c-- bf-- |
\break
\repeat volta 2 { R1*6 } \alternative { { \resetOctave f
\pennsylvania } { \pennsylvania } }

}

Note that the addlyrics line is commented out ... and I've copied the
layout of this from the example at the end of 7.3.1 in the manual ...

The music knows from elsewhere that both my alternative sections are
two bars long. When I compile the above, it works perfectly - the notes
appear perfectly in the time bars.

As soon as I uncomment the lyrics line, the lyrics appear over the
correct notes, but the entire phrase seems to become four bars long -
completely messing up the bar structure! What am I doing wrong?

Note that the music both starts and ends with a rest, which is why I
haven't tried specifying music lengths for the words - and it seems to
be shoving the words in the correct place anyway.

Cheers,
Wol

*  *

This transmission is intended for the named recipient only. It may contain 
private and confidential information. If this has come to you in error you must 
not act on anything disclosed in it, nor must you copy it, modify it, 
disseminate it in any way, or show it to anyone. Please e-mail the sender to 
inform us of the transmission error or telephone ECA International immediately 
and delete the e-mail from your information system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 8272 5300, 
Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 
2333.

*  *


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


RE: Lyrics problem ...

2006-06-07 Thread Anthony Youngman
Just compiled it with the lyrics line uncommented, and I notice the log
says programming error.

The relevant files are attached for debugging - the part file is the
one to compile ...

# -*-compilation-*-
Changing working directory to `C:/Documents and Settings/wally/My
Documents/Music/Peninsular/Pennsylvania'
Processing `C:/Documents and Settings/wally/My
Documents/Music/Peninsular/Pennsylvania/partTromboneI.ly'
Parsing...
Interpreting music... [8]
programming error: moving backwards in time
continuing, cross fingers
[16]
Preprocessing graphical objects... 
Calculating line breaks... [3][6][9][12][15][16]
Calculating page breaks...
Layout output to `partTromboneI.ps'...
Converting to `partTromboneI.pdf'... 

-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
.org] On Behalf Of Anthony Youngman
Sent: 07 June 2006 12:12
To: lilypond-user@gnu.org
Subject: Lyrics problem ...

I'm now trying to add some words to a phrase ...

pennsylvania = {
{   \override NoteHead #'style = #'cross
r2_\markup{ shout } f8. f16 f8. f16 f4 f f8. f16 r4 }
%   \addlyrics { Penn syl van ia six five thous and }
}

voiceTromboneI =  \relative c' {

r2  ef4.-- ef8- ~ ef1 r2 r4 bf8.-( ef16-.) r2 r4 ef,8. af,16-
~ |
\break
af2 c-- df-- d-- ef-- df-- c-- bf-- |
\break
\repeat volta 2 { R1*6 } \alternative { { \resetOctave f
\pennsylvania } { \pennsylvania } }

}

Note that the addlyrics line is commented out ... and I've copied the
layout of this from the example at the end of 7.3.1 in the manual ...

The music knows from elsewhere that both my alternative sections are
two bars long. When I compile the above, it works perfectly - the notes
appear perfectly in the time bars.

As soon as I uncomment the lyrics line, the lyrics appear over the
correct notes, but the entire phrase seems to become four bars long -
completely messing up the bar structure! What am I doing wrong?

Note that the music both starts and ends with a rest, which is why I
haven't tried specifying music lengths for the words - and it seems to
be shoving the words in the correct place anyway.

Cheers,
Wol

*

*

This transmission is intended for the named recipient only. It may
contain private and confidential information. If this has come to you in
error you must not act on anything disclosed in it, nor must you copy
it, modify it, disseminate it in any way, or show it to anyone. Please
e-mail the sender to inform us of the transmission error or telephone
ECA International immediately and delete the e-mail from your
information system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2
8272 5300, Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New
York +1 212 582 2333.

*

*


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

*  *

This transmission is intended for the named recipient only. It may contain 
private and confidential information. If this has come to you in error you must 
not act on anything disclosed in it, nor must you copy it, modify it, 
disseminate it in any way, or show it to anyone. Please e-mail the sender to 
inform us of the transmission error or telephone ECA International immediately 
and delete the e-mail from your information system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 8272 5300, 
Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 
2333.

*  *


partTromboneI.ly
Description: partTromboneI.ly


header.ly
Description: header.ly


voiceStaff.ly
Description: voiceStaff.ly


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


Re: Tied notes and lyrics problem

2005-07-18 Thread Mats Bengtsson



Graham Percival wrote:


On 16-Jul-05, at 9:30 AM, Borislav Ivanov wrote:

Hello. I have a problem when lilypond must add lyrics to tied notes. 
It thinks that the tied notes are actually one note and add the lyrics 
to the next untied note.



That's the way it's supposed to be.  If you want the two notes to be 
treated

as two separate notes, use slurs instead of ties.


Slurs are normally also treated as melisma, i.e. you only get one
syllable per slur, see 7.3.4 The Lyrics context in the manual.
You can set the property ignoreMelismata if you don't want this to
happen, see 7.3.5 Flexibility in alignment

   /Mats


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


Tied notes and lyrics problem

2005-07-16 Thread Borislav Ivanov
Hello. I have a problem when lilypond must add lyrics to tied notes. It thinks 
that the tied notes are actually one note and add the lyrics to the next untied 
note. Also at some point the lyrics mysteriously dissapiar, and they are to far 
away from the staff. Here is the source code for lilypond:

I am very fresh the lilypond, so excuse me if the code is full of stuped 
statemens.

\version 2.6.0
\include italiano.ly

%Setting Lyrics 
melodylyrics  = \lyrics {
Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma
}
%Setting Notes 
melody =  \relative do'' {
\time 5/8
\clef treble
\key do \major

si4 re4.  do4~do4. do4(si4.) do4 do4. si4 la4. la4~la4.
la4~la4. la4 la4.~la4~la4.~la4 r4

}

%Setting Score
\score {
\context Staff  
\context Voice = soprano {
\melody
}

\new Lyrics {
\lyricsto soprano \new Lyrics \melodylyrics
}


\midi { \tempo 4=120 }
} 


-
http://host.gbg.bg/- Малък бизнес Pro хостинг - Идеална комбинация от цена и 
възможности!


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


Re: Tied notes and lyrics problem

2005-07-16 Thread Graham Percival


On 16-Jul-05, at 9:30 AM, Borislav Ivanov wrote:

Hello. I have a problem when lilypond must add lyrics to tied notes. 
It thinks that the tied notes are actually one note and add the lyrics 
to the next untied note.


That's the way it's supposed to be.  If you want the two notes to be 
treated

as two separate notes, use slurs instead of ties.

- Graham



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


French lyrics problem

2005-04-17 Thread Tom Cato Amundsen
Do you have any idea why  \`e does will produce and è when I run
lilypond on my laptop, but on the webserver, it does not work and
produces \'e?

Both machines has lilypond 2.4.2 and tetex-base 2.0.2c-7 installed.

You can see the result on
http://www.solfege.org/SolfegeDocsFr/Theory-intervals


-- 
Tom Cato Amundsen [EMAIL PROTECTED] http://www.solfege.org/
GNU Solfege - free ear traininghttp://www.gnu.org/software/solfege/


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


Re: French lyrics problem

2005-04-17 Thread Tom Cato Amundsen
On Sun, Apr 17, 2005 at 05:30:24PM +0200, Tom Cato Amundsen wrote:
 Do you have any idea why  \`e does will produce and è when I run
 lilypond on my laptop, but on the webserver, it does not work and
 produces \'e?

Sorry for spamming the list. I was comparing a png image on the server
with .dvi on my laptop. The ps generated on my laptop has similar
problems. I'll investigate more.

-- 
Tom Cato Amundsen [EMAIL PROTECTED] http://www.solfege.org/
GNU Solfege - free ear traininghttp://www.gnu.org/software/solfege/


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


Re: French lyrics problem

2005-04-17 Thread Mats Bengtsson
Have you read
http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond/Text-encoding.html#Text-encoding
(Not that it answers your question directly, but at least it should
provide a way to solve your problems.)
  /Mats
Tom Cato Amundsen wrote:
Do you have any idea why  \`e does will produce and è when I run
lilypond on my laptop, but on the webserver, it does not work and
produces \'e?
Both machines has lilypond 2.4.2 and tetex-base 2.0.2c-7 installed.
You can see the result on
http://www.solfege.org/SolfegeDocsFr/Theory-intervals

--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multiple lyrics problem

2004-10-05 Thread Patrick Hubers
Erik Sandberg schreef:
The following code works fine with 2.3.20, take a look for inspiration. To 
make it work with 2.2.x, you will have to add the \notes and \lyrics keywords 
where appropriate, and lilypond will probably give you loads of warnings. But 
I think the output will be fine.
It does work AND gives me loads of warnings, yes :-)
Thanks for the pointer. However, for some reason the stanza numbers 
don't work well, they don't line up properly. I have a testcase (fairly 
large, unfortunately), which shows the problem. Any insight in this 
would be VERY welcome:

\version 2.2.5
\paper {
 \context { \StaffContext minimumVerticalExtent = #'(-3 . 3) }
}
sopNotesPartOne = \context Voice = sopNotesPartOne \notes \relative c'' {
 c4 d e c  c d e c
}

sopNotesPartTwo = \context Voice = sopNotesPartTwo \notes \relative c'' {
 e4 f g2  e4 f g2
}   
sopNotesPartThree = \context Voice = sopNotesPartThree \notes \relative 
c'' {
 g'8 a g f e4 c4  g'8 a g f e4 c4
}

sopLyricsPartOne = \context Lyrics = A \lyrics {
 Va- der Ja- cob, va- der Ja- cob
}   

sopLyricsFirstStanza = \context Lyrics = A \lyrics {
 \set stanza = 1. 
 Slaapt gij nog, slaapt gij nog?
}
sopLyricsSecondStanza = \context Lyrics = B \lyrics {
 \set stanza = 2. 
 Zo- maar iets, zo- maar wat
}
sopLyricsPartThree = \context Lyrics = A \lyrics {
 Al- le klok- ken lui- den, al- le klok- ken lui- den
}
altoNotesPartOne = \context Voice = altoNotesPartOne \notes \relative c' {
 c4 d e c  c d e c
}   
altoNotesPartTwo = \context Voice = altoNotesPartTwo \notes \relative c' {
 e4 f g2  e4 f g2
}
			
altoNotesPartThree = \context Voice = altoNotesPartThree \notes 
\relative c' {
 g'8 a g f e4 c4  g'8 a g f e4 c4
}

altoLyricsPartOne = \context Lyrics = C \lyrics {
 Va- der Ja- cob, va- der Ja- cob
}

altoLyricsFirstStanza = \context Lyrics = C \lyrics {
 \set stanza = 1. 
 Slaapt gij nog, slaapt gij nog?
}
altoLyricsSecondStanza = \context Lyrics = D \lyrics {
 \set stanza = 2. 
 Zo- maar iets, zo- maar wat
}
altoLyricsPartThree = \context Lyrics = C \lyrics {
 Al- le klok- ken lui- den, al- le klok- ken lui- den
}
\score {
 \context ChoirStaff 
  \override Score.BarNumber #'padding = #'2
  \context Staff = soprano {
   \set Staff.instrument = Soprano 
   \clef violin
   \context Voice = A {
\sopNotesPartOne
\sopNotesPartTwo
\sopNotesPartThree
   }
  }
  \lyricsto sopNotesPartOne \new Lyrics \sopLyricsPartOne
  \lyricsto sopNotesPartTwo 
   \context Lyrics = A { \sopLyricsFirstStanza }
   \context Lyrics = B { \sopLyricsSecondStanza }
  
  \lyricsto sopNotesPartThree \new Lyrics \sopLyricsPartThree
  \context Staff = alto {
   \set Staff.instrument = Alto
   \clef violin
   \context Voice = C {
\altoNotesPartOne
\altoNotesPartTwo
\altoNotesPartThree }
  }
  \lyricsto altoNotesPartOne \new Lyrics \altoLyricsPartOne
  \lyricsto altoNotesPartTwo 
   \context Lyrics = C { \altoLyricsFirstStanza }
   \context Lyrics = D { \altoLyricsSecondStanza }
  
  \lyricsto altoNotesPartThree \new Lyrics \altoLyricsPartThree
 
}

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


Multiple lyrics problem

2004-10-04 Thread Patrick Hubers
Hi,
I'm typesetting a vocal piece (SATB) and I've run into a problem. For 
the most part, there is simply one set of lyrics to each part, except 
for a small repeating section in the middle of the piece, where each 
repeat has it's own lyrics (and, to complicate things a little more, a 
tacet for soprano and alto on the first stanza).

I'm wondering what the best way is to accomplish this. Basically I want 
this:

Some ly-rics on a sing-le line for the first part
1. (tacet)
2. Ly-rics for sec-ond stan-za
3. Ly-rics for third__ stan-za
Some more ly-rics for the last part
I can create different Voice contexts for the first, second and third 
part and assign the appropriate lyrics, but how do I concatenate those 
voices on the same staff, one after another? The lyrics and/or voice 
documentation is not really enlightening in this respect and the samples 
on the website all use different methods for combining lyrics and music...

Any pointers on how to best accomplish this are greatly appreciated!
--
Patrick Hubers

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


Re: Multiple lyrics problem

2004-10-04 Thread Nancho Alvarez

I'm wondering what the best way is to accomplish this. Basically I 
want this:

Some ly-rics on a sing-le line for the first part
1. (tacet)
2. Ly-rics for sec-ond stan-za
3. Ly-rics for third__ stan-za
I do not know it it will work in your version of lilypond, but in older 
versions it was done like this:

\lyrics{

{ _ _ _ _ _  }
\context Lyrics \lyrics{Ly -- rics se -- cond }
\context Lyrics \lyrics{Ly -- rics third }

}
you can check for example
http://tomasluisdevictoria.org/ly/O_Magnum_Mysterium-6-Agnus_Dei.ly
I hope it helps
 NANCHO
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multiple lyrics problem

2004-10-04 Thread Erik Sandberg
On Monday 04 October 2004 11.47, Patrick Hubers wrote:
 Hi,

 I'm typesetting a vocal piece (SATB) and I've run into a problem. For
 the most part, there is simply one set of lyrics to each part, except
 for a small repeating section in the middle of the piece, where each
 repeat has it's own lyrics (and, to complicate things a little more, a
 tacet for soprano and alto on the first stanza).

 I'm wondering what the best way is to accomplish this. Basically I want
 this:


 Some ly-rics on a sing-le line for the first part

 1. (tacet)
 2. Ly-rics for sec-ond stan-za
 3. Ly-rics for third__ stan-za

 Some more ly-rics for the last part


 I can create different Voice contexts for the first, second and third
 part and assign the appropriate lyrics, but how do I concatenate those
 voices on the same staff, one after another? The lyrics and/or voice
 documentation is not really enlightening in this respect and the samples
 on the website all use different methods for combining lyrics and music...

 Any pointers on how to best accomplish this are greatly appreciated!

The following code works fine with 2.3.20, take a look for inspiration. To 
make it work with 2.2.x, you will have to add the \notes and \lyrics keywords 
where appropriate, and lilypond will probably give you loads of warnings. But 
I think the output will be fine.

\version 2.3.20

\new Staff {
 \context Voice = A {a4 a a a} 
 \context Voice = B {b b b b} 
 \context Voice = C {b b b b}
}

\context Lyrics = A \lyricsto A { a a a a }
\lyricsto B \context Lyrics = A {b b b b } \context Lyrics = B {bb bb bb 
bb } 
\lyricsto C \context Lyrics = A { c c c c }


Hope this helps,
Erik


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