SpeechAudioFormatInfo fails for some of the language packs (fr-CA, en-IN,..) RRS feed

  • Question

  • I am seeing TTS  failure for some particular language packs and audio format combinations on speech server 11.

    Some of the language packs (fr-CA, en-IN) are not working for Speech Server 11.0 when audio format is set to ULaw, 8bit 8KHz.

    WAV header of 46 bytes is created, but the audio is not present.


    Microsoft.Speech.Synthesis.SpeechSynthesizer synth = new SpeechSynthesizer();

    SpeechAudioFormatInfo speechAudioFormatInfo =

    new SpeechAudioFormatInfo(EncodingFormat.ULaw, 8000, 8, 1, 20, 2, null); synth.SetOutputToWaveFile("some_file.wav", speechAudioFormatInfo); synth.SpeakSsml(data);

    // data example 1. <?xml version="1.0"?><speak version="1.0" xml:lang="en-IN"> Hello sir</speak>

    // data example 2. <?xml version="1.0"?><speak version="1.0" xml:lang="fr-CA"> Bonjour Monsieur</speak> synth.dispose();

    Same code works well for 

    en-US (Speech Server 10 and 11),

    en-GB (Speech server 10 and 11)

    fr-CA (Speech Server 10 only)

    en-IN (speech server 10 only)

    Is this happening because I have UCMA 4.0 preview edition?

    • Edited by D Narsay Wednesday, October 10, 2012 7:46 PM
    Tuesday, October 9, 2012 5:11 PM