Dear List !
Are here some people, who worked with LibPD ?
I'm on a way of trying to make pd-driven sampler for a portable platforms (iOS, Android).
The sampler should use GPS-data, somehow transmitted to PD. So i know that this kind of ideas were already succesfully made with PD by RjDj.
I know that LibPD is the only way to embed the sound engine to external code.
questions right now:
1) Is LibPD working with Vanilla version of PD only ?
Or maybe I can programm in Extended, but not using extra libraries ?
And is it done the same way as in extended ?
Thankyou very much !
well, i'm not experienced at using libpd in an application but i've definitely researched the topic pretty thoroughly. peter brinkmann is the obvious expert here to talk to. so here's what i know:
libpd only uses vanilla objects, although expr~ was recently included in that group. it can be extended by including other libraries into libpd as far as i'm aware. i'm definitely aware of at least two cases where the cyclone library has been compiled for use with libpd.
so, if your plan is to use it locally with your friends, this should basically work fine. also as far as distribution via the different stores, there should be no issues with offering a product for Android via Google Play.
however, if you are releasing this product on the iTunes Store, Apple has a restriction that does not allow third party libraries to be included that have GPL licensing. since the vast majority of PD libraries have this licensing on the binaries, it means you will need to recompile the desired libraries from source and change the license in order to put the product on the store. BSD or MIT licenses seem to be preferred. without this license change, i don't think that you can even offer the app for free, but i'm not sure about this.
if anyone else has more accurate information, feel free to confirm, clarify or refine.
hope this helps, scott
On Wed, Feb 20, 2013 at 4:01 PM, Фывапр Олджэвич tofuckof@inbox.ru wrote:
Dear List !
Are here some people, who worked with LibPD ?
I'm on a way of trying to make pd-driven sampler for a portable platforms (iOS, Android).
The sampler should use GPS-data, somehow transmitted to PD. So i know that this kind of ideas were already succesfully made with PD by RjDj.
I know that LibPD is the only way to embed the sound engine to external code.
questions right now:
- Is LibPD working with Vanilla version of PD only ?
Or maybe I can programm in Extended, but not using extra libraries ?
- can the LibPD recieve OSC or some other way an external data ? in my
case we want it to recieve GPS coordinates and maybe some data from the device sensors... ( it is meant to be smartphone)
And is it done the same way as in extended ?
Thankyou very much !
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
libpd itself only tracks Pd Vanilla, but you can use externals with it. On platforms the support dynamic libraries (e.g., Android), you can just build and package your externals like any other native binary, and libpd will be able to use them (as long as the binaries are on the search path, but there are utilities in pd-for-android that take care of that for you). On platforms that don't support dynamic libraries (e.g., iOS), you can still link externals with your app, you just have to manually initialize them. The pd-for-ios wiki explains how.
About sending GPS coordinates to libpd, the easiest way to do this is to use the libpd's message passing mechanism, no need for OSC or other networking. To get an idea how this works, look at the way the ScenePlayer app in pd-for-android handles accelerometer values. Hope this helps, Peter
On Wed, Feb 20, 2013 at 11:19 PM, Scott R. Looney scottrlooney@gmail.comwrote:
well, i'm not experienced at using libpd in an application but i've definitely researched the topic pretty thoroughly. peter brinkmann is the obvious expert here to talk to. so here's what i know:
libpd only uses vanilla objects, although expr~ was recently included in that group. it can be extended by including other libraries into libpd as far as i'm aware. i'm definitely aware of at least two cases where the cyclone library has been compiled for use with libpd.
so, if your plan is to use it locally with your friends, this should basically work fine. also as far as distribution via the different stores, there should be no issues with offering a product for Android via Google Play.
however, if you are releasing this product on the iTunes Store, Apple has a restriction that does not allow third party libraries to be included that have GPL licensing. since the vast majority of PD libraries have this licensing on the binaries, it means you will need to recompile the desired libraries from source and change the license in order to put the product on the store. BSD or MIT licenses seem to be preferred. without this license change, i don't think that you can even offer the app for free, but i'm not sure about this.
if anyone else has more accurate information, feel free to confirm, clarify or refine.
hope this helps, scott
On Wed, Feb 20, 2013 at 4:01 PM, Фывапр Олджэвич tofuckof@inbox.ruwrote:
Dear List !
Are here some people, who worked with LibPD ?
I'm on a way of trying to make pd-driven sampler for a portable platforms (iOS, Android).
The sampler should use GPS-data, somehow transmitted to PD. So i know that this kind of ideas were already succesfully made with PD by RjDj.
I know that LibPD is the only way to embed the sound engine to external code.
questions right now:
- Is LibPD working with Vanilla version of PD only ?
Or maybe I can programm in Extended, but not using extra libraries ?
- can the LibPD recieve OSC or some other way an external data ? in my
case we want it to recieve GPS coordinates and maybe some data from the device sensors... ( it is meant to be smartphone)
And is it done the same way as in extended ?
Thankyou very much !
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
If someone wanted to libpd-ify the Pd-extended core, I'll help where I can. That would give you things like [initbang], $@ and $#, the 'blob' type for handling generic blobs of memory, and more.
.hc
On 02/21/2013 12:39 AM, Peter Brinkmann wrote:
libpd itself only tracks Pd Vanilla, but you can use externals with it. On platforms the support dynamic libraries (e.g., Android), you can just build and package your externals like any other native binary, and libpd will be able to use them (as long as the binaries are on the search path, but there are utilities in pd-for-android that take care of that for you). On platforms that don't support dynamic libraries (e.g., iOS), you can still link externals with your app, you just have to manually initialize them. The pd-for-ios wiki explains how.
About sending GPS coordinates to libpd, the easiest way to do this is to use the libpd's message passing mechanism, no need for OSC or other networking. To get an idea how this works, look at the way the ScenePlayer app in pd-for-android handles accelerometer values. Hope this helps, Peter
On Wed, Feb 20, 2013 at 11:19 PM, Scott R. Looney scottrlooney@gmail.comwrote:
well, i'm not experienced at using libpd in an application but i've definitely researched the topic pretty thoroughly. peter brinkmann is the obvious expert here to talk to. so here's what i know:
libpd only uses vanilla objects, although expr~ was recently included in that group. it can be extended by including other libraries into libpd as far as i'm aware. i'm definitely aware of at least two cases where the cyclone library has been compiled for use with libpd.
so, if your plan is to use it locally with your friends, this should basically work fine. also as far as distribution via the different stores, there should be no issues with offering a product for Android via Google Play.
however, if you are releasing this product on the iTunes Store, Apple has a restriction that does not allow third party libraries to be included that have GPL licensing. since the vast majority of PD libraries have this licensing on the binaries, it means you will need to recompile the desired libraries from source and change the license in order to put the product on the store. BSD or MIT licenses seem to be preferred. without this license change, i don't think that you can even offer the app for free, but i'm not sure about this.
if anyone else has more accurate information, feel free to confirm, clarify or refine.
hope this helps, scott
On Wed, Feb 20, 2013 at 4:01 PM, Фывапр Олджэвич tofuckof@inbox.ruwrote:
Dear List !
Are here some people, who worked with LibPD ?
I'm on a way of trying to make pd-driven sampler for a portable platforms (iOS, Android).
The sampler should use GPS-data, somehow transmitted to PD. So i know that this kind of ideas were already succesfully made with PD by RjDj.
I know that LibPD is the only way to embed the sound engine to external code.
questions right now:
- Is LibPD working with Vanilla version of PD only ?
Or maybe I can programm in Extended, but not using extra libraries ?
- can the LibPD recieve OSC or some other way an external data ? in my
case we want it to recieve GPS coordinates and maybe some data from the device sensors... ( it is meant to be smartphone)
And is it done the same way as in extended ?
Thankyou very much !
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list