Forum Replies Created
-
AuthorPosts
-
Can you provide more detail about where exactly this error comes up please? Can you get a backtrace, for example? Without more detail, it’s impossible to guess where+why you get this error.
Thanks! Korin
Hi,
I’ve cobbled together a couple of scripts which will help you by providing a model for performing synthesis for a file of sentences (1 to >100000s…) and then saving various bits of information. Have a look at the zip file attached. It contains:
i) a text file with a few sentences for demo purposes
ii) a scheme file with the necessary code to make festival do this
iii) a bash file which acts as a “driver” script – responsible for selecting, starting and configuring festival, and then instructing it how to process the text file…Have a look at the three files and see if you can work out what is going on for yourself! You will need to edit at least the doSynthesis.sh bash script to tailor it for your voice build.
Using this model you should be able to do things like:
a) use festival to do front-end analysis for a large amount of text, converting the resulting linguistic data in the utterance structures into a “flat text” representation and printing that – you could then pipe that to a file and write a Python script to process it in order to experiment with text selection algorithms
b) use festival to do either front-end analysis or full synthesis and save utterance structures, selected relations, waveforms etc. to file…
I hope that helps!
Korin
Attachments:
You must be logged in to view attached files. -
AuthorPosts