this works to allow for just one chord (without / slash note) or two (with or without / slash notes)
Code: Select all
q:: ;test transpose chords
vText := "Cm7b5#9/B"
MsgBox, % ChordTranspose(vText, 1)
MsgBox, % ChordTranspose(vText, 0, 1)
MsgBox, % ChordTranspose(vText, 0, 0, 1)
MsgBox, % ChordTranspose(vText, 0, 0, 0, 1)
MsgBox, % ChordTranspose(vText, -1)
MsgBox, % ChordTranspose(vText, 0, -1)
MsgBox, % ChordTranspose(vText, 0, 0, -1)
MsgBox, % ChordTranspose(vText, 0, 0, 0, -1)
return
Code: Select all
q:: ;test transpose chords
vText := ",Cm7b5#9/B"
MsgBox, % ChordTranspose(vText, 1)
MsgBox, % ChordTranspose(vText, 0, 1)
MsgBox, % ChordTranspose(vText, 0, 0, 1)
MsgBox, % ChordTranspose(vText, 0, 0, 0, 1)
MsgBox, % ChordTranspose(vText, -1)
MsgBox, % ChordTranspose(vText, 0, -1)
MsgBox, % ChordTranspose(vText, 0, 0, -1)
MsgBox, % ChordTranspose(vText, 0, 0, 0, -1)
return