setAudioMixingPitch abstract method
Adjusts the pitch of the locally played music file.
When mixing local voice with a music file, call this method to adjust only the pitch of the music file.
pitchAdjusts the pitch of the locally played music file in semitone steps. The default value is 0, which means no pitch adjustment. The valid range is-12, 12. Each step represents a semitone difference. The greater the absolute value, the more the pitch is raised or lowered.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions.
Implementation
Future<void> setAudioMixingPitch(int pitch);