Friday, March 22, 2013

Linux voice configuration

The voice-installer script from download area installs the cmu_us_slt_arctic voice [1]. By default it's set to US English slt (female) voice. In this post we'll see how to make a different selection.

First listen voice examples here and choose which one you want to use. Then download the package from here and modify the voice-installer script to use that file. When installation completes, edit /etc/festival.scm file and jump to CMU Arctic voices. Comment the default one (in yellow) with double semicolons (;;) and remove them from your desirable choice. This is it. Save and close the file and you're done!

;;;; CMU Arctic voices
;;(set! voice_default 'voice_cmu_us_rms_arctic_clunits)
;;(set! voice_default 'voice_cmu_us_bdl_arctic_clunits)
(set! voice_default 'voice_cmu_us_slt_arctic_clunits)
;;(set! voice_default 'voice_cmu_us_clb_arctic_clunits)
;;(set! voice_default 'voice_cmu_us_awb_arctic_clunits)
;;(set! voice_default 'voice_cmu_us_jmk_arctic_clunits)

[1] By default the script checks if festival exists. If not, will ask you to install. Then you should re-run the script to proceed to voice installation.

* Automated scripts will follow for all arctic voices.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.