Wow I’ve never seen that syntax before. Works perfectly for what I need, since I’m only printing chord letters in a ChordNames context. Thanks Thomas!
-Ben From: Thomas Morley Sent: 01 March 2020 07:38 To: Ben Eichler Cc: lilypond-user Subject: Re: Ties in chord mode Am Sa., 29. Feb. 2020 um 11:07 Uhr schrieb Ben Eichler <ben.eich...@gmail.com>: > > Hi all, > > > I transcribe songs using a style of melody + lyrics + chords. In certain > songs, I write the same chord twice. Sometimes I want both chords to be > printed, for example the second chord is starting a new section. Other times > I may want only the first chord to be printed. \set chordChanges = ##t is too > blunt an instrument (ha!) to deal with these situations. The only tool I am > aware of to deal with this is overflowing bar duration, but sometimes the > duration needs to be either irregular or longer than 6 beats, and having a > tie would become helpful. > > In a 4/4 time signature, if I want to make a chord last for 6 beats, I can > luckily work around it using a dotted duration that overflows the bar: > Chord notation: |C . . . |(C) . F . | > Lilypond notation: {\chordMode { c1. f2 } > > But suppose I want that C major chord to last only for 5 beats, in a melody I > would use a tie, but that doesn't work in chord mode, the second chord is > printed which I don't want: > Chord notation: |C . . . |(C) F . . | > Lilypond notation: \chordmode { c1( c4) f2. } > > Or maybe I want that C major chord to last for 3 bars. Multiple ties can be > used in a melody, but there's no equivalent in chord mode, the 2nd and 3rd > chords are printed which I don't want: > Chord notation: |C . . . |(C) . . . |(C) . . . | > Lilypond notation: \chordmode { c1( c c) } > > Unless anyone can recommend a workaround for this, I am submitting a request > to support ties in chord mode. The parentheses ( ) syntax used for melody > seems the obvious choice. > > Would appreciate any comments on this. If there's a more appropriate place to > submit requests like this I will gladly move it elsewhere. > > Thanks in advance, > > > -Ben Why not: chrdI = \chordmode { c1. f2 } chrdII = \chordmode { c1*5/4 f2. } chrdIII = \chordmode { c1*3 } << \new Staff \chrdI \new ChordNames \chrdI >> << \new Staff \chrdII \new ChordNames \chrdII >> << \new Staff \chrdIII \new ChordNames \chrdIII >> Cheers, Harm