Project we did a few years ago to create a violin tuner, based on a Raspberry Pi.
The initial project was inspired by the Roadie Tuner (made for guitars) and divided into 3 parts :
- Find the frequency played by the violin
- Turn the motor to reach the desired frequency
- User Interface using a RGB LED
Note
This part of the project can be used by itself and doesn't need the other ones.
To use this program and install packages, simply run pip install -r requirements.txt
- Put the recording inside a function to loop it
- Add more precision for a frequency to be detected
- Make a function to verify harmonics (if an harmonic is louder than the fundamental, just divide it and apply the error
- Add precisions in the error message when the wrong note is selected (e.g. the note played is closer to a 'E')
- Relaunch the program when the note is wrong (instead of stopping it directly)
- Reverse the program to give the note associated with the played frequency