[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \cueDuring problem
From: |
Xavier Scheuer |
Subject: |
Re: \cueDuring problem |
Date: |
Thu, 26 Aug 2010 17:28:45 +0200 |
On 26 August 2010 15:56, akj850 <address@hidden> wrote:
>
> 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.
That's because you have no music in measure 2 of "oboe" ! :D
You must enter _the whole_ oboe voice, not only the "quoted passages".
Lilypond is inserting the cued notes of the _current measure_ from
oboe.
If you add for example d2( b) in as second measure of "oboe", then
these two cued notes will show up.
> Am I doing something wrong or is this a bug? Also, I am interested in
> keeping the articulations with the cues, but from what I've read, this
> is pretty involved.
If you add slur-event to quotedCueEventTypes , then the slur will be
printed in the cued, but its orientation will be UP (and there is no
way to change that currently AFAIK).
oboe = \relative c'' {
b2 (d)
d2( b)
}
\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 }
g2 c,
}
{
\set Score.quotedCueEventTypes = #'(note-event rest-event tie-event
beam-event tuplet-span-event
slur-event)
\transpose bes c' \clarinetNotes
}
Cheers,
Xavier
--
Xavier Scheuer <address@hidden>