I have successfully implemented phase and true frequency calculations,
it should be a short step now to fully implementing the pitch correction
functionality