Eclats de vers : Opus : Musica : Templates

Retour à l’accueil

Table of Contents

1. Septuor vocal

Le résultat :

chan.png

La source :

% vim: set fdm=indent:


% ------------ headers ------------

%\version "2.24.0"

\language "english"

\header {
  title = "septuor vocal"
  subtitle="choir"
  composer = "composer"
  poet = "poet"
  %piece = "piece"
}

\layout {
  %\enablePolymeter
  \override Score.BarNumber.break-visibility = ##(#t #t #t)
  \context {
    \Score
    measureBarType = #","
    %barNumberVisibility = #(every-nth-bar-number-visible 8)
    barNumberVisibility = #(modulo-bar-number-visible 8 0)
  }
  \context {
    \Staff
    \RemoveEmptyStaves
    \consists "Merge_rests_engraver"
  }
}

% ------------ view only the beg/end ------------

%showFirstLength = R2.*8
%showLastLength = R2.*8

% ------------ melodies ------------

\include "include/mel.ly"

% ------------ voices ------------

voiceSoprano = \fixed c'' {
  \global
  \tempo 2. = 50
  % Music follows here.
  \anacrusis

}

voiceMezzo = \fixed c'' {
  \global
  % Music follows here.
  \anacrusis

}

voiceAlto = \fixed c' {
  \global
  % Music follows here.
  \anacrusis

}

voiceCounter = \fixed c' {
  \global
  % Music follows here.
  \anacrusis

}

voiceTenor = \fixed c {
  \global
  % Music follows here.
  \anacrusis

}

voiceBarytone = \fixed c {
  \global
  % Music follows here.
  \anacrusis

}

voiceBass = \fixed c, {
  \global
  % Music follows here.
  \anacrusis

}

% ------------ lyrics ------------

lyricsSoprano = \lyricmode {
  %\set vocalName = "S :"
  so -- pra -- no
}

lyricsMezzo = \lyricmode {
  %\set vocalName = "M :"
  mez -- zo
}

lyricsAlto = \lyricmode {
  %\set vocalName = "A :"
  al -- to
}

lyricsCounter = \lyricmode {
  %\set vocalName = "C :"
  coun -- ter
}

lyricsTenor = \lyricmode {
  %\set vocalName = "T :"
  te -- nor
}

lyricsBarytone = \lyricmode {
  %\set vocalName = "Y :"
  ba -- ry -- to -- ne
}

lyricsBass = \lyricmode {
  %\set vocalName = "B :"
  bass line
}

% ------------ instruments ------------

instrumentSopranoMezzo = \new Staff = "SopranoMezzo"
\with {
  instrumentName = \markup { \column { soprano mezzo } }
  shortInstrumentName = \markup { \column { S M } }
  midiInstrument = "violin"
  midiMinimumVolume = #1.0
  midiMaximumVolume = #1.5
} { \clef treble
    %\override Staff.StaffSymbol.line-count = #7
    <<
      \new Voice = "soprano" { \voiceOne \voiceSoprano }
      \new Voice = "mezzo" { \voiceTwo \voiceMezzo }
    >>
}

instrumentAltoCounter = \new Staff = "AltoCounter"
\with {
  instrumentName = \markup { \column { alto counter } }
  shortInstrumentName = \markup { \column { A C } }
  midiInstrument = "viola"
  midiMinimumVolume = #1.0
  midiMaximumVolume = #1.5
} { \clef alto
    %\override Staff.StaffSymbol.line-count = #7
    <<
      \new Voice = "alto" { \voiceOne \voiceAlto }
      \new Voice = "counter" { \voiceTwo \voiceCounter }
    >>
}

instrumentTenorBarytone = \new Staff = "TenorBarytone"
\with {
  instrumentName = \markup { \column { tenor barytone } }
  shortInstrumentName = \markup { \column { T Y } }
  midiInstrument = "cello"
  midiMinimumVolume = #1.0
  midiMaximumVolume = #1.5
} { \clef varbaritone
    %\override Staff.StaffSymbol.line-count = #7
    <<
      \new Voice = "tenor" { \voiceOne \voiceTenor }
      \new Voice = "barytone" { \voiceTwo \voiceBarytone }
    >>
}

instrumentBass = \new Staff = "Bass"
\with {
  instrumentName = "bass"
  shortInstrumentName = "B"
  midiInstrument = "contrabass"
  midiMinimumVolume = #1.0
  midiMaximumVolume = #1.5
} { \clef bass
    %\override Staff.StaffSymbol.line-count = #7
    \new Voice = "bass" \voiceBass
}

% ------------ book ------------

\book {
  \score {
    <<
      \new StaffGroup <<
	% -- staff 1
	\instrumentSopranoMezzo
	\new Lyrics \with { alignAboveContext = "SopranoMezzo" }
	\lyricsto "soprano" \lyricsSoprano
	\new Lyrics \with { alignBelowContext = "SopranoMezzo" }
	\lyricsto "mezzo" \lyricsMezzo
	% -- staff 2
	\instrumentAltoCounter
	\new Lyrics \with { alignAboveContext = "AltoCounter" }
	\lyricsto "alto" \lyricsAlto
	\new Lyrics \with { alignBelowContext = "AltoCounter" }
	\lyricsto "counter" \lyricsCounter
	% -- staff 3
	\instrumentTenorBarytone
	\new Lyrics \with { alignAboveContext = "TenorBarytone" }
	\lyricsto "tenor" \lyricsTenor
	\new Lyrics \with { alignBelowContext = "TenorBarytone" }
	\lyricsto "barytone" \lyricsBarytone
	% -- staff 4
	\instrumentBass
	\new Lyrics \with { alignBelowContext = "Bass" }
	\lyricsto "bass" \lyricsBass
      >>
    >>
    \layout { }
    \midi {
      \context {
	\Score
	%midiChannelMapping = #'instrument
	%\enablePolymeter
      }
    }
  }
  \paper {
    system-separator-markup = \slashSeparator
  }
}

Author: chimay

Created: 2023-05-10 mer 16:49

Validate