voice & audio effects?

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?




  • Hi,

    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.
  • That would be awesome for less skilled programmers :) I will try to take a look at it..

    thanks for the info!