1 % Do not edit this file; it is automatically
2 % generated from Documentation/snippets/new
3 % This file is in the public domain.
4 %% Note: this file works from version 2.13.34
8 %% Translation of GIT committish: 5a7301fc350ffc3ab5bd3a2084c91666c9e9a549
11 Este ejemplo muestra una forma de simplificar la adición de muchas
12 notas guía orquestales a la reducción de piano en una partitura vocal.
13 La función musical @code{\\cueWhile} toma cuatro argumentos: la música
14 de la que se toma la cita, como viene definida por @code{\\addQuote},
15 el nombre que insertar antes de las notas guía, y después @code{#UP} o
16 @code{#DOWN} para especificar @code{\\voiceOne} con el nombre encima
17 del pentagrama o bien @code{\\voiceTwo} con el nombre debajo del
18 pentagrama, y finalmente la música de piano con la que las notas guía
19 deben aparecer en paralelo. El nombre del instrumento citado se
20 posiciona a la izquierda de las notas guía. Se pueden citar muchos
21 pasajes como guía, pero no se pueden superponer en el tiempo entre
26 doctitlees = "Añadir notas guía orquestales a una partitura vocal"
31 lsrtags="vocal-music, staff-notation"
33 This shows one approach to simplify adding many orchestral cues to
34 the piano reduction in a vocal score. The music function
35 @code{\\cueWhile} takes four arguments: the music from which the cue
36 is to be taken, as defined by @code{\\addQuote}, the name to be
37 inserted before the cue notes, then either @code{#UP} or @code{#DOWN}
38 to specify either @code{\\voiceOne} with the name above the staff or
39 @code{\\voiceTwo} with the name below the staff, and finally the piano
40 music in parallel with which the cue notes are to appear. The name
41 of the quoted instrument is positioned to the left of the cue notes.
42 Many passages can be cued, but they cannot overlap each other in time.
44 doctitle = "Adding orchestral cues to a vocal score"
49 #(define-music-function
50 (parser location instrument name dir music)
51 (string? string? ly:dir? ly:music?)
53 \cueDuring $instrument #$dir {
54 \once \override TextScript #'self-alignment-X = #RIGHT
55 \once \override TextScript #'direction = $dir
56 s1*0-\markup { \tiny $name }
62 flute = \relative c'' {
66 \addQuote "flute" { \flute }
68 clarinet = \relative c' {
72 \addQuote "clarinet" { \clarinet }
74 singer = \relative c'' { c4. g8 g4 bes4 }
75 words = \lyricmode { here's the lyr -- ics }
77 pianoRH = \relative c'' {
79 \cueWhile "clarinet" "Clar." #DOWN { c4. g8 }
80 \cueWhile "flute" "Flute" #UP { g4 bes4 }
82 pianoLH = \relative c { c4 <c' e> e, <g c> }
87 \new Voice = "singer" {