]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/adding-orchestral-cues-to-a-vocal-score.ly
LSR: run makelsr.py locally.
[lilypond.git] / Documentation / snippets / adding-orchestral-cues-to-a-vocal-score.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.12.2"
5
6 \header {
7 %% Translation of GIT committish: 27b1197f3bae8512c14d946752cd3e40e7c76016
8
9
10   texidocde = "
11 Hier wird gezeigt, wie man das Hinzufügen von vielen Orchsterstichnoten
12 zu einem Klavierauszug hinzufügen kann.  Die musikalische Funktion
13 @code{\\cueWhile} braucht vier Argumente:  Die Noten, von denen die
14 Stichnoten formatiert werden sollen, definiert durch @code{\\addQuote},
15 die Bezeichnung, die mit den Noten angegeben werden soll, dann entweder
16 @code{#UP} (hoch) oder @code{#DOWN} (runter) zur Angabe von entweder
17 @code{\\voiceOne} mit der Bezeichnung über dem System oder @code{\\voiceTwo}
18 mit der Bezeichnung unter dem System, und schließlich die Klaviermusik,
19 die parallel zu den Stichnoten gespielt werden soll.  Die Bezeichnung des
20 Stichnoteninstruments wird links der Stichnoten positioniert.  Viele
21 Abschnitte können zitiert werden, aber sie dürfen sich nicht überlappen.
22
23 "
24   doctitlede = "Orchesterstichnoten zu einem Klavierauszug hinzufügen"
25
26
27 %% Translation of GIT committish: c1d5bb448321d688185e0c6b798575d4c325ae80
28
29   texidocfr = "
30 Lorsque le nombre d'instruments cités dans la réduction pour piano se
31 multiplie, vous pourriez avoir intérêt à créer votre propre fonction
32 pour gérer ces repères.  La fonction musicale @code{\\cueWhile} prend
33 quatre arguments@tie{}: la musique d'où provient la citation, telle que
34 définie par @code{\\addQuote}, le nom qui sera mentionné en regard de
35 cette citation, son positionnement -- @code{#UP} ou @code{#DOWN} selon
36 qu'il sera attribué à @code{\\voiceOne} et placé au-dessus ou
37 @code{\\voiceTwo} et placé en dessous -- et enfin la musique du piano
38 qui interviendra en parallèle.  Le nom de l'instrument en question
39 viendra s'aligner sur la gauche de la citation.  Bien que vous puissiez
40 effectuer plusieurs citations, elle ne peuvent être simultanées.
41
42 "
43  doctitlefr = "Indication de l'instrument cité dans l'accompagnement d'une
44 partition pour chœur"
45
46
47   lsrtags = "staff-notation, vocal-music"
48
49
50
51
52 %% Translation of GIT committish: fa19277d20f8ab0397c560eb0e7b814bd804ecec
53
54   texidoces = "
55    Este ejemplo muestra una forma de simplificar la adición de muchas
56 notas guía orquestales a la reducción de piano en una partitura vocal.
57 La función musical @code{\\cueWhile} toma cuatro argumentos: la música
58 de la que se toma la cita, como viene definida por @code{\\addQuote},
59 el nombre que insertar antes de las notas guía, y después @code{#UP} o
60 @code{#DOWN} para especificar @code{\\voiceOne} con el nombre encima
61 del pentagrama o bien @code{\\voiceTwo} con el nombre debajo del
62 pentagrama, y finalmente la música de piano con la que las notas guía
63 deben aparecer en paralelo.  El nombre del instrumento citado se
64 posiciona a la izquierda de las notas guía.  Se pueden citar muchos
65 pasajes como guía, pero no se pueden superponer en el tiempo entre
66 ellos.
67
68 "
69
70  doctitlees = "Añadir notas guía orquestales a una partitura vocal"
71
72
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 }