Rhythmic slashes

In „simple“ lead-sheets, sometimes no actual notes are written. Instead, only „rhythmic patterns“ and chords above the measures are notated to represent the structure of a song. Such a feature can be useful while creating or transcribing the structure of a song, or when sharing lead sheets with guitarists or jazz musicians.

startPat = {
  \improvisationOn
  \omit Stem
}
stopPat = {
  \improvisationOff
  \undo \omit Stem
}

\new Voice \with {
  \consists Pitch_squash_engraver
} {
  c'4 d' e' f' |
  \startPat
  4 4 4 4 |
  \stopPat
  f'4 e' d' c'
}
[image of music]

LilyPond snippets v2.25.31 (development-branch).