-
soundigy
Hello everyone,
First of all, as it's my first post here, I would like to say hi to everyone.
I decided to write as I have some basic problem.
I have an application for Android project in Eclipse on Windows, using pd-for-android. I have build some really simple pd patch with phasor~ and expr~ (from tutorial). On my PC it works fine. However on my Android device, expr~ doesn't work. If I omit expr~ module on Android, I can here the sound. With expr~ there is only silence (or sometimes clipping). Inside expr~ I use simple $v1 > 0.5 expression from tutorial and on my PC it works.I am aware of the fact that expr~ is kind of and extra for pd, but I it looks like it's available (at least source files for PdCore contain it).
A few more pieces of information:
- project compiled in Eclipse x64 on MS Windows 8 using latest pd-for-android and latest libpd from github tested on Asus Transformer with Android 4.1 and LG Swift with Android 2.1
- project is using Android API level 7 (2.1)
- I have already read that expr~ is an extension so it has to be added to the project somehow, but it is completely unclear to me how to do this (what and how should I compile? Where to add it in my eclipse project?)
All the best,
Peter -
soundigy
I have managed to add System.loadLibrary("expr") to PdBase.java right below System.loadLibrary("pdnativeopensl") and recompiled it and now I see in debug console: libexpr.so shared library added (as for default pdnativeopensl I can see libpdnativeopensl.so shared library added). But there is still error that expr cannot be created... Should add some expr_setup? But where?