✨ New Features:
Media Players
- Support has been added for the
announcefeature on unsupported media_player platforms such as HomePods and Spotify, pausing currently playing music during Chime TTS playback and restoring it afterwards. - Alexa media_players can now be used in service calls to
chime_tts.saywithout additional service calls or audio conversions.
Note: the Alexa Media Player is required, however the previous method can still be used.
TTS Audio Adjustments
- The pitch of TTS audio can be customized via the
tts_pitchparameter, allowing you to increase/decrease the pitch in semitones to add some variation and even musicality to your announcements. - Adjusting the speed of TTS audio has been rewritten:
- Fewer artifacts introduced when changing the speed.
- Support has been added for slowing down audio.
- The speed can now be set to between 1% - 400% of the original.
- The parameter name has been changed to
tts_speed(the previoustts_playback_speedname is still supported).
- Adjusting the volume of generated audio files has been made simpler with the addition of a new option in the
audio_conversiondropdown menu.
Chimes
New chimes have been added:
- "Ba-Dum Tss!"
- "Crickets" and
- "Soft"
- "Knock"
Message Segments
-
The YAML structure for message segments has been improved to be more 50% more concise and user-friendly. The previous structure is still supported.
Previous Structure:
message: - type: chime path: bells_2 - type: delay length: 2000 - type: tts message: Someone is at the doorNew Structure:
message: - chime: bells_2 - delay: 2000 - tts: Someone is at the door -
Chimes & TTS segments can now be repeated, via the new
repeatattribute, eg:message: - chime: /media/sounds.cuckoo.mp3 repeat: 3 - tts: It's 3 o'clock
🧰 Improvements:
- The "ElevenLabs TTS" platform has been added to the list of TTS platforms
- The
chime_tts.say_urlresponse object now includes asuccessvalue as well as amedia_content_idvalue (when the public folder in the configuration is within themediafolder). - The folder path for audio files generated from the
chime_tts.say_urlservice can now accept both local and public directory paths (see Chime TTS' configuration page inSettings→Integrations). - A default TTS platform can now be set in the configuration and will be used if
tts_platformis null - A default
offsetvalue can be set inthe configuration - When onboarding the Chime TTS integration, an info popup appears if no TTS platforms are configured, to explain that at least 1 is required.
🐞 Bugfixes:
- Fixed bug when queueing multiple service calls.
- Fixed bug when mp3 generation failed.
- Downloaded chimes are now properly added to cache.
- Fixed bug that resulted in incorrect default absolute folder paths.
- Fixed validation for custom chime paths in configuration.
- Fixed a typo in custom chime option "Custom 4".
- Added support for
languageselection when using Microsoft Edge TTS. - fe9f0b1 jonalbr - Added missing
Fanfarechime option toend_chime_pathdrop down list. - Downloaded chimes are now deleted if
cacheis set tofalse. - Fixed bug which resulted in segment-specific
audio_conversionarguments being applied to the entire audio message.
What's Changed
- Bump colorlog from 6.8.0 to 6.8.2 by @dependabot in #76
- Bump ruff from 0.1.14 to 0.2.0 by @dependabot in #82
- Update pip requirement from <23.4,>=21.0 to >=21.0,<24.1 by @dependabot in #83
- Add MICROSOFT_EDGE_TTS to language in init.py by @jonalbr in #80
- Bump ruff from 0.1.14 to 0.2.1 by @dependabot in #89
- Bump ruff from 0.2.1 to 0.2.2 by @dependabot in #91
- Bump ruff from 0.2.2 to 0.3.0 by @dependabot in #96
- Bump softprops/action-gh-release from 0.1.15 to 2.0.2 by @dependabot in #98
- Bump ruff from 0.3.0 to 0.3.2 by @dependabot in #97
- Bump softprops/action-gh-release from 2.0.2 to 2.0.4 by @dependabot in #100
- Bump ruff from 0.3.2 to 0.3.4 by @dependabot in #102
New Contributors
Full Changelog: v0.13.0...v0.14.0-beta1