This commit is contained in:
Applevangelist
2022-04-16 18:58:43 +02:00
parent 061469840b
commit 0522036b80
2 changed files with 35 additions and 2 deletions

View File

@@ -125,6 +125,9 @@ end
--
-- * (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min
--
-- @param #number length can also be passed as #string
-- @param #number speed Defaults to 1.0
-- @param #boolean isGoogle We're using Google TTS
function STTS.getSpeechTime(length,speed,isGoogle)
local maxRateRatio = 3