Probably, but I feel there should be some consistency in the api aka at least a libpd_set_instance() and some simple checking to make sure you don’t shoot yourself in the foot. There also needs to be an explanation in the wiki including information on how to use it in a multi threaded setup, etc. It’s not just a simple case of “let it loose” in libpd, but how to do so which involves beginners using libpd who have little/no multi threaded architecture background. If done wrong, the libpd Github get’s flooded with “help me” issues :P

I was hoping the “let it loose” thread on this list would have gone a bit farther so any/all bugs might have been found out by now. To go at it.
--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com

On Apr 21, 2015, at 10:56 AM, Kjetil Matheussen <k.s.matheussen@gmail.com> wrote:

But for libpd, are you sure you need to add anything? Can't just the user
call the pdinstance_new and pd_setinstance functions directly?

http://lists.puredata.info/pipermail/pd-dev/2014-05/019832.html


(BTW. When I wrote about libpds, I hadn't forgotten about the support for pd instances,
but since I didn't have all details in my head then, I didn't mention it. I should have though.)


On Tue, Apr 21, 2015 at 4:42 PM, Dan Wilcox <danomatika@gmail.com> wrote:
This should be possible with the current version of libpd which includes Miller’s multiple instance updates, see http://lists.puredata.info/pipermail/pd-dev/2014-05/019839.html

I just haven’t gotten around to adding libpd-specific wrapper functions for this yet, but Miller provides code in that dev list exchange.

--------
Dan Wilcox
@danomatika
danomatika.com

On Apr 21, 2015, at 6:00 AM, pd-dev-request@lists.iem.at wrote:

From: Oliver Greschke <info@o-g-sus.de>
Subject: [PD-dev] Can somebody help to create a desktop / VST / AU version of a PD / libPD / app ?
Date: April 21, 2015 at 3:15:44 AM EDT


Hi,
I am the creator of the Elastic Drums iOS app (with great PD help from Matt Davey).
It’s made with PureData, libPD and Objective-C.
I got asked a couple of times now, if there will be ever a standalone desktop version or even better Plugin (VST, AU) version of the app.

As far as I know, there are not ready to use workarounds to do so. Which is sad, because I can imagine a lot of fantastic plugins emerging from PD

Has somebody here some experience with doing such ports?
Then please contact me.

Cheers,
Oliver

info@o-g-sus.de


_______________________________________________
Pd-dev mailing list
Pd-dev@lists.iem.at
http://lists.puredata.info/listinfo/pd-dev