nimroddolev / chime_tts

A custom Home Assistant integration to play combined audio files before and/or after text-to-speech (TTS) messages
https://nimroddolev.github.io/chime_tts/
MIT License
196 stars 14 forks source link

Help with Custom sounds #67

Closed Whizzykid closed 10 months ago

Whizzykid commented 10 months ago

Checklist

Is your feature request related to a problem? Please describe.

I'm trying to understand how to use custom sounds for the chime but I'm a novice and I just don't know how to create the correct file path. I keep getting this 'Custom 1' file path invalid

A full walkthrough would be very helpful

Describe the solution you'd like

to be able to add custom sounds for the chime

Describe alternatives you've considered

.

Additional context

.

nimroddolev commented 10 months ago

Hey @Whizzykid, happy to help.

First off, make sure to review the documentation for how to set the custom paths.

It makes sense to use a file from your media library, so make sure to upload it there. Depending on your setup you need to work out the path to your media library's folder. Assuming you have a regular Home Assistant setup, the media folder should be located in at the root directory, so: /media.

If you have a file "custom_chime_file.mp3" in your media library, inside a subfolder "sounds", then then path would be: /media/sounds/custom_chime_file.mp3

Whizzykid commented 10 months ago

Thank you for the link to the WIki, totally missed that! Got it working right away! Thanks

nimroddolev commented 10 months ago

Ah wonderful! Let me know if there's anything else đź‘Ť

Whizzykid commented 10 months ago

It's nothing urgent, but I've noticed that if I wanted to play just a custom chime (with no TTS) I get 'I'm struggling to connect to simon says" (or something similar to that.

If I use any of the predefined chimes they work 100% of the time. It's no big deal, but might be worth having a look at

nimroddolev commented 10 months ago

It could be your custom chime isn’t “Alexa-friendly”. You should set the audio_conversion parameter to Alexa.

More details in the documentation.