Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 \version "2.15.6" | 1 \version "2.15.9" |
Neil Puttock
2011/08/10 17:28:48
2.15.9
| |
2 | 2 |
3 \header { | 3 \header { |
4 texidoc = "@code{\\quoteDuring} and @code{\\cueDuring} shall properly quote | 4 texidoc = "@code{\\quoteDuring} and @code{\\cueDuring} shall properly quote |
5 voices that create a sub-voice. The sub-voice will not be quoted, though. | 5 voices that create a sub-voice. The sub-voice will not be quoted, though. |
6 Exceptions are sections of parallel music @code{<< @{...@} \\ @{...@} >>}, | 6 Exceptions are sections of parallel music @code{<< @{...@} \\ @{...@} >>}, |
7 which will be quoted. | 7 which will be quoted. |
8 " | 8 " |
9 } | 9 } |
10 | 10 |
11 % Simple case, normal sub-voice | 11 % Simple case, normal sub-voice |
12 quoteMe = \relative c' { | 12 quoteMe = \relative c' { |
13 c4 c | 13 c4 c |
14 \new Voice { | 14 \new Voice { |
15 c4 c | 15 c4 c |
16 } | 16 } |
17 } | 17 } |
18 \addQuote quoteMe \quoteMe | 18 \addQuote "quoteMe" \quoteMe |
Neil Puttock
2011/08/10 17:28:48
"quoteMe"
| |
19 % Also works if wrapped with \new Voice | 19 % Also works if wrapped with \new Voice |
20 \addQuote quoteMeA \new Voice \quoteMe | 20 \addQuote "quoteMeA" \new Voice \quoteMe |
21 | 21 |
22 % Also works with voice directly inside relative | 22 % Also works with voice directly inside relative |
23 quoteMeI = \relative c' \new Voice { | 23 quoteMeI = \relative c' \new Voice { |
24 c4 c4 | 24 c4 c4 |
25 } | 25 } |
26 \addQuote quoteMeI \quoteMeI | 26 \addQuote "quoteMeI" \quoteMeI |
Neil Puttock
2011/08/10 17:28:48
"quoteMeI"
| |
27 | 27 |
28 % Quoting music with some parallel sections (identical rhythm) | 28 % Quoting music with some parallel sections (identical rhythm) |
29 quoteMeII = \relative c' { | 29 quoteMeII = \relative c' { |
30 c4 c | 30 c4 c |
31 << { d4 e4 } \\ { c4 b4 } >> | 31 << { d4 e4 } \\ { c4 b4 } >> |
32 c4 | 32 c4 |
33 } | 33 } |
34 \addQuote quoteMeII \quoteMeII | 34 \addQuote "quoteMeII" \quoteMeII |
Neil Puttock
2011/08/10 17:28:48
"quoteMeII"
| |
35 | 35 |
36 % Quoting music with some parallel sections (different rhythm) | 36 % Quoting music with some parallel sections (different rhythm) |
37 quoteMeIII = \relative c' { | 37 quoteMeIII = \relative c' { |
38 c4 c | 38 c4 c |
39 << { d4 e4 } \\ { c4. b8 } >> | 39 << { d4 e4 } \\ { c4. b8 } >> |
40 c4 | 40 c4 |
41 } | 41 } |
42 \addQuote quoteMeIII \quoteMeIII | 42 \addQuote "quoteMeIII" \quoteMeIII |
Neil Puttock
2011/08/10 17:28:48
"quoteMeIII"
| |
43 | 43 |
44 | 44 |
45 | 45 |
46 | 46 |
47 << | 47 << |
48 \new Staff \relative c'' { | 48 \new Staff \relative c'' { |
49 c4 \cueDuring #"quoteMe" #DOWN { r4 } | 49 c4 \cueDuring #"quoteMe" #DOWN { r4 } |
50 c4 \cueDuring #"quoteMe" #DOWN { r4 } % <- no cue note due to sub-voice | 50 c4 \cueDuring #"quoteMe" #DOWN { r4 } % <- no cue note due to sub-voice |
51 } | 51 } |
52 \new Staff \relative c'' { | 52 \new Staff \relative c'' { |
53 c4 \cueDuring #"quoteMeA" #DOWN { r4 } | 53 c4 \cueDuring #"quoteMeA" #DOWN { r4 } |
54 c4 \cueDuring #"quoteMeA" #DOWN { r4 } % <- no cue note due to sub-voice | 54 c4 \cueDuring #"quoteMeA" #DOWN { r4 } % <- no cue note due to sub-voice |
55 } | 55 } |
56 \new Staff \relative c'' { | 56 \new Staff \relative c'' { |
57 c4 \cueDuring #"quoteMeI" #DOWN { r4 } | 57 c4 \cueDuring #"quoteMeI" #DOWN { r4 } |
58 c4 | 58 c4 |
59 } | 59 } |
60 \new Staff \relative c'' { | 60 \new Staff \relative c'' { |
61 c4 \cueDuring #"quoteMeII" #DOWN { r4 } | 61 c4 \cueDuring #"quoteMeII" #DOWN { r4 } |
62 c4 \cueDuring #"quoteMeII" #DOWN { r4 } % <- quoted parallel notes | 62 c4 \cueDuring #"quoteMeII" #DOWN { r4 } % <- quoted parallel notes |
63 } | 63 } |
64 \new Staff \relative c'' { | 64 \new Staff \relative c'' { |
65 c4 \cueDuring #"quoteMeIII" #DOWN { r4 } | 65 c4 \cueDuring #"quoteMeIII" #DOWN { r4 } |
66 c4 \cueDuring #"quoteMeIII" #DOWN { r4 } % <- quoted parallel notes | 66 c4 \cueDuring #"quoteMeIII" #DOWN { r4 } % <- quoted parallel notes |
67 } | 67 } |
68 >> | 68 >> |
LEFT | RIGHT |