I think a VST that loads into your DAW (Logic, Pro Tools) and uses the Band-in-a-Box.app in the background to generate the required tracks, and give your DAW a chord track would be a better and simpler way to go than writing RealBand for Mac.