A Python-based audio spectrum analyzer that visualizes a microphone input signal in real time. This project was developed as part of a university course in collaboration with two classmates.
- Real-time audio recording via microphone
- FFT based frequency analysis
- Dynamic visualization with PyGame
- Color-coded frequency display
- Create and activate virtual environment
- Install dependencies:
pip install -r requirements.txt
Ensure you have the following installed on your system:
- Python 3.7 or later
- pip (Python package manager)
-
Clone this repository:
git clone https://github.com/felixgahler/Python-Spectrum-Analyser.git
cd python-spectrum-analyzer
-
Install the required dependencies:
pip install -r requirements.txt
Run the main script to start the spectrum analyzer:
python main.py
The following settings can be adjusted via the file config.py:
- Screen width and height
- Background color
- Grid color
- Volume factor
- Bars start and end color
This project is licensed under the MIT License. See the LICENSE file for details.
Last Edited on: 19/01/2025