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. QTextToSpeech Locales
Forum Update on Tuesday, May 27th 2025

QTextToSpeech Locales

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtexttospeech
13 Posts 2 Posters 3.9k 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.
  • SGaistS SGaist

    Hi and welcome to devnet,

    Base on the documentation of the function, it looks like it depends on the backend used. So which are you using ?

    K Offline
    K Offline
    Kornei4
    wrote on last edited by
    #3

    @SGaist qt 5.9, creator 4.3, compiling w/ msvs 15. Win7 sp1, if it matters

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Kornei4
      wrote on last edited by
      #4

      Searched in the internet and found that it looks like as microsoft bug (or feature?), voices, installed for microsoft speech runtime are not visible for system itself (in Narrator or in speech properties) , but visible for other third-party utilities (digit, balabolka etc) or vba scrypt. Seems like qt uses the same algorithms as system and dont know that other languages are exist. So, there is another question - any ways to add voice to engine or add existing ebgine go qt? qttexttospeechengine-createvoice is protected and asks Qvariant data, which i cant understand what have to be to filled with

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #5

        Can you share where you found out that information ? Could be useful to other people.

        You'll likely have to tweak the current backend to improve that part.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        K 1 Reply Last reply
        0
        • SGaistS SGaist

          Can you share where you found out that information ? Could be useful to other people.

          You'll likely have to tweak the current backend to improve that part.

          K Offline
          K Offline
          Kornei4
          wrote on last edited by
          #6

          @SGaist russian forums about including voices for tts into windows,don't think that it'd valuable here, furthermore it isnt helping anyway, just states the fact.
          So, now i'm interested in adding a new engine it qt qtexttospeech, but as far as i understand, it is impossible now?

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #7

            Why would it be impossible ?

            Just grab the module and add your custom engine there. You could even consider submitting it for inclusion.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            K 1 Reply Last reply
            0
            • SGaistS SGaist

              Why would it be impossible ?

              Just grab the module and add your custom engine there. You could even consider submitting it for inclusion.

              K Offline
              K Offline
              Kornei4
              wrote on last edited by
              #8

              @SGaist cant find how can i add a custom engjne in

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #9

                How are you trying to add it ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                K 1 Reply Last reply
                0
                • SGaistS SGaist

                  How are you trying to add it ?

                  K Offline
                  K Offline
                  Kornei4
                  wrote on last edited by
                  #10

                  @SGaist qtexttospeechplugin::createtexttospeechengine - it is not quite clear how to use it, and would it help in my situation or not. There is not much info in manual at all, i installed voices for sapi 4, sapi 5 and MSP, which third-party tts programs are able to find and use, but neiter microsoft speaker nor qtexttospeech are.
                  Sorry for my eng, not a native speaker

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #11

                    Because the engines are not part of the public API, you have to take a look at sources of the module.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    K 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Because the engines are not part of the public API, you have to take a look at sources of the module.

                      K Offline
                      K Offline
                      Kornei4
                      wrote on last edited by
                      #12

                      @SGaist where exactly should i look?
                      And is there a way to include any non-system voice in project using texttospeech?

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #13

                        The module is not that big. What didn't you find ?

                        As for the non-system voice, I don't know.

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        0
                        • K kevin_d referenced this topic on

                        • Login

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