1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*-
2 @c This file is part of lilypond.tely
4 Translation of GIT committish: d9b4bfc69674eb4ed7b8c6eaa0b646f00eae6c8d
6 When revising a translation, copy the HEAD committish of the
7 version that you are working on. See TRANSLATION for details.
12 @c Translators: Jean-Charles Malahieude, Valentin Villenave
14 @node General input and output
15 @chapter General input and output
22 * Titles and headers::
23 * Working with input files::
24 * Controlling output::
29 @section Input structure
35 * Structure of a score::
36 * Multiple scores in a book::
40 @node Structure of a score
41 @subsection Structure of a score
46 @node Multiple scores in a book
47 @subsection Multiple scores in a book
53 @subsection File structure
58 @node Titles and headers
59 @section Titles and headers
67 * Reference to page numbers::
72 @subsection Creating titles
78 @subsection Custom titles
83 @node Reference to page numbers
84 @subsection Reference to page numbers
89 @node Table of contents
90 @subsection Table of contents
95 @node Working with input files
96 @section Working with input files
102 * Including LilyPond files::
103 * Different editions from one source::
105 * Displaying LilyPond notation::
108 @node Including LilyPond files
109 @subsection Including LilyPond files
114 @node Different editions from one source
115 @subsection Different editions from one source
125 @node Using variables
126 @unnumberedsubsubsec Using variables
132 @unnumberedsubsubsec Using tags
136 La commande @code{\tag} affecte un nom à des expressions musicales.
137 Les expressions ainsi balisées pourront être filtrées par la suite.
138 Ce mécanisme permet d'obtenir différentes versions à partir d'une même
141 Dans l'exemple qui suit, nous obtenons deux versions du même extrait,
142 l'une pour le conducteur, l'autre pour l'instrumentiste, et qui
143 comportera les ornements.
160 Ce principe peut s'appliquer aux articulations, textes, etc. Il
161 suffit de positionner
164 -\tag #@var{votre-balise}
168 avant l'articulation, comme ici :
175 Ceci définira une note avec une indication de doigté conditionnelle.
178 @cindex removeWithTag
179 C'est grâce aux commandes @code{\keepWithTag} et @code{\removeWithTag}
180 que vous filtrerez les expressions balisées. Par exemple :
185 \keepWithTag #'score @var{de la musique}
186 \keepWithTag #'part @var{de la musique}
193 @lilypondfile[ragged-right,quote]{tag-filter.ly}
195 Les arguments de la commande @code{\tag} doivent être un symbole (tel
196 que @code{#'score} ou @code{#'part}), suivi d'une expression musicale.
197 Vous pouvez utiliser de multiples balises dans un morceau en
198 saisissant plusieurs @code{\tag}.
201 \tag #'original-part \tag #'transposed-part @dots{}
208 Exemples : @lsr{parts,tag@/-filter@/.ly}
213 Lorsqu'elles comportent des silences, ceux-ci ne seront pas fusionnés
214 si vous imprimez une partition avec les deux sections balisées.
218 @subsection Text encoding
223 @node Displaying LilyPond notation
224 @subsection Displaying LilyPond notation
229 @node Controlling output
230 @section Controlling output
236 * Extracting fragments of music::
237 * Skipping corrected music::
240 @node Extracting fragments of music
241 @subsection Extracting fragments of music
246 @node Skipping corrected music
247 @subsection Skipping corrected music
259 * Creating MIDI files::
261 * What goes into the MIDI output?::
263 * Controlling MIDI dynamics::
266 @node Creating MIDI files
267 @subsection Creating MIDI files
272 @unnumberedsubsubsec Instrument names
274 @subsection MIDI block
279 @node What goes into the MIDI output?
280 @subsection What goes into the MIDI output?
285 @unnumberedsubsubsec Supported in MIDI
286 @unnumberedsubsubsec Unsupported in MIDI
288 @node Repeats in MIDI
289 @subsection Repeats in MIDI
291 @cindex reprises développées
292 @funindex \unfoldRepeats
294 Au prix de quelques réglages, les reprises de toutes sortes peuvent être
295 rendues dans le fichier MIDI. Il suffit pour cela de recourir à la
296 fonction @code{\unfoldRepeats}, qui développe toutes les reprises. En
297 d'autre termes, @code{\unfoldRepeats} transforme toutes les reprises
298 en reprises de type @code{unfold}.
301 @lilypond[quote,verbatim,fragment,line-width=8.0\cm]
303 \repeat tremolo 8 {c'32 e' }
304 \repeat percent 2 { c''8 d'' }
305 \repeat volta 2 {c'4 d' e' f'}
315 Lorsque l'on veut utiliser @code{\unfoldRepeats} seulement pour le rendu
316 MIDI, il faut établir deux blocs @code{\score} : un pour le MIDI, avec
317 des reprises explicites, et l'autre pour la partition, avec des reprises
318 notées sous forme de barres de reprise, de trémolo ou de symboles de
319 pourcentage. Par exemple
327 \unfoldRepeats @var{..musique..}
333 @node Controlling MIDI dynamics
334 @subsection Controlling MIDI dynamics
339 @unnumberedsubsubsec Dynamic marks
340 @unnumberedsubsubsec Overall MIDI volume
341 @unnumberedsubsubsec Equalizing different instruments (i)
342 @unnumberedsubsubsec Equalizing different instruments (ii)