Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling external libraries for libpd? #84

Open
jacksongoode opened this issue Oct 14, 2020 · 4 comments
Open

Compiling external libraries for libpd? #84

jacksongoode opened this issue Oct 14, 2020 · 4 comments

Comments

@jacksongoode
Copy link

jacksongoode commented Oct 14, 2020

Hi there,

Fantastic project - really nothing like it at the moment for getting Pure Data patches on a mobile device with ease (no OSC pass-thru some other app).

I was curious, however, if it would be possible to build PHONK with additional externals for Pd? I know it's possible through libpd, ("EXTRA=true" as a Makefile option). It would be really interesting to see just how difficult this would be. If you have some idea of the options you used to build libpd maybe I could test out adding new externals to PHONK?

@jacksongoode jacksongoode changed the title Compiling external libraries for LibPd? Compiling external libraries for libpd? Oct 14, 2020
@victordiaz
Copy link
Owner

Hi @jacksonmgoode

I would be happy to include more externals with PHONK.

At the moment, I'm using the libpd hosted in the maven repo as stated in this gradle file https://github.com/victordiaz/PHONK/blob/master/phonk_apprunner/build.gradle

Do you know if I have to compile from source to include externals? or can externals maybe be loaded on demand?

@jacksongoode
Copy link
Author

I believe they can be loaded on demand. I've been working on a Bela which is basically a glorified single-board computer - but adding externals is possible by simply compiling for the ARMv7 architecture and then dragging them into a specified folder.

I imagine that compiling the externals would be something an advanced user could manage - it's just a matter of uploading them somewhere within PHONK so that libpd can read them.

@victordiaz
Copy link
Owner

I will have a look on that possibility.
Do you know a bit of Android? Could you set up an Android LibPd environment to compile a couple of externals so we can try?

@jacksongoode
Copy link
Author

I've only had some experience compiling for an Arduino (Bela), I'm not sure what the process would be like for Android - or what the architecture is like. Is there a tutorial somewhere I could follow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants