trying to use the pitch detection