Therefore, this is a proof of concept of the equations used in the original automatic adjustment patent US5973252 - Pitch Detection and Intonation Aparatus and Method
For basic monophonic sounds, it works a little well, but will need to check for errors with periods out of range (TODO)...
Yes, it is just a concept to prove that the original patent equations work, they certainly need to be improved!
OK Python
makes me nervous when I percieve how slow the loops are, so I needed to vectorize to gain speed and skip some loops, maybe the equations are not so easy to see in the encoded file ...
This code is purely python, the demo is just for fun, you will get all Pitch and build one sine, for now just use monophonic sounds
The only dependency on the example file is the use of numpy
and pyaudio
to play