Build

Raspberry Pi Text-to-Speech w/ Windows 10 SpeechSynthesizer

1 min read Michael Carroll on Jul 10, 2015
Try PubNub Today

Free up to 1MM monthly messages. No credit card required.

Subscribe to our newsletter

By submitting this form, you are agreeing to our Terms and Conditions and Privacy Policy.

How to build a Raspberry Pi text-to-speech app where text is entered remotely and played back as audio using Windows 10 SpeechSynthesizer.

We absolutely love when developers harness the real-time capabilities of the PubNub API and extend it to the Internet of Things. With the affordability, capabilities, and flexibility of new embedded boards, the sky’s the limit for IoT hobbyists and developers for any skill level. So when a great project comes along, we want our readers to know about it.

raspberry pi text to voice

Today’s featured project is from Krishnaraj Varma, who built a text-to-speech application using Raspberry Pi and Windows 10 audio output (part of the Windows 10 IoT release earlier this year).  The application enables a user to type in text, sends the command to a Raspberry Pi 2 Model B, then uses SpeechSynthesizer to speak the text.

Even better, Varma expanded his demo by integrating PubNub to allow remote users to us the application. Streaming the text over the PubNub Data Stream Network, users can send commands in real time from remote locations. Using the PubNub JavaScript SDK, the application keeps an open socket connection and listens for incoming PubNub messages on a channel.

You can see Varma’s full code repository here, including a schematic and all the code you need to build it yourself.

See it in action below:

More from PubNub

NPP and HIPAA: Notice of Privacy Practices Definition
Healthcare CategoryJan 6, 20235 min read

NPP and HIPAA: Notice of Privacy Practices Definition

A Notice of Privacy Practices (NPP) is one of the requirements of HIPAA and helps patients understand their personal data rights.

Michael Carroll

Michael Carroll

HIPAA Violation Examples
Healthcare CategoryJan 5, 20236 min read

HIPAA Violation Examples

HIPAA violations can be financially expensive and devastating to a brand. Examine some examples of HIPAA violations, and learn...

Michael Carroll

Michael Carroll

HIPAA Technical Safeguards: How To Protect Sensitive Data
Healthcare CategoryJan 5, 20236 min read

HIPAA Technical Safeguards: How To Protect Sensitive Data

HIPAA covered entities must follow the five technical safeguards to achieve HIPAA compliance and prevent data corruption.

Michael Carroll

Michael Carroll