danomatika / ofxPd

(maintained) a Pure Data addon for OpenFrameworks using libpd
Other
202 stars 45 forks source link

RJDJ filter not working on iPhone #20

Closed edkellytista9 closed 12 years ago

edkellytista9 commented 12 years ago

The filter in question is from rjlib. We had a patch running well on an iPhone4, but when the filter was turned on it permanently broke the patch - audio cut out until the app was reloaded. An example can be found at http://sharktracks.co.uk/projects/audio/errors/filtertest_list.zip

danomatika commented 12 years ago

Hey Ed,

Does it work fine on RjDj? I can't imagine it's something ofxPd related ...

ghost commented 12 years ago

It's an exception signal handling problem.. it's actually libpd related (ofxPd uses it's own libpd source).

danomatika commented 12 years ago

Maybe its a floating point error. You can try setting up a signal handler ... see this discussion: https://github.com/libpd/libpd/commit/27c848a56d3d27e62231f8b0d9ef17c7c56cd9f9

Also, this issue is libpd related .. so not an ofxPd specific problem.

ghost commented 12 years ago

This is fixed in libpd master branch.

@danomatika why not add libpd as a submodule, so it is easy to keep the libpd_wrapper code up to date?

danomatika commented 12 years ago

I don't need nor want to distribute the java, obj-c, etc code that comes with libpd, only the C & C++ sources. I have a script that can do the update for me and I will run it now.

danomatika commented 12 years ago

Ok, master is now updated with the latest libpd. Note, List::asFloat() & asSymbol() are now getFloat() & getSymbol().

Please test and close this issue if the crash is fixed.