There's unfortunately a problem with my idea. If I put the strumming
patterns into the same variable I use for ChordNames, it still
reserves space for them, even if I set chordChanges = ##t. See this
example for comparison. Is there any way around this? I would have
expected non-printed chords to
Hi. I'm curious if there's a way to re-use a variable containing
chords entered in \chordmode to create strumming patterns with
Pitch_squash_engraver and \improvisationOn. I like only having to
enter the chords once, so if I change something, I only need to do it
in one place, and I also would
Joel Ebel jbe...@mybox.org writes:
Hi. I'm curious if there's a way to re-use a variable containing
chords entered in \chordmode to create strumming patterns with
Pitch_squash_engraver and \improvisationOn. I like only having to
enter the chords once, so if I change something, I only need to
chordRoot =
#(define-music-function (m) (ly:music?) (event-chord-reduce m))
That works perfectly!
I don't like the name. Once we come up with a nice bike shed color, we
probably should provide that function in LilyPond proper and document it
along with Pitch_squash_engraver.
I agree that