lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get slur-event in cueDuring notes


From: Jacques Menu
Subject: Re: How to get slur-event in cueDuring notes
Date: Wed, 5 Aug 2015 21:06:19 +0200

Hello Cynthia,

You should set Staff.quotedCueEventTypes as in the following.

JM

%%%%%%%%%%%

\version "2.19.15"

Largo_Flute = \relative g'' {
  d32 [ ( c32 d32 es32 ) f8 -! ] r4
  c32 [ ( a32 c32 e32 ) f8 -! ] r4 | % 144
  bes,32 [ ( g32 bes32 d32 ) es!8 -! ] r4
}
\addQuote "Largo_Flute" { \Largo_Flute }


Largo = \relative d'' {
  \clef "alto" \key bes \major \time 4/4 | % 1
  \tempo "Largo"

  \new CueVoice {
    \set instrumentCueName = "Fl."
  }
  \cueDuringWithClef #"Largo_Flute" #UP #"treble" { R1 | r2 }

  r16 c,16 [ f16 c16 ] a16 [ a32 bes32 c16 a16 ] \break | % 3
}

\score {
  <<
    \new Staff <<
      \set Staff.quotedCueEventTypes = #'(note-event articulation-event
                                        crescendo-event rest-event
                                        slur-event dynamic-event)
      \context Staff <<
        \context Voice = "Largo" { \Largo }
      >>
    >>
  >>

  \layout {}

  % To create MIDI output, uncomment the following line:
  \midi {}
}

%%%%%%%%%%%

> Le 5 août 2015 à 21:04, David Kastrup <address@hidden> a écrit :
> 
> Cynthia Karl <address@hidden> writes:
> 
>> The following snippet seems to show a problem getting a slur-event to appear 
>> in music generated by \cueDuring:
>> 
>> \version "2.19.23"
>> 
>> A = \relative c'' {
>>    \set Staff.instrumentName = "A"
>>    c( d e f)
>>    g f e d
>> }
>> 
>> \addQuote "a" \A
>> 
>> B = \relative c'' {
>>    \set Staff.instrumentName = "B"
>>    <>^\markup{\teeny CueNotes }
>>    \cueDuring "a" #DOWN R1
>>    g4 f e d
>> }
>> 
>> \score {
>>    <<  
>>        \set Score.quotedEventTypes = #'(note-event articulation-event
>>                crescendo-event rest-event
>>                slur-event dynamic-event)
>>         \new Staff \A
>>         \new Staff \B
>>>> 
>> }
>> 
>> Can anyone off me a clue?  Thanks
> 
> quotedEventTypes != quotedCueEventTypes
> 
> -- 
> David Kastrup
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

[Prev in Thread] Current Thread [Next in Thread]