Google text to speech (tts)

Little more research. It might be the newest rc version. I’m on 90. I believe emiel is looking into it.

If Emiel is looking there will be a fix

1 Like

@Martin_Verbeek I temporary fixed it by installing
npm i bonjour

and added this to the discovery method

const browser = bonjour()
        browser.find({ type: 'googlecast' }, (discoveryResult) => {
            const address = discoveryResult.addresses.find(e => !e.includes(':')) // first ipv4 address
            this.log('Discovery result(ON) Google', discoveryResult.txt.fn, 'on', address, discoveryResult.port);
            const db = {};
            db.id = discoveryResult.txt.id;
            db.host = address;
            db.port = discoveryResult.port;
            db.name = discoveryResult.txt.fn;
            db.description = discoveryResult.txt.md;
            db.type = 'Google';
            db.device = new GoogleHomeTTS();
            db.device.setIp(address);
            db.device.setPort(discoveryResult.port);
            this.foundDevices[discoveryResult.txt.id] = db;
        })
2 Likes

Rc97 fixed the issue.

The Google TTS is very inaccurate at at times and the voiceovers sound overlay mechanistic. These bug fixes are also required way often and that is a hindrance to people like me who rely on it heavily, so it’s better to use an external screen reader API or use a better text to speech online for other project works

You can also use Google services app

Hi Dominic, could you please tell a nono as me, how to fix this? Do you mean you installed bonjour via ssh? I guess I am missing some basic info here, because when I try to connect with putty, there is no connection. And after that, when I was able to install bonjour, where do I need to add the code you provided? Sorry for my “dumb” questions, hope you want to help out, I miss my opportunity to be able to cast messages