setVoicePitch abstract method

void setVoicePitch(
  1. double pitch
)

Setting Speech Pitch

  • This API is used to set the pitch of speech.

  • Parameters:

    • pitch(double):
      • Pitch.
      • Value range: -1.0f to 1.0f;
      • Default: 0.0f.

Implementation

void setVoicePitch(double pitch);