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.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
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
git clone https://github.com/johanode/audio-streamer.git
cd audio-streamer
Prerequisites can be installed using
pip install -r requirements.txt
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