lilypond-user
[Top][All Lists]
Advanced

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

Re: Exclude single notes from ChordNames?


From: Aaron Hill
Subject: Re: Exclude single notes from ChordNames?
Date: Mon, 17 Sep 2018 15:55:16 -0700
User-agent: Roundcube Webmail/1.3.6

On 2018-09-17 3:21 pm, sg2002 wrote:
Currently running ChordNames on the example I presented produces this:
D Dm/A F Dm/A D Dm/A F Dm/A E E7/G# G# E7/G# E E7/G# G# E7/G#
That's too much clutter for me so I would prefer only seeing the chords:
Dm/A Dm/A Dm/A Dm/A E7/G# E7/G# E7/G# E7/G#
Even better if the output could only have the chords shown during the changes:
Dm/A E7/G#

I think what you want is something like this:

%%%%
\version "2.19.82"
<< \new ChordNames \chordmode { d1*2:m/a | e1*2:7/gis }
   \new Staff { \clef bass
     d4 \chordmode { d:m/a } f, q | d4 q f, q |
     e,4 \chordmode { e:7^5/gis } gis, q | e,4 q gis, q } >>
%%%%

ChordNames does not do magic with the notes provided. You cannot just duplicate notes intended for a staff and get useful results. Instead, use that context specifically when you want a chord to appear. In addition to specifying durations for the chord changes, use \skip (or s) as needed when there is no associated chord.

-- Aaron Hill



reply via email to

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