Hi
I’m still not convinced,
@Electronix in this link is having problems as well.
It may be a wrong structure setup of the library.
I am trying to restructure it following the rules below given on this page, and also adding the dex jar needed. If you only need to play a file you can do it in native code in the first link. The cassette library works also well.
How to build
git clone git@github.com:processing/processing-sound.git
- (optional: copy (or soft-link)
processing-core.zip
from your local Processing for Android mode as well as your Android SDK’sandroid.jar
, API level 26 or higher, into thelibrary/
folder. If you don’t do this, these will be downloaded from GitHub instead. Note that as of version 2.2 the sound library is compiled against Processing’s Android mode rather than the normal Processingcore.jar
in order to more smoothly supportAudioIn
on Android. Other dependencies, in particular Phil Burk’s JSyn engine on which this library is based, are also all downloaded automatically by ant.) -
ant dist
(or, alternatively, runbuild.xml
from within Eclipse)
The resulting sound.zip
can be extracted into your Processing installation’s libraries/
folder.