Skip to content

Pitch Track Hack - Pythonic Implementation of the Pitch track used in autotune patent

License

Notifications You must be signed in to change notification settings

ederwander/HackPitchTrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

HackPitchTrack

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, it is an autocorrelation variant, 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 coded file ...

FUN

This code is purely python, the demo is just for fun, you will get all Pitch and build sines, for now just use mono and monophonic sounds

The only dependency on the example file is the use of numpy and pyaudio to play

Video that show its working https://youtu.be/fsPOWzNtaXQ, yeah you will see/listen that the Pitch Track fails some frequencies at the end lol, seems an old R2d2 ...