Rhythmic slashes

In “simple” lead-sheets, sometimes no actual notes are written, instead only “rhythmic patterns” and chords above the measures are notated giving the structure of a song. Such a feature is for example useful while creating/transcribing the structure of a song and also when sharing lead sheets with guitarists or jazz musicians.

startPat = {
  \omit Stem
stopPat = {
  \undo \omit Stem

\new Voice \with {
  \consists Pitch_squash_engraver
} {
  c'4 d' e' f' |
  4 4 4 4 |
  f'4 e' d' c'

[image of music]

LilyPond snippets v2.25.18 (development-branch).