]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/it/learning/templates.itely
ecc82011f0c82275341b796c490b3e8defb08064
[lilypond.git] / Documentation / it / learning / templates.itely
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: it -*-
2
3 @ignore
4     Translation of GIT committish: 9fb28f4db2cf0f4d302f70c4def238cd2145f329
5
6     When revising a translation, copy the HEAD committish of the
7     version that you are working on.  For details, see the Contributors'
8     Guide, node Updating translation committishes..
9 @end ignore
10
11 @c \version "2.19.2"
12
13 @node Modelli
14 @appendix Modelli
15 @translationof Templates
16
17 Questa sezione del manuale contiene dei modelli con la struttura del file
18 LilyPond già preimpostata.  Non ti resta che aggiungere le note, eseguire
19 LilyPond e goderti dei belli spartiti!
20
21 @c bad node name for ancient notation to avoid conflict
22 @menu
23 * Modelli integrati::
24 * Modelli per rigo singolo::
25 * Modelli per pianoforte::
26 * Modelli per quartetto d'archi::
27 * Modelli per gruppi vocali::
28 * Modelli per orchestra::
29 * Modelli per notazione antica::
30 * Altri modelli::
31 @end menu
32
33
34 @node Modelli integrati
35 @appendixsec Modelli integrati
36 @translationof Built-in templates
37
38 Esiste un modello, adatto a vari tipi di musica corale, integrato
39 in LilyPond.  Può essere usato per creare semplici brani di musica
40 corale, con o senza accompagnamento del pianoforte,  in due o
41 quattro righi.  Diversamente da altri modelli, questo modello è
42 @q{integrato}, ovvero non c'è bisogno di copiarlo e modificarlo,
43 basta includerlo nel file di input.
44
45 @warning {Diversamente dalla maggior parte dei file da includere, questo
46 modello integrato deve essere incluso alla @emph{fine} del file di input.}
47
48 Le espressioni musicali richieste si inseriscono definendo dei valori per
49 variabili ben precise.  Tali definizioni devono precedere il file incluso
50 con @code{\include}.
51
52 La musica può essere impostata su una o due voci per rigo impostando la
53 proprietà @code{TwoVoicesPerStaff} su @code{##f} (falso) o @code{##t}
54 (vero) rispettivamente.
55
56 Ecco il file di input completo per produrre un arrangiamento SATB a quattro
57 parti con testi individuali e accompagnamento per pianoforte:
58
59 @lilypond[verbatim, quote]
60   SopranoMusic = \relative { a'4\f a8 a a4 a }
61   SopranoLyrics = \lyricmode { Sop -- ra -- no ly -- rics }
62   AltoMusic = \relative { d'4\f d d d }
63   AltoLyrics = \lyricmode { Al -- to ly -- rics }
64   TenorMusic = \relative { a4\p a a a }
65   TenorLyrics = \lyricmode { Te -- nor ly -- rics }
66   BassMusic = \relative { c2\p c4 c }
67   BassLyrics = \lyricmode { Bass ly -- rics }
68   PianoRHMusic = \relative { c' e g c }
69   PianoDynamics = { s2\mp s4 s4 }
70   PianoLHMusic = \relative { c e g c }
71   \include "satb.ly"
72 @end lilypond
73
74 Si può usare lo stesso input per generare una partitura con due voci per
75 rigo semplicemente impostando @code{TwoVoicesPerStaff} su @code{##t}.
76 Anche in questo caso ogni voce ha un testo individuale.
77
78 @lilypond[verbatim, quote]
79   SopranoMusic = \relative { a'4\f a8 a a4 a }
80   SopranoLyrics = \lyricmode { Sop -- ra -- no ly -- rics }
81   AltoMusic = \relative { d'4\f d d d }
82   AltoLyrics = \lyricmode { Al -- to ly -- rics }
83   TenorMusic = \relative { a4\p a a a }
84   TenorLyrics = \lyricmode { Te -- nor ly -- rics }
85   BassMusic = \relative { c2\p c4 c }
86   BassLyrics = \lyricmode { Bass ly -- rics }
87   PianoRHMusic = \relative { c' e g c }
88   PianoDynamics = { s2\mp s4 s4 }
89   PianoLHMusic = \relative { c e g c }
90   TwoVoicesPerStaff = ##t
91   \include "satb.ly"
92 @end lilypond
93
94 Quando @code{TwoVoicesPerStaff} è impostato su falso oppure è permesso
95 per impostazione predefinita, qualsiasi variabile musicale può essere
96 omessa per generare arrangiamenti con meno voci.  Ecco come scrivere
97 un file di input per un duetto soprano/basso:
98
99 @lilypond[verbatim,quote]
100   SopranoMusic = \relative { c'' c c c }
101   SopranoLyrics = \lyricmode { High voice ly -- rics }
102   BassMusic = \relative { a a a a }
103   BassLyrics = \lyricmode { Low voice ly -- rics }
104   \include "satb.ly"
105 @end lilypond
106
107 Una seconda strofa o testo alternativo può essere aggiunto a
108 ciascuna parte:
109
110 @lilypond[verbatim, quote]
111   SopranoMusic = \relative { a'4 a a a }
112   SopranoLyricsOne = \lyricsto "Soprano" {
113     \set stanza = "1."
114     Parole per prima strofa
115   }
116   SopranoLyricsTwo = \lyricsto "Soprano" {
117     \set stanza = "2."
118     Parole per seconda strofa
119   }
120   \include "satb.ly"
121 @end lilypond
122
123 Quando il testo e le durate sono gli stessi in ogni parte, è meglio
124 disporre la musica vocale su due righi con due voci in ciascuno.  Si
125 possono inserire fino a nove strofe.  Ecco un esempio non accompagnato
126 con tre strofe.
127
128 @lilypond[verbatim, quote]
129   SopranoMusic = \relative { a' a a a }
130   AltoMusic = \relative { f' f f f }
131   VerseOne = \lyricmode {
132     \set stanza = "1."
133     Parole per prima strofa
134   }
135   VerseTwo = \lyricmode {
136     \set stanza = "2."
137     Parole per seconda strofa
138   }
139   VerseThree = \lyricmode {
140     \set stanza = "3."
141     Parole per terza strofa
142   }
143   TenorMusic = \relative { a a a a }
144   BassMusic = \relative { f f f f }
145   TwoVoicesPerStaff = ##t
146   \include "satb.ly"
147 @end lilypond
148
149 Si possono assegnare valori a altre variabili.  Si possono cambiare
150 l'armatura di chiave e l'indicazione di tempo predefiniti:
151
152 @lilypond[verbatim, quote]
153   Key = \key a \major
154   Time = {
155     \time 5/4
156     \tempo "Allegro" 4 = 144
157   }
158   SopranoMusic = \relative { gis' gis gis gis gis }
159   AltoMusic = \relative { cis' cis cis cis cis }
160   VerseOne = \lyricmode { Words to this du -- et }
161   TwoVoicesPerStaff = ##t
162   \include "satb.ly"
163 @end lilypond
164
165 Si possono cambiare anche i nomi estesi o abbreviati degli strumenti:
166
167 @lilypond[verbatim,quote]
168   SopranoMusic = \relative { c'' c c c }
169   SopranoLyrics = \lyricmode { High voice ly -- rics }
170   SopranoInstrumentName = "Soprano 1"
171   SopranoShortInstrumentName = "S1"
172   AltoMusic = \relative { a' a a a }
173   AltoLyrics = \lyricmode { Low voice ly -- rics }
174   AltoInstrumentName = "Soprano 2"
175   AltoShortInstrumentName = "S2"
176   \include "satb.ly"
177 @end lilypond
178
179 Si può aggiungere un discanto definendo dei valori per la variabile
180 @code{DescantMusic} e il testo di discanto definendo i valori della
181 variabile @code{DescantLyrics}.
182
183 I blocchi @code{\header} e @code{\paper} possono essere aggiunti, come
184 sempre.  Un blocco @code{\layout} deve invece essere creato come valore
185 della variabile @code{Layout}:
186
187 @example
188 Layout = \layout @{ ... @}
189 @end example
190
191 L'insieme completo di variabili modificabili è visibile esaminando il
192 file @file{ly/satb.ly}.
193
194 @seealso
195 Manuale di apprendimento:
196 @ref{Organizing pieces with variables},
197 @ref{Vocal ensembles templates},
198 @ref{Extending the templates}.
199
200 @knownissues
201 Arrangiamenti più complessi della musica corale SATB non sono possibile
202 utilizzando questi semplici modelli integrati.
203
204
205 @node Modelli per rigo singolo
206 @appendixsec Modelli per rigo singolo
207 @translationof Single staff templates
208
209 @menu
210 * Solo note::
211 * Note e testo::
212 * Note e accordi::
213 * Note testo e accordi::
214 @end menu
215
216 @node Solo note
217 @appendixsubsec Solo note
218 @translationof Notes only
219
220 @lilypondfile[verbatim,quote,ragged-right,texidoc,addversion]
221 {single-staff-template-with-only-notes.ly}
222
223 @node Note e testo
224 @appendixsubsec Note e testo
225 @translationof Notes and lyrics
226
227 @lilypondfile[verbatim,quote,ragged-right,texidoc,addversion]
228 {single-staff-template-with-notes-and-lyrics.ly}
229
230 @node Note e accordi
231 @appendixsubsec Note e accordi
232 @translationof Notes and chords
233
234 @lilypondfile[verbatim,quote,ragged-right,texidoc]
235 {single-staff-template-with-notes-and-chords.ly}
236
237 @node Note testo e accordi
238 @appendixsubsec Note, testo e accordi
239 @translationof Notes lyrics and chords
240
241 @lilypondfile[verbatim,quote,ragged-right,texidoc]
242 {single-staff-template-with-notes,-lyrics,-and-chords.ly}
243
244
245 @node Modelli per pianoforte
246 @appendixsec Modelli per pianoforte
247 @translationof Piano templates
248
249 @menu
250 * Solo pianoforte::
251 * Pianoforte e melodia con testo::
252 * Pianoforte con testo al centro::
253 @end menu
254
255 @node Solo pianoforte
256 @appendixsubsec Solo pianoforte
257 @translationof Solo piano
258
259 @lilypondfile[verbatim,quote,ragged-right,texidoc]
260 {piano-template-simple.ly}
261
262 @node Pianoforte e melodia con testo
263 @appendixsubsec Pianoforte e melodia con testo
264 @translationof Piano and melody with lyrics
265
266 @lilypondfile[verbatim,quote,ragged-right,texidoc]
267 {piano-template-with-melody-and-lyrics.ly}
268
269 @node Pianoforte con testo al centro
270 @appendixsubsec Pianoforte con testo al centro
271 @translationof Piano centered lyrics
272
273 @lilypondfile[verbatim,quote,ragged-right,texidoc]
274 {piano-template-with-centered-lyrics.ly}
275
276
277 @node Modelli per quartetto d'archi
278 @appendixsec Modelli per quartetto d'archi
279 @translationof String quartet templates
280
281 @menu
282 * Quartetto d'archi semplice::
283 * Parti di un quartetto d'archi::
284 @end menu
285
286 @node Quartetto d'archi semplice
287 @appendixsubsec Quartetto d'archi semplice
288 @translationof String quartet
289
290 @lilypondfile[verbatim,quote,ragged-right,texidoc]
291 {string-quartet-template-simple.ly}
292
293 @node Parti di un quartetto d'archi
294 @appendixsubsec Parti di un quartetto d'archi
295 @translationof String quartet parts
296
297 @lilypondfile[verbatim,quote,ragged-right,texidoc]
298 {string-quartet-template-with-separate-parts.ly}
299
300
301 @node Modelli per gruppi vocali
302 @appendixsec Modelli per gruppi vocali
303 @translationof Vocal ensembles templates
304
305 I modelli seguenti devono essere copiati nella tua partitura e modificati
306 lì.  Se la disposizione della tua partitura SATB è relativamente semplice,
307 potresti preferire i modelli integrati, che possono essere semplicemente
308 inclusi con @code{include}, come è spiegato in @ref{Built-in templates}.
309
310 @menu
311 * Partitura vocale SATB::
312 * Partitura vocale SATB e automatica riduzione per pianoforte::
313 * SATB con contesti allineati::
314 * SATB su quattro righi::
315 * Strofa sola e ritornello a due parti::
316 * Inni::
317 * Salmi::
318 @end menu
319
320 @node Partitura vocale SATB
321 @appendixsubsec Partitura vocale SATB
322 @translationof SATB vocal score
323
324 @lilypondfile[verbatim,quote,ragged-right,texidoc]
325 {vocal-ensemble-template.ly}
326
327 @node Partitura vocale SATB e automatica riduzione per pianoforte
328 @appendixsubsec Partitura vocale SATB e automatica riduzione per pianoforte
329 @translationof SATB vocal score and automatic piano reduction
330
331 @lilypondfile[verbatim,quote,ragged-right,texidoc]
332 {vocal-ensemble-template-with-automatic-piano-reduction.ly}
333
334 @node SATB con contesti allineati
335 @appendixsubsec SATB con contesti allineati
336 @translationof SATB with aligned contexts
337
338 @lilypondfile[verbatim,quote,ragged-right,texidoc]
339 {vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly}
340
341 @node SATB su quattro righi
342 @appendixsubsec SATB su quattro righi
343 @translationof SATB on four staves
344
345 @lilypondfile[verbatim,quote,ragged-right,texidoc]
346 {satb-choir-template---four-staves.ly}
347
348 @node Strofa sola e ritornello a due parti
349 @appendixsubsec Strofa sola e ritornello a due parti
350 @translationof Solo verse and two-part refrain
351
352 @lilypondfile[verbatim,quote,ragged-right,texidoc]
353 {vocal-ensemble-template-with-verse-and-refrain.ly}
354
355 @node Inni
356 @appendixsubsec Inni
357 @translationof Hymn tunes
358
359 @lilypondfile[verbatim,quote,ragged-right,texidoc]
360 {hymn-template.ly}
361
362 @node Salmi
363 @appendixsubsec Salmi
364 @translationof Psalms
365
366 @lilypondfile[verbatim,quote,ragged-right,texidoc]
367 {anglican-psalm-template.ly}
368
369
370 @node Modelli per orchestra
371 @appendixsec Modelli per orchestra
372 @translationof Orchestral templates
373
374 @menu
375 * Orchestra coro e pianoforte::
376 @end menu
377
378 @node Orchestra coro e pianoforte
379 @appendixsubsec Orchestra, coro e pianoforte
380 @translationof Orchestra choir and piano
381
382 @lilypondfile[verbatim,quote,ragged-right,texidoc]
383 {orchestra,-choir-and-piano-template.ly}
384
385
386 @node Modelli per notazione antica
387 @appendixsec Modelli per notazione antica
388 @translationof Ancient notation templates
389
390 @menu
391 * Trascrizione di musica mensurale::
392 * Trascrizione di musica Gregoriana::
393 @end menu
394
395 @node Trascrizione di musica mensurale
396 @appendixsubsec Trascrizione di musica mensurale
397 @translationof Transcription of mensural music
398
399 @lilypondfile[verbatim,quote,ragged-right,texidoc]
400 {incipit.ly}
401
402 @node Trascrizione di musica Gregoriana
403 @appendixsubsec Trascrizione di musica Gregoriana
404 @translationof Gregorian transcription template
405
406 @lilypondfile[verbatim,quote,ragged-right,texidoc]
407 {ancient-notation-template----modern-transcription-of-gregorian-music.ly}
408
409
410 @node Altri modelli
411 @appendixsec Altri modelli
412 @translationof Other templates
413
414 @menu
415 * Combo jazz::
416 @end menu
417
418 @node Combo jazz
419 @appendixsubsec Combo jazz
420 @translationof Jazz combo
421
422 @lilypondfile[verbatim,quote,ragged-right,texidoc]
423 {jazz-combo-template.ly}
424
425
426
427
428 @ignore
429 This isn't very useful, and only duplicates material in
430 "global issues".  And if this info changes, this section often
431 gets forgotten.
432
433 @no de Other templates
434 @se ction Other templates
435 @su bsection All headers
436
437 This template displays all available headers.  Some of them are only
438 used in the Mutopia project; they don't affect the printed output at
439 all.  They are used if you want the piece to be listed with different
440 information in the Mutopia database than you wish to have printed on the
441 music.  For example, Mutopia lists the composer of the famous D major
442 violin concerto as TchaikovskyPI, whereas perhaps you wish to print
443 "Petr Tchaikowski" on your music.
444
445 @ The `line-width' is for \header.
446 @li lypond[quote,verbatim,ragged-right,line-width]
447 \version "2.19.2"
448 \header {
449   dedication = "dedication"
450   title = "Title"
451   subtitle = "Subtitle"
452   subsubtitle = "Subsubtitle"
453   composer = "Composer (xxxx-yyyy)"
454   opus = "Opus 0"
455   piece = "Piece I"
456   meter = "meter"
457   instrument = "Instrument"
458   arranger = "Arranger"
459   poet = "Poet"
460   texttranslator = "Translator"
461   copyright = "public domain"
462
463   % These are headers used by the Mutopia Project
464   % http://www.mutopiaproject.org/
465   mutopiatitle = ""
466   mutopiacomposer = ""
467   mutopiapoet = ""
468   mutopiainstrument = ""
469   date = "composer's dates"
470   source = "urtext "
471   maintainer = "your name here"
472   maintainerEmail = "your email here"
473   maintainerWeb = "your home page"
474   lastupdated = "2004/Aug/26"
475 }
476
477 \score {
478   { c'4 }
479   \header {
480     piece = "piece1"
481     opus = "opus1"
482   }
483 }
484
485 \score {
486   { c'4 }
487   \header {
488     piece = "piece2"
489     opus = "opus2"
490   }
491 }
492 @end lilypond
493 @end ignore