setPitch method

Future<bool?> setPitch(
  1. num pitch
)

Set pitch of next utterance

1.0 is the normal pitch, lower values lower the tone of the synthesized voice, greater values increase it.

Implementation

Future<bool?> setPitch(num pitch) =>
    TextToSpeechPlatform.instance.setPitch(pitch);