-
Notifications
You must be signed in to change notification settings - Fork 249
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
[audio-slideshow] Use Web Speech API for TTS? #3
Comments
It would be nice to be able to use the Web Speech API. I haven't followed on this so far, because I couldn't figure out how to link the result to the audio player controls, so that the user can pause, seek, play the audio. If this can be done, this would be a great improvement of the plugin. See: |
I just posted a simple plugin for adding text to speech to reveal.js using the HTML5 speech API. To the demo: https://jamjolu.github.io/tts_basics_for_revealjs To the github repo: https://github.com/jamjolu/tts_basics_for_revealjs |
@jamjolu This is really cool, and it works fine for me on Firefox (on Linux) and Chrome (Linux and Android). It just stays silent in Chromium (on Linux) though; have you managed to get that to work? |
Hi Florian,
No, I haven't. I'm not sure why it doesn't work and haven't looked too
deeply into why. It may be that some flag or other setting/plugin that is
needed:
http://askubuntu.com/questions/761975/chromium-is-not-generating-voice
https://bbs.archlinux.org/viewtopic.php?id=191836
In any event, Google Chrome works fine and it is my personal choice for a
browser.
By the way, I was not able to get Firefox to "talk" on my Bunsen Labs
Linux. I just assumed that I haven't installed a text-to-speech service to
make it possible. Is there a plugin for Firefox you can recommend?
Jim Luther
…On Sun, Mar 26, 2017 at 4:14 PM, Florian Haas ***@***.***> wrote:
@jamjolu <https://github.com/jamjolu> This is really cool, and it works
fine for me on Firefox (on Linux) and Chrome (Linux and Android). It just
stays silent in Chromium (on Linux) though; have you managed to get that to
work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXg_ZjxvURkGF1-9NV6WDboi5VvgiRhFks5rpscqgaJpZM4G_co4>
.
|
Hi Florian,
I just noticed something interesting on Windows. Google Chrome Canary
(which is similar to the Chromium browser) supports text-to-speech. But, it
uses the default Windows text-to-speech engine and voice instead of the
Internet based voice that Google Chrome uses.
jl
…On Sun, Mar 26, 2017 at 4:14 PM, Florian Haas ***@***.***> wrote:
@jamjolu <https://github.com/jamjolu> This is really cool, and it works
fine for me on Firefox (on Linux) and Chrome (Linux and Android). It just
stays silent in Chromium (on Linux) though; have you managed to get that to
work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXg_ZjxvURkGF1-9NV6WDboi5VvgiRhFks5rpscqgaJpZM4G_co4>
.
|
I believe (though I may be wrong) that all you need for Firefox to do speech synthesis on Debian-based distros is have Which, as I understand it, should also be true for enabling speech synthesis in Chromium, but that doesn't appear to work (for whatever reason). |
Would it make sense for the Audio slideshow plugin to use the Web Speech API, which by now is included in several popular browsers? https://developers.google.com/web/updates/2013/01/Voice-Driven-Web-Apps-Introduction-to-the-Web-Speech-API?hl=en
The text was updated successfully, but these errors were encountered: