AudioEffectPreset

Preset audio effects.

setAudioProfile profile Preset audio effects profile
  • RoomAcousticsVirtualStereo
  • RoomAcoustics3dVoice
  • RoomAcousticsVirtualSurroundSound
AudioProfileMusicHighQualityStereo or AudioProfileMusicStandardStereoOther preset effects (except AudioEffectOff)AudioProfileMusicHighQuality or AudioProfileMusicHighQualityStereo

Enumerations

AudioEffectOff
Original sound, i.e., disables voice effects.
RoomAcousticsKtv
KTV.
RoomAcousticsVocalConcert
Concert.
RoomAcousticsStudio
Studio.
RoomAcousticsPhonograph
Phonograph.
RoomAcousticsVirtualStereo
Virtual stereo, where the SDK renders mono audio into stereo effect.
RoomAcousticsSpacial
Spacious.
RoomAcousticsEthereal
Ethereal.
RoomAcousticsVirtualSurroundSound
Virtual surround sound, where the SDK simulates a surround sound field based on stereo to create a surround effect.
Note: To hear the expected effect after enabling virtual surround sound, users need to use audio playback devices that support stereo.
RoomAcousticsChorus
Chorus. Agora recommends using this in chorus scenarios to enhance the spatial stereo effect of vocals.
RoomAcoustics3dVoice
3D voice, where the SDK renders audio to surround the user. The default surround cycle is 10 seconds. After setting this effect, you can also call setAudioEffectParameters to modify the surround cycle.
Note: To hear the expected effect after enabling 3D voice, users need to use audio playback devices that support stereo.
VoiceChangerEffectUncle
Uncle.
Note: Recommended for processing male voices; otherwise, the effect may not meet expectations.
VoiceChangerEffectOldman
Elderly male.
Note: Recommended for processing male voices; otherwise, the effect may not meet expectations.
VoiceChangerEffectBoy
Boy.
Note: Recommended for processing male voices; otherwise, the effect may not meet expectations.
VoiceChangerEffectSister
Young woman.
Note: Recommended for processing female voices; otherwise, the effect may not meet expectations.
VoiceChangerEffectGirl
Girl.
Note: Recommended for processing female voices; otherwise, the effect may not meet expectations.
VoiceChangerEffectPigking
Pigsy.
VoiceChangerEffectHulk
Hulk.
StyleTransformationRnb
R&B.
StyleTransformationPopular
Pop.
PitchCorrection
Electronic music, where the SDK corrects the actual pitch of the audio based on the natural major scale with C as the tonic. After setting this effect, you can also call setAudioEffectParameters to adjust the base scale and tonic pitch.