]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/fr/user/input.itely
Merge master into nested-bookparts
[lilypond.git] / Documentation / fr / user / input.itely
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*-
2 @c This file is part of lilypond.tely
3 @ignore
4     Translation of GIT committish: d9b4bfc69674eb4ed7b8c6eaa0b646f00eae6c8d
5
6     When revising a translation, copy the HEAD committish of the
7     version that you are working on.  See TRANSLATION for details.
8 @end ignore
9
10 @c \version "2.11.61"
11
12 @c Translators: Jean-Charles Malahieude, Valentin Villenave
13
14 @node General input and output
15 @chapter General input and output
16
17 @untranslated
18
19
20 @menu
21 * Input structure::             
22 * Titles and headers::          
23 * Working with input files::    
24 * Controlling output::          
25 * MIDI output::                 
26 @end menu
27
28 @node Input structure
29 @section Input structure
30
31 @untranslated
32
33
34 @menu
35 * Structure of a score::        
36 * Multiple scores in a book::   
37 * File structure::              
38 @end menu
39
40 @node Structure of a score
41 @subsection Structure of a score
42
43 @untranslated
44
45
46 @node Multiple scores in a book
47 @subsection Multiple scores in a book
48
49 @untranslated
50
51
52 @node File structure
53 @subsection File structure
54
55 @untranslated
56
57
58 @node Titles and headers
59 @section Titles and headers
60
61 @untranslated
62
63
64 @menu
65 * Creating titles::             
66 * Custom titles::               
67 * Reference to page numbers::   
68 * Table of contents::           
69 @end menu
70
71 @node Creating titles
72 @subsection Creating titles
73
74 @untranslated
75
76
77 @node Custom titles
78 @subsection Custom titles
79
80 @untranslated
81
82
83 @node Reference to page numbers
84 @subsection Reference to page numbers
85
86 @untranslated
87
88
89 @node Table of contents
90 @subsection Table of contents
91
92 @untranslated
93
94
95 @node Working with input files
96 @section Working with input files
97
98 @untranslated
99
100
101 @menu
102 * Including LilyPond files::    
103 * Different editions from one source::  
104 * Text encoding::               
105 * Displaying LilyPond notation::  
106 @end menu
107
108 @node Including LilyPond files
109 @subsection Including LilyPond files
110
111 @untranslated
112
113
114 @node Different editions from one source
115 @subsection Different editions from one source
116
117 @untranslated
118
119
120 @menu
121 * Using variables::             
122 * Using tags::                  
123 @end menu
124
125 @node Using variables
126 @unnumberedsubsubsec Using variables
127
128 @untranslated
129
130
131 @node Using tags
132 @unnumberedsubsubsec Using tags
133 @funindex \tag
134 @cindex tag
135  
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
139 source musicale. 
140
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. 
144  
145 @example
146 c1
147 <<
148   \tag #'partie <<
149     R1 \\
150     @{
151       \set fontSize = #-1
152       c4_"cue" f2 g4 @}
153   >>
154   \tag #'conducteur R1
155 >>
156 c1
157 @end example
158
159 @noindent
160 Ce principe peut s'appliquer aux articulations, textes, etc.  Il
161 suffit de positionner
162
163 @example
164 -\tag #@var{votre-balise}
165 @end example
166
167 @noindent
168 avant l'articulation, comme ici :
169
170 @example
171 c1-\tag #'part ^4
172 @end example
173
174 @noindent 
175 Ceci définira une note avec une indication de doigté conditionnelle.
176  
177 @cindex keepWithTag
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 :
181
182 @example
183 <<
184   @var{de la musique}
185   \keepWithTag #'score @var{de la musique}
186   \keepWithTag #'part @var{de la musique}
187 >>
188 @end example
189
190 @noindent
191 donnerait :
192
193 @lilypondfile[ragged-right,quote]{tag-filter.ly}
194
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}.
199  
200 @example
201   \tag #'original-part \tag #'transposed-part @dots{}
202 @end example
203
204 @ignore
205 FIXME
206 @seealso
207
208 Exemples : @lsr{parts,tag@/-filter@/.ly}
209 @end ignore
210
211 @knownissues
212
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.
215
216
217 @node Text encoding
218 @subsection Text encoding
219
220 @untranslated
221
222
223 @node Displaying LilyPond notation
224 @subsection Displaying LilyPond notation
225
226 @untranslated
227
228
229 @node Controlling output
230 @section Controlling output
231
232 @untranslated
233
234
235 @menu
236 * Extracting fragments of music::  
237 * Skipping corrected music::    
238 @end menu
239
240 @node Extracting fragments of music
241 @subsection Extracting fragments of music
242
243 @untranslated
244
245
246 @node Skipping corrected music
247 @subsection Skipping corrected music
248
249 @untranslated
250
251
252 @node MIDI output
253 @section MIDI output
254
255 @untranslated
256
257
258 @menu
259 * Creating MIDI files::         
260 * MIDI block::                  
261 * What goes into the MIDI output?::  
262 * Repeats in MIDI::             
263 * Controlling MIDI dynamics::   
264 @end menu
265
266 @node Creating MIDI files
267 @subsection Creating MIDI files
268
269 @untranslated
270
271
272 @unnumberedsubsubsec Instrument names
273 @node MIDI block
274 @subsection MIDI block
275
276 @untranslated
277
278
279 @node What goes into the MIDI output?
280 @subsection What goes into the MIDI output?
281
282 @untranslated
283
284
285 @unnumberedsubsubsec Supported in MIDI
286 @unnumberedsubsubsec Unsupported in MIDI
287
288 @node Repeats in MIDI
289 @subsection Repeats in MIDI
290
291 @cindex reprises développées
292 @funindex \unfoldRepeats
293
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}.
299
300
301 @lilypond[quote,verbatim,fragment,line-width=8.0\cm]
302 \unfoldRepeats {
303   \repeat tremolo 8 {c'32 e' }
304   \repeat percent 2 { c''8 d'' }
305   \repeat volta 2 {c'4 d' e' f'}
306   \alternative {
307     { g' a' a' g' }
308     {f' e' d' c' }
309   }
310 }
311 \bar "|."
312 @end lilypond
313
314
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
320
321 @example
322 \score @{
323  @var{..musique..}
324  \layout @{ ..  @}
325 @}
326 \score @{
327  \unfoldRepeats @var{..musique..}
328  \midi @{ ..  @}
329 @}
330 @end example
331
332
333 @node Controlling MIDI dynamics
334 @subsection Controlling MIDI dynamics
335
336 @untranslated
337
338
339 @unnumberedsubsubsec Dynamic marks
340 @unnumberedsubsubsec Overall MIDI volume
341 @unnumberedsubsubsec Equalizing different instruments (i)
342 @unnumberedsubsubsec Equalizing different instruments (ii)