Can't get the voices right with \stemUp and \stemDown

2003-06-13 Thread ario
Hello all,
Trying to write a piece for 4 voices choir, I'm stuck with
the problem that the stems won't stand in the right direction.
Wherever I put those \stemUp en \stemDown commands, they just 
don't seem to have the desired effect.
I want the sopranos and the tenors have their stem up, and the 
altos and basses stem down. Hoping that then the slurs will
come out fine too (finally).

The music consists of 4 files:
main file,
header file,
melodies file,
texts file
as copy/pasted below.

Would somebody be able to give me the solution?
Thanks a lot.
arie


Main file 'wa_loezjag_4.1.ly':

% wa_loezjag_4.1.ly

\include "nederlands.ly"
\include "wl_h_4.1.ly"
\include "wl_m_4.1.ly"
\include "wl_t_4.1.ly"


sopAltTotal = \simultaneous
{
   \addlyrics
   \context Staff = SopAlt
   { 
  \property Staff.instrument = "sop-alt"
  \property Staff.midiInstrument = "voice oohs"
  \clef "treble"
  \property Staff.automaticMelismata = ##t
  \notes
 \context Voice = soprano
 < 
\global
\stemUp
\sopranoMelody  % see file wl_m_x.x.ly 
\stemDown
\altoMelody % see file wl_m_x.x.ly
 >
   }

   \context Lyrics = one
   < 
   \context LyricsVoice = "soprano-one-FO"
   {   \property  LyricsVoice.stanza = "1 fo"   
   \property LyricsVoice . LyricText \override #'font-name = #"cmr9"
   \textOneFO
   }

   \context LyricsVoice = "soprano-one-RU"
   {   \property  LyricsVoice.stanza = "1 ru"
   \property LyricsVoice . LyricText \override #'font-name = #"wncyr10"
   \textOneRU
   }

   \context LyricsVoice = "soprano-two-FO"
   {   \property  LyricsVoice . stanza = "2 fo"   
   \property LyricsVoice . LyricText \override #'font-name = #"cmr9"
   \textTwoFO
   }

   \context LyricsVoice = "soprano-two-RU"
   {   \property  LyricsVoice . stanza = "2 ru"
   \property LyricsVoice . LyricText \override #'font-name = #"wncyr10"
   \textTwoRU
   }

   \context LyricsVoice = "soprano-three-FO"
   {   \property  LyricsVoice . stanza = "3 fo"   
   \property LyricsVoice . LyricText \override #'font-name = #"cmr9"
   \textThreeFO
   }

   \context LyricsVoice = "soprano-three-RU"
   {   \property  LyricsVoice . stanza = "3 ru"   
   \property LyricsVoice . LyricText \override #'font-name = #"wncyr10"
   \textThreeRU
   }

   \context LyricsVoice = "soprano-four-FO"
   {   \property  LyricsVoice . stanza = "4 fo"
   \property LyricsVoice . LyricText \override #'font-name = #"cmr9"
   \textFourFO
   }

   \context LyricsVoice = "soprano-four-RU"
   {   \property  LyricsVoice . stanza = "4 ru"
   \property LyricsVoice . LyricText \override #'font-name = #"wncyr10"
   \textFourRU
   }
   >
}

tenBasTotal = 
\context Staff = bass
{
\property Staff.instrument = "ten-bas"
\property Staff.midiInstrument = "voice oohs"
\clef "bass"
\notes \context Voice=bass
<
\global
\stemUp
\tenorMelody% see file wl_m_x.x.ly
\stemDown
\bassMelody % see file wl_m_x.x.ly
>
}

\score
{
\context ChoirStaff = choir
<
\sopAltTotal
\tenBasTotal
>

\paper { % linewidth = 19.0 \cm 
   }
\midi  { \tempo 4=120 }
}

% EOF


Header file 'wl_h_4.1.ly':

% wl_h_4.1.ly
% headers

\header {
 mutopiatitle = "Wo Loezjag"
 mutopiacomposer = "Russisch Volkslied"
 mutopiaarranger = "S. Tsariova"
 mutopiapoet = ""
 mutopiainstrument = "Choir SATB"
 date = ""
 source = "S.T. (ed.) typed"
 style = ""
 copyright = "Public Domain"
 maintainer = ""
 maintainerEmail = ""
 lastupdated = "2003-06-12"
  title="Wo Loezjag"
  composer="Russisch Volkslied"
  poet=""
  arranger = "Arr. S. Tsariova"

  footer = "A.V. 2003-06-13"
}

\version "1.6.2"

global = \notes {
   \time 2/4
   \key g \major
  % \skip 1*18 \bar "|."
}
==

Melodies file 'wl_m_4.1.ly':
==
% wl_m_4.1.ly
% melodies

sopranoMelody = \notes \relative c'' { \stemUp 
   d4.( e8   | [d8 e8 )d8 e8] | d4.( c8   | )b4 g4 | r4 d'4( | )e4 e4 | d4 b8 d8 |
   c8( d16 )c16 b8 d8 | [a8 d8   d8 d8]   | 
   b4 b8 d8  | c8( d16 )c16 b8 d8 | [a8 d8   d8 d8]   | g,2  |  \bar ":|"  g'2  \bar 
"|."
}

altoMelody = \notes \relative c'' { \stemDown
   b4.( c8   | [b8 c8 )b8 c8] | b4.( a8   | )g4 d4 | r4 g4(  | )g4 g4 | g4 g8 g8 |
   g8( )a8  g8 b8 | [a8 fis8 g8 a8]   |
   g4 g8 g8  | g8( )a8  g8 b8 | [a8 fis8 g8 a8]   | d,2  |  b2
}

tenorMelody = \notes \relative c' { \stemUp
   d4.( fis8 | [d8 e8 )d8 e8] | d4.( e8   | )d4 b4 | r4 b4(  | )c4 c4 | b4 d8 d8 |
   

Re: Can't get the voices right with \stemUp and \stemDown

2003-06-13 Thread Mats Bengtsson
If you want individual settings for the different voices,
simply use a separate Voice context for each of them.
I recommend to take a look at the template file satb.ly
(found at www.lilypond.org or in /usr/share/doc/lilypond/input/templates/
on your local installation).
   /Mats

ario wrote:
Hello all,
Trying to write a piece for 4 voices choir, I'm stuck with
the problem that the stems won't stand in the right direction.
Wherever I put those \stemUp en \stemDown commands, they just 
don't seem to have the desired effect.
I want the sopranos and the tenors have their stem up, and the 
altos and basses stem down. Hoping that then the slurs will
come out fine too (finally).

The music consists of 4 files:
main file,
header file,
melodies file,
texts file
as copy/pasted below.
Would somebody be able to give me the solution?
Thanks a lot.
arie
Main file 'wa_loezjag_4.1.ly':

% wa_loezjag_4.1.ly
\include "nederlands.ly"
\include "wl_h_4.1.ly"
\include "wl_m_4.1.ly"
\include "wl_t_4.1.ly"
sopAltTotal = \simultaneous
{
   \addlyrics
   \context Staff = SopAlt
   { 
  \property Staff.instrument = "sop-alt"
  \property Staff.midiInstrument = "voice oohs"
  \clef "treble"
  \property Staff.automaticMelismata = ##t
  \notes
 \context Voice = soprano
 < 
\global
\stemUp
\sopranoMelody  % see file wl_m_x.x.ly 
\stemDown
\altoMelody % see file wl_m_x.x.ly
 >
   }

   \context Lyrics = one
   < 
   \context LyricsVoice = "soprano-one-FO"
   {   \property  LyricsVoice.stanza = "1 fo"   
   \property LyricsVoice . LyricText \override #'font-name = #"cmr9"
   \textOneFO
   }

   \context LyricsVoice = "soprano-one-RU"
   {   \property  LyricsVoice.stanza = "1 ru"
   \property LyricsVoice . LyricText \override #'font-name = #"wncyr10"
   \textOneRU
   }
   \context LyricsVoice = "soprano-two-FO"
   {   \property  LyricsVoice . stanza = "2 fo"   
   \property LyricsVoice . LyricText \override #'font-name = #"cmr9"
   \textTwoFO
   }

   \context LyricsVoice = "soprano-two-RU"
   {   \property  LyricsVoice . stanza = "2 ru"
   \property LyricsVoice . LyricText \override #'font-name = #"wncyr10"
   \textTwoRU
   }
   \context LyricsVoice = "soprano-three-FO"
   {   \property  LyricsVoice . stanza = "3 fo"   
   \property LyricsVoice . LyricText \override #'font-name = #"cmr9"
   \textThreeFO
   }

   \context LyricsVoice = "soprano-three-RU"
   {   \property  LyricsVoice . stanza = "3 ru"   
   \property LyricsVoice . LyricText \override #'font-name = #"wncyr10"
   \textThreeRU
   }

   \context LyricsVoice = "soprano-four-FO"
   {   \property  LyricsVoice . stanza = "4 fo"
   \property LyricsVoice . LyricText \override #'font-name = #"cmr9"
   \textFourFO
   }
   \context LyricsVoice = "soprano-four-RU"
   {   \property  LyricsVoice . stanza = "4 ru"
   \property LyricsVoice . LyricText \override #'font-name = #"wncyr10"
   \textFourRU
   }
   >
}
tenBasTotal = 
\context Staff = bass
{
\property Staff.instrument = "ten-bas"
\property Staff.midiInstrument = "voice oohs"
\clef "bass"
\notes \context Voice=bass
<
\global
\stemUp
\tenorMelody% see file wl_m_x.x.ly
\stemDown
\bassMelody % see file wl_m_x.x.ly
>
}

\score
{
\context ChoirStaff = choir
<
\sopAltTotal
\tenBasTotal
>
\paper { % linewidth = 19.0 \cm 
   }
\midi  { \tempo 4=120 }
}

% EOF

Header file 'wl_h_4.1.ly':

% wl_h_4.1.ly
% headers
\header {
 mutopiatitle = "Wo Loezjag"
 mutopiacomposer = "Russisch Volkslied"
 mutopiaarranger = "S. Tsariova"
 mutopiapoet = ""
 mutopiainstrument = "Choir SATB"
 date = ""
 source = "S.T. (ed.) typed"
 style = ""
 copyright = "Public Domain"
 maintainer = ""
 maintainerEmail = ""
 lastupdated = "2003-06-12"
  title="Wo Loezjag"
  composer="Russisch Volkslied"
  poet=""
  arranger = "Arr. S. Tsariova"
  footer = "A.V. 2003-06-13"
}
\version "1.6.2"

global = \notes {
   \time 2/4
   \key g \major
  % \skip 1*18 \bar "|."
}
==
Melodies file 'wl_m_4.1.ly':
==
% wl_m_4.1.ly
% melodies
sopranoMelody = \notes \relative c'' { \stemUp 
   d4.( e8   | [d8 e8 )d8 e8] | d4.( c8   | )b4 g4 | r4 d'4( | )e4 e4 | d4 b8 d8 |
   c8( d16 )c16 b8 d8 | [a8 d8   d8 d8]   | 
   b4 b8 d8  | c8( d16 )c16 b8 d8 | [a8 d8   d8 d8]   | g,2  |  \bar ":|"  g'2  \bar "|."
}

altoMelody = \notes \relative c'' { \stemDown
   b4.( c8   | [b8 c8 )b8 c8] | b4.( a8   | )g4 d4 |

Re: flip \grace

2003-06-13 Thread Mats Bengtsson
Did you consider

fis8 \grace {\stemDown bes( } ) a,

   /Mats

David Bobroff wrote:
I want to flip the  first grace note so that its stem is down.  I've
tried putting \stemDown in front of \grace but it flips the following a,
instead.  The \grace still stays up.  How do I do this?
-David Bobroff

\score {
\notes \relative c, { 
	\time 2/4
	\clef F
	fis8 \grace bes( )a, \breathe \grace {[cis8( d]} )e!16 r8.

}
\paper {linewidth = 3\in }
}


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.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
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


beam height etc.

2003-06-13 Thread David Bobroff

> Did you consider
> 
> fis8 \grace {\stemDown bes( } ) a,
> 
>/Mats

Yes, I just found out a short while ago that I needed to put the
\stemDown *inside* the \grace group.

Now I'm trying to get some other problems fixed.  I need to adjust some
stem length on beamed notes but I have not found any examples to study.

In the fragment at the bottom I would like to do some additional things.

1) Force a bracket over the 5-plet.
2) Lengthen the stem/lower the beam on the dis at the end of the 5-plet.
3) Tie that same dis to the fermata quarter note that follows.
4) Put a stem, but no notehead lined up with the rest in the 5-plet.
The definitions for inv and unv work but when I tried to alter them to
get stems but no noteheads Lily choked:

 error: parse error, unexpected SCORE:
\scor
 e {


Also, how can I make the dots of dotted notes transparent as well?

Thanks,

David Bobroff


inv = { \property Voice.NoteHead \override #'transparent  = ##t
  \property Voice.Stem \override #'transparent = ##t }
unv = { \property Voice.NoteHead \revert #'transparent
   \property Voice.Stem \revert #'transparent }

%Inv = { \property Voice.NoteHead \override #'transparent  = ##t}
%Unv = { \property Voice.NoteHead \revert #'transparent}

\score {
\notes \relative c, { 
\clef F

g16 r e'8---\f ~ e16 c,!8.-- \times 4/5 {b'16-> gis'-> fis'-> <
{\stemDown [\inv d' \unv dis--\<]} ~ \\ { r s } >}  \!dis4\fermata
\breathe

 }
\paper { }
}






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


weird time signature

2003-06-13 Thread David Bobroff
I'm working on a piece that has a weird time sig in two places. 
Expressed as Lily input it would be:

\time X/4

...which doesn't work, of course.  Is there a way to hack it?

-David Bobroff



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


Re: weird time signature

2003-06-13 Thread Larry Gilbert
On 13 Jun 2003, David Bobroff wrote:

> I'm working on a piece that has a weird time sig in two places. 
> Expressed as Lily input it would be:
> 
> \time X/4

That does sound weird.  The X isn't a Roman numeral, by chance, is it?

-- 
Larry Gilbert
Renton, WA, USA
[EMAIL PROTECTED]



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


Re: weird time signature

2003-06-13 Thread David Bobroff

> > I'm working on a piece that has a weird time sig in two places. 
> > Expressed as Lily input it would be:
> > 
> > \time X/4
> 
> That does sound weird.  The X isn't a Roman numeral, by chance, is it?

No, just the letter 'X'.  It's just sort of an "out of time" measure. 
The piece is in manuscript.

-David Bobroff




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


Re: weird time signature

2003-06-13 Thread Larry Gilbert
On 13 Jun 2003, David Bobroff wrote:

> No, just the letter 'X'.  It's just sort of an "out of time" measure. 
> The piece is in manuscript.

Regarding the measure being out-of-time, I think you can do that with
\cadenzaOn and \cadenzaOff.

I can't answer the question of how to typeset X/4 as a time signature; I'm 
not even sure there are any letters at all in the time-signature font.  
But hopefully someone else can prove me wrong. :-)

-- 
Larry Gilbert
Renton, WA, USA
[EMAIL PROTECTED]



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


How do I change the title font?

2003-06-13 Thread Rob Vlasaty
How do I change the font of the title and stanza numbers?  I'm a new lilypond user, 
and I've figuered out how to change the font of the verses.  I would like the title 
and stanza numbers to match. 

Also, I am making a small booklet, and would like to have the songs numbered.  How do 
I place a song number in the title to be printed at the left or right edge of the page?
-- 
__
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup



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