Open nightblade9 opened 1 year ago
I can confirm this issue also exists on windows 10 ( Godot v4.0.1 )
Could this be #77754? (I know it's probably not that for Windows, but for Linux). time spd-say -L > /dev/null
will give you a hint: if it takes about 2 seconds, that's your bug. If not, then it's something else.
time
reports 0.016s total
, so I guess it's not the same issue. Thanks for providing clear instructions on how to verify it.
Godot version
4.0.0 official binaries, .NET flavour.
System information
Manjaro (Arch) with KDE Plasma; GPU = NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile] (rev a1)
Issue description
When generating speech via
DisplayServer.tts_speak
, on my Linux box, there's roughly a two-second pause (irrespective of audio length) while the system libraries do their thing. During this time, the Godot UI is completely frozen.As I would like to allow users to rapidly move from, say, menu button to menu button, I really need:
.stop()
immediately stopping, even if it's during this two-second period.I tried work-around (e.g. running this in a
Thread.new()
) but it seems to have no effect.Steps to reproduce
DisplayServer.tts_speak
with a message (maybe longer is better for testing) on press_process
like a label with the current timeMinimal reproduction project
Not necessary, as this is trivially reproducible.