This tool help you to convert subtitle (.srt) to audio file (.wav and .ogg). As the tool is based on Docker, it is OS independant :)
It uses Google text to speech API, mpg123 and sox
docker build . -t tts
docker run -v $(pwd)/data:/data -it tts
A subtitle file is read by default in english. To choose an other language, juste specify in the filename following filename.[language key].srt
where [language key]
can be fr
(french), en
, es
(spanish), zh-CN
(chinese), ...