TextSpanner commençant sur un silence : Lily râle mais fait le job

Hello et bonne année à toutes et à tous (oui je sais c'est un peu tard mais cela fait longtemps que je ne suis pas venu sur la liste).

Veuillez considérer le code suivant :

\version "2.24.0"
\relative c'' {
\override TextSpanner.bound-details.left.text = "guit."
\textSpannerDown
\repeat volta 2 { \startTextSpan R1*3 }
\alternative { { R1 } { r2 \stopTextSpan c8 des4 es8 } }
}

il produit le résultat attendu :

mais Lily râle :

/tmp/frescobaldi-619wr897/tmppu2km22d/document.ly:6:21: Avertissement : TextSpanEvent non attaché

\repeat volta 2 {

\startTextSpan R1*3 }

Et moi je n'aime pas quand on râle pour rien :slight_smile: Existerait-il une solution plus adaptée aux humeurs de la dame ?

Bon week-end.

···
-- 
Vincent Gay
Envoyé depuis mon saxo-phone :)
[https://myrealbook.vintherine.org/](https://myrealbook.vintherine.org/) - [http://photos.vintherine.org/](http://photos.vintherine.org/)

Bonjour Vincent,

···
 

Merci Jean, c'est parfait

···

Le 28/01/2023 à 12:32, Jean Abou Samra a écrit :

\startTextSpan, comme \p ou \<, est un post-événement, qui doit se mettre après la note ou le silence concerné.

--
Vincent Gay
Envoyé depuis mon saxo-phone :slight_smile:
https://myrealbook.vintherine.org/ - http://photos.vintherine.org/