Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cmirnow/google-cloud-tts-rails

Using the power of Google Cloud Text-to-Speech API and ruby here is a simple interface to convert text to speech.
https://github.com/cmirnow/google-cloud-tts-rails

rails ruby speech-api text-to-speech

Last synced: about 2 months ago
JSON representation

Using the power of Google Cloud Text-to-Speech API and ruby here is a simple interface to convert text to speech.

Awesome Lists containing this project

README

        

## Google Cloud TTS Rails

**How to convert text to speech using Google Cloud Text-to-Speech API and Ruby on Rails**

[![Google-Cloud-TTS-Rails](https://img.youtube.com/vi/Sn03pZKmyMo/0.jpg)](https://www.youtube.com/watch?v=Sn03pZKmyMo "Google-Cloud-TTS-Rails")

Using the power of Google Cloud Text-to-Speech API and ruby here is a simple interface to convert text to speech.
You only need key.json (API access key), put it in the root of this application. And that's really all.

**Attention, this application supports select TEXT or SSML, and three conversion formats: MP3 (MPEG Audio Layer III), WAV (LINEAR16) and OGG (OGG_OPUS).**

***

09.04.2023 Added Spanish (US) and Japanese (Japan) voices.

08.04.2023 Added Neural2, Studio and WaveNet (News) voices.

28.02.2021 Added the ability to adjust the speech rate.

13.09.2021 Google-Cloud-Text-to-Speech-Pro is [available](https://github.com/cmirnow/Google-Cloud-Text-to-Speech-Pro). Test please.

***

Languages Google Cloud TTS Rails supports:
- Arabic (multi-region)
- Català (Espanya)
- Dansk (Danmark)
- Deutsch (Deutschland)
- English (Australia)
- English (Great Britain)
- English (India)
- English (United States)
- Español (España)
- Español (US)
- Français (Canada)
- Français (France)
- Italiano (Italia)
- Japanese (Japan)
- Latviešu (latviešu)
- Magyar (Magyarország)
- Nederlands (Nederland)
- Norsk bokmål (Norge)
- Polski (Polska)
- Português (Brasil)
- Português (Portugal)
- Română (România)
- Suomi (Suomi)
- Íslenska (Ísland)
- Čeština (Česká republika)
- Ελληνικά (Ελλάδα)
- Български (България)
- Русский (Россия)
- Українська (Україна)
- हिन्दी (भारत)

For Beginners. How to Start. [Deploying Google-Cloud-TTS-Rails with Heroku](https://masterpro.ws/deploying-google-cloud-tts-rails-with-heroku) (in English). If this is a problem, I can do it for you. Take a look at the link!