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.


    Import Pyo dsp/audio library

    Pythonista
    audio dsp pyo
    3
    5
    3590
    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.
    • Eggy
      Eggy last edited by

      I read about importing libraries, but I am not sure if it is possible to get pyo working in Pythonista. Any tips would be appreciated. Pyo is a lot of fun, and very simple, yet powerful.

      http://ajaxsoundstudio.com/software/pyo/

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

        You dn't have to read any more than the first 8 words on the website:

        Pyo is a Python module written in C ....

        You can install pure python modules, or use the ones that come preinstalled in python.
        No way to use generic C modules. Blame Apple.

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

          Pyo is a Python module written in C [...]

          That sadly means you cannot get it into Pythonista yourself. Due to Apple's restrictions, anything that needs to be compiled to native code (this includes languages like C, Objective-C, Swift, Fortran, Assembly, etc.) has to be compiled and included in the app by omz.

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

            Thanks, I am new to Pythonista, and saw how so many other modules are able to be imported. Not a problem. I know what to look out for now.

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

              If you are feeling brave, Pythonista does expose many built in Objective C classes, and Apple includes a number of audio processing libraries. But you will sort of be on your own, since no one has tried (or tried and talked about it) any AVAudio work in pythonista

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