Page 1 of 1

How to custumize Linux swift shells

PostPosted: Thu Apr 26, 2007 11:12 pm
by RadSurfer
Did you know that if you take the 'swift' shell script and customize it to launch the specific voice and other parameters you want, you no longer
have to specify them on the command line!

for example: gedit swift &
save the file out to a NEW NAME immediately before proceeding, so
as not to harm the original file:
saved mine to: swiftd

search for the bottom line and replace it with your favorite options,
for example:

exec "$SWIFT_BIN/swift.bin" -n David -p "speech/rate=210,audio/sampling-rate=16000" -t -f ${1+"$@"}

Which, as you can plainly see, selects David, and the word speed of
210 wpms !! :-)

Save the file. You may want to make sure Linux see's that as a proper
executable script.

now, whenever I want to read something using David @ 210 wpm,
I just type:

swiftd textfile.txt

How cool is that!

//Rich//

PostPosted: Wed May 16, 2007 10:14 am
by Alex
That's a handy trick Rick.

My normal way of doing this has been to save default special effects files.

You can use this page: http://demos.cepstral.com/cepstral/demos/sfx/rack.cgi to create a default.sfx file for the desired voice directories.

Thanks for using our voices!

-Alex