- From: Eitan Isaacson <eisaacson@mozilla.com>
- Date: Fri, 18 Nov 2016 12:11:08 -0800
- To: Dominic Mazzoni <dmazzoni@google.com>
- Cc: "Jerry Smith (WPT)" <jdsmith@microsoft.com>, Glen Shires <gshires@google.com>, "public-speech-api@w3.org" <public-speech-api@w3.org>
- Message-ID: <CAGJkVDEj1N7iDJV6cA+GSJM=5d0uH_OMBszrReyUGwKO83wknw@mail.gmail.com>
Yup, Chrome would be a good example with both Google and platform voices. Or separate engines on the platform level may or may not support charLength. On Fri, Nov 18, 2016 at 12:06 PM, Dominic Mazzoni <dmazzoni@google.com> wrote: > On Fri, Nov 18, 2016 at 10:59 AM Jerry Smith (WPT) <jdsmith@microsoft.com> > wrote: > >> The API supports simultaneously running multiple speech synthesis >> engines? When might that be useful? >> > > Not "simultaneously" in the sense that they're all speaking at once, but > "simultaneously" in the sense that one utterance might be generated by one > engine, and the next by a different engine. > > >> >> >> That aside, do you have a concern about these event attributes being >> undefined if the capability is not supported? I expected adding charLength >> was a fairly straightforward addition to the current attribute set. >> >> >> >> *From:* Eitan Isaacson [mailto:eisaacson@mozilla.com] >> >> *Sent:* Wednesday, November 16, 2016 3:42 PM >> *To:* Glen Shires <gshires@google.com> >> *Cc:* Jerry Smith (WPT) <jdsmith@microsoft.com>; Dominic Mazzoni < >> dmazzoni@google.com>; public-speech-api@w3.org >> >> >> *Subject:* Re: Speech Synthesis - Length parameter >> >> >> >> Just to be clear: a user agent can utilize multiple speech engines >> simultaneously, some would support charLength, some would not. >> >> An implementation would need to have charLength be either an integer or >> null/undefined in each case. >> >> >> >> On Wed, Nov 16, 2016 at 3:22 PM, Eitan Isaacson <eisaacson@mozilla.com> >> wrote: >> >> Just trying to translate that to valid webidl. How can an attribute be a >> primitive or undefined? The only equivalent way I know is if it were >> nullable with a '?' operator. >> >> >> >> On Wed, Nov 16, 2016 at 3:19 PM, Glen Shires <gshires@google.com> wrote: >> >> On Wed, Nov 16, 2016 at 2:42 PM, Eitan Isaacson <eisaacson@mozilla.com> >> wrote: >> > >> > >> > >> > On Wed, Nov 16, 2016 at 1:32 PM, Glen Shires <gshires@google.com> >> wrote: >> >> >> >> The user >> >> agent must return this value if the speech synthesis engine supports >> >> it or the user agent can otherwise determine it, otherwise the user >> >> agent must return undefined. >> > >> > >> > How does that actually work? Shouldn't charLength be a nullable type? >> s/undefined/null/ >> > >> > And: >> > readonly attribute unsigned long? charLength; >> >> charIndex is also an unsigned long and undefined if the speech >> synthesis engine doesn't support it. >> >> Is there a specific problem with this that you see? >> >> >> >> >> >
Received on Friday, 18 November 2016 20:11:51 UTC