Open Bug 1425523 Opened 7 years ago Updated 2 years ago

Implement SSML parsing at SpeechSynthesisUtterance

Categories

(Core :: Web Speech, task)

57 Branch
task

Tracking

()

UNCONFIRMED

People

(Reporter: guest271314, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/62.0.3202.94 Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce: Pass valid SSML as first argument SpeechSynthesisUtterance Actual results: SSML is not parsed Expected results: SSML to be parsed
Component: Untriaged → Web Speech
Product: Firefox → Core

#2 Chromium is now performing some SSML tests though as far as am able to gather - at extension code - not related to Web Speech API, at least from what can gather by the names of the files and lack of explicitly stating the tests and the language in the comment

This change doesn't integrate the ssml parser; this will be done in a follow-up change to this one.

https://bugs.chromium.org/p/chromium/issues/detail?id=88072#c58; https://bugs.chromium.org/p/chromium/issues/detail?id=88072#c59; https://bugs.chromium.org/p/chromium/issues/detail?id=88072#c60. #61 was deleted due to again referencing that SSML parsing is possible given the effort to do so (a start using JavaScript https://github.com/guest271314/SpeechSynthesisSSMLParser).

From a front-end perspective, SSML parsing should not be abstracted to code that is not reachable/modifiable by the developer/user without undue restrictions as to how the markup is parsed to audio output. One example of the varying interpretations of the SSML specification, and implementation are

<p>

and

<s>

elements, where when tests are run on SSML third-party web services, there are different implementations. If recollect correctly, *oogle "Home' service, *mazon "*lexa", *BM *luemix inserted pause or did not insert pause arbitrarily as the language of the specification does not precisely specify what should NOT occur (https://github.com/guest271314/SpeechSynthesisSSMLParser/blob/master/SpeechSynthesisSSMLParserTest.html#L258).

Type: defect → task
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.