* Add voice/speaker options to Piper TTS * Use description if available * Fix tests * Clean up if
10 lines
219 B
Python
10 lines
219 B
Python
"""Constants for the Wyoming integration."""
|
|
|
|
DOMAIN = "wyoming"
|
|
|
|
SAMPLE_RATE = 16000
|
|
SAMPLE_WIDTH = 2
|
|
SAMPLE_CHANNELS = 1
|
|
|
|
# For multi-speaker voices, this is the name of the selected speaker.
|
|
ATTR_SPEAKER = "speaker"
|