[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cue_problem
From: |
Thomas Morley |
Subject: |
Re: cue_problem |
Date: |
Sat, 21 Feb 2015 23:05:07 +0100 |
2015-02-21 22:53 GMT+01:00 address@hidden <address@hidden>:
> I've made my first attempts with \cueDuring. I have it working but I've hit
> a small snag. The part being quoted has slurs which I want to appear in the
> cue. I found how to add various *-events to cues in order to add slurs. The
> problem is that the slur in question ends *after* the quoted section which
> results in a fairly harmless 'unterminated slur' warning as well as the more
> problematic lack of a a slur appearing. This makes sense as the quoted
> passage doesn't have the end of the slur.
>
> In trying to work around this it occurred to me to try using tags. I thought
> it would be relatively straightforward to simply make two versions of the
> slurred passage to be quoted; One as it should appear in the part, and
> another version with the end of the slur placed where it would be within the
> bounds of the quoted passage with the added possibility of tweaking the end
> so it would appear to continue past the end of the quoted passage.
>
> In my test file I created two versions of a slurred passage to be quoted in a
> cue. I tried placing \keepWithTag #'cues as well as \removeWithTag #'part in
> a number of places. Nothing worked. I always got the 'unterminated slur'
> warning and no slur.
>
> Either this won't work for some reason or I'm doing something wrong. Test
> file follows below.
>
> -David
>
> %%%%%
>
> \version "2.18.0"
>
> one = \relative c'' {
> R1
> \tag #'part {
> c4-( d e f
> g a b c-)
> }
> \tag #'cues {
> c4-( d e f-)
> g a b c
> }
> }
>
> two = \relative c' {
> R1
> \new CueVoice { \set instrumentCueName = "cues" }
> \cueDuring #"one" #UP { R1 }
> g'1
> }
>
> \addQuote "one" { \one }
>
>
> \score {
> \relative {
> \set Score.quotedCueEventTypes = #'(note-event slur-event )
> \two
> }
> }
>
> %%%%%
how about:
one = \relative c'' {
R1
\tag #'part {
c4( d e f
g a b c)
}
\tag #'cues {
c,4( d e f)
g a b c
}
}
two = \relative c' {
R1
\new CueVoice { \set instrumentCueName = "cues" }
\cueDuring #"one" #UP { R1 }
g'1
}
\addQuote "one" { \keepWithTag #'cues \one }
\score {
\relative {
\set Score.quotedCueEventTypes = #'(note-event slur-event )
\two
}
}
HTH,
Harm
- cue_problem, address@hidden, 2015/02/21
- Re: cue_problem,
Thomas Morley <=