Stream an Audio Device to a webpage with Python
AudioStream uses Flask to create a web server that streams audio from the selected audio device. The PCM audio is captured using PyAudio and embedded into a webpage as an audio element. The webpage is served using Flask and can be accessed by any device on the same network. The app also displays a QR code that can be scanned to quickly access the webpage on a mobile device.
- Download the latest release from GitHub
- Run the executable
- Select the audio device and parameters you want to use
- Click "Confirm"
- Go to the URL displayed on screen to listen to the audio.
- Clone the repository with
git clone https://github.com/michaelphagen/AudioStream.git
or download the zip - Install dependencies by double clicking the
mac_setup.command
file - Run the application with
python app.py
- Select the audio device and parameters you want to use
- Click "Confirm"
- Go to the URL displayed on screen to listen to the audio
If you find this project useful and you would like to donate toward on-going development you can use the link below. Any and all donations are much appreciated!