omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Speech to Text

    Pythonista
    4
    6
    3990
    Loading More Posts
    • 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.
    • drscheme
      drscheme last edited by

      Hello everybody,

      I'm wondering if there is an option how I can trigger speech recognition via Python. The other way round (text to speech) seems to be pretty simple...

      BR!

      1 Reply Last reply Reply Quote 0
      • dgelessus
        dgelessus last edited by

        I'm not sure iOS allows that kind of thing. There is of course Siri, and you have the text dictation button on the keyboard, but other than that I don't think apps have access to the built-in speech recognition services.

        1 Reply Last reply Reply Quote 0
        • wradcliffe
          wradcliffe last edited by

          @drscheme - Speech to text is built into every textbox when you use the popup keyboard. All you need to use it from Pythonista is build a ui with a textbox. Some apps seem to be able to avoid the popup keyboard and just place the microphone icon right in the textbox itself. That might be a nice feature to add to the ui module if it is possible. It might already be there for all I know :-)

          1 Reply Last reply Reply Quote 0
          • omz
            omz last edited by

            Some apps seem to be able to avoid the popup keyboard and just place the microphone icon right in the textbox itself. That might be a nice feature to add to the ui module if it is possible. It might already be there for all I know :-)

            That's not possible with standard iOS SDK methods. When you see something like that (e.g. in the Google app), these companies have their own infrastructure for doing speech recognition (often cloud-based).

            1 Reply Last reply Reply Quote 0
            • drscheme
              drscheme last edited by

              Thanks for your replies so far.

              An other option would be to record sound and send the file to a server and let this server do the s2t conversion. When I remember correctly, there are some Linux tools available.... But let me guess: we don't have access to the microphone as well, ... :)

              1 Reply Last reply Reply Quote 0
              • omz
                omz last edited by

                You're right, this isn't possible right now (that might change though).

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB Forums | Contributors