Eclats de vers : Opus : Musica : Templates
Table of Contents
1. Mini chambre
Le résultat :
La source :
% vim: set fdm=indent:
% ------------ headers ------------
%\version "2.24.0"
\language "english"
\header {
title = "boudoir"
subtitle="mini 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"
}
}
% ------------ view only the beg/end ------------
%showFirstLength = R2.*8
%showLastLength = R2.*8
% ------------ melodies ------------
\include "include/mel.ly"
% ------------ voices ------------
voiceFlute = \fixed c'' {
\global
\tempo 2. = 50
% Music follows here.
\anacrusis
}
voiceStringSoprano = \fixed c'' {
\global
% Music follows here.
\anacrusis
}
voiceStringAlto = \fixed c' {
\global
% Music follows here.
\anacrusis
}
voiceStringTenor = \fixed c {
\global
% Music follows here.
\anacrusis
}
voiceStringBass = \fixed c, {
\global
% Music follows here.
\anacrusis
}
voiceKeyboardRight = \fixed c'' {
\global
% Music follows here.
\anacrusis
}
voiceKeyboardLeft = \fixed c {
\global
% Music follows here.
\anacrusis
}
% ------------ instruments ------------
instrumentFlute = \new Staff \with {
instrumentName = "flute"
shortInstrumentName = "fl"
midiInstrument = "flute"
midiMinimumVolume = #1.0
midiMaximumVolume = #1.5
} { \clef french
%\override Staff.StaffSymbol.line-count = #7
\voiceFlute }
instrumentStrings = \new StaffGroup \with {
instrumentName = "strings"
shortInstrumentName = "st"
} <<
\new Staff = "treble" \with {
midiInstrument = "violin"
midiMinimumVolume = #1.0
midiMaximumVolume = #1.5
} { \clef treble
<< \voiceStringSoprano \\ \voiceStringAlto >> }
\new Staff = "bass" \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 }
connectArpeggios = ##t
} <<
\new Staff = "treble" \with {
midiInstrument = "harpsichord"
midiMinimumVolume = #1.5
midiMaximumVolume = #1.5
} { \clef treble
%\showStaffSwitch
\voiceKeyboardRight }
\new Staff = "bass" \with {
midiInstrument = "harpsichord"
midiMinimumVolume = #1.5
midiMaximumVolume = #1.5
} { \clef bass
%\showStaffSwitch
\voiceKeyboardLeft }
>>
% ------------ book ------------
\book {
\markup \column {
\vspace #1
\line { strings = 2 violins, 2 cellos }
\vspace #1
}
\score {
<<
\instrumentFlute
\instrumentStrings
\instrumentKeyboard
>>
\layout { }
\midi {
\context {
\Score
%midiChannelMapping = #'instrument
%\enablePolymeter
}
}
}
\paper {
system-separator-markup = \slashSeparator
}
}