10.04.2013 Views

in Snippets - LilyPond

in Snippets - LilyPond

in Snippets - LilyPond

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Staff notation 113<br />

High I + II<br />

Low<br />

<br />

<br />

<br />

H I<br />

H II<br />

L<br />

<br />

5<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Add<strong>in</strong>g orchestral cues to a vocal score<br />

This shows one approach to simplify add<strong>in</strong>g many orchestral cues to the piano reduction <strong>in</strong> a<br />

vocal score. The music function \cueWhile takes four arguments: the music from which the<br />

cue is to be taken, as def<strong>in</strong>ed by \addQuote, the name to be <strong>in</strong>serted before the cue notes, then<br />

either #UP or #DOWN to specify either \voiceOne with the name above the staff or \voiceTwo<br />

with the name below the staff, and f<strong>in</strong>ally the piano music <strong>in</strong> parallel with which the cue notes<br />

are to appear. The name of the cued <strong>in</strong>strument is positioned to the left of the cued notes.<br />

Many passages can be cued, but they cannot overlap each other <strong>in</strong> time.<br />

cueWhile =<br />

#(def<strong>in</strong>e-music-function<br />

(parser location <strong>in</strong>strument name dir music)<br />

(str<strong>in</strong>g? str<strong>in</strong>g? ly:dir? ly:music?)<br />

#{<br />

\cueDur<strong>in</strong>g $<strong>in</strong>strument #dir {<br />

\once \override TextScript #'self-alignment-X = #RIGHT<br />

\once \override TextScript #'direction = $dir<br />

-\markup { \t<strong>in</strong>y #name }<br />

$music<br />

}<br />

#})<br />

flute = \relative c'' {<br />

\transposition c'<br />

s4 s4 e g<br />

}<br />

\addQuote "flute" { \flute }<br />

clar<strong>in</strong>et = \relative c' {<br />

\transposition bes<br />

fis4 d d c<br />

}<br />

\addQuote "clar<strong>in</strong>et" { \clar<strong>in</strong>et }<br />

s<strong>in</strong>ger = \relative c'' { c4. g8 g4 bes4 }<br />

words = \lyricmode { here's the lyr -- ics }

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!