lilypond-user
[Top][All Lists]
Advanced

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

Re: Problem with `\acciaccatura` and `\cueDuring`


From: Jean Abou Samra
Subject: Re: Problem with `\acciaccatura` and `\cueDuring`
Date: Thu, 16 Feb 2023 00:03:37 +0100
User-agent: Evolution 3.46.3 (3.46.3-1.fc37)

Le mercredi 15 février 2023 à 19:34 +0000, Werner LEMBERG a écrit :


Consider this example.

fluteNotes = \relative {   r2. c''4 |   d8 \acciaccatura e c d e fis2 |   g2 d | }

oboeNotes = \relative c'' {   R1 |   \cueDuring "flute" #UP { R1 } |   g2 d | }

\addQuote "flute" { \fluteNotes }

<<   \new Staff \fluteNotes   \new Staff \oboeNotes


As can be seen, the acciaccatura neither has a slash nor a slur if
quoted.  While it is (kind-of) acceptable that the slur gets
omitted[*], it's not ok that the slash is missing, especially if the
grace note's stem is overly long.

Is there a possibility to get the slash in an automated way (i.e., by
not being forced to replace `\cueDuring` with a manually added
`CueVoice`)?


    Werner


[*] AFAIK, I could change this globally by adding `slur-event` to
    `quotedCueEventTypes`, but this would bring in all legato slurs,
    too.

This looks like a real bug, please file an issue.

AFAICS, this works:

\version "2.25.2"

\layout {
  \context {
    \Score
    quotedCueEventTypes = #'(
      note-event
      rest-event
      tie-event
      beam-event
      tuplet-span-event
      tremolo-event
      Override)
  }
}

fluteNotes = \relative {
  r2. c''4 |
  d8 \acciaccatura e c d e fis2 |
  g2 d |
}

oboeNotes = \relative c'' {
  R1 |
  \cueDuring "flute" #UP { R1 } |
  g2 d |
}

\addQuote "flute" { \fluteNotes }

<<
  \new Staff \fluteNotes
  \new Staff \oboeNotes
>>

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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