lilypond-user
[Top][All Lists]
Advanced

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

Re: Changing Staff organization


From: Wilbert Berendsen
Subject: Re: Changing Staff organization
Date: Sun, 1 Mar 2009 23:46:51 +0100
User-agent: KMail/1.11.0 (Linux/2.6.28-8-generic; KDE/4.2.0; i686; ; )

Op zondag 01 maart 2009, schreef Alberto Simões:
> Basically, I do not want to convert a music I have to piano to SATB.
> I just want to change staffs organization.
> (http://eremita.di.uminho.pt/~ambs/_.pdf).


I could imagine just creating one \score { } with the piano intro, and another one for the choir, like this:


\version "2.12.0"
globalIntro = {
  \key d \major
  \time 4/4
  \partial 2
}
% =========piano:==============
rightOne = \relative c' {
  \globalIntro
  \autoBeamOff
  r8 d e fis | d4. e8 fis g a b
  
}
rightTwo = \relative c'' {
  \globalIntro
  s2 s1
}
leftOne = \relative c {
  \globalIntro
  fis4 g8 a b4 bes a8 b cis d
}
leftTwo = \relative c {
  \globalIntro
  d2~d1
}
globalChoir = {
  \key d \major
  \time 6/8
  \partial 8
}
% ===========choir:===========
soprano = \relative c'' {
  \globalChoir
  a8 a4 b8 a fis8 d4.~d8 r b'
  
}
alto = \relative c' {
  \globalChoir
  s8 s2. d8 d b a4 r8
  
}
tenor = \relative c' {
  \globalChoir
  r8 r4. r d8 d b d4 r8
  
}
bass = \relative c {
  \globalChoir
  r8 r4. r fis8 fis g fis4 r8
  
}
verseSopr = \lyricmode {
  Hos -- sa -- na~A -- le -- lui -- a __
}
verseOther = \lyricmode {
  A -- le -- lui -- a
}
pianoPart = \new PianoStaff \with {
  instrumentName = "Piano"
} <<
  \new Staff = "right" << \rightOne \\ \rightTwo >>
  \new Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }
>>
choirPart = \new ChoirStaff <<
  \new Staff = "women" \with {
    instrumentName = \markup \center-column { "Soprano" "Alto" }
  } <<
    \new Voice = "soprano" { \voiceOne \soprano }
    \new Voice = "alto" { \voiceTwo \alto }
  >>
  \new Lyrics \with {
    alignAboveContext = "women"
  } \lyricsto "soprano" \verseSopr
  \new Lyrics \lyricsto "alto" \verseOther
  \new Staff \with {
    instrumentName = "Tenor"
  } {
    \clef "treble_8"
    \new Voice = "tenor" \tenor
  }
  \new Lyrics \lyricsto "tenor" \verseOther
  \new Staff \with {
    instrumentName = "Bass"
  } {
    \clef bass
    \new Voice = "bass" \bass
  }
>>
\score {
  \pianoPart
}
\score {
  \choirPart
} 



best regards,
Wilbert Berendsen


--
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/


reply via email to

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