Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #27171

Opera mobile has laryngitis

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail
From Richard Maher <maher_rjSPAMLESS@hotmail.com>
Newsgroups comp.lang.javascript
Subject Opera mobile has laryngitis
Date Thu, 02 Apr 2015 21:55:56 +0800
Organization Aioe.org NNTP Server
Lines 59
Message-ID <mfjhpg$5vm$1@speranza.aioe.org> (permalink)
References <mfgbeg$otv$1@speranza.aioe.org> <7e54ce97-7c58-48e1-b3bd-69f350cb4c28@googlegroups.com> <mfi92f$bvq$1@speranza.aioe.org> <mfjcjh$oaq$1@speranza.aioe.org> <mfjesa$u75$1@speranza.aioe.org>
NNTP-Posting-Host uYFkdLFMFILrcerhBCvdBA.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
X-Notice Filtered by postfilter v. 0.8.2
Xref csiph.com comp.lang.javascript:27171

Show key headers only | View raw


On 4/2/2015 9:06 PM, Richard Maher wrote:
> On 4/2/2015 8:27 PM, Richard Maher wrote:
>>
>> For those still following, Safari has been put to bed, Chrome works
>> beautifully (and seems the only one to support rate and pitch), The
>> Android browser can't handle Web Workers so it's out already, Opera
>> desktop has a sexy default voice, FireFox and IE were never in the
>> running.
>>
>> Which leaves Opera Mobile which fails silently without throwing anything
>> :-(
>>
>> I'll look tomorrow at attribute sniffing for what
>> https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section
>> says
>> should be there but any other useful options welcome?
>>
>
> I've checked the "speaking" attribute and it's there as "false".
> I've stuck "onerror" and "onabort" handlers in as well and still nothing.
> I passed a string instead of a correct utterance object and bloody Opera
> throws and "undefined" exception like everyone else.
>
> Opera Mobile 28.0
> Android 4.4.2
>
> Good-night :-(

You (and *I*) may question the correctness of this behaviour in Opera 
but it appears to be as simple as there are no 
known/registered/available voices for Opera Mobile on my Android phone :-(


"Sing for me Christine! Sing my angel, SING!" Sorry couldn't help it.

So are there any files I have to download?

FYI on Safari, apparently, the speechSynthesis.getVoices() method is 
synchronous which makes life easy. Elsewhere it is asynchronous and will 
return an array of length 0 on first call.

We need to register an event such as: -
speechSynthesis.onvoiceschanged = function() {
         voices = window.speechSynthesis.getVoices();
         alert("Voices " + voices.length);
         if (!done) theWork();
         };

This never fires on Opera Mobile. Curious!

Why don't I get a (from the synthesis specification): -
           "language-unavailable",
           "voice-unavailable",

Because I didn't explicitly specify a language and a voice?

And why does Chrome deliver onvoiceschanged 3 times?

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Forced to browser-sniff Safari version Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-01 16:49 +0800
  Re: Forced to browser-sniff Safari version JJ <jj4public@vfemail.net> - 2015-04-01 19:19 +0700
    Re: Forced to browser-sniff Safari version Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-01 20:35 +0800
      Re: Forced to browser-sniff Safari version Denis McMahon <denismfmcmahon@gmail.com> - 2015-04-01 14:50 +0000
        Re: Forced to browser-sniff Safari version Scott Sauyet <scott.sauyet@gmail.com> - 2015-04-01 09:35 -0700
          Re: Forced to browser-sniff Safari version Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-02 06:29 +0800
        Re: Forced to browser-sniff Safari version Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-02 06:28 +0800
          Re: Forced to browser-sniff Safari version "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-04-02 01:04 +0200
      Re: Forced to browser-sniff Safari version Andrew Poulos <ap_prog@hotmail.com> - 2015-04-02 10:53 +1100
        Re: Forced to browser-sniff Safari version Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-02 09:18 +0800
          Re: Forced to browser-sniff Safari version Andrew Poulos <ap_prog@hotmail.com> - 2015-04-02 15:12 +1100
        Re: Forced to browser-sniff Safari version Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-02 10:25 +0800
          Re: Forced to browser-sniff Safari version Andrew Poulos <ap_prog@hotmail.com> - 2015-04-02 18:44 +1100
  Re: Forced to browser-sniff Safari version "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-04-01 17:59 -0700
    Re: Forced to browser-sniff Safari version Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-02 10:20 +0800
      Re: Forced to browser-sniff Safari version Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-02 20:27 +0800
        Re: Forced to browser-sniff Safari version Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-02 21:06 +0800
          Opera mobile has laryngitis Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-02 21:55 +0800
            Re: Opera mobile has laryngitis "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-04-02 16:28 -0700
              Re: Opera mobile has laryngitis Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-03 07:38 +0800
                Re: Opera mobile has laryngitis Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-03 07:56 +0800
                Re: Opera mobile has laryngitis Swifty <steve.j.swift@gmail.com> - 2015-04-04 07:47 +0100
                Re: Opera mobile has laryngitis Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-05 08:12 +0800
                Re: Opera mobile has laryngitis Ed Jay <edMbj@aes-intl.com> - 2015-04-05 08:59 -0700
                Re: Opera mobile has laryngitis Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-06 06:56 +0800
                Re: Opera mobile has laryngitis Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-03 10:02 +0800
              Re: Opera mobile has laryngitis Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-03 08:14 +0800
            Re: Opera mobile has laryngitis Wally W. <ww84wa@aim.com> - 2015-04-04 12:49 -0400
              Re: Opera mobile has laryngitis Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-05 08:18 +0800

csiph-web