Translation is in progress...
Not all topics are available at the moment and content links may be broken.
boolean TTS_GenerateFile (integer $InstanceID, string $Text, string $Filename, integer $Format)
|InstanceID||ID of the device to be switched|
|Text||Text to be said|
|Filename||Filename/-path in the system|
|If the command succeeds, it returns TRUE, otherwise FALSE.|
Generated on the instance with ID InstanceID a sound file in WAV format in the file Filename. The format parameter determines the quality of the wav file.
Warning: % was not found in [...] on line …
If the error message appears, it indicates an access problem. Likely the file to be written is locked by another process. Furthermore, it is not possible to write on NetworkPath.
TTS_GenerateFile(44007, "Hello World", "C:/HelloWorld.WAV", 19);