Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Text To Speech on Qt
Forum Updated to NodeBB v4.3 + New Features

Text To Speech on Qt

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 8.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dotK
    wrote on last edited by
    #1

    Hello all.

    I have a question, how can I do a text to speech on qt? I think I'll need extra libraries for this, right? If no, plese, give me a way to do this.

    I'm doing a text editor/translator, and I want that when I click on a button "Speak", the text is spoken.

    [.k] - A Mad Programmer

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Code_ReaQtor
      wrote on last edited by
      #2

      There is "QtSpeech":http://lynxline.com/projects/qtspeech/ .

      I actually used it in windows but building drains all your effort.

      Please visit my open-source projects at https://github.com/Code-ReaQtor.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dotK
        wrote on last edited by
        #3

        I can not include it, when I do

        @
        #include <QtSpeech>
        @

        The QtCreator say "QtSpeech, not such a file or directory", but I checked the instalation, and its correct.

        [.k] - A Mad Programmer

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Code_ReaQtor
          wrote on last edited by
          #4

          Did you build it? If I remember it correctly, I downloaded Windows PDK and Speech SDK. Followed the instructions in "README"(?) file, like editing some part of the codes. You should be able to build it, Then you need to add the library to your project (It takes time and effort since there are no binaries ready to be downloaded and building it is "bloody").

          Seriously, I prefer using commandline TTS like "eSpeak":http://espeak.sourceforge.net/ or "Say":http://krolik.net/post/Say-exe-a-simple-command-line-text-to-speech-program-for-Windows.aspx ,etc. Using QProcess is straightforward. Plus, cmdline TTS are not heavy.

          Please visit my open-source projects at https://github.com/Code-ReaQtor.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dotK
            wrote on last edited by
            #5

            I'm using ubuntu, but I follow the instructions, and the script "get_festival.sh" doesn't work, I did the script manualy, step to step. I need add it to library, but how? In readme file is suposed that I don't need do this. How I do it?

            [.k] - A Mad Programmer

            1 Reply Last reply
            0
            • niqtN Offline
              niqtN Offline
              niqt
              wrote on last edited by
              #6

              i'm developing this library "QtGoogleSpeech
              ":https://github.com/niqt/QtGoogleSpeech that use google on-line service

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved