diff --git a/changelog/3786.changed.md b/changelog/3786.changed.md new file mode 100644 index 000000000..ed8e7e444 --- /dev/null +++ b/changelog/3786.changed.md @@ -0,0 +1 @@ +- Word timestamp support has been moved from `WordTTSService` into `TTSService` via a new `supports_word_timestamps` parameter. Services that previously extended `WordTTSService`, `AudioContextWordTTSService`, or `WebsocketWordTTSService` now pass `supports_word_timestamps=True` to their parent `__init__` instead. diff --git a/changelog/3786.deprecated.md b/changelog/3786.deprecated.md new file mode 100644 index 000000000..7ac5a5b9c --- /dev/null +++ b/changelog/3786.deprecated.md @@ -0,0 +1,5 @@ +- Deprecated `WordTTSService`, `WebsocketWordTTSService`, `AudioContextWordTTSService`, and `InterruptibleWordTTSService`. Use their non-word counterparts with `supports_word_timestamps=True` instead: + - `WordTTSService` → `TTSService(supports_word_timestamps=True)` + - `WebsocketWordTTSService` → `WebsocketTTSService(supports_word_timestamps=True)` + - `AudioContextWordTTSService` → `AudioContextTTSService(supports_word_timestamps=True)` + - `InterruptibleWordTTSService` → `InterruptibleTTSService(supports_word_timestamps=True)`