Is it possible to show the instrument together with the quoted cue notes? Unfortunately, I can't modify either the quoting, nor the quoted music (since I generate other scores from the them too, where the cue notes are removed).
Ideally, I would assign the instrument name once to the quote, something like
\addQuote "VIIIArieSQuote" \VIIIArieS
\addInstrumentNameToQuote "VIIIArieSQuote" "Sop." % <= does not exist...
and then whenever I do
\cueDuring #"VIIIArieSQuote" { R1*3 }
then "Sop." would be shown above the cue notes... The very old regression test
page for 2.0 has an example
(http://lilypond.org/doc/v2.0/input/test/out-www/collated-files.html#cue-notes.ly)
of how it should look, but of course it does not use cueDuring, yet. How can
I generate such cue notes with \addQuote and \cueDuring?
The other issue is that I want the cue notes to automatically have
the "correct" clef for the quoted instrument (i.e. the cue notes taken from
soprano should automatically use the treble clef and reset the clef at the
end of the cue notes). Is there something like
\setClefForQuote "VIIIArieSQuote" "treble" % <= does not exist...
In the documentation and the LSR I was unable to find anything about these
problems...
Attached is an example, where I want "Sop." above measure 2 and 8 of the
instrumental score, but nowhere else. Also, the measures quoted from soprano
should be shown in treble clef, just like the example in the 2.0 regression
test page does.
Thanks a lot,
Reinhold
--
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
* K Desktop Environment, http://www.kde.org, KOrganizer maintainer
* Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
\version "2.11.39"
#(ly:set-option 'point-and-click #f)
\header { title="Showing instrument name with cue notes"}
sopM = \relative c'' { \repeat unfold 2 { c,4 c g' g | d d e e | f f g g | a a
b, b | c c d d | } }
sopL = \lyricmode { A B C D E F G H I J K L M N O P Q R S T A B C D E F G H I J
K L M N O P Q R S T }
\addQuote sop \sopM
% \addInstrumentNameToQuote "sop" "Sop." % <== this does not exist, but is what
I want!
otherVoice = \relative c {
R1 |
\cueDuring #"sop" #UP { R1 } |
a4 a g2 |
R1*4 |
\cueDuring #"sop" #UP { R1 | r2 r4 } c4 |
c8 c8[( b8] a8) g2 \bar"|."
}
otherLyrics = \lyricmode { a b c d e f g h i }
\score {
\context Staff = "Soprano" <<
\context Voice = sopV { \sopM }
\context Lyrics = sopL \lyricsto "sopV" \sopL
>>
\header { piece="Soprano Score" }
}
\score {
\context Staff = "Instrument" <<
\context Voice = otherV { \clef "bass" \otherVoice }
\context Lyrics = otherL \lyricsto "otherV" \otherLyrics
>>
\header { piece="Instrumental Score" }
}
\score {
\context StaffGroup = "FullScoreStaffGroup" <<
\context Staff = "Soprano" <<
\context Voice = sopV { \sopM }
\context Lyrics = sopL \lyricsto "sopV" \sopL
\set Staff.instrumentName = "Sopran"
\set Staff.shortInstrumentName = "Sop."
>>
\context Staff = "Instrument" <<
\context Voice = otherV { \clef "bass" \killCues \otherVoice }
\context Lyrics = otherL \lyricsto "otherV" \otherLyrics
\set Staff.instrumentName = "Instrument"
\set Staff.shortInstrumentName = "Instr."
>>
>>
\header { piece="Full Score" }
}
cue_instrument_name.pdf
Description: Adobe PDF document
_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
