Add a set of radio buttons under the keyboard like ( Root position | Over E | Over G ). When these buttons are clicked, set the inversion field of the keyboard object, causing it to display the inversion. Reset the inversion field when another chord is played. When the user selects the notes of an inverted chord, set the customInversion field of the keyboard object and show the chord name below the keyboard as if it was a normal chord.
Add a set of radio buttons under the keyboard like ( Root position | Over E | Over G ). When these buttons are clicked, set the
inversion
field of thekeyboard
object, causing it to display the inversion. Reset theinversion
field when another chord is played. When the user selects the notes of an inverted chord, set thecustomInversion
field of thekeyboard
object and show the chord name below the keyboard as if it was a normal chord.