How to : cepstral python API

How-to questions and answers

How to : cepstral python API

Postby dhakkon » Mon Oct 24, 2011 7:53 am

What is the easiest method to call the Cepstral TTS engine from the python script? (any sample code)
is it possible to access the features of Cepstral TTS engine natively using python? (Any API documentations)
dhakkon
 
Posts: 1
Joined: Sun Oct 23, 2011 5:51 pm

Postby aiprog » Mon Oct 24, 2011 6:08 pm

Try the subprocess module:

import subprocess
subprocess.call(['swift', "text to be spoken"])

to read a file:

subprocess.call(['swift', '-f', 'filename.wav'])
aiprog
 
Posts: 2
Joined: Thu Feb 10, 2011 12:36 pm


Return to How do I... ?

Who is online

Users browsing this forum: No registered users and 0 guests

cron