Redirecting the spoken voice output into a audio file

How-to questions and answers

Redirecting the spoken voice output into a audio file

Postby ray » Tue Jul 17, 2007 11:26 am

This is a critical need for our product which we are basing on Cepstral. I am working in Java and planning on sending a SSML file into Cepstral to have to say something. But I need to have that spoken sound go to a audio file and not just my headphone jack.. Can this be done and how is this done?
I give what I can not keep, to gain what I can not loose.
Posts: 1
Joined: Mon Jul 02, 2007 8:02 am
Location: boston

Postby Alex » Fri Jul 27, 2007 9:48 am

You can do this with the -o flag in command-line swift, like in these couple examples:
Code: Select all
swift -o  wavename.wav    'Text to say here'
swift -o /home/alex/wavename.wav   -f  textfile.txt 

For more flags like this, you can enter:
Code: Select all
swift --help

And for even more fun, but complicated options (for use with the -p flag):
Code: Select all
swift --params 

Posts: 26
Joined: Mon Dec 04, 2006 11:19 am

Return to How do I... ?

Who is online

Users browsing this forum: No registered users and 1 guest