lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leadsheet-template - 4 voices...


From: Mats Bengtsson
Subject: Re: Leadsheet-template - 4 voices...
Date: Mon, 21 May 2007 22:37:07 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20061113 Debian/1.7.8-1sarge8

I'm not sure I understand exactly what you want to achieve,
but here's one possibility which at least puts the tenor and
basso on a separate stave.

\score {
<<
\set Score.skipBars = ##t
\set Score.printpagenumber = ##f
%\set Score.barNumberVisibility = #(every-nth-bar-number-visible 1)
\set Score.barNumberVisibility = ##f

% \override Score.BarNumber #'break-visibility


\context ChordNames = mychords {
% \override ChordName #'font-series =#'bold
\override ChordName #'font-size = #1
% \override ChordName #'font-size = #-1
% \override ChordName #'word-space = #1.0
% \set chordChanges = ##t
\set majorSevenSymbol = "maj7"
\set voltaOnThisStaff = ##t
\override VoltaBracket #'minimum-space = #2
\harmonies
}


% \new Staff = "song" { \song }
\new Staff = "song" {

\set Staff.voltaOnThisStaff = ##f
\clef treble
\key es \major
\time 4/4
\override MultiMeasureRest #'expand-limit = 1

% Auftakt...
\new Voice = "intro" {\intro}

<< \repeat volta 2 {

<<
\new Voice = "chorus" { \chorus }
\\
{ \chorusalto }
>>

\bar "||"
\break
\new Voice = "verseone" {\verseone}

}
\new Staff {
\clef bass
\repeat volta 2 {

<<
\chorustenor
\\
\chorusbasso
>>
}

}
>>


}



\new Lyrics <<
\lyricsto "intro" \lyrIntro
\lyricsto "chorus" \lyrChorus
\lyricsto "verseone" \lyrVerseOne
\new Lyrics \lyricsto "verseone" \lyrVerseTwo
\new Lyrics \lyricsto "verseone" \lyrVerseThree
>>

>>
\layout {

\context {

\Lyrics
\override LyricText #'self-alignment-X = #CENTER
\override LyricSpace #'minimum-distance = #1.6
\override LyricText #'font-name = #"Maiandra GD"
%\override LyricText #'font-size = #5.3
\override LyricText #'font-size = #-1

}
}
}

/Mats

Jens Meyer wrote:

Hello all!

After your last help (to my emails "Template for a leadsheet (vocal, chords, lyrics, several verses)") I moved several steps forward - great!
Because results were so satisfying I expanded my objectives. ;-)

Adding a second voice was (thanks to the great manual/website) no problem. But now I have problems to add two more voices (in extra staff).
I want to add "chorustenor" and "chorusbasso" in standard-choir-score.

Of course I tried the "Multiple-staves - example".
But after adding a new Staff my "verses" are added as third line of chorus - and the text is completely missing. I tried countless variations without success until now.

Could you give me a further hint how to solve this problem with my template? I changed "Staff"-area already (removed \song identifier) because I would suggest that I have to add another "\new Staff".

Kind regards,

Jens




------------------------------------------------------------------------

% Template based on Leadsheet-template from Jack Cooper - thank you!

\version "2.11.23"
\include "deutsch.ly"

% SZ is one of 11, 13, 16, 19, 20, 23 and 26
#(set-global-staff-size 13)
\paper {
#(set-paper-size "a4")
 line-width = 10\cm
 indent = 0\mm
 % between-system-space = 3\mm
 between-system-padding = #0.8
 between-system-space = #0.8
% spacing anzeigen
 % annotate-spacing = ##t
% max. Anzahl Systeme
 % system-count = #10
% ???
 % paper variables hsize and vsize
 % nothing: paperheight = 15.0 \cm
 % nothing: paperwidth = 12.0 \cm
}

\header {
      dedication =""
      title = \markup \override #'(font-name . "Maiandra GD" ) \fontsize #5 
\bold { Sei behÃŒtet }
      subtitle = ""
      subsubtitle = ""
      poet = ""
      composer = \markup \override #'(font-name . "Maiandra GD" )  { (C) 2001 
C. Bittlinger}
      meter = ""
      opus = ""
      arranger = ""
      % instrument = \markup \override #'(font-name . "Maiandra GD" )  { 
Leadsheet }
      piece = ""
      breakbore = ""
      % copyright = \markup \override #'(font-name . "Maiandra GD" ) \italic 
\bold { -- To play the chords shown in the fret diagrams, place capo on second fret -- }
      % tagline= "Engraved using Lilypond -- www.lilypond.com - based on 
leadsheet-template by Jack Cooper"
      tagline= "Engraved by Jens Meyer 2007 using Lilypond -- www.lilypond.com"
}

% -- SONG STRUCTURE SECTION --

intro = {
\override TextScript #'staff-padding = #3.0 %r1\bmin | r1\gmaj | r1\bmin | r1\gmaj \bar "||"
\skip2 es'4 f' |
}

verseone = {
\override TextScript #'staff-padding = #3.0
% \mark \markup {\smaller \italic \bold {Verse}} es'8 c' es' c' es'4 c' |
es'2 g'4 b'~ | b'2 r2 | r2 b'4 b' | b' as' as' g' |
es'2 g'4 f'~ | f'2 r2 | r1 | es'8 c' es' c' es'4 c' |
es'2 g'4 b'~ | b'2 r2 | r2 b'4 b' | b' as' as' g' |
es'2 g'4 f'~ | f'2 r2 | r2 es'4 f' |
}

chorus = {
\override TextScript #'staff-padding = #3.0
\stemUp
% \mark \markup {\smaller \italic \bold {Chorus}}
% \skip2 es'4 f' |
g'2 g' | r4 g' as' g' |
g'2 f' | r2 f'4 g' | as'2 as'4 as' |
as'4 g' f' es' | f'1 |
r4 f'4 g' as' | b'2 b' | b'4 b' c'' b' |
b'2 g' | r2 f'4 g' | as'2 as' |
as'4 g' f' es' | f'1 | r1 |
}

chorusalto = {
\override TextScript #'staff-padding = #3.0
\stemDown
% \mark \markup {\smaller \italic \bold {Chorus}}
% \skip2 es'4 f' |
f'2 es' | s4 es' es' es' |
d'2 d' | s2 d'4 es' | es'2 es'4 es' |
es'4 es' as as | b1 |
s4 b4 d' f' | g'2 g' | g'4 g' f' f' |
f'2 es' | s2 f'4 es' | es'2 es' |
es'4 es' as as | b1 | s1 |
}

chorustenor = {
\override TextScript #'staff-padding = #3.0
\stemUp
% \mark \markup {\smaller \italic \bold {Chorus}}
% \skip2 es'4 f' |
b2 b | r4 b b b |
c'2 b | r2 b4 b | c'2 c'4 c' |
c'4 b c' es' | es'1 |
r4 d'4 d' c' | d'2 d' | d'4 d' d' d' |
c'2 b | r2 b4 b | c'2 c' |
c'4 b c' es' | es'1 | r1 |
}

chorusbasso = {
\override TextScript #'staff-padding = #3.0
\stemDown
% \mark \markup {\smaller \italic \bold {Chorus}}
% \skip2 es'4 f' |
es2 es | s4 es f g |
b2 b | s2 b4 b | as2 as4 as |
f4 f f f | b1 |
s4 b4 as as | g2 g | g4 g b g |
c'2 c | s2 f4 g | as2 as4 g |
f4 f f f | b1 | s1 |
}


lyrIntro = \lyricmode {
 Sei be --
}

lyrVerseOne = \lyricmode {
 \set stanza = "1. "
 % \set associatedVoice = #"verseone"
 Mit -- ten in die grau -- e All -- tags -- welt,
 " " die sang- und klang -- los dich be -- engt,
 hö -- re ich ein Lied, das mir ge -- fÀllt
 " " und das mir Pers -- pek -- ti -- ven schenkt.
 Sei be-
}

lyrVerseTwo = \lyricmode {
 \set stanza = "2. "
 % \set associatedVoice = #"verseone"
 Manch -- mal, wenn ein Tag zu En -- de geht,
 und die Nacht durch al -- le Rit -- zen dringt,
 spÌ -- re ich den Wind, der uns um -- weht
 " " und die -- se Zei -- len mit sich bringt.
 Sei be-
}

lyrVerseThree = \lyricmode {
 \set stanza = "3. "
 % \set associatedVoice = #"verseone"
 Im -- mer, wenn wir aus -- ein -- an -- der gehn,
 spÃŒr ich Trau -- er, fÃŒhl ich mich al -- lein.
 Und bis wir uns ein -- mal wie -- der -- sehn,
 soll'n die Wor -- Te dein Be -- glei -- ter sein.
 Sei be-
}


lyrChorus = \lyricmode {
 hÌ -- tet auf dei -- nen We -- gen.
 Sei be -- hÌ -- tet auch mit -- ten in der Nacht.
 Durch Son -- nen -- ta -- ge, StÃŒr -- me und durch Re -- gen
 hÀlt der Schö -- pfer Ì -- ber dir die Wacht.
}

% -- CHORD SECTION --

%    This is where you enter the song's chords  and durations between curly 
brackets
%    Consult the lilypond Chords-mode page for example of how to enter various 
chords:
%    
http://lilypond.org/doc/v2.8/Documentation/user/lilypond/Chords-mode.html#Chords-mode
harmonies = \chordmode { \skip1 es1 \skip1 b1 \skip1 as f:min7 b:sus4 b g:min \skip2 g2:min7 c1:min7 \skip1 as f1:min7 b1:sus4 b1

c:min7 \skip1 g:min7 \skip1 as:9 f:min7 b1:sus4 \skip2 b2
c1:min7 \skip1 g:min7 \skip1 as:9 f:min7 b1:sus4 b1

}

% -- SCORE DEFINITION --

%    This is where you desine how to assemble the elements of your musical 
score.
%    No changes should be required in this section except to change the tempo 
of the
%    midi output file.

%    Output files include the log file, a postscript file (for fast printing), 
a pdf file
%    and a midi file.
\score {
   <<
    \set Score.skipBars = ##t
    \set Score.printpagenumber = ##f
    %\set Score.barNumberVisibility = #(every-nth-bar-number-visible 1)
    \set Score.barNumberVisibility = ##f

    % \override Score.BarNumber  #'break-visibility
\context ChordNames = mychords {
        % \override ChordName #'font-series =#'bold
        \override ChordName #'font-size = #1
         % \override ChordName #'font-size = #-1
% \override ChordName #'word-space = #1.0 % \set chordChanges = ##t
        \set majorSevenSymbol = "maj7"
         \set voltaOnThisStaff = ##t
        \override VoltaBracket #'minimum-space = #2
        \harmonies
    }

% \new Staff = "song" { \song }
   \new Staff = "song" {
        
            \set Staff.voltaOnThisStaff = ##f
            \clef treble
            \key es \major
            \time 4/4
\override MultiMeasureRest #'expand-limit = 1
            % Auftakt...
            \new Voice = "intro"       {\intro}
\repeat volta 2 {
        
                    <<
                    \new Voice = "chorus"
                    { \chorus } \\
                    { \chorusalto }
                    >>
\bar "||"
                    \break
                    \new Voice = "verseone" {\verseone}
} } \new Lyrics << \lyricsto "intro" \lyrIntro
                     \lyricsto "chorus"     \lyrChorus
                    \lyricsto "verseone"   \lyrVerseOne
                     \new Lyrics \lyricsto "verseone"    \lyrVerseTwo
                     \new Lyrics \lyricsto "verseone"    \lyrVerseThree
    >>
>>
    \layout {
\context {

           \Lyrics
           \override LyricText #'self-alignment-X = #CENTER
           \override LyricSpace #'minimum-distance = #1.6
           \override LyricText #'font-name = #"Maiandra GD"
           %\override LyricText #'font-size = #5.3
           \override LyricText #'font-size = #-1
} } }

------------------------------------------------------------------------

_______________________________________________
lilypond-user mailing list
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]