Know volume another Player currently speaks in?

Hi! Is there a built-in way, like for animating a mouth based on the other person's speech volume, to track that volume?

I'm currently looking at implementing this by analyzing the Player's Speaker-attached AudioSource via this script, but wanted to see if I'm reinventing the (Photon Voice) wheel here. Thanks!

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    edited August 2019
    Hi @Philipp,

    Yes, you can use that script.
    We only provide the level of the input from the Recorder not the output.
    So it's OK to get that from the AudioSource component.
  • Thanks! Script works now on my end.