MiczFlor / RPi-Jukebox-RFID

A Raspberry Pi jukebox, playing local music, podcasts, web radio and streams triggered by RFID cards, web app or home automation. All plug and play via USB. GPIO scripts available.
http://phoniebox.de
MIT License
1.41k stars 398 forks source link

🚀 | Read track titles aloud for non-display #1278

Open Caliandroid opened 3 years ago

Caliandroid commented 3 years ago

One idea i've had a while ago: Track title will be read aloud before the track starts playing.

Use-case:

MiczFlor commented 3 years ago

It's possible, there are text to speech encoders for open source / linux. They are a bit CPU heavy. And language sensitive. So you need to decide english or german. I have not worked with such software for a decade :) but let's just float the ticket here, a nice idea.

Caliandroid commented 3 years ago

I did a first test yesterday with pyttsx3. It seems to be the best approach in terms of voice quality and avoiding proprietary code like google tts.

As i did not work on this project since years, could anybody help me to find the right place to call my text2voice function if a new track starts playing?

s-martin commented 7 months ago

Implemented in V3 (see here).

pabera commented 7 months ago

We have Text-to-Speech implemented, but it does not read the song out loud. This should be implemented in V3 as an option.