omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. rex_noctis

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 12
    • Best 0
    • Controversial 0
    • Groups 0

    rex_noctis

    @rex_noctis

    0
    Reputation
    879
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    rex_noctis Unfollow Follow

    Latest posts made by rex_noctis

    • Working with Turtle in Pythonista

      I have recently been messing around with the turtle module on PC and have come up with a few handy programs. I then became curious about the possibilities on Pythonista. I am attempting to make a simple program where the title will move to where the user taps. The onclick() does not seem to work. I will include the code I was trying to use below. How would I make a program like this and is there any documentation on turtle in Pythonista (I couldn’t find any)?

      Code:

      from turtle import *
      
      speed(0)
      screen = Screen()
      
      def moveTo(x, y):
           setpos(x, y)
      
      screen.onclick(moveTo)
      screen.listen()
      
      posted in Pythonista
      rex_noctis
      rex_noctis
    • Speech/speech activation

      So I have been having a problem for a while.
      I am trying to make a program that whilst running will listen for a key word (for example ‘Apple’) and then will activate a piece of code upon hearing it.
      I have tried creating a loop that records 2 seconds of audio then performs speech recognition on it, but much of the time, the word is said during the speech recognition process and therefore is not picked up.
      How can I get it so that it will keep listening and the only margin of error is the quality of the speech recognition? I can’t think of anything.

      posted in Pythonista
      rex_noctis
      rex_noctis
    • Several Bluetooth questions

      So long story short, I’m good at playing games with touch screen controls and I’m bad with an Xbox controller. However I like slot of Xbox games so this somewhat limits me. So I was wondering if there was some way I could write a programme to connect to my Xbox via Bluetooth and then use custom controls (possible made using scene module) to control it instead of the usual physical controller. I’ll divide this up into a few questions to make it a bit simpler. I know there is a sort of controller on the Xbox app but apparently that can’t be used with games.

      1. Is there a module or other way to connect to more advanced devices via Bluetooth (the cb module says it’s only for basic Bluetooth devices)?
      2. Would I be able to control the Xbox through this method without having to modify the Xbox in any way?
      3. If it’s looking good so far, what are some of the pieces of code I would need to use (quite specifically)?
        Thanks in advance.
      posted in Pythonista
      rex_noctis
      rex_noctis
    • Publishing UI projects

      So I am working on a project with the UI module, with the end goal of having it published to the App Store. Is there any way to compile and publish the .py and .pyui files together to the App Store or would I have to redesign the entire project with the scene module?

      posted in Pythonista
      rex_noctis
      rex_noctis
    • RE: Using Siri voices in Speech module

      @cvp okay thanks for your help!

      posted in Pythonista
      rex_noctis
      rex_noctis
    • RE: Using Siri voices in Speech module

      @cvp said:

      @rex_noctis Did you try the 3 Australian voices?

      speech: en-AU Objective-c: en-AU, Name: Catherine
      speech: en-AU Objective-c: en-AU, Name: Gordon
      speech: en-AU Objective-c: en-AU, Name: Karen```
      

      How do I determine between those in the speech.say() line cause they’re all en-AU

      posted in Pythonista
      rex_noctis
      rex_noctis
    • RE: Using Siri voices in Speech module

      @cvp I have extensively read that post, it hasn’t helped.

      posted in Pythonista
      rex_noctis
      rex_noctis
    • Using Siri voices in Speech module

      So I am building a text to speech program. It currently says text in the default Daniel Encanced voice. I want the program to say stuff in the Australian Male Siri voice. How would I do that? I have tried speech.say(‘Hello’, ‘en-AU’) but this uses a different Australian voice. Please help.

      posted in Pythonista
      rex_noctis
      rex_noctis
    • RE: Making interactive buttons with duration

      Thanks, it’s working now!

      posted in Pythonista
      rex_noctis
      rex_noctis
    • RE: Hitbox error

      I just realised the error. It’s meant to be Rect(self.player.position.x-12, self.player.position.y-12, 24, 24) I forgot the .x on the end of position. Thanks for making me notice it!

      posted in Pythonista
      rex_noctis
      rex_noctis