Input some Chinese characters, and this tool will play back a machine generated vocalization of the text. This tool is envisioned to assist in practicing tones and pronunciation.
python musical-mandarin.py 話說天下大勢,分久必合,合久必分
For full usage notes, python musical-mandarin.py --help
PyDub (https://github.com/jiaaro/pydub)
Requests (https://docs.python-requests.org/en/latest/index.html)
Google Translate API
Ensure each of PyDub and Requests are installed on your device. You may need ffmpeg
installed on your system in order for PyDub to function correctly, please see their installation notes for additional details.