OH_AudioSuite_PureVoiceChangeOption

typedef struct {...} OH_AudioSuite_PureVoiceChangeOption

Overview

Defines pure voice change options for audio creation.

Since: 23

Related module: OHAudioSuite

Header file: native_audio_suite_base.h

Summary

Member Variables

Name Description
OH_AudioSuite_PureVoiceChangeGenderOption optionGender Defines the gender for pure voice change.
OH_AudioSuite_PureVoiceChangeType optionType Defines the type for pure voice change.
float pitch Defines the pitch for pure voice change. If the default pitch in the system is used for the optimal effect, set this parameter to OH_PURE_VOICE_DEFAULT_PITCH.
The value range of the custom pitch is [0.3f, 3.0f].