How do you find the pitch of an Audio Clip at a certain time in Unity?

154 Views Asked by At

I am creating a program that requires me to retrieve the pitch of the current microphone input, which is being recorded in an Audio Clip. I have tried using functions such as AudioClip.GetSpectrumData, AudioSource.GetOutputData, and AudioClip.GetData to obtain the pitch, but they only return the sound's amplitude. How can I obtain the pitch of the current microphone input?

0

There are 0 best solutions below