AceCentre / pasco

Phrase Auditory Scanning COmmunicator - AAC App for iOS and the Web
https://app.pasco.chat
GNU General Public License v3.0
14 stars 6 forks source link

Voices not playing on Web #194

Closed willwade closed 4 years ago

willwade commented 4 years ago

Voices display but no voice sound is heard - cues or main

hosseinzoda commented 4 years ago

I've experienced the same thing on firefox. In my case firefox was disallowing playback of audio. When you click on left side of address-bar a drop-down will show up. You can check some settings for that site. Including playback settings.

willwade commented 4 years ago

Odd. I’m finding it in safari. Even after I get the warning to allow it to play audio

willwade commented 4 years ago

(This isn’t major of course)

willwade commented 4 years ago

I wonder if we should move to this in place of responsive voice on web. https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis

This may help too. https://github.com/dasher-project/redash/commit/58e4519a0043ef77c3ec9d9633ee0a4cab23622a

willwade commented 4 years ago

If we moved to that it would solve TTS for #84 too

hosseinzoda commented 4 years ago

Yes We can use html5 SpeechSynthesis instead of responsive-voice

willwade commented 4 years ago

@hosseinamin - been thinking about this. Do you think this would work in iOS build too? As I realise the web api default lists them when a language code which is handy (re: #122). It would also fix issue #86 on Windows and Mac if we ever ported it to that.

hosseinzoda commented 4 years ago

As mozilla site points out. Yes. https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis

willwade commented 4 years ago

Great. Can now use custom installed voices across any browser including Windows. Any chance we can pop the locale / language somehow into the dropdown? (ref: #122) (I'm not sure if we get aspects like Male/Female from the API).

This maybe useful redash: https://github.com/dasher-project/redash/blob/master/browser/dasher/speech.js#L52 Screenshot 2020-03-31 at 11 43 14 (Although I'm not keen on the way its presented. The idea in #122 is neater if possible

hosseinzoda commented 4 years ago

Yes. I'll add language to the name.