Skip to content

Latest commit

 

History

History
68 lines (40 loc) · 1.14 KB

File metadata and controls

68 lines (40 loc) · 1.14 KB

Realtime FFT from any audio input with PyAudio and Matplotlib

What we want to achieve

fft-example.mp4

you can select signal from any input source. It opens a Matplotlib window which displays FFT values of the input signal.

Prerequisites

1. Install Port Audio.

see official portaudio website

MacOS
brew install portaudio
Linux
sudo apt-get install python3-pyaudio

2. Install PyAudio

pip install pyaudio

see official pyaudio website

3. install further dependencies

pip install inquirer
pip install inquirer
pip install matplotlib

Execute

to run the application start with

python app.py

Info

if you new to the topic FFT, i can recommend you watching this video. It is nicely animated and explained :)