Pure Data (PD) inside bge

Hi!
Has anybody any experience using pylibpd or any other type of implementation of Pure Data inside bge? I’m currently developing a game where values inside the game (object position, rotation etc.) are sent to Pd controlling various parameters for real-time sound generation. My current version uses OSC-communication between blender and pd which works fine, but having it all integrated would make patch-assignment easier and not unnecessary complex.

my specs: mackbook pro, blender 2.7, pure data 0.43.4

thank you very much,

kristian

This section of the forum is not for Game Engine coding. It is for bpy (?) python coding.

It should be possible to do. We are using PD in conjunction with BGE as well. I have been thinking about having PD inside the BGE however for performance reasons I’d rather not do that. Running PD as a seperate process is more efficient as the BGE is single threaded. So PD would run on the same cpu as the BGE would. If you are going to do this I hope you do so in a public repo (eg https://github.com/z25/BgeHttpServer). I would like to help where I can.

Rg,

Arnaud

Did some research myself but the skills needed to achieve the implementation is something I don’t possess. So i went for the OSC-communication link i was talking about. The only downside is that you need to ‘physically’ open two different software to run the entire program. You can check it out here: http://pure-beat.peeky.com