iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
💬

Fixing Muffled Voice Audio Issues in Photon Voice 2

に公開

Environment

  • Unity 2021.3.7f1
  • Photon Voice 2 ver.2.31
  • PUN2 ver.2.41
  • Operating Environment
    • Meta Quest 2 standalone
    • PCVR using Quest Link (Meta Quest 2)
    • PCVR using Virtual Desktop (PICO 4)
    • Valve Index (PCVR)

Problem

  • In voice chat using Photon Voice 2, the voice sometimes becomes difficult to hear.
  • When person B speaks over person A (such as by giving an interjection), person A's voice becomes hard for person B to hear. It sounds muffled, and the problem is severe enough that it becomes difficult to continue the conversation.
  • After person B gives an interjection, person A's voice continues to sound muffled for a duration equal to person B's interjection.
  • The problem is particularly noticeable when the speaker is using Quest standalone.
    • Quest (Speaker) vs. PCVR (Listener), Quest (Speaker) vs. Quest (Listener)
  • When the speaker is on a PC, there is a slightly muffled feeling, but it is not difficult to converse.
    • PC (Speaker) vs. Quest (Listener), PC (Speaker) vs. PC (Listener)

Cause and Solution

  • The cause was that the AEC (Acoustic Echo Cancellation) checkbox in Photon Voice 2's WebRTCAudioDsp component was checked.
  • A warning states, "You are using Photon microphone for Recorder, it adds its own echo cancelling. Please use only one echo algorithm."
  • After unchecking it, the sound became clear. The cause was that echo cancellation was being applied twice.
  • Regarding why the problem only occurs when the speaker is on a Quest, it might be due to device processing performance or specific hardware characteristics (speculation).

Discussion