Closed Bug 1238522 Opened 8 years ago Closed 8 years ago

Intermittently, the speech synthesis doesn't start after changing the Pitch

Categories

(Core :: Web Speech, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla49
Tracking Status
firefox45 --- affected
firefox46 --- affected
firefox49 --- verified

People

(Reporter: cbadau, Assigned: m_kato)

References

()

Details

Attachments

(1 file)

Reproducible on latest Aurora 45.0a2 (buildID: ) 
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Reproducible on latest Nightly 46.0a1 (buildID: 20160110030214) 
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0

Steps to reproduce: 
1. Ensure that the speech synthesis is enabled (media.webspeech.synth.enabled must be true)
2. Go to http://eeejay.github.io/webspeechdemos/ . 
3. Click the "Speak it" button. 
4. After several seconds, clik the "Cancel" button. 
5. Modify the Pitch. 
6. Click the "Speak it" button. 

Actual results: Nothing happens by pressing on the "Speak it" button. The "Speak it" button doesn't work anymore and speech synthesis doesn't start. 

Expected results: Speech synthesis correctly start. 

Notes: 
1. The issue is NOT reproducible on Ubuntu 13.10 32bit and Mac OSX 10.9.5. 
2. To fix the problem, I need to close the page (http://eeejay.github.io/webspeechdemos/) and restart the browser.
I forgot to mention the buildID for latest Aurora 45.0a2: 20160110004009.
Confirmed on Win10.
Can you reproduce this on Windows?
Flags: needinfo?(m_kato)
Take this.   Maybe, end event isn't dispatched.
Assignee: nobody → m_kato
Flags: needinfo?(m_kato)
Depends on: 1239946
2 issues.

- When nsISpeechService.Speak() returns error, this item into task queue isn't removed because no DispatchError.  This issue is all platform on indirect service.  I filed as bug 1239946.
- SAPI's Speak method sometimes throws error when modifying pitch.  We should investigate this bug.
Blocks: 1268633
Ah, I misunderstand SAPI's XML.  absmiddle doesn't allow float type.  Fix is coming.
SAPI's absmiddle attibute doesn't allow float type.  Example, when pitch was 0.75, abmiddle was -2.5.  So ISpVoice.Speak() will return error.

Review commit: https://reviewboard.mozilla.org/r/52399/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/52399/
Attachment #8752046 - Flags: review?(eitan)
Attachment #8752046 - Flags: review?(eitan) → review+
Comment on attachment 8752046 [details]
MozReview Request: Bug 1238522 - Don't use float type for absmiddle attirubte. r?eeejay

https://reviewboard.mozilla.org/r/52399/#review50050

Sorry for the late review!
https://hg.mozilla.org/mozilla-central/rev/d5f3cacd2c75
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Verified fixed on Windows 7 64bit using latest Nightly 49.0a1 (buildID: 20160520030251).
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: