]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/adding-orchestral-cues-to-a-vocal-score.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / Documentation / snippets / adding-orchestral-cues-to-a-vocal-score.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.0"
8
9 \header {
10   lsrtags = "staff-notation, vocal-music"
11
12 %% Translation of GIT committish: 59caa3adce63114ca7972d18f95d4aadc528ec3d
13
14   texidoces = "
15    Este ejemplo muestra una forma de simplificar la adición de muchas
16 notas guía orquestales a la reducción de piano en una partitura vocal.
17 La función musical @code{\\cueWhile} toma cuatro argumentos: la música
18 de la que se toma la cita, como viene definida por @code{\\addQuote},
19 el nombre que insertar antes de las notas guía, y después @code{#UP} o
20 @code{#DOWN} para especificar @code{\\voiceOne} con el nombre encima
21 del pentagrama o bien @code{\\voiceTwo} con el nombre debajo del
22 pentagrama, y finalmente la música de piano con la que las notas guía
23 deben aparecer en paralelo.  El nombre del instrumento citado se
24 posiciona a la izquierda de las notas guía.  Se pueden citar muchos
25 pasajes como guía, pero no se pueden superponer en el tiempo entre
26 ellos.
27
28 "
29
30  doctitlees = "Añadir notas guía orquestales a una partitura vocal"
31
32
33
34
35 %% Translation of GIT committish: 27b1197f3bae8512c14d946752cd3e40e7c76016
36
37
38   texidocde = "
39 Hier wird gezeigt, wie man das Hinzufügen von vielen Orchsterstichnoten
40 zu einem Klavierauszug hinzufügen kann.  Die musikalische Funktion
41 @code{\\cueWhile} braucht vier Argumente:  Die Noten, von denen die
42 Stichnoten formatiert werden sollen, definiert durch @code{\\addQuote},
43 die Bezeichnung, die mit den Noten angegeben werden soll, dann entweder
44 @code{#UP} (hoch) oder @code{#DOWN} (runter) zur Angabe von entweder
45 @code{\\voiceOne} mit der Bezeichnung über dem System oder @code{\\voiceTwo}
46 mit der Bezeichnung unter dem System, und schließlich die Klaviermusik,
47 die parallel zu den Stichnoten gespielt werden soll.  Die Bezeichnung des
48 Stichnoteninstruments wird links der Stichnoten positioniert.  Viele
49 Abschnitte können zitiert werden, aber sie dürfen sich nicht überlappen.
50
51 "
52   doctitlede = "Orchesterstichnoten zu einem Klavierauszug hinzufügen"
53
54
55 %% Translation of GIT committish: c1d5bb448321d688185e0c6b798575d4c325ae80
56
57   texidocfr = "
58 Lorsque le nombre d'instruments cités dans la réduction pour piano se
59 multiplie, vous pourriez avoir intérêt à créer votre propre fonction
60 pour gérer ces repères.  La fonction musicale @code{\\cueWhile} prend
61 quatre arguments@tie{}: la musique d'où provient la citation, telle que
62 définie par @code{\\addQuote}, le nom qui sera mentionné en regard de
63 cette citation, son positionnement -- @code{#UP} ou @code{#DOWN} selon
64 qu'il sera attribué à @code{\\voiceOne} et placé au-dessus ou
65 @code{\\voiceTwo} et placé en dessous -- et enfin la musique du piano
66 qui interviendra en parallèle.  Le nom de l'instrument en question
67 viendra s'aligner sur la gauche de la citation.  Bien que vous puissiez
68 effectuer plusieurs citations, elle ne peuvent être simultanées.
69
70 "
71  doctitlefr = "Indication de l'instrument cité dans l'accompagnement d'une
72 partition pour chœur"
73
74
75   texidoc = "
76 This shows one approach to simplify adding many orchestral cues to the
77 piano reduction in a vocal score.  The music function @code{\\cueWhile}
78 takes four arguments: the music from which the cue is to be taken, as
79 defined by @code{\\addQuote}, the name to be inserted before the cue
80 notes, then either @code{#UP} or @code{#DOWN} to specify either
81 @code{\\voiceOne} with the name above the staff or @code{\\voiceTwo}
82 with the name below the staff, and finally the piano music in parallel
83 with which the cue notes are to appear.  The name of the cued
84 instrument is positioned to the left of the cued notes. Many passages
85 can be cued, but they cannot overlap each other in time.
86
87 "
88   doctitle = "Adding orchestral cues to a vocal score"
89 } % begin verbatim
90
91 cueWhile =
92 #(define-music-function
93    (parser location instrument name dir music)
94    (string? string? ly:dir? ly:music?)
95    #{
96      \cueDuring $instrument #$dir {
97        \once \override TextScript #'self-alignment-X = #RIGHT
98        \once \override TextScript #'direction = $dir
99        s1*0-\markup { \tiny $name }
100        $music
101      }
102    #})
103
104 flute = \relative c'' {
105   \transposition c'
106   s4 s4 e g
107 }
108 \addQuote "flute" { \flute }
109
110 clarinet = \relative c' {
111   \transposition bes
112   fis4 d d c
113 }
114 \addQuote "clarinet" { \clarinet }
115
116 singer = \relative c'' { c4. g8 g4 bes4 }
117 words = \lyricmode { here's the lyr -- ics }
118
119 pianoRH = \relative c'' {
120   \transposition c'
121   \cueWhile "clarinet" "Clar." #DOWN { c4. g8 }
122   \cueWhile "flute" "Flute" #UP { g4 bes4 }
123 }
124 pianoLH = \relative c { c4 <c' e> e, <g c> }
125
126 \score {
127   <<
128     \new Staff {
129       \new Voice = "singer" {
130         \singer
131       }
132     }
133     \new Lyrics {
134       \lyricsto "singer"
135       \words
136     }
137     \new PianoStaff <<
138       \new Staff {
139         \new Voice {
140           \pianoRH
141         }
142       }
143       \new Staff {
144         \clef "bass"
145         \pianoLH
146       }
147     >>
148   >>
149 }