/plushcap/analysis/deepgram/calling-your-video-game-with-your-phone-part-2

Calling Your Video Game With Your Phone: Part 2

What's this blog post about?

In Part 2 of the "Calling Your Video Game With Your Phone" series, the author extends the server from Part 1 to allow a game client to communicate with the player via Text-to-Speech (TTS). This enables more interactive experiences between the game and the phone, such as having conversations with in-game NPCs. The TTS service used here is Amazon Polly, but the strategy can be adapted for any other TTS provider. The server architecture has been modified to accommodate this new functionality, allowing the game client to send text messages back to the server, which then converts them into audio and sends them to Twilio for playback on the caller's phone. A simple Godot game demonstrates how this can be implemented in a game engine. The author also provides an overview of the code changes made to the server from Part 1 to enable TTS functionality.

Company
Deepgram

Date published
Aug. 11, 2023

Author(s)
Nikola Whallon

Word count
1951

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.