Skip to content

Audio stream for Raspberry Pi using USB microphone

Notifications You must be signed in to change notification settings

johanode/audio-streamer

Repository files navigation

audio-streamer

AudioStreamer is a versatile Python application designed to stream audio data in real-time, process it, and optionally send it to AWS IoT for further analysis and storage. The project can run locally for development and testing or be configured to work with AWS IoT for a more integrated solution.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You need Python 3.5 or newer installed on your system along with the following Python libraries:

pip install numpy sounddevice soundfile ntplib

For AWS IoT integration, you will also need:

pip install AWSIoTPythonSDK

Installation

git clone https://github.com/johanode/audio-streamer.git
cd audio-streamer

Prerequisites can be installed using

pip install -r requirements.txt

Running the Examples

To start streaming audio data locally, run:

python example.py

Streaming with AWS IoT, make sure you have configured your aws_iot.json correctly:

python example_aws.py

About

Audio stream for Raspberry Pi using USB microphone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages