Re: Speech Synthesis - Length parameter

Hey Jerry,

sorry I wasn't clear. I was proposing to create a new GIT repository,
probably GitHub would fit well, and have something like
https://github.com/w3c/ServiceWorker or https://github.com/w3c/webcomponents

So each time someone wants to propose an errata you can create a pull
request and manage the discussion there (e.g.
https://github.com/w3c/webcomponents/pull/557)

Glen, I'd be happy to help to setup this stack in case you think it can be
useful



---
Seltzlab di Caccamo Antonino
Web Application Development

phone +39 328 8772292
mail info@seltzlab.com
web http://www.seltzlab.com

This message contains confidential information which is intended for use of
its addressee only. Should you receive this message in error, you are
requested to inform the sender and to destroy it from any format.
art.616c.p.
DL196/03

2016-11-14 21:02 GMT+01:00 Jerry Smith (WPT) <jdsmith@microsoft.com>:

> Antonio:  Are you asking me to post a github issue, or for a speech
> repository to be created on github?  I looked, but couldn’t find one.
>
>
>
> I’d be glad to open a github issue for this.
>
>
>
> Jerry
>
>
>
> *From:* Antonino Caccamo [mailto:antonio@seltzlab.com]
> *Sent:* Saturday, November 12, 2016 5:19 AM
> *To:* Jerry Smith (WPT) <jdsmith@microsoft.com>; Eitan Isaacson <
> eisaacson@mozilla.com>; Glen Shires <gshires@google.com>
> *Cc:* Dominic Mazzoni <dmazzoni@google.com>; public-speech-api@w3.org
>
> *Subject:* Re: Speech Synthesis - Length parameter
>
>
>
> Hi all,
>
>
>
> just a proposal, but it would be great to have it on github
>
>
>
> Cheers
>
>
>
> Il ven 11 nov 2016, 22:42 Jerry Smith (WPT) <jdsmith@microsoft.com> ha
> scritto:
>
> That’s good to hear!
>
>
>
> I’m thinking this is the change:
>
>
>
> Add *charLength* to SpeechSynthesisEvent Attributes:
>
> *5.2.5 SpeechSynthesisEvent Attributes*
>
> *charLength** attribute*
>
> This attribute indicates the length of the text word or sentence, in
> characters, starting from the current charIndex in the audio playback.  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.
>
>
>
> Jerry
>
>
>
> *From:* Eitan Isaacson [mailto:eisaacson@mozilla.com]
> *Sent:* Friday, November 11, 2016 1:05 PM
> *To:* Glen Shires <gshires@google.com>
> *Cc:* Dominic Mazzoni <dmazzoni@google.com>; Jerry Smith (WPT) <
> jdsmith@microsoft.com>; public-speech-api@w3.org
> *Subject:* Re: Speech Synthesis - Length parameter
>
>
>
> Jerry, you beat me to it. I am willing to implement this in Firefox.
>
>
>
> On Fri, Nov 11, 2016 at 12:16 PM, Glen Shires <gshires@google.com> wrote:
>
> Yes, this is the proper place to discuss potential changes / errata to [1].
>
> Thank you for the proposal. We welcome others to comment on it on this
> mailing list.
>
> The next step would be for someone to propose specific wording for an
> errata item in the format of [2].
>
> Then after allowing several weeks for all to review / comment, if
> there's agreement, we can add it to the errata [2] and to the draft
> with errata [1]
>
> [1] https://dvcs.w3.org/hg/speech-api/raw-file/tip/webspeechapi.html
> [2] https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi-errata.html
>
>
>
> On Fri, Nov 11, 2016 at 8:23 AM, Dominic Mazzoni <dmazzoni@google.com>
> wrote:
> > I support 'length' in SpeechSynthesisEvent and I'd be willing to
> implement
> > it in Chrome if there are no objections.
> >
> > On a larger note, it'd be great if we could revive discussions on this
> list
> > and update the spec based on the errata.
> >
> > - Dominic
> >
> >
> > On Thu, Nov 10, 2016 at 3:59 PM Jerry Smith (WPT) <jdsmith@microsoft.com
> >
> > wrote:
> >>
> >> We’ve implemented speech synthesis in Edge on the Windows 10 Anniversary
> >> Update, and have been revising it lately to support the word boundary
> >> features.  We have an internal partner that wants to use these.  They’ve
> >> also requested we support word “length”, which isn’t included in the
> >> community group Web Speech API Specification.  Knowing the length in
> >> addition to boundary makes it very simple to highlight text while it is
> >> being spoken.  We already support this in WinRT APIs, and would like to
> do
> >> the same on Edge.
> >>
> >> Our goal would be to receive equivalents to the following WinRT API
> events
> >> for both paragraphs and words:
> >>
> >>
> >>
> >> TimeSpan              StartTime       Position in the audio stream
> >>
> >>                                       Required by IMediaCue
> >>
> >> HSTRING               Text            Text of the bookmark.  For
> sentence
> >> and word boundary this can provide the text snippet from the original
> text.
> >>
> >>                                       Note: We do not have a strong
> >> requirement to support text for word and sentence boundary markers.
> >>
> >> Nullable<UINT32>      Offset          Offset in the input text
> associated
> >> with the current position in the audio playback.
> >>
> >>                                       This is not populated for SSML
> >> bookmarks.
> >>
> >> Nullable<UINT32>      Length          The length of the text starting
> from
> >> the Offset associated with the position in the audio playback.
> >>
> >>                                       This is not populated for SSML
> >> bookmarks.
> >>
> >>
> >>
> >> The existing speech API spec has been around for a while.  Is there a
> way
> >> to evaluate and process spec additions/edits?
> >>
> >>
> >>
> >> Glen:  I’d appreciate hearing your take on this suggestion.  The Speech
> >> API community report dates to 2012.  Is there much interest in revising
> it
> >> in other ways?
> >>
> >>
> >>
> >> Jerry Smith
> >>
> >> Microsoft – Web Platform Team
>
>
>
> --
>
> Antonino Caccamo - Seltzlab
>

Received on Monday, 14 November 2016 21:47:24 UTC