How to improve voice quality in Photon Voice?

edited January 2017 in Photon Voice
The following code does establish Photon Voice networking but the quality of voice is not good. Plus there is a lot of noise. How do I make sure that there is minimal noise? Furthermore how do I pause and unpause sending of voice to the other users?
using UnityEngine;
 using System.Collections;
 using Photon;
 public class NetworkManager : Photon.PunBehaviour
     private GameObject studymaterial;
     void Start()
         PhotonNetwork.automaticallySyncScene = true;
         PhotonNetwork.logLevel = PhotonLogLevel.Full;
         studymaterial = null;
     void OnGUI()
     public override void OnJoinedLobby()
         RoomOptions roomOptions = new RoomOptions() { isVisible = true, maxPlayers = 18 };
         PhotonNetwork.JoinOrCreateRoom("Class", roomOptions, TypedLobby.Default);
     public override void OnJoinedRoom()
         PhotonNetwork.Instantiate("User", new Vector3(0, 1, 0), Quaternion.identity, 0);
        // studymaterial = PhotonNetwork.Instantiate("Heart3D", new Vector3(2, 1, 0), Quaternion.identity, 0);


  • Hi @rgb,

    To reduce noise please try configuring Voice Detection or use Voice Calibration.
    To stop or start transmitting set PhotonVoiceRecorder.Transmit to true or false.
  • Hi,

    Voice detection pauses transmission while audio level is low to save bandwidth. It "cancels" noise in pauses only like simplest noise cancelers do. We do not provide real noise cancellation or other audio enhancements. Please make sure that your hardware provides audio of good quality, appropriate volume and low noise level.
    You can attach mp3 instead of microphone to PhotonVoiceRecorer to test audio transmission quality w/o hardware impact.
    Also check 'Bitrate' setting which adjusts audio quality degradation due to compression.
Sign In or Register to comment.