Audio Programming project - melody estimation