How to custumize Linux swift shells

How-to questions and answers

How to custumize Linux swift shells

Postby RadSurfer » Thu Apr 26, 2007 11:12 pm

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//
RadSurfer
 
Posts: 8
Joined: Wed Apr 11, 2007 2:30 pm
Location: Pennsylvania, USA

Postby Alex » Wed May 16, 2007 10:14 am

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
Alex
 
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 0 guests

cron