A small TTS that could read out text files in natural language?

In continuation to my earlier post, A small TTS that could read out text files in natural language? I installed libttspico in my Debian LXQt 12.6.0 system to demonstrate a feasible solution.

I am not a programmer by profession. So I used pico2wave and a python code to iteratively generate TTS from a temp text file. So long as the temp file isn’t EOF, the process continues.

I am not sure if pico2wave will run as a standalone binary. I had it installed when I installed libttspico from the Debian repo.

The program is very simple. But the limitation is a mono 16kHz output based on the pico2wave binary.

A good team of programmers should therefore be able to use a better offline TTS binary to use this program as an example and create an offline TTS app for texts written in standard English or other languages. The said files are as follows:
zip.zip (6.3 KB)