SRS - actually pass the volume to the command line

This commit is contained in:
Applevangelist 2022-05-11 06:18:48 +02:00
parent 3d919cd937
commit d8e9997987

View File

@ -135,7 +135,7 @@ MSRS = {
--- MSRS class version.
-- @field #string version
MSRS.version="0.0.5"
MSRS.version="0.0.6"
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- TODO list
@ -718,7 +718,7 @@ function MSRS:_GetCommand(freqs, modus, coal, gender, voice, culture, volume, sp
--local command=string.format('start /b "" /d "%s" "%s" -f %s -m %s -c %s -p %s -n "%s" > bla.txt', path, exe, freqs, modus, coal, port, "ROBOT")
-- Command.
local command=string.format('"%s\\%s" -f %s -m %s -c %s -p %s -n "%s"', path, exe, freqs, modus, coal, port, label)
local command=string.format('"%s\\%s" -f %s -m %s -c %s -p %s -n "%s" -v %.1f', path, exe, freqs, modus, coal, port, label,volume)
-- Set voice or gender/culture.
if voice then