setLocalVoicePitch method

  1. @override
Future<void> setLocalVoicePitch(
  1. double pitch
)

Changes the voice pitch of the local speaker.

Parameter pitch Sets the voice pitch. The value ranges between 0.5 and 2.0. The lower the value, the lower the voice pitch. The default value is 1.0 (no change to the local voice pitch).

Implementation

@override
Future<void> setLocalVoicePitch(double pitch) {
  return _invokeMethod('setLocalVoicePitch', {
    'pitch': pitch,
  });
}