A sleek desktop application built with Python, Tkinter, and Matplotlib to visualize audio input in real time, showing both the energy and dominant frequency of the audio signal while recording and saving the captured sound.
- 🎤 Real-time microphone audio input
- 📈 Live frequency domain visualization using FFT
- ⚡ Audio energy display
- 🎯 Dominant frequency detection
- 💾 Save recordings as
.wavfiles - 🌈 Modern GUI with
ttkbootstrap - 🧊 Optional custom window/taskbar icon (Windows)
Pythontkinterviattkbootstrapfor a modern themed UImatplotlibfor real-time plottingsounddevicefor audio streamingnumpyfor signal processingwavefor saving audio files
Make sure Python 3.7+ is installed. Then install dependencies:
pip install -r requirements.txt
▶️ How to Run
#bash
python audio_visualizer.py
If you bundled the app using PyInstaller, just run the .exe as usual.
📁 File Structure:
audio_visualizer/
│
├── audio_visualizer.py
├── multi_mediaIcon.ico
└── README.md
🪄 Packaging as Executable (Optional)
If you want to distribute your app:
pyinstaller --noconfirm --onefile --windowed --icon=multi_mediaIcon.ico audio_visualizer.py