Or even
\version "2.24.0"
pa = \fixed c' {
\scaleDurations 4/5 {
\cadenzaOn r2 g \glissando \hideNotes c'4 \unHideNotes \cadenzaOff
}
a1
}
pb = \fixed c' { R1 R1 }
\score {
\new StaffGroup <<
\new Staff \pa
\new Staff \pb
>>
}
On 29/09/2025 21:04, Leo Correia de Verdier wrote:
Is it perhaps as simple as:
%%%%%%%%%%%%%%%%%%%%%%%
\version "2.25.28"
pa = \fixed c' {
r2 g2*4/5 \glissando \hideNotes c'8*4/5 \unHideNotes
% or other note values and fractions to taste
a1
}
pb = \fixed c' { R1 R1 }
\score{
\new StaffGroup <<
\new Staff \pa
\new Staff \pb
>>
}
%%%%%%%%%%%%%%%%%%%%%%
?
29 sep. 2025 kl. 20:50 skrev Paul Scott<[email protected]>:
On 9/29/25 11:10 AM, Timothy Lanfear wrote:
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
alsohttps://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).
Hoping to not have to put the *5/4 in every instrument's part. My normal score
would be something like this:
\version "2.25.29"
timing = {
s1*5/4 s1
}
pa = \fixed c' {
r2 \cadenzaOn g \glissando \hideNotes c'4 \unHideNotes \cadenzaOff
a1
}
pb = \fixed c' { R1 R1 }
\score{
\new StaffGroup <<
\new Staff << \timing \pa >>
\new Staff \pb
>>
}
Paul
--
Timothy Lanfear, Bristol, UK.
--
Timothy Lanfear, Bristol, UK.