Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting pronunciation of a word using Google Translate API

I am trying to save the pronunciation of a French word into a .wav or .mp3 file.

I was wondering if there was anywhere on the Google Translate API (since it has a pronunciation functionality) that allows me to achieve this objective. Other libraries would work too.

like image 445
user39664 Avatar asked Jun 07 '14 19:06

user39664


People also ask

Does Google Translate help with pronunciation?

Translate can help with longer text, difficult pronunciations and even uploaded documents.

Can I use Google Translate API for free?

The Google Translate API is not free. Its pricing is based off monthly usage in terms of millions of characters. It costs $20 per 1 million characters for translation or language detection. Price is per character sent to the API for processing, including whitespace characters.


1 Answers

Similar functionality is provided by the Speech Synthesis API (under development). Third-party libraries are already there, such as ResponsiveVoice.JS.

like image 138
George Avatar answered Sep 18 '22 08:09

George