This is a library of fun audio and frequency stuff in the making, starting with the Frequency Hearing Challenge!
This simple game can help you map perfect pitch onto the frequency space. You'll be an analog frequency decomposition machine in no time!
The program will:
- Play a tone, then ask you to guess the frequency
- you can type 'r' to repeat the tone
- Show octave error after each round (remember frequencies are on log scale!)
- If you choose to gamify and keep score, the program will show your average (absolute) octave error after 5 rounds, and may roast you if you do badly.
Feel free to change the code to adjust frequency range or number of rounds in the code. Have fun!
It might be helpful to refer to a note name to frequency conversion chart while learning. I'd encourage you to try not to on it when playing the game though!
If you're curious, Phil's current high score (or rather, low score, since we're talking about errors) over 5 rounds is 0.015 :)
To get started: 0. Clone this repo if you haven't already
- Now cd into that folder, then run
python3 guess_freq.py
and the program should start. Have fun!