I have installed the Foliate ebook reader after installing Ubuntu Base image for Android phone.
I want to use gTTs, which uses Google speech to text service, as its voice is much better than espeak or festival. I have enabled sound in Termux.
The script in the Foliate wiki uses play command from sox. However, for some reason, sox does not seem to work because it cannot find audio device (it seems that sox uses ALSA, but only Pulseaudio works with Termux in Android).
How do I use gTTs with Foliate?