Re: Re-use \chordmode for strumming patterns

2015-08-27 Thread Joel Ebel
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

Re-use \chordmode for strumming patterns

2015-08-25 Thread Joel Ebel
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

Re: Re-use \chordmode for strumming patterns

2015-08-25 Thread David Kastrup
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

Re: Re-use \chordmode for strumming patterns

2015-08-25 Thread Joel Ebel
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