Neste projeto foi criado uma API utilizando Spring que acessa o GoogleTranslate e faz o processo de text to speech.
OBSERVAÇÃO
Caso haja dificuldade em configurar o spring em seu framework pode-se usar o proprio framework do spring o Spring Tool Suite que está disponível para downloader no site: https://spring.io/tools/sts/all a versão utilizada neste projeto foi 4.8.0 springsource-tool-suite-3.9.4.RELEASE-e4.8.0-updatesite.zip.