W3C home > Mailing lists > Public > public-speech-api@w3.org > February 2013

Poor error events in SpeechSynthesis API

From: Eitan Isaacson <eisaacson@mozilla.com>
Date: Thu, 07 Feb 2013 10:14:48 +0000
Message-ID: <51137E98.5050504@mozilla.com>
To: "public-speech-api@w3.org" <public-speech-api@w3.org>

The speech recognition API has a very detailed SpeechRecognitionError
event. But synthesis only has an opaque "error" event type, with no
further details on the type of error or a human readable message. I
recommend adding a 'message' attribute to SpeechSynthesisEvent that
should be used ONLY on error events. Furthermore, the 'name' attribute
could be used to specify the error type from a limited corpus, similar
to ErrorCode in SpeechRecognitionError.

Received on Thursday, 7 February 2013 11:04:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:02:29 UTC