Implemented own pitch tracker