On 29/09/2025 18:32, Yoshiaki Onishi wrote:
Dear Paul,
If this thread addresses your question:
https://lists.gnu.org/archive/html/lilypond-user/2025-02/msg00189.html
I think you are basing your MWE off of this, am I right?
https://lilypond.org/doc/v2.25/Documentation/snippets/expressive-marks-_002d-contemporary-glissando
In the referenced message thread you will find that there are people (myself
included) who pointed out that it should be updated with the one using \after
function.
Yoshi
I believe Paul's problem is related to time synchronisation of the
cadenza. This should work:
\version "2.24.0"
pa = \fixed c' {
\cadenzaOn r2 g \glissando \hideNotes c'4 \unHideNotes \cadenzaOff
a1
}
pb = \fixed c' { R1*5/4 R1 }
\score { << \pa \pb >> }
The first full measure rest must be the same duration as the cadenza.
\cadenzaOn should come at the beginning of the measure. See also
https://lilypond.org/doc/v2.24/Documentation/notation/special-rhythmic-concerns#aligning-to-cadenzas
for handling longer cadenzas without counting up the number of beats.
(and use Yoshiaki's suggestion to handle the glissando).
--
Timothy Lanfear, Bristol, UK.