[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: template for SATB+piano
From: |
Bertalan Fodor |
Subject: |
RE: template for SATB+piano |
Date: |
Mon, 21 Jun 2004 10:43:40 +0200 |
Just to advertise the LilyPondTool a bit, this is what I got running the
wizard, with 6 clicks. (I can see now that there is a little bug: the
staffPiano is declared as Piano)
\version "2.2.2"
#(ly:set-point-and-click 'line-column)
\header {
}
\include "deutsch.ly"
verse= \lyrics {
}
staffSoprano = \new Staff \notes {
\time 4/4
\set Staff.instrument="Soprano"
\set Staff.midiInstrument="choir aahs"
\key c \major
\clef treble
\relative c' {
\context Voice = "melodySop" {
}
\bar "|."
}
}
staffAlto = \new Staff \notes {
\set Staff.instrument="Alto"
\set Staff.midiInstrument="choir aahs"
\key c \major
\clef treble
\relative c' {
\context Voice = "melodyAlt" {
}
\bar "|."
}
}
staffTenor = \new Staff \notes {
\set Staff.instrument="Tenor"
\set Staff.midiInstrument="choir aahs"
\key c \major
\clef "G_8"
\relative c' {
\context Voice = "melodyTen" {
}
\bar "|."
}
}
staffBass = \new Staff \notes {
\set Staff.instrument="Bass"
\set Staff.midiInstrument="choir aahs"
\key c \major
\clef bass
\relative c' {
\context Voice = "melodyBas" {
}
\bar "|."
}
}
Piano = \new PianoStaff {
\set PianoStaff.midiInstrument = #"acoustic grand"
\set PianoStaff.instrument = #"Piano "
<<
\context Staff = RH { % Right hand
\clef treble
\notes {
\key c \major
\relative c' {
}
}
}
\context Staff = LH { % Left hand
\clef bass
\notes {
\key c \major
\relative c {
}
}
}
>>
}
\score {
<<
\staffSoprano
\context Lyrics = lmelodySop \lyricsto "melodySop" \verse
\staffAlto
\context Lyrics = lmelodyAlt \lyricsto "melodyAlt" \verse
\staffTenor
\context Lyrics = lmelodyTen \lyricsto "melodyTen" \verse
\staffBass
\context Lyrics = lmelodyBas \lyricsto "melodyBas" \verse
\staffPiano
>>
\midi {
}
\paper {
}
}
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of Ruud van Silfhout
> Sent: Sunday, June 20, 2004 7:10 PM
> To: Lilypond user
> Subject: template for SATB+piano
>
> Hi,
>
> I just made for my daughter a template for a choirstaff
> with 4 separate stafs (one for each voice (SATB), )
> accompanied by a pianostaff with four voices (2 voices
> on the upper staff and 2 voices on the lower staff).
> I made such a template for others as well, so I thought
> it might be a good idea to share it with you. If it is good
> enough it can also be added to the set of available
> templates for lily.
>
> Regards,
> Ruud van Silfhout
>
> PS. Han-Wen, Jan: Will I be seeing you both at the EJE
> concert tonight?
>
> ---8< snip snip
> \version "2.2.0"
> \header {
>
> texidoc = "
> Four-part (SATB) vocal score with piano.
> "
> }
>
> sopMusic = \notes \relative c'' { c4 c c8[( b)] c4 }
> sopWords = \lyrics { hi4 hi hi hi }
>
> altoMusic = \notes \relative c' { e4 f d e }
> altoWords =\lyrics { ha4 ha ha ha }
>
> tenorMusic = \notes \relative c' { g4 a f g }
> tenorWords = \lyrics { hu4 hu hu hu }
>
> bassMusic = \notes \relative c { c4 c g c }
> bassWords = \lyrics { ho4 ho ho ho }
>
> upperOne = \notes\relative c'' {
> a b c d
> }
>
> upperTwo = \notes\relative c' {
> a2 c
> }
>
> lowerOne = \notes\relative c {
> a2 c
> }
>
> lowerTwo = \notes\relative c {
> a1
> }
>
> \score {
> <<
> \context ChoirStaff <<
> \context Staff = sopranos <<
> \context Voice = sopranos { \sopMusic }
> >>
> \context Lyrics = sopranos \lyricsto sopranos \sopWords
> \context Staff = altos <<
> \context Voice = altos { \altoMusic }
> >>
> \context Lyrics = altos \lyricsto altos \altoWords
> \context Staff = tenors <<
> \clef "G_8"
> \context Voice = tenors { \tenorMusic }
> >>
> \context Lyrics = tenors \lyricsto tenors \tenorWords
> \context Staff = basses <<
> \clef bass
> \context Voice = basses { \bassMusic }
> >>
> \context Lyrics = basses \lyricsto basses \bassWords
> >>
>
> \context PianoStaff <<
> %\time 4/4
> \context Staff = upper <<
> \context Voice = one { \voiceOne \upperOne }
> \context Voice = two { \voiceTwo \upperTwo }
> >>
> \context Staff = lower <<
> \clef bass
> \context Voice = one { \voiceOne \lowerOne }
> \context Voice = two { \voiceTwo \lowerTwo }
> >>
> >>
> >>
>
> \paper {
> \context {
> % a little smaller so lyrics can be closer to the staff.
> \StaffContext
> minimumVerticalExtent = #'(-3 . 3)
> }
> }
> }
>
>