Guide, node Updating translation committishes..
@end ignore
-@c \version "2.17.11"
+@c \version "2.19.21"
@c Translators: Federico Bruni
@c Translation checkers: Luca Rossetto Casel
Un'unica ripetizione senza finale alternativo:
-@lilypond[verbatim,quote,relative=2]
-\repeat volta 2 { c4 d e f }
-c2 d
-\repeat volta 2 { d4 e f g }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat volta 2 { c''4 d e f }
+ c2 d
+ \repeat volta 2 { d4 e f g }
+}
@end lilypond
Il segno di inizio della ripetizione, per impostazione predefinita, non
appare nella prima misura. È tuttavia possibile aggiungerlo inserendo
a mano la battuta @code{\bar ".|:"} prima della prima nota.
-@lilypond[verbatim,fragment,quote,relative=2]
-\repeat volta 2 { \bar ".|:" c4 d e f }
-c2 d
-\repeat volta 2 { d4 e f g }
+@lilypond[verbatim,fragment,quote]
+\relative {
+ \repeat volta 2 { \bar ".|:" c''4 d e f }
+ c2 d
+ \repeat volta 2 { d4 e f g }
+}
@end lilypond
I finali alternativi si ottengono con @code{\alternative}. Ogni gruppo
Una singola ripetizione con un finale alternativo:
-@lilypond[verbatim,quote,relative=2]
-\repeat volta 2 { c4 d e f | }
-\alternative {
- { c2 e | }
- { f2 g | }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat volta 2 { c''4 d e f | }
+ \alternative {
+ { c2 e | }
+ { f2 g | }
+ }
+ c1
}
-c1
@end lilypond
Molteplici ripetizioni con un finale alternativo:
-@lilypond[verbatim,quote,relative=2]
-\repeat volta 4 { c4 d e f | }
-\alternative {
- { c2 e | }
- { f2 g | }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat volta 4 { c''4 d e f | }
+ \alternative {
+ { c2 e | }
+ { f2 g | }
+ }
+ c1
}
-c1
@end lilypond
Molteplici ripetizioni con più di un finale alternativo:
-@lilypond[verbatim,quote,relative=2]
-\repeat volta 3 { c4 d e f | }
-\alternative {
- { c2 e | }
- { f2 g | }
- { a2 g | }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat volta 3 { c''4 d e f | }
+ \alternative {
+ { c2 e | }
+ { f2 g | }
+ { a2 g | }
+ }
+ c1
}
-c1
@end lilypond
@warning{Se ci sono due o più finali alternativi, non ci deve essere
Si possono aggiungere delle legature di valore a un secondo finale:
-@lilypond[verbatim,quote,relative=2]
-c1
-\repeat volta 2 { c4 d e f~ }
-\alternative {
- { f2 d }
- { f2\repeatTie f, }
+@lilypond[verbatim,quote]
+\relative {
+ c''1
+ \repeat volta 2 { c4 d e f~ }
+ \alternative {
+ { f2 d }
+ { f2\repeatTie f, }
+ }
}
@end lilypond
Lontano da una ripetizione:
-@lilypond[verbatim,quote,relative=1]
-e1
-\inStaffSegno
-f2 g a b
-c1_"D.S." \bar "|."
+@lilypond[verbatim,quote]
+\relative {
+ e'1
+ \inStaffSegno
+ f2 g a b
+ c1_"D.S." \bar "|."
+}
@end lilypond
All'inizio di una ripetizione:
-@lilypond[verbatim,quote,relative=1]
-e1
-\repeat volta 2 {
- \inStaffSegno % start repeat
- f2 g a b
+@lilypond[verbatim,quote]
+\relative {
+ e'1
+ \repeat volta 2 {
+ \inStaffSegno % start repeat
+ f2 g a b
+ }
+ c1_"D.S." \bar "|."
}
-c1_"D.S." \bar "|."
@end lilypond
Alla fine di una ripetizione:
-@lilypond[verbatim,quote,relative=1]
-e1
-\repeat volta 2 {
+@lilypond[verbatim,quote]
+\relative {
+ e'1
+ \repeat volta 2 {
+ f2 g a b
+ \inStaffSegno % end repeat
+ }
f2 g a b
- \inStaffSegno % end repeat
+ c1_"D.S." \bar "|."
}
-f2 g a b
-c1_"D.S." \bar "|."
@end lilypond
Tra due ripetizioni:
-@lilypond[verbatim,quote,relative=1]
-e1
-\repeat volta 2 {
- f2 g a b
-}
-\inStaffSegno % double repeat
-\repeat volta 2 {
- f2 g a b
+@lilypond[verbatim,quote]
+\relative {
+ e'1
+ \repeat volta 2 {
+ f2 g a b
+ }
+ \inStaffSegno % double repeat
+ \repeat volta 2 {
+ f2 g a b
+ }
+ c1_"D.S." \bar "|."
}
-c1_"D.S." \bar "|."
@end lilypond
selezionati dai tipi predefiniti o dai tipi precedentemente definiti col
comando @code{\defineBarLine} (vedi @ref{Bar lines}).
-@lilypond[verbatim,quote,relative=1]
+@lilypond[verbatim,quote]
\defineBarLine ":|.S[" #'(":|." "S[" "")
\defineBarLine "]" #'("]" "" "")
-e1
-\repeat volta 2 {
- f2 g a b
- \once \set Score.endRepeatSegnoType = ":|.S["
- \inStaffSegno
+\relative {
+ e'1
+ \repeat volta 2 {
+ f2 g a b
+ \once \set Score.endRepeatSegnoType = ":|.S["
+ \inStaffSegno
+ }
+ f2 g \bar "]" a b
+ c1_"D.S." \bar "|."
}
-f2 g \bar "]" a b
-c1_"D.S." \bar "|."
@end lilypond
@item start-repeat
Stampa una stanghetta @code{.|:}.
-@lilypond[verbatim,quote,relative=2]
-c1
-\set Score.repeatCommands = #'(start-repeat)
-d4 e f g
-c1
+@lilypond[verbatim,quote]
+\relative {
+ c''1
+ \set Score.repeatCommands = #'(start-repeat)
+ d4 e f g
+ c1
+}
@end lilypond
Come vuole la pratica comune di incisione, i segni di ripetizione non vengono
@item end-repeat
Stampa una stanghetta @code{:|.}:
-@lilypond[verbatim,quote,relative=2]
-c1
-d4 e f g
-\set Score.repeatCommands = #'(end-repeat)
-c1
+@lilypond[verbatim,quote]
+\relative {
+ c''1
+ d4 e f g
+ \set Score.repeatCommands = #'(end-repeat)
+ c1
+}
@end lilypond
@item (volta @var{numero}) @dots{} (volta #f)
Crea una nuova volta col numero specificato. La parentesi della volta deve
essere terminata esplicitamente, altrimenti non sarà stampata.
-@lilypond[verbatim,quote,relative=2]
-f4 g a b
-\set Score.repeatCommands = #'((volta "2"))
-g4 a g a
-\set Score.repeatCommands = #'((volta #f))
-c1
+@lilypond[verbatim,quote]
+\relative {
+ f''4 g a b
+ \set Score.repeatCommands = #'((volta "2"))
+ g4 a g a
+ \set Score.repeatCommands = #'((volta #f))
+ c1
+}
@end lilypond
@end table
Comandi di ripetizione multipli possono trovarsi nello stesso punto:
-@lilypond[verbatim,quote,relative=2]
-f4 g a b
-\set Score.repeatCommands = #'((volta "2, 5") end-repeat)
-g4 a g a
-c1
-\set Score.repeatCommands = #'((volta #f) (volta "95") end-repeat)
-b1
-\set Score.repeatCommands = #'((volta #f))
+@lilypond[verbatim,quote]
+\relative {
+ f''4 g a b
+ \set Score.repeatCommands = #'((volta "2, 5") end-repeat)
+ g4 a g a
+ c1
+ \set Score.repeatCommands = #'((volta #f) (volta "95") end-repeat)
+ b1
+ \set Score.repeatCommands = #'((volta #f))
+}
@end lilypond
@cindex parentesi della volta con testo
@lilypond[verbatim,quote]
voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }
-\relative c'' {
- c1
+\relative {
+ c''1
\set Score.repeatCommands =
#(list(list 'volta voltaAdLib) 'start-repeat)
c4 b d e
@code{@var{numero-di-ripetizioni}} è il numero di volte per
cui è ripetuta @code{@var{espressione-musicale}}.
-@lilypond[verbatim,quote,relative=2]
-\repeat unfold 2 { c4 d e f }
-c1
+@lilypond[verbatim,quote]
+\relative {
+ \repeat unfold 2 { c''4 d e f }
+ c1
+}
@end lilypond
In alcuni casi, specialmente in un contesto @code{\relative}, la funzione
Le ripetizioni dispiegate (unfold) possono avere dei finali alternativi.
-@lilypond[verbatim,quote,relative=2]
-\repeat unfold 2 { c4 d e f }
-\alternative {
- { c2 g' }
- { c,2 b }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat unfold 2 { c''4 d e f }
+ \alternative {
+ { c2 g' }
+ { c,2 b }
+ }
+ c1
}
-c1
@end lilypond
Se il numero di ripetizioni è maggiore del numero di finali alternativi, la
prima alternativa viene applicata più volte, finché le alternative rimaste
non esauriscono il numero totale delle ripetizioni.
-@lilypond[verbatim,quote,relative=2]
-\repeat unfold 4 { c4 d e f }
-\alternative {
- { c2 g' }
- { c,2 b }
- { e2 d }
- }
-c1
+@lilypond[verbatim,quote]
+\relative {
+ \repeat unfold 4 { c''4 d e f }
+ \alternative {
+ { c2 g' }
+ { c,2 b }
+ { e2 d }
+ }
+ c1
+}
@end lilypond
Se il numero di finali alternativi è maggiore del numero di ripetizioni, solo
le prime alternative vengono applicate. Le alternative rimanenti saranno
ignorate e non verranno stampate.
-@lilypond[verbatim,quote,relative=2]
-\repeat unfold 2 { c4 d e f }
-\alternative {
- { c2 g' }
- { c,2 b }
- { e2 d }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat unfold 2 { c''4 d e f }
+ \alternative {
+ { c2 g' }
+ { c,2 b }
+ { e2 d }
+ }
+ c1
}
-c1
@end lilypond
È anche possibile annidare molteplici funzioni @code{unfold} (con o
senza finali alternativi).
-@lilypond[verbatim,quote,relative=2]
-\repeat unfold 2 {
- \repeat unfold 2 { c4 d e f }
- \alternative {
- { c2 g' }
- { c,2 b }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat unfold 2 {
+ \repeat unfold 2 { c''4 d e f }
+ \alternative {
+ { c2 g' }
+ { c,2 b }
+ }
}
+ c1
}
-c1
@end lilypond
Gli accordi si ripetono col simbolo di ripetizione dell'accordo
Fraseggi più brevi di una misura vengono sostituiti dal tratto obliquo.
-@lilypond[verbatim,quote,relative=2]
-\repeat percent 4 { c128 d e f }
-\repeat percent 4 { c64 d e f }
-\repeat percent 5 { c32 d e f }
-\repeat percent 4 { c16 d e f }
-\repeat percent 4 { c8 d }
-\repeat percent 4 { c4 }
-\repeat percent 2 { c2 }
+@lilypond[verbatim,quote]
+\relative c'' {
+ \repeat percent 4 { c128 d e f }
+ \repeat percent 4 { c64 d e f }
+ \repeat percent 5 { c32 d e f }
+ \repeat percent 4 { c16 d e f }
+ \repeat percent 4 { c8 d }
+ \repeat percent 4 { c4 }
+ \repeat percent 2 { c2 }
+}
@end lilypond
Fraseggi di una o due misure vengono sostituiti da simboli simili alla percentuale.
-@lilypond[verbatim,quote,relative=2]
-\repeat percent 2 { c4 d e f }
-\repeat percent 2 { c2 d }
-\repeat percent 2 { c1 }
+@lilypond[verbatim,quote]
+\relative c'' {
+ \repeat percent 2 { c4 d e f }
+ \repeat percent 2 { c2 d }
+ \repeat percent 2 { c1 }
+}
@end lilypond
-@lilypond[verbatim,quote,relative=2]
-\repeat percent 3 { c4 d e f | c2 g' }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat percent 3 { c''4 d e f | c2 g' }
+}
@end lilypond
Fraseggi più brevi di una misura ma con durate miste adottano un
simbolo di doppia percentuale.
-@lilypond[verbatim,quote,relative=2]
-\repeat percent 4 { c8. <d f>16 }
-\repeat percent 2 { \tuplet 3/2 { r8 c d } e4 }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat percent 4 { c''8. <d f>16 }
+ \repeat percent 2 { \tuplet 3/2 { r8 c d } e4 }
+}
@end lilypond
@snippets
Per inserire i segni del tremolo tra le note, si usa @code{\repeat} con
lo stile tremolo:
-@lilypond[quote,verbatim,relative=2]
-\repeat tremolo 8 { c16 d }
-\repeat tremolo 6 { c16 d }
-\repeat tremolo 2 { c16 d }
+@lilypond[quote,verbatim]
+\relative c'' {
+ \repeat tremolo 8 { c16 d }
+ \repeat tremolo 6 { c16 d }
+ \repeat tremolo 2 { c16 d }
+}
@end lilypond
La sintassi di @code{\repeat tremolo} prevede specificamente che
travatura al gambo della nota. Se @code{@var{N}} è omesso, viene
usato l'ultimo valore:
-@lilypond[quote,verbatim,relative=2]
-c2:8 c:32
-c: c:
+@lilypond[quote,verbatim]
+\relative {
+ c''2:8 c:32
+ c: c:
+}
@end lilypond
@snippets