Hi,
When writing a simple song lead sheet i have the chord(name) above the normal melody line.
Some guitarists like to use a capo and so I place a transposed chord(name) below the main one.
To do this I used a function called "parenthesizeAllchords" which I freely admit I plagarized from somewhere and don't exactly understand how it works - but it did work at one time.
Each Capo chord had a bracket around it eg (C) (D7) (Em) etc
However, I've not used it for a few years and tried recently and it no longer works ( or I've corrupted the code somewhere along the line)
Please could somebody cast an eye over this and see where I am going wrong?