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
-
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.
-
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. -
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.
-
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.
-
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