University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

Changing the TTS Voice | General SmartBody Discussion | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Changing the TTS Voice
December 30, 2014
10:37 pm
Avatar
New Member
Members
Forum Posts: 2
Member Since:
December 30, 2014
sp_UserOfflineSmall Offline

Hello, I am running Smartbody on the Mac OS X and was wondering on how to go about changing the voice to sound less robotic for the given character models. I know it uses the Festival TTS Engine so if theres no way to do it from there, would there be a way to change the TTS engine completely ?

Thanks!

December 31, 2014
3:27 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

The Festival TTS Relay can handle any of the Festival voices. Some of them are fairly poor quality (such as all of the _diphone voices, like kal_diphone, ked_diphone, rab_diphone; diphone refers to the construction of two phonemes or word sounds, so those voices are constructed by combining pairs of word sounds together).

There are some Artic voices (cmu_us_clb_arctic, cmu_us_jmk_arctic) are a bit better as they use unit selection (a word at a time is retrieved from the voice database) than you could use as well, although they are not loading automatically when I run the Windows version of TTSRelay.

There should be files called:

cmu_us_clb_arctic_clunits.zip

cmu_us_jmk_arctic_clunits.zip

in lib/festival/festival/lib/voices/english

If you create a folder called 

cmu_us_jmk_arctic_clunits/ under voices/English under the FestivalRelay folder and extract the cmu_us_jmk_arctic_clunits.zip archive there, you should be then able to specify the voice attribute as 'cmu_us_jmk_arctic' for the male voice. You can do the same thing for cmu_us_clb_arctic_clunits.zip as the female voice.

You should also be able to get any of the Festival voices (google festival voices) and plug them in a similar manner.

Does that work for you?

Ari

January 16, 2015
3:54 am
Avatar
New Member
Members
Forum Posts: 2
Member Since:
December 30, 2014
sp_UserOfflineSmall Offline

Thank you for the extensive response! I was attempting to figure out why the festival files for the smart body on the Mac were missing for me so I couldn't attempt to change it. I have downloaded it on my Windows computer and see that the files are there. I also see that the Windows version uses a different TTS relay. Would I go about it in the same way in changing the TTS voice for the Windows? Also, if you don't mind telling me where I could download google festival voices, I can't seem to find it online.

January 18, 2015
6:39 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

If you are downloading the SmartBody SDK, then, yes, I didn't include them in the OSX and Linux versions, although they are in the SmartBody SVN if you decided to build that from scratch (you would only need to build the festivalrelay, not the entire SmartBody source).

 

You can get the Arctic voices here:  http://www.speech.cs.cmu.edu/c.....ic/packed/

 

For OSX and Linux, the FestivalRelay is available that works only with Festival voices. For Windows, you can buy any SAPI compatible voice (they usually cost around $50 or so) and use it with the TTSRelay that is part of the distribution (the TTSRelay also includes the functionality of the FestivalRelay).

Ari