Could you please test the following ?
http://html5-examples.craic.com/google_ ... peech.html
HTML5 Speech Synthesis test of Demo 1: Minimal Example
- Chromium48/Raspi2 have no sound output.
- Chrome48/WindowsPC works good.
What should be added to improve a above Raspi's no sound output ?
http://responsivevoice.org/
HTML5 Speech Synthesis test of demo.
- Chromium48/Raspi2 works good.
- Iceweasel , Minimal kiosk browser works also good.
What is the cause for the above HTML5 speech synthesis website difference ?
Thanks.
Re: HTML5 SpeechSynthesis on Chromium48
ResponsiveVoice has a fallback mode.
It is initiated when there is no system voice.
It may also be run under other instances but I don't know what they might be.
The fallback mode uses some other API, possibly google translate, to remotely process the speech.
I downloaded a voice from the grime store and it is recognized by the prowler for speech synthesis.
However it is still not performing an utterance when the script is run.
I know the sound on my Pi works and the script works on all other devices I have tested.
It is initiated when there is no system voice.
It may also be run under other instances but I don't know what they might be.
The fallback mode uses some other API, possibly google translate, to remotely process the speech.
I downloaded a voice from the grime store and it is recognized by the prowler for speech synthesis.
However it is still not performing an utterance when the script is run.
I know the sound on my Pi works and the script works on all other devices I have tested.
-
- Posts: 25699
- Joined: Tue Mar 25, 2014 12:40 pm
- Location: Delightful Dorset
Re: HTML5 SpeechSynthesis on Chromium48
If you use Raspbian Jessie with Pixel DE you will have the supported chromium-browser version 51:
https://www.raspberrypi.org/blog/introducing-pixel
https://www.raspberrypi.org/blog/introducing-pixel
The information is out there....you just have to let it in.
My other Linux machines are a ChromeBox & Intel CoreDuo Desktop
My other Linux machines are a ChromeBox & Intel CoreDuo Desktop
Re: HTML5 SpeechSynthesis on Chromium48
I did a fresh install with The latest build and it did have Chromium on it.
I read in another article that the speech synthesis is disabled by default.
In order to enable it you have to start Chromium with `chromium-browser --enable-speech-dispatcher`
I have that a go but had no luck so I did `sudo apt-get install speech-dispatcher`
Tested with `spd-speak "hello"`
But got an error saying the socket couldn't be found.
I read in another article that the speech synthesis is disabled by default.
In order to enable it you have to start Chromium with `chromium-browser --enable-speech-dispatcher`
I have that a go but had no luck so I did `sudo apt-get install speech-dispatcher`
Tested with `spd-speak "hello"`
But got an error saying the socket couldn't be found.