I'm not at all sure how to access the Quicktime synth programmatically, but I think you are probably 90% there already since you're using it in BIAB, its just a matter of providing a dialog to assign which sf2 file to use and a few options like streaming.