[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cue_problem
From: |
address@hidden |
Subject: |
Re: cue_problem |
Date: |
Sat, 21 Feb 2015 23:00:28 +0000 (GMT) |
----- Original Message -----
> From: address@hidden
> To: "Thomas Morley" <address@hidden>
> Cc: "Lillypond Users Mailing List" <address@hidden>
> Sent: Saturday, February 21, 2015 10:38:09 PM
> Subject: Re: cue_problem
>
>
>
> ----- Original Message -----
> > From: "Thomas Morley" <address@hidden>
> > To: address@hidden
> > Cc: "Lillypond Users Mailing List" <address@hidden>
> > Sent: Saturday, February 21, 2015 10:05:07 PM
> > Subject: Re: cue_problem
> >
> > 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
> >
>
> Perfect! Thank you!
>
> David
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
Well, almost perfect. I tried tweaking the end of the slur as I described above
but my attempt had zero effect. I want to adjust the end of the slur to
provide a visible suggestion that that the slur continues on past the end of
the quoted passage. Will this not work in such a situation?
-David
%%%%%
\version "2.18.0"
one = \relative c' {
R1
\tag #'part {
c4-( d e f
g a b c-)
}
\tag #'cues {
\shape #'((0 . 0) (0 . 0 )(0 . 0.5) (1.5 . 1)) Slur
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" { \keepWithTag #'cues \one }
\score {
\relative {
\set Score.quotedCueEventTypes = #'(note-event slur-event )
\two
}
}
%%%%%