lyric and midi trouble

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

lyric and midi trouble

thedoctor818
I am combining work I did before with another person's template and the
result is below\version "2.18.2"

\paper {
  left-margin = 15
   top-system-spacing #'basic-distance = #10
   score-system-spacing #'basic-distance = #10
   system-system-spacing #'basic-distance = #10
   last-bottom-spacing #'basic-distance = #10
}

\header {
   title = \markup {\normal-text "Resurrection Kanon - Tone 1"}
subtitle = \markup \center-column { "" \vspace #2 }
   composer = "arr. by B. Ledkovsky"

}

global = {
   \key g \major
   \omit Staff.TimeSignature
}




#(set-global-staff-size 23)

soprano = \relative c'' {
   \set Timing.measureLength = #(ly:make-moment 5/4)
fis,4 g4 a2 a4\bar""
\set Timing.measureLength = #(ly:make-moment 2/4)
a4 a4 \bar""
\set Timing.measureLength = #(ly:make-moment 6/4)
a4  a2 fis4 g2\bar""
\set Timing.measureLength = #(ly:make-moment 2/4)
fis4 fis4\bar""
\set Timing.measureLength = #(ly:make-moment 9/4)
fis4(e4) fis4  g4  a4 g4 d2. \bar""
\set Timing.measureLength = #(ly:make-moment 8/4)
fis4 fis4 fis4 fis4 g4 a4 a4 a4 \bar""
\set Timing.measureLength = #(ly:make-moment 2/4)
a4 a4 \bar""
\set Timing.measureLength = #(ly:make-moment 9/4)
a2 a4 a4 fis4 g2 g2\bar""
\set Timing.measureLength = #(ly:make-moment 2/4)
fis4 fis4 \bar""
\set Timing.measureLength = #(ly:make-moment 10/4)
f4 (g4) f2  e4 e4 d1


\bar"|."


}

sopranoWords = \lyricmode {


}

alto = \relative c'' {
  \set Timing.measureLength = #(ly:make-moment 5/4)
d,4 d4 d2 d4
\set Timing.measureLength = #(ly:make-moment 2/4)
d4 d4
\set Timing.measureLength = #(ly:make-moment 6/4)
d4 d2 d4 g2
\set Timing.measureLength = #(ly:make-moment 2/4)
d4 d4
\set Timing.measureLength = #(ly:make-moment 9/4)
  d2 d4 g4 fis4 e4  d2.
\set Timing.measureLength = #(ly:make-moment 8/4)
d4 d4 d4 d4 d4 d4 d4 d4
\set Timing.measureLength = #(ly:make-moment 2/4)
fis4 fis4\bar""
\set Timing.measureLength = #(ly:make-moment 9/4)
d2 d4 d4 d4 g2 g2
\set Timing.measureLength = #(ly:make-moment 2/4)
d4 d4
\set Timing.measureLength = #(ly:make-moment 10/4)
d4(g,4) a2  a4 a4 d1

}

altoWords = \lyricmode {
Thy tri_ --  um_ --  phant
\once \override LyricText.self-alignment-X = #LEFT
right_hand,_in_a manner
\once \override LyricText.self-alignment-X = #CENTER
be_ --  fit_ --  ting God,
\once \override LyricText.self-alignment-X = #LEFT
has_been__glorified in
\once \override LyricText.self-alignment-X = #CENTER
strength, O Im -- mor -- tal One;
For_ since_ it_ is_ all-_ pow_ --  -er_ -- -ful,
\once \override LyricText.self-alignment-X = #LEFT
it__has__broken_ the
\once \override LyricText.self-alignment-X = #CENTER
en_ --  -e_ --  -my_ to__ piec_ --  -es,
\once \override LyricText.self-alignment-X = #LEFT
and__for__the__Israelites__has__made a
\once \override LyricText.self-alignment-X = #CENTER
new path through the deep.


}

tenor =  \relative c' {
   \set Timing.measureLength = #(ly:make-moment 5/4)
a4 b4 d2 d4
  \set Timing.measureLength = #(ly:make-moment 2/4)
d4 d4
\set Timing.measureLength = #(ly:make-moment 6/4)
d4  d2 a4 b2
\set Timing.measureLength = #(ly:make-moment 2/4)
a4 a4
\set Timing.measureLength = #(ly:make-moment 9/4)
a2 a4 b4 d4 b4 d2.
\set Timing.measureLength = #(ly:make-moment 8/4)
a4 a4 a4 a4 b4 d4 d4 d4
\set Timing.measureLength = #(ly:make-moment 2/4)
d4 d4
\set Timing.measureLength = #(ly:make-moment 9/4)
d2 d4 d4 a4 b2 b2
\set Timing.measureLength = #(ly:make-moment 2/4)
a4 a4
\set Timing.measureLength = #(ly:make-moment 10/4)
a4(g4) g2 g4 g4 g1



}

tenorWords = \lyricmode {

}

bass =  \relative c {
   \set Timing.measureLength = #(ly:make-moment 5/4)
d4 g4 d2 d4
  \set Timing.measureLength = #(ly:make-moment 2/4)
d4 d4
\set Timing.measureLength = #(ly:make-moment 6/4)
d4 d2 d4 g2
\set Timing.measureLength = #(ly:make-moment 2/4)
d4 d4
\set Timing.measureLength = #(ly:make-moment 9/4)
d2 d4 e4 d4 d4 d2.
\set Timing.measureLength = #(ly:make-moment 8/4)
d4 d4 d4 d4 d4 d4 d4 d4
\set Timing.measureLength = #(ly:make-moment 2/4)
fis4 fis4
\set Timing.measureLength = #(ly:make-moment 9/4)
d2 d4 d4 d4 e2 e2
\set Timing.measureLength = #(ly:make-moment 2/4)
d4 d4
\set Timing.measureLength = #(ly:make-moment 10/4)
d2 d2 d4 d4  g,1

}

bassWords = \lyricmode {


}

\score {
   \new ChoirStaff <<
     \new Staff \with {
       midiInstrument = "string ensemble 1"
       instrumentName = \markup \center-column { "Soprano" "Alto"}
     } <<
       \new Voice = "soprano" { \voiceOne \soprano }
       \new Voice = "alto" { \voiceTwo \alto }
     >>
     \new Lyrics = "sopranos" \with {
       % this is needed for lyrics above a staff
       \override VerticalAxisGroup.staff-affinity = #DOWN

     }
     \new Lyrics = "altos"
     \new Lyrics = "tenors" \with {
       % this is needed for lyrics above a staff
       \override VerticalAxisGroup.staff-affinity = #DOWN
     }
     \new Staff \with {
       midiInstrument = "string ensemble 1"
       instrumentName = \markup \center-column { "Tenor" "Bass" }
     } <<
       \clef bass
       \new Voice = "tenor" { \voiceOne \tenor }
       \new Voice = "bass" { \voiceTwo \bass }
     >>
     \new Lyrics = "basses"
     \context Lyrics = "soprano" \lyricsto "sopranoWords" \sopranoWords
     \context Lyrics = "alto" \lyricsto "altoWords" \altoWords
     \context Lyrics = "tenor" \lyricsto "tenorWords" \tenorWords
     \context Lyrics = "bass" \lyricsto "bassWords" \bassWords
   >>
}


However, I cannot get the lyrics and midi to show.

I am not sure what ti do next.

-Michael Dykes


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: lyric and midi trouble

Rudi Guggt
thedoctor818 wrote

> \paper {
>   left-margin = 15
>    top-system-spacing #'basic-distance = #10
>    score-system-spacing #'basic-distance = #10
>    system-system-spacing #'basic-distance = #10
>    last-bottom-spacing #'basic-distance = #10
> }
>
> [...]
>
> \score {
>  [...]
>      \new Lyrics = "basses"
>      \context Lyrics = "soprano" \lyricsto "sopranoWords" \sopranoWords
>      \context Lyrics = "alto" \lyricsto "altoWords" \altoWords
>      \context Lyrics = "tenor" \lyricsto "tenorWords" \tenorWords
>      \context Lyrics = "bass" \lyricsto "bassWords" \bassWords
>    >>
> }
>
> However, I cannot get the lyrics and midi to show.

In the paper block you should use the dot syntax:
top-system-spacing.basic-distance = #10

In the score block the midi block is missing, so no midi...
use \midi {}

The lyricsto command is followed by a voice, you gave a lyrics:
use      \context Lyrics = "alto" \lyricsto "alto" \altoWords

hth



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user