FYI, I just tried the following:
DYLD_INSERT_LIBRARIES=./mysay.dylib say -v Chap -f /Users/chap/private/paragraph.txt -e outputfilename.caf
No output spoken or written. Console streaming contained several clues:
com.apple.ttsasset catalog error 19:27:59.538085-0500 com.apple.SiriTTSService.TrialProxy Factor <private> does not have 9 components as expected.
com.apple.Accessibility AXTTSCommon error 19:27:59.602618-0500 say BFChannel plaintalk parser returned nothing for . Not speaking.
(Don't know if you support -f; assumed it would be passed through to say.)
DYLD_INSERT_LIBRARIES=./mysay.dylib say -v Chap -f /Users/chap/private/paragraph.txt -e outputfilename.caf
No output spoken or written. Console streaming contained several clues:
com.apple.ttsasset catalog error 19:27:59.538085-0500 com.apple.SiriTTSService.TrialProxy Factor <private> does not have 9 components as expected.
com.apple.Accessibility AXTTSCommon error 19:27:59.602618-0500 say BFChannel plaintalk parser returned nothing for . Not speaking.
(Don't know if you support -f; assumed it would be passed through to say.)