LEFT | RIGHT |
(no file at all) | |
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: es -*- | 1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: es -*- |
2 | 2 |
3 @ignore | 3 @ignore |
4 Translation of GIT committish: 3c169262c8f580c0f42c09f3a61b9ae9f0d6261c | 4 Translation of GIT committish: 3c169262c8f580c0f42c09f3a61b9ae9f0d6261c |
5 | 5 |
6 When revising a translation, copy the HEAD committish of the | 6 When revising a translation, copy the HEAD committish of the |
7 version that you are working on. For details, see the Contributors' | 7 version that you are working on. For details, see the Contributors' |
8 Guide, node Updating translation committishes.. | 8 Guide, node Updating translation committishes.. |
9 @end ignore | 9 @end ignore |
10 | 10 |
11 @c \version "2.16.0" | 11 @c \version "2.17.6" |
12 | 12 |
13 | 13 |
14 @node Conceptos fundamentales | 14 @node Conceptos fundamentales |
15 @chapter Conceptos fundamentales | 15 @chapter Conceptos fundamentales |
16 @translationof Fundamental concepts | 16 @translationof Fundamental concepts |
17 | 17 |
18 Ha podido ver en el tutorial cómo producir música bellamente impresa a | 18 Ha podido ver en el tutorial cómo producir música bellamente impresa a |
19 partir de un simple archivo de texto. Esta sección presenta los | 19 partir de un simple archivo de texto. Esta sección presenta los |
20 conceptos y técnicas que se requieren para producir partituras | 20 conceptos y técnicas que se requieren para producir partituras |
21 igualmente bellas pero más complejas. | 21 igualmente bellas pero más complejas. |
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
837 | 837 |
838 @c The following should appear as music without code | 838 @c The following should appear as music without code |
839 @lilypond[quote,ragged-right] | 839 @lilypond[quote,ragged-right] |
840 \new Staff \relative c'' { | 840 \new Staff \relative c'' { |
841 \key aes \major | 841 \key aes \major |
842 << % Voice one | 842 << % Voice one |
843 { c2 aes4. bes8 } | 843 { c2 aes4. bes8 } |
844 \\ % Voice two | 844 \\ % Voice two |
845 { | 845 { |
846 % Ignore these for now - they are explained in Ch 4 | 846 % Ignore these for now - they are explained in Ch 4 |
847 \once \override NoteColumn #'ignore-collision = ##t | 847 \once \override NoteColumn.ignore-collision = ##t |
848 <ees, c>2 | 848 <ees, c>2 |
849 \once \override NoteColumn #'force-hshift = #0.5 | 849 \once \override NoteColumn.force-hshift = #0.5 |
850 des2 | 850 des2 |
851 } | 851 } |
852 \\ % No voice three | 852 \\ % No voice three |
853 \\ % Voice four | 853 \\ % Voice four |
854 { | 854 { |
855 \override NoteColumn #'force-hshift = #0 | 855 \override NoteColumn.force-hshift = #0 |
856 aes'2 f4 fes | 856 aes'2 f4 fes |
857 } | 857 } |
858 >> | | 858 >> | |
859 <c ees aes c>1 | | 859 <c ees aes c>1 | |
860 } | 860 } |
861 @end lilypond | 861 @end lilypond |
862 | 862 |
863 Con frecuencia, la dirección de las plicas se utiliza para indicar la | 863 Con frecuencia, la dirección de las plicas se utiliza para indicar la |
864 continuidad de dos líneas melódicas simultáneas. Aquí, todas las | 864 continuidad de dos líneas melódicas simultáneas. Aquí, todas las |
865 plicas de las notas agudas se dirigen hacia arriba y las de las notas | 865 plicas de las notas agudas se dirigen hacia arriba y las de las notas |
(...skipping 20 matching lines...) Expand all Loading... |
886 \new Staff \relative c'' { | 886 \new Staff \relative c'' { |
887 \key aes \major | 887 \key aes \major |
888 << | 888 << |
889 { % Voice one | 889 { % Voice one |
890 \voiceOneStyle | 890 \voiceOneStyle |
891 c2 aes4. bes8 | 891 c2 aes4. bes8 |
892 } | 892 } |
893 \\ % Voice two | 893 \\ % Voice two |
894 { \voiceTwoStyle | 894 { \voiceTwoStyle |
895 % Ignore these for now - they are explained in Ch 4 | 895 % Ignore these for now - they are explained in Ch 4 |
896 \once \override NoteColumn #'ignore-collision = ##t | 896 \once \override NoteColumn.ignore-collision = ##t |
897 <ees, c>2 | 897 <ees, c>2 |
898 \once \override NoteColumn #'force-hshift = #0.5 | 898 \once \override NoteColumn.force-hshift = #0.5 |
899 des2 | 899 des2 |
900 } | 900 } |
901 \\ % No Voice three (we want stems down) | 901 \\ % No Voice three (we want stems down) |
902 \\ % Voice four | 902 \\ % Voice four |
903 { \voiceThreeStyle | 903 { \voiceThreeStyle |
904 \override NoteColumn #'force-hshift = #0 | 904 \override NoteColumn.force-hshift = #0 |
905 aes'2 f4 fes | 905 aes'2 f4 fes |
906 } | 906 } |
907 >> | | 907 >> | |
908 <c ees aes c>1 | | 908 <c ees aes c>1 | |
909 } | 909 } |
910 @end lilypond | 910 @end lilypond |
911 | 911 |
912 | 912 |
913 Vamos a intentar codificar esta música partiendo de cero. Como | 913 Vamos a intentar codificar esta música partiendo de cero. Como |
914 veremos, esto se topa con ciertas dificultades. Comenzamos tal y como | 914 veremos, esto se topa con ciertas dificultades. Comenzamos tal y como |
(...skipping 2069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2984 \new Voice @{ | 2984 \new Voice @{ |
2985 \voiceOne | 2985 \voiceOne |
2986 \MusicaManualUnoVozUno | 2986 \MusicaManualUnoVozUno |
2987 @} | 2987 @} |
2988 \new Voice @{ | 2988 \new Voice @{ |
2989 \voiceTwo | 2989 \voiceTwo |
2990 \MusicaManualUnoVozDos | 2990 \MusicaManualUnoVozDos |
2991 @} | 2991 @} |
2992 >> % % fin del contexto de Staff ManualUno | 2992 >> % % fin del contexto de Staff ManualUno |
2993 \new Staff = "ManualDos" \with @{ | 2993 \new Staff = "ManualDos" \with @{ |
2994 \override VerticalAxisGroup | 2994 \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5 |
2995 #'staff-staff-spacing #'stretchability = 5 | |
2996 @} << | 2995 @} << |
2997 \keyTime | 2996 \keyTime |
2998 \clef "bass" | 2997 \clef "bass" |
2999 \new Voice @{ | 2998 \new Voice @{ |
3000 \MusicaManualDos | 2999 \MusicaManualDos |
3001 @} | 3000 @} |
3002 >> % fin del contexto de Staff ManualDos | 3001 >> % fin del contexto de Staff ManualDos |
3003 >> % fin del contexto de PianoStaff | 3002 >> % fin del contexto de PianoStaff |
3004 \new Staff = "OrganoPedal" << | 3003 \new Staff = "OrganoPedal" << |
3005 \keyTime | 3004 \keyTime |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3049 \new Voice { | 3048 \new Voice { |
3050 \voiceOne | 3049 \voiceOne |
3051 \ManualOneVoiceOneMusic | 3050 \ManualOneVoiceOneMusic |
3052 } | 3051 } |
3053 \new Voice { | 3052 \new Voice { |
3054 \voiceTwo | 3053 \voiceTwo |
3055 \ManualOneVoiceTwoMusic | 3054 \ManualOneVoiceTwoMusic |
3056 } | 3055 } |
3057 >> % end ManualOne Staff context | 3056 >> % end ManualOne Staff context |
3058 \new Staff = "ManualTwo" \with { | 3057 \new Staff = "ManualTwo" \with { |
3059 \override VerticalAxisGroup | 3058 \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5 |
3060 #'staff-staff-spacing #'stretchability = 5 | |
3061 } << | 3059 } << |
3062 \keyTime | 3060 \keyTime |
3063 \clef "bass" | 3061 \clef "bass" |
3064 \new Voice { | 3062 \new Voice { |
3065 \ManualTwoMusic | 3063 \ManualTwoMusic |
3066 } | 3064 } |
3067 >> % end ManualTwo Staff context | 3065 >> % end ManualTwo Staff context |
3068 >> % end PianoStaff context | 3066 >> % end PianoStaff context |
3069 \new Staff = "PedalOrgan" << | 3067 \new Staff = "PedalOrgan" << |
3070 \keyTime | 3068 \keyTime |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3120 @end lilypond | 3118 @end lilypond |
3121 | 3119 |
3122 Sin embargo también puede usar estos identificadores (que también se | 3120 Sin embargo también puede usar estos identificadores (que también se |
3123 conocen como variables, macros o instrucciones definidas por el | 3121 conocen como variables, macros o instrucciones definidas por el |
3124 usuario) para hacer trucos: | 3122 usuario) para hacer trucos: |
3125 | 3123 |
3126 @c TODO Avoid padtext - not needed with skylining | 3124 @c TODO Avoid padtext - not needed with skylining |
3127 @lilypond[quote,verbatim,ragged-right] | 3125 @lilypond[quote,verbatim,ragged-right] |
3128 dolce = \markup { \italic \bold dolce } | 3126 dolce = \markup { \italic \bold dolce } |
3129 | 3127 |
3130 padText = { \once \override TextScript #'padding = #5.0 } | 3128 padText = { \once \override TextScript.padding = #5.0 } |
3131 fthenp =_\markup { | 3129 fthenp =_\markup { |
3132 \dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p | 3130 \dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p |
3133 } | 3131 } |
3134 | 3132 |
3135 violin = \relative c'' { | 3133 violin = \relative c'' { |
3136 \repeat volta 2 { | 3134 \repeat volta 2 { |
3137 c4._\dolce b8 a8 g a b | | 3135 c4._\dolce b8 a8 g a b | |
3138 \padText | 3136 \padText |
3139 c4.^"hi there!" d8 e' f g d | | 3137 c4.^"hi there!" d8 e' f g d | |
3140 c,4.\fthenp b8 c4 c-. | | 3138 c,4.\fthenp b8 c4 c-. | |
(...skipping 11 matching lines...) Expand all Loading... |
3152 Obviamente estos identificadores son útiles para ahorrar tecleo. Pero | 3150 Obviamente estos identificadores son útiles para ahorrar tecleo. Pero |
3153 son dignos de tener en cuenta incluso si se van a utilizar una sola | 3151 son dignos de tener en cuenta incluso si se van a utilizar una sola |
3154 vez: reducen la complejidad. Examinemos el ejemplo anterior reescrito | 3152 vez: reducen la complejidad. Examinemos el ejemplo anterior reescrito |
3155 sin ningún identificador. Encontrará que es mucho más difícil de | 3153 sin ningún identificador. Encontrará que es mucho más difícil de |
3156 leer, sobre todo la última línea. | 3154 leer, sobre todo la última línea. |
3157 | 3155 |
3158 @example | 3156 @example |
3159 violin = \relative c'' @{ | 3157 violin = \relative c'' @{ |
3160 \repeat volta 2 @{ | 3158 \repeat volta 2 @{ |
3161 c4._\markup @{ \italic \bold dolce @} b8 a8 g a b | | 3159 c4._\markup @{ \italic \bold dolce @} b8 a8 g a b | |
3162 \once \override TextScript #'padding = #5.0 | 3160 \once \override TextScript.padding = #5.0 |
3163 c4.^"hi there!" d8 e' f g d | | 3161 c4.^"hi there!" d8 e' f g d | |
3164 c,4.\markup @{ | 3162 c,4.\markup @{ |
3165 \dynamic f \italic \small @{ 2nd @} \hspace #0.1 \dynamic p | 3163 \dynamic f \italic \small @{ 2nd @} \hspace #0.1 \dynamic p |
3166 @} | 3164 @} |
3167 b8 c4 c-. | | 3165 b8 c4 c-. | |
3168 @} | 3166 @} |
3169 @} | 3167 @} |
3170 @end example | 3168 @end example |
3171 | 3169 |
3172 @c TODO Replace the following with a better example -td | 3170 @c TODO Replace the following with a better example -td |
3173 @c Skylining handles this correctly without padText | 3171 @c Skylining handles this correctly without padText |
3174 | 3172 |
3175 Hasta ahora hemos contemplado la sustitución estática: cuando LilyPond | 3173 Hasta ahora hemos contemplado la sustitución estática: cuando LilyPond |
3176 se encuentra con @code{\padText}, lo sustituye con aquello que | 3174 se encuentra con @code{\padText}, lo sustituye con aquello que |
3177 hemos definido que sea (es decir, todo lo que está a la derecha de | 3175 hemos definido que sea (es decir, todo lo que está a la derecha de |
3178 @code{padtext=}). | 3176 @code{padtext=}). |
3179 | 3177 |
3180 LilyPond también puede manejar sustituciones no estáticas (piense en | 3178 LilyPond también puede manejar sustituciones no estáticas (piense en |
3181 ellas como en funciones). | 3179 ellas como en funciones). |
3182 | 3180 |
3183 @lilypond[quote,verbatim,ragged-right] | 3181 @lilypond[quote,verbatim,ragged-right] |
3184 padText = | 3182 padText = |
3185 #(define-music-function | 3183 #(define-music-function |
3186 (parser location padding) | 3184 (parser location padding) |
3187 (number?) | 3185 (number?) |
3188 #{ | 3186 #{ |
3189 \once \override TextScript #'padding = #padding | 3187 \once \override TextScript.padding = #padding |
3190 #}) | 3188 #}) |
3191 | 3189 |
3192 \relative c''' { | 3190 \relative c''' { |
3193 c4^"piu mosso" b a b | | 3191 c4^"piu mosso" b a b | |
3194 \padText #1.8 | 3192 \padText #1.8 |
3195 c4^"piu mosso" d e f | | 3193 c4^"piu mosso" d e f | |
3196 \padText #2.6 | 3194 \padText #2.6 |
3197 c4^"piu mosso" fis a g | | 3195 c4^"piu mosso" fis a g | |
3198 } | 3196 } |
3199 @end lilypond | 3197 @end lilypond |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3332 \clef "bass" | 3330 \clef "bass" |
3333 \time 2/4 | 3331 \time 2/4 |
3334 r4 d,8 f | gis4 c | b4 bes | | 3332 r4 d,8 f | gis4 c | b4 bes | |
3335 a8 e f4 | g4 d | gis4 f | | 3333 a8 e f4 | g4 d | gis4 f | |
3336 } | 3334 } |
3337 >> | 3335 >> |
3338 @end lilypond | 3336 @end lilypond |
3339 | 3337 |
3340 | 3338 |
3341 | 3339 |
LEFT | RIGHT |