voice & audio effects?

in Photon Voice
Hi there,
I want to process the voice audio before broadcasting, is this possible with the unity audio effects etc? If yes then how can I route the signal to be effected and then broadcast?
thanks!
Alex
I want to process the voice audio before broadcasting, is this possible with the unity audio effects etc? If yes then how can I route the signal to be effected and then broadcast?
thanks!
Alex
0
Comments
To process audio or copy it before sending, you need to patch PhotonVoiceRecorder.Start() method. Find Voice.IAudioStream audioStream variable and assign it with instance of your own implementation of IAudioStream (instead of MicWrapper or AudioClipWrapper). Look at mentioned wrappers for an implementation sample.
Maybe we will add custom IAudioStream support in api later so no patch will be required.
thanks for the info!