setAudioMixingPitch abstract method

Future<void> setAudioMixingPitch(
  1. int pitch
)

Sets the pitch of the local music file. When a local music file is mixed with a local human voice, call this method to set the pitch of the local music file only. You need to call this method after calling startAudioMixing and receiving the audioMixingStateChanged(Playing) callback.

Param pitch Sets the pitch of the local music file by the chromatic scale. The default value is 0, which means keeping the original pitch. The value ranges from -12 to 12, and the pitch value between consecutive values is a chromatic value. The greater the absolute value of this parameter, the higher or lower the pitch of the local music file.

Implementation

Future<void> setAudioMixingPitch(int pitch);