Dan thanks! Yes your considerations are reasonable but sadly pd has really lost its "livecoding" angle when Android/iOS devices became so popular. Smartphones are portable and have so many sensors that livecoding on android would really make much more sense than coding on desktop and deploying to smartphone for each change. I hope there will be some effort to rewrite pd-lib to run in stock android and I am willing to help (although I am worst programmer ever.. I am kinda good tester and profiler though). And if it is actually possible to run pd-lib on rooted android that is interesting but I am somewhat suspicious. If there is a linux container for androids that would be easier I guess (but not so RAM friendly). Btw, I've noticed purrdata js runtime for pd is available but again I think it does not allow patch creation/editing, only patch running? Btw, pddroidparty webpage is really nicely organised and clear in its communication -> much respect! Thanks!
On Fri, Feb 24, 2023 at 12:21 AM Dan Wilcox danomatika@gmail.com wrote:
Howdy Matevz,
I don't believe so, although I must include the caveat tat I do not use Android, so perhaps there is something out there I am not aware of.
Running patches via libpd in a mobile app is much easier than creating a live, graphical *editor* as with desktop Pd as:
- the interaction metaphors are different
- libpd does not have a way to tap into the core pd editing logic (yet)
That being said (written?), it's certainly possible to create something that can automate writing a Pd file which can then be loaded by libpd, however, once things complicated enough, you basically end up duplicating most of the core logic with the detriment that you have to carefully try to keep it up to date with whatever version of pd / libpd you are using. In short: it's a lot of thankless work that is best *not* done without lots of interest, resources, and support.
The closest thing I can think of is rooting the device to install a Linux distro so you can run *desktop* Pd, however I don't think this is where your question is focused.
As the author of PdParty, which utilizes libpd on iOS, I made a clear decision early on to *not* tackle on-device editing, mainly for the reasons mentioned above.
On Feb 23, 2023, at 12:00 PM, pd-list-request@lists.iem.at wrote:
Message: 2 Date: Thu, 23 Feb 2023 10:44:58 +0100 From: Matevz Leskovsek matevz.leskovsek@gmail.com To: pd-list@lists.iem.at Subject: [PD] Creating/editing patches on android? Message-ID: CAEsQPf7MQ+SLkCzqo848OQ9LweoCUzjVPVHXvQYSfvKZ+Gt5qg@mail.gmail.com Content-Type: text/plain; charset="UTF-8"
Hi all, as I remember all those PD on Android platforms (mobmuplat, pddroid) only allowed running patches and not editing those, meaning that one needed a desktop computer to create and edit patches. Is this still the case or is it possible now to use Android device for creating and running pd patches. Thanks!
Dan Wilcox @danomatika danomatika.com robotcowboy.com