Skip to content

This project detects an input sound frequency and determines its corresponding musical note. It is useful for tuning instruments, analyzing sounds, or understanding the relationship between frequencies and musical scales.

License

Notifications You must be signed in to change notification settings

AnonimDinosaur/SoundToSheetMusic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎢 Frequency-to-Note Converter

πŸ“Œ Introduction

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.

βš™οΈ How It Works

  1. The program records audio input from the microphone.
  2. It processes the signal to extract the dominant frequency.
  3. The detected frequency is converted into the corresponding musical note.
  4. The results are displayed on a simple Tkinter-based interface.

Captura de pantalla 2025-03-01 214815

πŸ“‚ Dependencies

Make sure you have the following Python libraries installed:

  • tkinter (built-in)
  • music21
  • numpy
  • matplotlib
  • os
  • librosa
  • pydub
  • soundfile
  • glob

You can install the required dependencies using:

pip install music21 numpy matplotlib librosa pydub soundfile

πŸš€ Usage

  1. Clone the repository:
git clone https://github.com/your-username/frequency-to-note.git
  1. Install dependencies (if not already installed).
  2. Run the script

🚧 Limitations

Basic implementation: The algorithm is not highly optimized. Environmental noise: Background noise may affect accuracy. Latency: Real-time detection may not be perfectly smooth.

πŸ”§ Future Improvements

Better frequency detection algorithms Noise filtering Graphical improvements

πŸ“œ License

This project is licensed under the MIT License.

About

This project detects an input sound frequency and determines its corresponding musical note. It is useful for tuning instruments, analyzing sounds, or understanding the relationship between frequencies and musical scales.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages