core/tests/components/assist_pipeline
Michael Hansen ae516ffbb5
Automatically convert TTS audio to MP3 on demand (#102814)
* Add ATTR_PREFERRED_FORMAT to TTS for auto-converting audio

* Move conversion into SpeechManager

* Handle None case for expected_extension

* Only use ATTR_AUDIO_OUTPUT

* Prefer MP3 in pipelines

* Automatically convert to mp3 on demand

* Add preferred audio format

* Break out preferred format

* Add ATTR_BLOCKING to allow async fetching

* Make a copy of supported options

* Fix MaryTTS tests

* Update ESPHome to use "wav" instead of "raw"

* Clean up tests, remove blocking

* Clean up rest of TTS tests

* Fix ESPHome tests

* More test coverage
2023-11-06 15:26:00 -05:00
..
snapshots No cooldown when wake words have the same id (#101846) 2023-10-23 13:12:34 -04:00
__init__.py Use pipeline ID in event (#92100) 2023-04-26 22:40:17 -04:00
conftest.py No cooldown when wake words have the same id (#101846) 2023-10-23 13:12:34 -04:00
test_init.py Automatically convert TTS audio to MP3 on demand (#102814) 2023-11-06 15:26:00 -05:00
test_pipeline.py Store wakeword settings in assist pipelines (#100847) 2023-09-25 16:07:26 +02:00
test_ring_buffer.py Wake word cleanup (#98652) 2023-08-25 13:28:48 -04:00
test_select.py Store wakeword settings in assist pipelines (#100847) 2023-09-25 16:07:26 +02:00
test_vad.py Use webrtc-noise-gain for audio enhancement in Assist pipelines (#100698) 2023-09-25 20:03:50 -04:00
test_websocket.py No cooldown when wake words have the same id (#101846) 2023-10-23 13:12:34 -04:00