[PD] Pure Data, libpd, help

Ed Kelly morph_2016 at yahoo.co.uk
Wed Nov 27 00:58:33 CET 2013

Hello Andrei.

The Ninja Jamm patch has moved on a bit since then, but there are some things you should note.

1) Events can be encapsulated but audio paths cannot if you want the greatest efficiency from your target device (e.g. iPhone 4 - the minimum platform for Ninja Jamm). But try not to encapsulate below one level below the master patch, even for event-based subpatched, if you don't want to glitch.
2) you will probably have to write a few externals of your own if you cannot get the functions you need from vanilla Pd, and these need to be wrapped into the compilation of the app. Look at http://pdstatic.iem.at/externals-HOWTO/ for more info on how to write an external for Pure Data. Alternatively it is worth checking out the rjlib material from RJDJ at https://github.com/rjdj - v.good abstractions! 
I don't make the GUI for Ninja Jamm but...
3) the way a libpd patch is controlled by a GUI is by send and receive objects in Pd.
In my experience it is normal to make the objects in the GUI non-callback - i.e. if the GUI objects receive a message from Pd they do not send it back to Pd, but if a message is sent to the Pd patch it can send one back to the GUI.

I hope this helps.

Best wishes,


Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad

Gemnotes-0.2: Live music notation for Pure Data, now with dynamics!

On Tuesday, 26 November 2013, 22:13, Andrei Branea <andrei.branea09 at bathspa.ac.uk> wrote:
Hi Ed,
>My name is Andrei Branea and I recently graduated Creative Music Technology at Bath Spa University. 
>I've been working with Pd during the last few years. Your Pd work is really impressive, I remember having discovered Metastudio a couple of years ago, when I was looking at projects presented at the PD conventions, and at the time the patches were above my level of understanding.
>I recently discovered your work for the Seeper Ninja Tune app. I would like to learn more about making and integrating Pd patches in apps using libpd, to get in touch with apps developers and propose the addition of procedural audio to their apps. 
>I had a look at the screenshot of the patch (http://createdigitalmusic.com/files/2013/04/np-PD-patch-of-Ninja-Jamm-code-audio-engine.gif), and I found it striking that so much is on the main patch without using encapsulation. I would appreciate if you could share your experience about current limitations, challenges related to communication between Pd and the operating system, and maybe other issues you have found essential in integrating Pd as audio engine. 
>Please reply whenever you can spare a minute, it's not urgent, but actual insight to the development process and understanding of it is very valuable to me.
>All the best,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20131126/4b2675bb/attachment.htm>

More information about the Pd-list mailing list