[PD] Dynamic patching with audio - review

Richie Cyngler glitchpop at gmail.com
Sun Mar 20 05:59:27 CET 2011


I am just a lowly Pd user, not a dev. How would I use libpd? Does it work
just like Pd, but embeddable in other devices? or are we talking lines of
code?

thanks

On Sun, Mar 20, 2011 at 2:04 PM, Rich E <reakinator at gmail.com> wrote:

>
>> Oh, cool, I wasn't aware of that. Can you tell a bit more about the
>> performance
>> of this approach and how it compares to dynamic patching for dynamic
>> instantiation
>> of objects/patches?
>>
>>  Ciao
>
>> --
>>  Frank Barknecht            Do You RjDj.me?          _ ______footils.org__
>>
>>
> Initial performance is a little faster, as it doesn't take about 1,000 pd
> objects to open the patch, just a call to glob_evalfile (through whatever
> wrapper you are using to interface libpd), but that wasn't the main concern.
>  The biggest bonus for me is that you can instantiate the patches in an
> object-orientated manner (and in an object orientate language like python,
> java, obj-c, c++, etc), on the fly.  Doing this with dynamic patching
> involved using workarounds (like deleting to contents of a subpatch in order
> to just delete an embedded patch) which seemed awkward and bug prone.
>  Lastly, the $0 value that libpd recovers lets you send signals or messages
> to a unique patch, without the need of [namecanvas] - a method that causes a
> bag full of problems in itself when it comes to dynamic patch
> loading/unloading.
>
> Dynamic patch loading/unloading (not dynamic patching) could also be done
> directly in a pd external, provided the following small patch is accepted (:
>
> http://sourceforge.net/tracker/?func=detail&aid=3189135&group_id=55736&atid=478072
>
> Cheers,
> Rich
>
> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


-- 
Richie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110320/4ab67c1d/attachment-0001.htm>


More information about the Pd-list mailing list