This guide is provided by Synervoz. Agora is planning a documentation upgrade program for all extensions on the marketplace. Please stay tuned.
This extension provides four voice filters to users: echo, reverb, flanger and pitch shift. The user can customize values for each one of them to achieve different results.
This extension only requires three basic steps:
Import the VoiceFilters extension to your project
AgoraRtcEngine kitinstance, initialize it and enable the extension
SynervozVoiceFilterinstance to control the voice filters.
The development environment has to meet the following requirements:
- Android Studio 3.0 or later
- Android SDK API Level 21 or higher.
- Knowledge of AgoraRtcEngineKit's basic functions.
VoiceFiltersAgoraExtension.aarto your project
Import the following
Create an instance of
RtcEngineby initializing it with
To enable the extension, call RtcEngine’s function
Create an instance of the
To enable reverb (all filters have default values)
SynervozVoiceFilter: The helper class that allows you to control the voice filters and their configuration. With this class you can enable or disable each filter, change their configuration using the configuration structs and reset the values to default.
EchoVoiceEffectConfiguration: Holds the echo filter configuration values.
ReverbVoiceEffectConfiguration: Holds the reverb filter configuration values.
FlangerVoiceEffectConfiguration: Holds the flanger filter configuration values.
PitchShiftVoiceEffectConfiguration: Holds the pitch shift configuration values.