]> git.donarmstrong.com Git - lilypond.git/commit
Issue 2617: simple chord inversions take 2 octaves
authorDavid Kastrup <dak@gnu.org>
Wed, 9 Jul 2014 15:31:11 +0000 (17:31 +0200)
committerDavid Kastrup <dak@gnu.org>
Fri, 18 Jul 2014 10:28:50 +0000 (12:28 +0200)
commit080d6ab968012d491c7fa70fa962d2001ace1ecc
tree1785fa1aefc07ffa0dbd4d4bdef93cb8acd94f1f
parent202344437d1691a682abd6b4f9b13570eeb136f4
Issue 2617: simple chord inversions take 2 octaves

With this change, chord inversions transpose all notes following the
inversion from the original chord down along with the inversion, as long
as the result ends up below the root note of the uninverted chord.

So with \chordmode { c:11 } => < c' e' g' bes' d'' f'' >
we get \chordmode { c:11/e } => < e g bes c' d'' f'' >

In order to have the Chord_name_engraver reconstruct the correct
uninverted chord, all the additionally octavated note events are given
an octavation property like the inversion event itself.

An "inversion" on the chord root just transposes the chord root one
octave down, leaving the rest in place.
lily/chord-name-engraver.cc
scm/chord-entry.scm