Issues with Cepstral Voices
Posted: Mon Jun 21, 2010 9:41 am
When i try to use Cepstral Millie or Lawrence on a Windows 2k3 r2 machine from a web app. I get a
System.ArgumentException: Value does not fall within the expected range.
at SpeechLib.SpVoiceClass.Speak(String Text, SpeechVoiceSpeakFlags Flags) exception.
I wrote an intermediary app that does the speak that is called from the site. When i run the code as Admin everything works, when i call my app from a website both Cepstral voices throw the error, every other voice on the machine works perfectly.
I do reduce the Rate on the voice by 2 so the SpVoice.Rate property is -2, i tried leaving it as 0 and adjusting the output format to various types but nothing seems to help. I'm also outputting the speak to a .wav file, but since the code works perfectly for 8 other voices from 3 different providers, it has to be something unique to the Cepstral voices.
Any information would be helpful.
Thanks.
System.ArgumentException: Value does not fall within the expected range.
at SpeechLib.SpVoiceClass.Speak(String Text, SpeechVoiceSpeakFlags Flags) exception.
I wrote an intermediary app that does the speak that is called from the site. When i run the code as Admin everything works, when i call my app from a website both Cepstral voices throw the error, every other voice on the machine works perfectly.
I do reduce the Rate on the voice by 2 so the SpVoice.Rate property is -2, i tried leaving it as 0 and adjusting the output format to various types but nothing seems to help. I'm also outputting the speak to a .wav file, but since the code works perfectly for 8 other voices from 3 different providers, it has to be something unique to the Cepstral voices.
Any information would be helpful.
Thanks.