Home

Awesome

Realtime_PyAudio_FFT

<p align="center"> <img src="./assets/teaser.gif"> </p>

A simple package to do realtime audio analysis in native Python, using PyAudio and Numpy to extract and visualize FFT features from a live audio stream.

Demo Video

The basic pipeline:

Requirements:

pip install -r requirements.txt

You also might have to:

sudo apt install libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0 (on Ubuntu) or

brew install portaudio (on Mac)

Alternatively to pyaudio, you can try sounddevice which sometimes is more compatible with Windows/Mac

Usage:

just run python run_FFT_analyzer.py and play a sound on your machine!

Teaser image

ToDo: