[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Stratégie(s) pour partitions pour instruments transpositeurs
From: |
Denis Bitouzé |
Subject: |
Stratégie(s) pour partitions pour instruments transpositeurs |
Date: |
Mon, 21 Nov 2011 08:41:13 +0100 |
Bonjour,
pour maintenir aisément les partitions pour différents instruments
transpositeurs d'un même morceau, j'ai adopté la stratégie indiquée dans
les fichiers en fin de message (test.ly où sont saisis en ut les notes
et accords du morceau, testDo.ly pour les instruments non transpositeurs
et (ici par exemple) testMib.ly pour les instruments en mi bémol).
Voyez-vous une meilleure stratégie que celle-ci ?
Merci d'avance.
%%%%%%%%% test.ly (notes et accords en ut) %%%%%%%%%%%%%
\version "2.14.2"
\header {
title = "Le titre"
composer = "Le compositeur"
poet = \tonalite
}
\paper {
#(set-paper-size "a4")
}
global = {
\key c \major
\time 4/4
}
chordNames = \chordmode {
\global
c1 e g b
}
theme = \relative c' {
\global
e g b c
}
%%master: testDo.ly
%%%%%%%%% testDo.ly (partition en ut) %%%%%%%%%%%%%
tonalite = \markup { C }
\include "test.ly"
chordsPart = \new ChordNames \chordNames
themePart = \new Staff \with {
instrumentName = "Pno."
midiInstrument = "acoustic grand"
} \theme
\book {
\score {
<<
\chordsPart
\themePart
>>
\layout { }
\midi { }
}
}
%%%%%%%%% testDo.ly (partition en mi bémol) %%%%%%%%%%%%%
tonalite = \markup { E\flat }
\include "test.ly"
chordNamesMib = \transpose c' a \chordNames
themeMib = \transpose c a \theme
chordsPart = \new ChordNames \chordNamesMib
themePart = \new Staff \with {
instrumentName = "Sax Alt."
midiInstrument = "alto sax"
} \themeMib
\book {
\score {
<<
\chordsPart
\themePart
>>
\layout { }
\midi { }
}
}
--
Denis
- Stratégie(s) pour partitions pour instruments transpositeurs,
Denis Bitouzé <=