hello,
On 26/08/2010 16:18, Reinhold Kainhofer wrote:
Am Donnerstag, 26. August 2010, 15:56:09 schrieb akj850:
I am new to lilypond, but I experienced with text-based typesetting with
latex. I am trying to use the \cueDuring feature of lilypond but am having
some weird behavior where the cued notes don't show up, just the rest.
This example slightly modified taken from the docs:
oboe = \relative c'' {
b2 (d)
}
\addQuote "oboe" { \oboe }
clarinetNotes = \new Voice \relative c'' {
\key d \major
\time 2/2
\tempo "Allegro molto"
a4 b c d
\cueDuring #"oboe" #UP { R1 }
Here you use cueDuring in the second measure, so you try to quote the second
measure from the oboe voice, which has only one measure...
Am I doing something wrong or is this a bug?
Neither. I think you misunderstood cueDuring... It is not meant to insert the
exact specified music. Instead, you give it a full voice, and it will
automatically extract the notes from the proper bar numbers.
If you write a full Oboe part, and then the clarinet part, this feature allows
you to quote from the full oboe part, so you don't have to worry about which
notes you want to quote. LilyPond will automatically choose the right notes to
insert, so you don't have to write the quoted notes yourself.
Yes so if you don't want to have to type out a complete score just for
the piece you want to quote, what I do is to add multiple full bar rests
to the music you want to cue.
So if you had 20 bars of 4/4 music before you wanted to quote you could
just insert R1*20 into the
oboe = \relative c'' {
R1*20 | b2 (d)
}
Then this would quote 'b2 (d)' on the 21st bar of your main music.
Also, I am interested in
keeping the articulations with the cues, but from what I've read, this is
pretty involved.
Actually, no. I solved that in 2.13:
http://kainhofer.com/~lilypond/Documentation/notation/writing-
parts.html#formatting-cue-notes
However, I have found that if the quote is #UP then slurs and the like
are also 'up' (like \SlurUp) and I have not found any way to make them
'down'.
So if someone else can answer this I'd appreciate it. :)
James
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user