Voice Processing
Platform echo cancellation, noise suppression and gain control, applied before you get the audio.
Android:
AcousticEchoCanceler,NoiseSuppressorandAutomaticGainControl, each only where the device provides it.iOS: any of the three switches on voice processing on the input node, which always does echo cancellation and noise suppression together; autoGain only toggles its gain control. The result sounds like a phone call. Needs IosSessionCategory.PlayAndRecord.
For a lighter touch on Android without this class, try AndroidAudioSource.VoiceCommunication.
Constructors
Properties
Apply on iOS at all. Turn off to keep the Android effects while leaving iOS audio untouched, since Apple's processing changes the voice so much.
How much iOS lowers other apps' audio while voice processing runs (iOS 17+).