There's no sound

캡처

Yesterday was fine, but not today.

There was no sound during simple coding, so I checked.

Your device has an active internet connection?

TextToSpeech will only function with a working internet connection; if you want to do this offline, you can record the TextToSpeech component speaking, save it, and use it in a player/sound component

Are you in internet status?