Windows error 0x80045003, -2147201021

Detailed Error Information

SPERR_UNSUPPORTED_FORMAT[1]

MessageThe caller has specified an unsupported format.
Declared insperror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode4 (0x004)
NameFACILITY_ITF[2][3]
DescriptionThe source of the error code is COM/OLE Interface management.[2][3]
Error Code20483 (0x5003)

Questions

4votes
2answers

Can C# SAPI speak SSML string?

I implemented a TTS in my C# WPF project. Previously, I use the TTS in System.Speech.Synthesis namespace to speak. The speaking content is in SSML format (Speech Synthesizer Markup Language, support customize the speaking rate, voice, emphasize) like following: <speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US"><prosody rate="x-fast">hello world. This is a long sentence [...] read more
c#
speech
sapi
text-to-speech
ssml
2votes
1answer

Exception from HRESULT: 0x80045003

I am using C#.Net to develop the Speech recognition engine to develop speech to text in bangla. I have tried several times to load the grammer file to the speechengine. But it shows me the error. How I can resolve this problem. My XML grammer loading code is grammar.CmdLoadFromFile(appPath + [...] read more
xml
c#-4.0
speech-recognition
0votes
0answers

Using Microsoft SAPI Text To Speech with SSML

I understand that SAPI can use SSML with the SPF_PARSE_SSML however I have not been able to get this to work, always getting a SPERR_UNSUPPORTED_FORMAT error. Is something else needed to enable it? Special voices, some extra flag? I tried setting different voices explicitly (my Win 10 machine seems to [...] read more
c++
windows
sapi
0votes
4answers

C# SAPI in a web service

var speechEngine = new SpVoiceClass(); SetVoice(speechEngine, job.Voice); var fileMode = SpeechStreamFileMode.SSFMCreateForWrite; var fileStream = new SpFileStream(); try { fileStream.Open(filePath, fileMode, false); speechEngine.AudioOutputStream = fileStream; speechEngine.Speak(job.Script, SpeechVoiceSpeakFlags.SVSFPurgeBeforeSpeak | SpeechVoiceSpeakFlags.SVSFDefault); //TODO: Change to XML //Wait for 15 minutes only speechEngine.WaitUntilDone((uint)new TimeSpan(0, 15, 0).TotalMilliseconds); } finally { fileStream.Close(); } This exact code works [...] read more
c#
web-services
sapi

Comments

Leave a comment

(plain text only)

Sources

  1. sperror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  3. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0