1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
Csound for Android
=======================================
Csound for Android consists of the Csound library, dedicated
OpenSL audio backends, a java interface, some selected
plugin libraries, and some test/example applications.
The following are the required toolchain components to build Csound:
- Android Studio: https://developer.android.com/studio/index.html.
- Android Native Development Kit (NDK): http://developer.android.com/tools/sdk/ndk/index.html.
Build Instructions
----------------
Before building, make sure ANDROID_NDK_ROOT contains the path to the
installed NDK. The variable NDK_MODULE_PATH should also be set to
the location of the NDK modules (libraries) that will be used in the
build.
1. If you want to build the Csound library only:
```
$ sh downloadDependencies.sh
$ cd ../CsoundAndroid
$ sh build.sh
```
2. If you want to build the ported plugin opcode libraries as
well:
```
$ sh downloadDependencies.sh
$ sh build-all.sh
```
Once the Csound JNI library is used, the CsoundAndroid project is ready to
be used in an Android Studio application. Just add it as a dependency.
Directories
----------
* CsoundAndroid: Android Csound JNI and java interface
* CsoundForAndroid: Android Studio projects
* pluginLibs: Csound plugin opcode ports
* docs: documentation
|