Eclats de vers : Opus : Musica : Templates

Retour à l’accueil

Table of Contents

1. Eclats de vers : Musica : Templates : Petit chambre

Le résultat :

veranda.png

La source :

% vim: set fdm=indent:

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

%\version "2.24.0"

\language "english"

\header {
  title = "véranda"
  subtitle="petit chambre"
  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"
  }
}

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

\include "include/mel-3.ly"

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

voiceWoodSoprano = \fixed c'' {
  \global
  \tempo 2. = 50
  % Music follows here.
  \themeMelody
}

voiceWoodAlto = \fixed c' {
  \global
  % Music follows here.
  \themeMelody
}

voiceWoodTenor = \fixed c {
  \global
  % Music follows here.
  \themeMelody
}

voiceWoodBass = \fixed c, {
  \global
  % Music follows here.
  \themeMelody
}

voiceStringSoprano = \fixed c'' {
  \global
  % Music follows here.
  \themeMelody
}

voiceStringAlto = \fixed c' {
  \global
  % Music follows here.
  \themeMelody
}

voiceStringTenor = \fixed c {
  \global
  % Music follows here.
  \themeMelody
}

voiceStringBass = \fixed c, {
  \global
  % Music follows here.
  \themeMelody
}

voiceKeyboardRight = \fixed c'' {
  \global
  % Music follows here.
  \themeMelody
}

voiceKeyboardLeft = \fixed c {
  \global
  % Music follows here.
  \themeMelody
}

voiceGuitar = \fixed c {
  \global
  % Music follows here.
  \themeMelody
}

voiceVibraphone = \fixed c' {
  \global
  % Music follows here.
  \themeMelody
}

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

instrumentWoods = \new GrandStaff \with {
  instrumentName = "Woods"
  shortInstrumentName =  "wd"
} <<
  \new Staff = "right" \with {
    midiInstrument = "flute"
    midiMinimumVolume = #1.0
    midiMaximumVolume = #1.5
  } { \clef treble
      << \voiceWoodSoprano \\ \voiceWoodAlto >> }
  \new Staff = "left" \with {
    midiInstrument = "oboe"
    midiMinimumVolume = #1.0
    midiMaximumVolume = #1.5
  } { \clef bass
      << \voiceWoodTenor \\ \voiceWoodBass >> }
>>

instrumentStrings = \new GrandStaff \with {
  instrumentName = "Strings"
  shortInstrumentName = "st"
} <<
  \new Staff = "right" \with {
    midiInstrument = "violin"
    midiMinimumVolume = #1.0
    midiMaximumVolume = #1.5
  } { \clef treble
      << \voiceStringSoprano \\ \voiceStringAlto >> }
  \new Staff = "left" \with {
    midiInstrument = "cello"
    midiMinimumVolume = #1.0
    midiMaximumVolume = #1.5
  } { \clef bass
      << \voiceStringTenor \\ \voiceStringBass >> }
>>

instrumentKeyboard = \new GrandStaff \with {
  instrumentName = \markup \column { Harpsi- chord }
  shortInstrumentName = \markup \column { hp cd }
} <<
  \new Staff = "right" \with {
    midiInstrument = "harpsichord"
    midiMinimumVolume = #1.5
    midiMaximumVolume = #2.0
  } { \clef treble \voiceKeyboardRight }
  \new Staff = "left" \with {
    midiInstrument = "harpsichord"
    midiMinimumVolume = #1.5
    midiMaximumVolume = #2.0
  } { \clef bass \voiceKeyboardLeft }
>>

instrumentGuitar = \new Staff \with {
  instrumentName = "Guitar"
  shortInstrumentName = "gtr"
  midiInstrument = "acoustic guitar (nylon)"
  midiMinimumVolume = #1.0
  midiMaximumVolume = #1.5
} { \clef tenor
    %\override Staff.StaffSymbol.line-count = #7
    \voiceGuitar }

instrumentVibraphone = \new Staff = "right" \with {
  instrumentName = "Vibraphone"
  shortInstrumentName = "vb"
  midiInstrument = "vibraphone"
  midiMinimumVolume = #1.0
  midiMaximumVolume = #1.5
} { \clef treble \voiceVibraphone }

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

\book {
  \score {
    <<
      \instrumentWoods
      \instrumentStrings
      \instrumentKeyboard
      \instrumentGuitar
      \instrumentVibraphone
    >>
    \layout { }
    \midi {
      \context {
	\Score
	%midiChannelMapping = #'instrument
	%\enablePolymeter
      }
    }
  }
  \paper {
    system-separator-markup = \slashSeparator
  }
  \markup \column {
    \vspace #1
    \line { woods = 2 flutes, 2 bassoons }
    \line { strings = 2 violins, 2 cellos }
    \vspace #1
  }
}

Author: chimay

Created: 2023-03-18 sam 16:20

Validate