Instance Method インスタンスメソッド

speechAdjustedPitch(_:)

Raises or lowers the pitch of spoken text.

Declaration 宣言

func speechAdjustedPitch(_ value: Double) -> some View

Parameters パラメータ

value

The amount to raise or lower the pitch. Values between -1 and 0 result in a lower pitch while values between 0 and 1 result in a higher pitch. The method clamps values to the range -1 to 1.

Discussion 議論

Use this modifier when you want to change the pitch of spoken text. The value indicates how much higher or lower to change the pitch.