Play the Game of Telephone with the Nexmo Voice API
The game of telephone is recreated using Ruby on Rails, Nexmo Voice API, and Google Cloud Platform Speech to Text and Translate APIs. The application accepts an inbound phone call, takes an original message, converts it to text, translates it through multiple languages until it retranslates it back into English, and plays the final message back to the caller. To set up the application, a Vonage API account, virtual phone number, ngrok, Google Cloud Platform account, and Rails application are required. The application's controller actions define how the game is played, including answering the call, saving the recording, transcribing it into text, translating the text through multiple languages, and playing back the final translated message to the caller.
Company
Vonage
Date published
May 14, 2021
Author(s)
Ben Greenberg
Word count
2724
Language
English
Hacker News points
None found.