Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(956)

Delta Between Two Patch Sets: Documentation/snippets/adding-orchestral-cues-to-a-vocal-score.ly

Issue 6635050: Make arguments like Context.GrobName accessible as symbol lists (Closed) Base URL: http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Left Patch Set: unquote \accidentalStyle parameters, make and use symbol-list-or-symbol?, some amendments Created 12 years, 5 months ago
Right Patch Set: Allow \override Accidental.color = #red (dot between grob and property) Created 12 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
LEFTRIGHT
(no file at all)
1 % DO NOT EDIT this file manually; it is automatically 1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new 2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/ 3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py 4 % and then run scripts/auxiliar/makelsr.py
5 % 5 %
6 % This file is in the public domain. 6 % This file is in the public domain.
7 %% Note: this file works from version 2.16.0 7 %% Note: this file works from version 2.16.0
8 \version "2.16.0" 8 \version "2.17.6"
9 9
10 \header { 10 \header {
11 lsrtags = "staff-notation, vocal-music" 11 lsrtags = "staff-notation, vocal-music"
12 12
13 texidoc = " 13 texidoc = "
14 This shows one approach to simplify adding many orchestral cues to the 14 This shows one approach to simplify adding many orchestral cues to the
15 piano reduction in a vocal score. The music function @code{\\cueWhile} 15 piano reduction in a vocal score. The music function @code{\\cueWhile}
16 takes four arguments: the music from which the cue is to be taken, as 16 takes four arguments: the music from which the cue is to be taken, as
17 defined by @code{\\addQuote}, the name to be inserted before the cue 17 defined by @code{\\addQuote}, the name to be inserted before the cue
18 notes, then either @code{#UP} or @code{#DOWN} to specify either 18 notes, then either @code{#UP} or @code{#DOWN} to specify either
19 @code{\\voiceOne} with the name above the staff or @code{\\voiceTwo} 19 @code{\\voiceOne} with the name above the staff or @code{\\voiceTwo}
20 with the name below the staff, and finally the piano music in parallel 20 with the name below the staff, and finally the piano music in parallel
21 with which the cue notes are to appear. The name of the cued 21 with which the cue notes are to appear. The name of the cued
22 instrument is positioned to the left of the cued notes. Many passages 22 instrument is positioned to the left of the cued notes. Many passages
23 can be cued, but they cannot overlap each other in time. 23 can be cued, but they cannot overlap each other in time.
24 24
25 " 25 "
26 doctitle = "Adding orchestral cues to a vocal score" 26 doctitle = "Adding orchestral cues to a vocal score"
27 } % begin verbatim 27 } % begin verbatim
28 28
29 29
30 cueWhile = 30 cueWhile =
31 #(define-music-function 31 #(define-music-function
32 (parser location instrument name dir music) 32 (parser location instrument name dir music)
33 (string? string? ly:dir? ly:music?) 33 (string? string? ly:dir? ly:music?)
34 #{ 34 #{
35 \cueDuring $instrument #dir { 35 \cueDuring $instrument #dir {
36 \once \override TextScript #'self-alignment-X = #RIGHT 36 \once \override TextScript.self-alignment-X = #RIGHT
37 \once \override TextScript #'direction = $dir 37 \once \override TextScript.direction = $dir
38 <>-\markup { \tiny #name } 38 <>-\markup { \tiny #name }
39 $music 39 $music
40 } 40 }
41 #}) 41 #})
42 42
43 flute = \relative c'' { 43 flute = \relative c'' {
44 \transposition c' 44 \transposition c'
45 s4 s4 e g 45 s4 s4 e g
46 } 46 }
47 \addQuote "flute" { \flute } 47 \addQuote "flute" { \flute }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 \pianoRH 79 \pianoRH
80 } 80 }
81 } 81 }
82 \new Staff { 82 \new Staff {
83 \clef "bass" 83 \clef "bass"
84 \pianoLH 84 \pianoLH
85 } 85 }
86 >> 86 >>
87 >> 87 >>
88 } 88 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b