Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home assistant TTS and other wav is chopped off #62

Open
sajov opened this issue Apr 8, 2024 · 2 comments
Open

Home assistant TTS and other wav is chopped off #62

sajov opened this issue Apr 8, 2024 · 2 comments

Comments

@sajov
Copy link

sajov commented Apr 8, 2024

First of all, thank you for your project.
I have been trying to integrate my raufeld loudspeakers into a smart home assistant for years. Previously via rhasspy and node-red, now via home assistant. Now I realize that it is not so much a problem of the components but that apparently wav is not played back correctly in general. I have an automation in which I simply send piper tts to a Raufeld speaker for testing and it is always choppy, as with previous attempts.
Is it maybe due to sample rates or do you have any advice for me?

@sajov
Copy link
Author

sajov commented Apr 15, 2024

I have read the WIKI and thought setting a proper media_content_type music would solve my issue but i had no luck with this. Output is still chopped

service: media_player.play_media
target:
  entity_id: media_player.office_front
data:
  media_content_id: >-
    media-source://tts/tts.piper?message=Hallo+du+kannst+jeden+Text+auf+jedem+unterst%C3%BCtzten+Medienplayer+abspielen%21&language=de_DE&voice=de_DE-thorsten-high
  media_content_type: music
metadata:
  title: >-
    Hallo, du kannst jeden Text auf jedem unterstützten
    Medienplayer abspielen!
  thumbnail: https://brands.home-assistant.io/_/tts/logo.png
  media_class: app
  children_media_class: null
  navigateIds:
    - {}
    - media_content_type: music
      media_content_id: media-source://tts
    - media_content_type: provider
      media_content_id: >-
        media-source://tts/tts.piper?message=Hallo+du+kannst+jeden+Text+auf+jedem+unterst%C3%BCtzten+Medienplayer+abspielen%21&language=de_DE&voice=de_DE-thorsten-high

@sajov
Copy link
Author

sajov commented Apr 21, 2024

I've been trying for a few years now to find out what the problem is or whether anyone already has a solution.
Has anyone integrated Raumfeld and run TTS with good results?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant