How to convert text from serial monitor to speech

Hello Good Day,

The sensor i used can detect the distance of an object, now i can see it in the serial monitor, what I want to happen is the text that is written in the serial monitor, for example: The distance is 5 cm, will be sent out in an earpiece, what should i do about this? Thanks for the help in advance

I am using HC-SR04, and what should i do about the wirings?

AFAIK android has text-to-speech libraries. I didn’t care about other platforms so I cannot tell.