Replies: 3 comments
-
|
Unfortunately, this is probably a dead end, as Pythonista doesn't have background audio permissions, and afair that's a requirement for using CoreMIDI. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the quick respons! I wrote my own app in swift and was able to use midi using this: Perhaps this could be a start for integration, without directly accessing core-midi via objc_utils If midi can be used, this would be a great tool for managing midi, UDP via python and creating new UI to trigger stuff. There are only a few available tools that can do it using cryptic languages. most of those tools are not maintained. I tried to find more information, but this not that easy. ChatGPT gives: It could be a great option to allow for background audio, (so also for coreMidi). This would add many new opportunities for use. I also playback audio in my app and it cut-off when moving my app to the background. not a big issue for my use-case. Hope you still can give it a try, but otherwise thanks for you help so far. Regards, Erik |
Beta Was this translation helpful? Give feedback.
-
|
I wouldn't necessarily trust ChatGPT's with details like these, but anyway… I could be wrong, I'm not very familiar with MIDI APIs, and it's been a long time since I've looked at this at all… It would certainly be an interesting use case, but not something I can prioritize integrating right now. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Pythonista to display chords and Lyrics on an ipad. When I select songs, I also want to send Midi Program Changes to several of my synths. Now I use UDP to send to another app (Midifire in my case) that converts that UDP to Midi.
This works, but Midifire is getting old and it would be great if I can control everything from one app.
There are several midi options in Apple/Python environment. Via objc_utils:
.... etc
This is code from ChatGPT, but coreMidi is not available or blocked. Is it possible to enable this and let this work?
I assume this is the easiest way.
Other midi-libraries exist, not sure what is the best/easiest to implement.
For me it would be helpful if I can send/receive notes, program changes and CC values.
You effort and help is really appreciated.
Thanks, Erik
Beta Was this translation helpful? Give feedback.
All reactions