Provide valid values in contour examples (#37824)

The current contour example values of (0,0) (0,0) do not work. Per the documentation linked in this section, the first number of each pair should be followed by percent sign (%), and the second of each pair should be followed by "st" for relative change or "Hz" for specified pitch, as well as preceded by + or -. This change updates the documentation to provide valid example values.
This commit is contained in:
drewski3420 2025-03-06 06:13:11 +00:00 committed by GitHub
parent 18b71b7bc4
commit a1b3d96f6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ pitch:
type: string
default: "`default`"
contour:
description: "Change the contour of the output in percentages. This overrides the pitch setting. See the [W3 SSML specification](https://www.w3.org/TR/speech-synthesis/#pitch_contour) for what it does. Example value: `(0,0) (100,100)`."
description: "Change the contour of the output in percentages. This overrides the pitch setting. See the [W3 SSML specification](https://www.w3.org/TR/speech-synthesis/#pitch_contour) for what it does. Example value: `(0%, -1st) (100%, +10st)`."
required: false
type: string
region:
@ -100,6 +100,6 @@ tts:
rate: 20
volume: -50
pitch: high
contour: (0, 0) (100, 100)
contour: (0%, -1st) (100%, +10st)
region: eastus
```