Thank you, Jean! Just what I needed! I tweaked a couple of settings so that the 
wavy line was centered with the staff and was slightly longer and thicker.

mySquiggle =
\tweak parent-alignment-X #RIGHT
\tweak extra-offset #'(1 . -4.5)
^\markup
\override #'(height . 2)
\override #'(thickness . 4)
\override #'(angularity . 1)
\draw-squiggle-line #3 #'(35 . 0) ##f

Rachel

On Mar 26, 2021, at 1:57 PM, Jean Abou Samra 
<[email protected]<mailto:[email protected]>> wrote:



Le 26/03/2021 à 20:57, Rachel Green a écrit :
How can I create a wavy line as in this picture?
Best,
Rachel

\relative c
  {
  \time 6/4
  \clef C
  \override NoteHead.style = #'harmonic
  c’1 r4 r4
  }




Something like this?

\version "2.23.2"

mySquiggle =
\tweak parent-alignment-X #RIGHT
\tweak extra-offset #'(0 . -3)
^\markup
\override #'(height . 2)
\override #'(thickness . 2)
\override #'(angularity . 1)
\draw-squiggle-line #3 #'(15 . 0) ##f


\relative c
  {
  \time 6/4
  \clef C
  \repeat unfold 36 c'8
  \once \override NoteHead.style = #'harmonic
  \once \textLengthOn
  c1\mySquiggle
  r4 r4
}

Documentation for \draw-squiggle-line is here:

lilypond.org/doc/v2.22/Documentation/notation/graphic*<http://lilypond.org/doc/v2.22/Documentation/notation/graphic*>

Best,
Jean

Reply via email to