My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
chansispeechES  
Updated May 2, 2012 by garcia.e...@gmail.com

/

  • Return a speech synthesizer for Spanish.
  • Return null if no such engine is available.
Synthesizer createSpanishSynthesizer() {
// Create a mode descriptor with all required features // "es" is the ISO 639 language code for "Spanish" SynthesizerModeDesc required = new SynthesizerModeDesc(); required.setLocale(new Locale("es", null)); required.addVoice(new Voice(
null, GENDER_MALE, AGE_DONT_CARE, null));
return Central.createSynthesizer(required);
}

Powered by Google Project Hosting