Invert a chord

invert_chord  notes (list), shift (number)

Given a set of notes, apply a number of inversions indicated by Shift. Inversions being an increase to notes if Shift is positive or decreasing the notes if Shift is negative.

Introduced in v2.6

Example

# Example 1

play invert_chord(chord(:A3, "M"), 0)
sleep 1
play invert_chord(chord(:A3, "M"), 1)
sleep 1
play invert_chord(chord(:A3, "M"), 2)



#No inversion
 
#First chord inversion
 
#Second chord inversion