This is a basic real-time frequency-to-note converter. The program listens to an audio signal, extracts its dominant frequency, and maps it to the closest musical note. The project is still in development and lacks optimization, but it demonstrates the core concept of pitch detection.
- The program records audio input from the microphone.
- It processes the signal to extract the dominant frequency.
- The detected frequency is converted into the corresponding musical note.
- The results are displayed on a simple Tkinter-based interface.
Make sure you have the following Python libraries installed:
tkinter(built-in)music21numpymatplotliboslibrosapydubsoundfileglob
You can install the required dependencies using:
pip install music21 numpy matplotlib librosa pydub soundfile- Clone the repository:
git clone https://github.com/your-username/frequency-to-note.git- Install dependencies (if not already installed).
- Run the script
Basic implementation: The algorithm is not highly optimized. Environmental noise: Background noise may affect accuracy. Latency: Real-time detection may not be perfectly smooth.
Better frequency detection algorithms Noise filtering Graphical improvements
This project is licensed under the MIT License.
