Creates a WAV format speech file from a string using the default Text-To-Speech engine and default voice selection then saves it to the filesystem.
Namespace:
InkostarAssembly: DiaSpringWrapper (in DiaSpringWrapper.dll)
Version: 0.0.0.0
Syntax
| C# | Visual Basic | Visual C++ |
Remarks
This function will fail if invoked before the [device].Open() function.
Examples
Create a greeting from a string using the default Text-To-Speech engine.
The TTS voice used is the system's voice set as default. C#: objDevice.SaveSpeechToFile(@"c:\greeting.wav", "Thank you for calling Inkostar, please leave a Message by pressing 1 or else please hold.");
VB.NET: objDevice.SaveSpeechToFile("c:\greeting.wav", "Thank you for calling Inkostar, please leave a Message by pressing 1 or else please hold.")
The TTS voice used is the system's voice set as default. C#: objDevice.SaveSpeechToFile(@"c:\greeting.wav", "Thank you for calling Inkostar, please leave a Message by pressing 1 or else please hold.");
VB.NET: objDevice.SaveSpeechToFile("c:\greeting.wav", "Thank you for calling Inkostar, please leave a Message by pressing 1 or else please hold.")
See Also
DiaSpringWrapper Class
Inkostar Namespace