lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I write simultaneous music in \chordmode?


From: Brett Duncan
Subject: Re: How can I write simultaneous music in \chordmode?
Date: Thu, 08 Jan 2015 11:19:44 +1100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 7/01/15 1:14 PM, Jim Long wrote:
This works great.  But I often have the same problem in chordmode
music, "the same problem" meaning that I need to use tagged
alternative bits of enharmonic music where the tagged
alternatives are simultaneous so that they don't artificially
lengthen the number of beats/bars of music.  Unfortunately,
simultaneous music << >> doesn't work in \chordmode:

foo = \new Staff \relative c' {
   <<
     \tag #'concert { b1 }
     \tag #'trumpet { ces1 }
   >>
}

fooChords = \new ChordNames \chordmode {
   <<
     \tag #'concert { b1 }
     \tag #'trumpet { ces1 }
   >>
}

\score {
   \transpose c d
     \keepWithTag #'trumpet
       <<
         \fooChords
         \foo
       >>
}

Lily complains with:

x.ly:9:3: error: syntax error, unexpected $undefined


Jim, I just tried the above in Lilypond 2.19.15, and it worked fine - maybe the simplest solution is an upgrade!

Brett



reply via email to

[Prev in Thread] Current Thread [Next in Thread]