]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/quoting-another-voice.ly
MusicXML: src-dir rather than srcdir.
[lilypond.git] / input / lsr / quoting-another-voice.ly
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 \version "2.11.64"
4 \header {
5   texidoces = "
6 La propiedad @code{quotedEventTypes} determina los tipos de
7 eventos musicales que resultan citados.  El valor predeterminado
8 es @code{(note-event rest-event)}, que significa que sólo aparecen
9 en la expresión @code{\\quoteDuring} las notas y los silencios.
10 En el ejemplo siguiente, el silencio de semicorchea no aparece en
11 el fragmento citado porque @code{rest-event} no está dentro de los
12 @code{quotedEventTypes}.
13
14 "
15   doctitlees = "Citar otra voz"
16   lsrtags = "staff-notation"
17   texidoc = "The @code{quotedEventTypes} property determines the
18 music event types that are quoted.  The default value is
19 @code{(note-event rest-event)}, which means that only notes and
20 rests of the quoted voice appear in the @code{\\quoteDuring}
21 expression.  In the following example, a 16th rest is not quoted
22 since @code{rest-event} is not in @code{quotedEventTypes}."
23   doctitle = "Quoting another voice"
24 } % begin verbatim
25
26
27 quoteMe = \relative c' {
28   fis4 r16 a8.-> b4\ff c
29 }
30 \addQuote quoteMe \quoteMe
31
32 original = \relative c'' {
33   c8 d s2
34   \once \override NoteColumn #'ignore-collision = ##t
35   es8 gis8
36 }
37
38 <<
39   \new Staff {
40     \set Staff.instrumentName = #"quoteMe"
41     \quoteMe
42   }
43   \new Staff {
44     \set Staff.instrumentName = #"orig"
45     \original
46   }
47   \new Staff \relative c'' <<
48     \set Staff.instrumentName = #"orig+quote"
49     \set Staff.quotedEventTypes =
50       #'(note-event articulation-event)
51     \original
52     \new Voice {
53       s4
54       \set fontSize = #-4
55       \override Stem #'length-fraction = #(magstep -4)
56       \quoteDuring #"quoteMe" { \skip 2. }
57     }
58   >>
59 >>