mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 12:26:50 +00:00
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:
parent
18b71b7bc4
commit
a1b3d96f6a
@ -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
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user