Comments (13)
@gshires, do you have thoughts on this?
from speech-api.
@gshires poked @minorninth :)
from speech-api.
@foolip and we had a Webcompat issue about it.
webcompat/web-bugs#2966
from speech-api.
I don't have a really strong preference for whether it should be reusable or not, but I agree that we should come to a consensus and document it.
Is there any reason NOT to allow SpeechSynthesisUtterance to be reused? If not, let's file a bug against Gecko to allow it to be reused, and if they accept it, we can document it and then we'll have parity.
from speech-api.
If not, let's file a bug against Gecko to allow it to be reused, and if they accept it, we can document it and then we'll have parity.
This is the origin of this issue. 😄 In the first description, the link is there.
https://bugzilla.mozilla.org/show_bug.cgi?id=1372325
from speech-api.
+1 to allow the reuse of it.
- Edge, Chrome and Safari do the same thing
- Google search is using the feature.
from speech-api.
Sounds like we should absolutely fix this. The problematic bit in the spec is "The SpeechSynthesis object takes exclusive ownership of the SpeechSynthesisUtterance object. Passing it as a speak() argument to another SpeechSynthesis object should throw an exception."
Is it just a matter of removing this, or does that open up new and hard questions to answer?
from speech-api.
Does anyone know who the best contacts for Edge and Safari would be for Speech? In web-platform-tests/wpt#7507 I'm adding OWNERS and would like to include them, and web-platform-tests/wpt#7510 will fail in Safari, so their input would be great.
@patrickkettner @youennf halp?
from speech-api.
The problematic bit in the spec is "The SpeechSynthesis object takes exclusive ownership of the SpeechSynthesisUtterance object. Passing it as a speak() argument to another SpeechSynthesis object should throw an exception."
How does this relate to re-usability with the same SpeechSynthesis instance? Seems like that sentence could stay with a qualifier that re-using an utterance in the same SpeechSynthesis instance is OK.
from speech-api.
Oh, I actually hadn't read that very carefully, what it says is actually quite reasonable. Then we should just have a test to prove that it throws when passing to another window's SpeechSynthesis instance.
from speech-api.
@foolip I'll track down the right person for you on the edge side of stuff
from speech-api.
Thanks @patrickkettner, can you add them to https://github.com/w3c/web-platform-tests/blob/master/speech-api/OWNERS if you find them?
@makotokato, with the added test, I think this issue is resolved, WDYT?
from speech-api.
with the added test, I think this issue is resolved, WDYT?
Yes, as this issue, it is OK.
from speech-api.
Related Issues (20)
- Define how to load custom voices HOT 3
- Can I capture UserMedia stream and do processing on that along with using SpeechRecognition HOT 1
- SpeechRecognition ends after unspecified time
- Bubbling model for SpeechSynthesisUtterance HOT 1
- need to improve speech recognition in conversation between multiple speakers
- Speach Destination HOT 1
- Requirements for SpeechSynthesisErrorEvent HOT 1
- Offline/on-device speech recognition HOT 2
- Could we have web speech API support IPA for speech synthesis voice language HOT 2
- Arabic TTS Web Speech is Missing some letters
- Interaction with screen readers and other assistive technology? HOT 1
- getVoices() is supposed to be user agent dependent, but appears not to be. HOT 1
- Android issue HOT 1
- Could not get isFinal == true HOT 9
- Feature request: SpeechRecognition pause/resume HOT 2
- Multiple Issues HOT 1
- speechSynthesis: utterance with lang but not voice
- Why is SpeechRecognition not working correctly in Safari?
- Clear Privacy Contracts HOT 1
- Continuously listening
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from speech-api.