#SOUND/MSRS - small fix to delete the "--ssml" tag if google provider is used in conjunction with a file based sound output.

This commit is contained in:
Applevangelist 2025-03-15 10:55:05 +01:00
parent 1661872bf8
commit 2a6df8434a
2 changed files with 4 additions and 2 deletions

View File

@ -1313,6 +1313,7 @@ function MSRS:PlaySoundFile(Soundfile, Delay)
-- Append file.
command=command..' --file="'..tostring(soundfile)..'"'
command=string.gsub(command,"--ssml","-h")
-- Execute command.
self:_ExecCommand(command)

View File

@ -292,6 +292,7 @@ end
do -- Text-To-Speech
---
-- @type SOUNDTEXT
-- @field #string ClassName Name of the class
-- @field #string text Text to speak.