From 15f37accaa1754c0897c076d39334d4d314e640b Mon Sep 17 00:00:00 2001 From: tux Date: Mon, 18 Sep 2023 18:08:33 +0200 Subject: [PATCH] repeats around chords --- chord_settings.ly | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/chord_settings.ly b/chord_settings.ly index 8637930..69edb74 100644 --- a/chord_settings.ly +++ b/chord_settings.ly @@ -8,6 +8,16 @@ klamm = #(define-music-function (parser location chords) (ly:music?) \set chordNameFunction = #ignatzek-chord-names #}) +repeats-around-chords = +#(define-music-function (parser location chords) (ly:music?) +#{ + \once \set noChordSymbol = \markup { \normal-text \repStart } + r4 + $chords + \once \set noChordSymbol = \markup { \normal-text \repStop } + r4 +#}) + bchord = #(define-music-function (parser location chords) (ly:music?) #{