Это моя первая попытка познакомиться с написанием простейшего синтеза речи с нуля.
В качестве словаря произношений для английского языка был использован Carnegie Mellon University Pronouncing Dictionary
Звуки были записаны самостоятельно с помощью Audacity и могут звучать некорректно (требуется зависимость от контекста и побольше опыта в записи нужных звуков, но для понимании концепции это уже неплохо).
Для установки PyAudio можно найти и скачать нужный в зависимости от архитектуры и версии Python whl-файл здесь в папку с проектом. После чего его можно установить при помощи подобной команды:
pip install PyAudio-0.2.11-cp38-cp38m-win_amd64.whl
Пример ввода и вывода из консоли:
Enter a word or phrase: tea
['T', 'IY']