Text to Speech plugin - "More Slowly" checkbox not working
Hi Ray - Thanks for activating. Samuel is reporting that the checkbox "More Slowly" is not slowing down the speech when he checks it. Can you take a look? Site is https://elementaryitalian.commons.gc.cuny.edu/
We had to deactivate one plugin (media element html5) to get some pages to show the change - maybe another plugin is causing troubles? The checkbox is in the footer of each page.
here is a link to the original request - https://redmine.gc.cuny.edu/issues/9370
#2 Updated by scott voth 11 months ago
Hi Ray - I think he is using Chrome, but I can ask. But even for me, it does not seem to work on a Mac. (I've tried Firefox and Chrome.) I went to my wife's PC and there - success - it is definitely working. But on my Mac, I cleared cache - but it doesn't seem to slow down.
#6 Updated by Boone Gorges 10 months ago
- Status changed from New to Reporter Feedback
The issue seems to be that the RseponsiveVoice.js library uses the SpeechSynthesisUtterance API when the browser makes it available. In the case of certain Apple platforms, the API is there, so ResponsiveVoice.js uses it. But the library appears to be written in such a way that the `rate` option works only when the non-SpeechSynthesisUtterance fallback is used.
It's difficult for me to debug this further, because the ResponsiveVoice.js library is minimized, and they don't provide an uglified version in the plugin or on their website. I'd suggest that the user open a request with the vendor so that their team can have a look at it. https://responsivevoice.freshdesk.com/support/solutions
#7 Updated by scott voth 8 months ago
Hi - I finally got a reply from responsiveVoice team:
We have recently added a few more parameters such as rate, pitch and volume. You can adjust them with
[responsivevoice_button rate="1" pitch="1.2" volume="0.8"]
The development team has also provided us with a link to the non-minified version of ResponsiveVoice.js (here: https://code.responsivevoice.org/responsivevoice.src.js) but you might find that not all voices allow for rate/pitch changes, and we unfortunately cannot share how our backend works for fallback.
Hope this helps!