Wiring them directly is fine (they are inputs and outputs from the same codec), or you can just amend the code so that you don't need to do that :-)
Replacing
AudioSystem->doScriptProcessor(inputArray, glottalOutArray, tractOutArray, gLength);
with
AudioSystem->doScriptProcessor(glottalOutArray, glottalOutArray, tractOutArray, gLength);
should to