Add a Pitch Shift Process on voice before transmitting

Options
Hi
If anyone could help really appreciated as my coding is limited.
Photon devs have been quite helpful in suggestions but sadly its beyond my comprehension create such.

I want to add a fixed pitch shift (chipmunks style) to the live voices either post or pre whichever is most efficient and simple.
I tried changing pitch on the AudioSource however this seems to create some kind of in/out stuttering problems on the sound.
Suggestion is to create a custom procesor looking at WebRtcAudioDsp.cs as an example and adding/using Voice.LocalVoiceAudio<T>.IProcessor. This bit is above my coding ability LOL.
I simply want IF possible a small script to drop on my recorder object such that it sets the pitch shift by a specified amount public float variable.

I'm at a technical loss and grealy appreciate if anyone has the insight to create such?
Many thanks
A

Comments