|
From: | Daniel Bernair |
Subject: | Re: cherche modèle de fichier et questions dereprises |
Date: | Wed, 18 Jul 2012 13:42:28 +0200 |
Je crée d'abord une partition par portée (voice,
key, score , midi) et je compile. Je fais cela pour toutes les portées. Puis je
fais des petits fichiers avec uniquement le texte et les notes ces fichiers
seront appelés par \include.
Je crée une partition complète ( title, haeder,
score, midi) et les instructions texte et notes sont appelées par
\include.
Pour exemple :
%%%%%%%%%%%%% Entêtes %%%%%%%%%%%%%%%
\version "2.14.0" %%%%%%%%% encodé par Daniel Bernair \header { title = "Te Deum Patrem / Gloria Patri" subtitle = "Te Deum Patrem" %%%%%%%%%subsubtitle = "en do majeur" %%%%%%%%%%instrument = "Te Deum Patrem Directrice" composer = "Io. Castileti" arranger = "Transcription D. Bernair" } %%%%%%%%%%%% mise en page
%%%%%%%%%%%%%%%%%%%
\paper {
#(set-paper-size "a4") top-margin = 2\cm bottom-margin = 2\cm after-title-space = 0\cm left-margin = 15\mm
oddFooterMarkup = \markup {} } #(set-global-staff-size 15) global = { \time 4/4 } Key = { \key c \major }
\include "Te Deum Soprano 1 vk.ly" \include "Te Deum Soprano 2 vk.ly" \include "Te Deum Alto 1 vk.ly" \include "Te Deum Alto 2 vk.ly" \include "Te Deum Tenor vk.ly" \include "Te Deum Bass vk.ly" %content
Sopranoun = {
\set Staff.instrumentName = "Soprano 1-C. " \set Staff.shortInstrumentName = "S.1-C. " \global \clef treble << \sopranoun >> } Sopranodeux = {
\set Staff.instrumentName = "Soprano 2-C.S. " \set Staff.shortInstrumentName = "S.2-C.S. " \global \clef treble << \sopranodeux >> } Altoun = { \set Staff.instrumentName = "Alto 1-A. " \set Staff.shortInstrumentName = "A.1-A. " \global \clef treble << \Altoun >> } Altodeux = {
\set Staff.instrumentName = "Alto 2-S.T. " \set Staff.shortInstrumentName = "A. 2- S.T. " \global \clef treble << \Altodeux >> } Tenor = {
\global \set Staff.instrumentName = "Ténor - T. " \set Staff.shortInstrumentName = "T. " \clef "treble_8" << \tenor >> } Basse = { \global \set Staff.instrumentName = "Basse " \set Staff.shortInstrumentName = "B. " \clef bass << \basse >> } \score {
<< %1 \pointAndClickOff \new StaffGroup = "band" << %2 \new Staff \with {midiInstrument = #"choir aahs" } << %3 \new Voice = "sopun" \Sopranoun \new Lyrics \lyricsto "sopun" \SopUnParoles >> %3 \new Staff \with {midiInstrument = #"choir aahs" } << %3 \new Voice = "sopdeux" \Sopranodeux \new Lyrics \lyricsto "sopdeux" \SopDeuxParoles >> %3 \new Staff \with {midiInstrument = #"choir aahs" } << %3 \new Voice = "altun" \Altoun \new Lyrics \lyricsto "altun" { \AltUnParoles } >> %3 \new Staff \with {midiInstrument = #"choir aahs" } << %3 \new Voice = "altdeux" \Altodeux \new Lyrics \lyricsto "altdeux" {\AltDeuxParoles} >> %# \new Staff \with {midiInstrument = #"tenor sax" } << %3 % \new Staff \with {midiInstrument = #"choir aahs" } << %3 \new Voice = "tenor" \Tenor \new Lyrics \lyricsto "tenor" {\tenorvoix} >> %3 \new Staff \with {midiInstrument = #"choir aahs" } << %3 \new Voice = "bass" \Basse \new Lyrics \lyricsto "bass" {\bassevoix} >> %3 >> %2 >> %1 \layout { \context { \RemoveEmptyStaffContext } \context { \Voice \consists "Ambitus_engraver" } \context {
\Score \override BarNumber #'padding = #3 \override RehearsalMark #'padding = #2 skipBars = ##t } } \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 118 4) } } } Tout cela a été encodé par jEdit. IL me semble avoir lu que Frescobaldi
permet de considérer des partitions d'instruments à inclure dans la directrice
et qu'il gère lui-même ce qu'il faut prendre en compte, mais je n'ai pasq encore
tout lu ni essayé. Cela éviterait bien entendu la multiplication des fichiers.
Dans mon exemple il ne faudrait que 6 fichiers au lieu de 12.
Amicalement
Daniel Bernair
|
[Prev in Thread] | Current Thread | [Next in Thread] |