Hi, many users have reported a stutter issue when the sound is played by the script and that is because the game has to wait until the playback is finished and it delays the game process by around 15ms, resulting in mini stutters. To address this issue, I have reduced the runtime to 0.5ms by running the function which plays the sound using a different thread.
def threaded_sound(sound_path):
thread = threading.Thread(target=playsound, args=(sound_path,), daemon=True)
thread.start()
Just call the following function to play a sound, instead of the playsound function itself.
threaded_sound(available_temp_path or enabled_temp_path)
I hope it helped :)