-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Elian Gerard edited this page Apr 30, 2023
·
1 revision
"simple-tts-mp3" is a Node.js package that converts text to speech using the same service as Google Translate through the google-tts-api package. This makes it possible to create unlimited requests in length.
Unfortunately, like Google Translate, this package does not allow changing the gender of the voice or using a specific accent from any region.
This package supports mostly the same Google Translate tts enabled languages, you must to provide only the ISO 639-1 code of one of them, for example, Spanish ISO 639-1 code is 'es', here is a list:
- af - Afrikaans
- sq - Albanian
- de - German
- ar - Arabic
- bn - Bengali
- my - Burmese
- bs - Bosnian
- bg - Bulgarian
- km - Cambodian
- kn - Kannada
- ca - Catalan
- cs - Czech
- zh - Simplified Chinese
- zh-TW - Traditional Chinese
- si - Sinhalese
- ko - Korean
- hr - Croatian
- da - Danish
- sk - Slovak
- es - Spanish
- et - Estonian
- fi - Finnish
- fr - French
- el - Greek
- gu - Gujarati
- hi - Hindi
- nl - Dutch
- hu - Hungarian
- id - Indonesian
- en - English
- is - Icelandic
- it - Italian
- ja - Japanese
- la - Latin
- lv - Latvian
- ml - Malayalam
- ms - Malay
- mr - Marathi
- ne - Nepali
- no - Norwegian
- pl - Polish
- pt - Portuguese
- ro - Romanian
- ru - Russian
- sr - Serbian
- sw - Swahili
- sv - Swedish
- su - Sundanese
- tl - Tagalog
- th - Thai
- ta - Tamil
- te - Telugu
- tr - Turkish
- uk - Ukrainian
- ur - Urdu
- vi - Vietnamese