Hi,
I experience an issue with Google Translate TTS + MPD - It loses the last couple seconds of the word.
I downloaded the mp3 from tts folder & tried in window 10 laptop, sound fine
I guess there is no issue with Google Translate TTS but I cannot figure it out how to fix it.
Please help.
PS: I cannot attach the sound files here but it can be access through the below link
https://drive.google.com/drive/folders/1cXFEAZDP4oEMVulD067OB-atWm9FHhQ0?usp=sharing
I’m using Home Assistant v.0.98.5 with RPI3B+
See my configuration & automation set up below.
configuration.yaml:
tts:
- platform: google_translate
media_player:
- platform: mpd
name: MPD_speaker
host: localhost
switch:
- platform: command_line
switches:
test_switch:
command_on: ""
command_off: ""
friendly_name: Test Switch
automations.yaml
- id: Test_Switch_Duration
alias: If Test Switch Stay, send Line message
initial_state: true
hide_entity: true
trigger:
platform: state
entity_id: switch.test_switch
to: 'on'
action:
- delay: 00:00:03
- service: tts.google_translate_say
entity_id: media_player.mpd_speaker
data:
message: Light was turned on
- delay: 00:00:03
- service: tts.google_translate_say
entity_id: media_player.mpd_speaker
data:
message: Light was turned off
- delay: 00:00:03