Results 1 to 4 of 4

Thread: eSpeak speech synthesizer not working in qwebview

  1. #1
    Join Date
    Mar 2012
    Posts
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default eSpeak speech synthesizer not working in qwebview

    I have a problem to make eSpeak speech syntesizer working in a qwebview window.

    I tried the demo html page provided here in mozilla and it works fine.
    But when I try to open the html demo page in a qwebview window, the synthesizer doesn't work.

    Anyone can give me an idea how to fix this?

    I'm using Qt 4.7 in Ubuntu 11.10 with a HP mini 2101.

    Thanks in advance.
    Last edited by Javenne; 4th June 2012 at 02:52.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: eSpeak speech synthesizer not working in qwebview

    It "doesn't work" is a non-specific description of the problem. Could be anything. Not very useful.

    I am going to guess that everything seemed to worked without throwing huge errors except that you expected to hear something and did not. Have a read here:
    http://stackoverflow.com/questions/8...rt-audio-video
    https://bugreports.qt-project.org/browse/QTBUG-22883

  3. #3
    Join Date
    Mar 2012
    Posts
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: eSpeak speech synthesizer not working in qwebview

    Thanks for the reply, Chris.
    Sorry for not specifying the "doesn't work" part.
    And yes, what I meant was it didn't produce the synthesized sound it supposed to produce.

    I am using the webview to open a few html5 links.
    After reading the links you've given, I tried to go html5test.com, and check whether the webkit supports html5 (including the audio and video).
    And it turns out that the webkit supports html5 (all audio and video, excluding WebM audio support and video subtitle).

    Doesn't this mean that the text-to-speech apps supposed to work?

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: eSpeak speech synthesizer not working in qwebview

    Webkit supports audio. QtWebkit reports the same ability however it cannot actually make a noise unless it has the libraries that allow it to make noise: QtMultimedia (part of QtMobility). They do not ship as part of the base Qt libraries.

    There are also different formats of audio. On my Linux machine with QtMultimedia installed the demo here works but I get no speech from demo you linked.
    Last edited by ChrisW67; 4th June 2012 at 07:36.

Similar Threads

  1. QWebView Images with UNC path not working
    By michael. in forum Qt Programming
    Replies: 1
    Last Post: 2nd March 2012, 09:46
  2. QWebView Ctrl+C for copy isn't working, how to fix ?
    By rsilva in forum Qt Programming
    Replies: 4
    Last Post: 13th September 2011, 14:42
  3. CSS cursor property not working inside QWebView
    By ynonp in forum Qt Programming
    Replies: 1
    Last Post: 31st August 2011, 00:39
  4. Replies: 5
    Last Post: 15th March 2011, 16:17
  5. Speech recognition?
    By gadnio in forum Qt Programming
    Replies: 3
    Last Post: 7th May 2007, 10:49

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.