Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 812 Bytes

Realtime Public Audio Broadcast using Raspberry Pi powered by PubNub

This is a sample application for realtime audio broadcast using raspberry and pubnub. A host computer can send broadcast request to raspberry Pi.This request will be received as text and then converted by raspberry pi to audio for playing out via the sound output device.


  1. Setup audio drivers and hardware on raspberry Pi
  2. Install espeak on raspberry Pi
  3. Install pubnub python sdk on Raspberry Pi and host computer


  1. Copy the script to raspberry pi and run it.
  2. Copy and message.txt file to the host computer and run the file. Make sure that message.txt is in the same location as
  3. Hear the audio output from the speaker connected to raspberry pi
You can’t perform that action at this time.