Skip to content
C++ C Other
Find file
Failed to load latest commit information.
assets Added a default scsyndef so that the Activity runs on a clean install. May 29, 2010
jni added x86 target, fixed C++ compilation with latest NDK. Aug 4, 2014
res http://github.com/glastonbridge/SuperCollider-Android/issues#issue/2 Apr 4, 2010
src/net/sf/supercollider/android Updated s_new to use defaultNodeId, same as n_set. Set defaultNodeId … Dec 6, 2014
tests Rename java package to net.sf.supercollider.android, closes #10 Aug 27, 2010
.classpath Still, egit is breaking Feb 11, 2011
.gitignore Eclipse/eGit gets upset when importing due to missing default.properties Feb 11, 2011
.project Asynchronous replies from scsynth, ability to point SCAudio at an Sep 2, 2010
AndroidManifest.xml newline Sep 7, 2010
Application.mk DynNoiseUGens Sep 3, 2010
COPYING
README.md Warn users about 3.6 synthdefs not working Dec 16, 2014
default.properties Eclipse/eGit gets upset when importing due to missing default.properties Feb 11, 2011

README.md

SuperCollider-Android

SuperCollider is copyright James McCartney and many different authors Published under the terms of the GNU GPL, version 2 or later. Some code is GPL3+ so the overall bundle will typically be GPL3+.

This version is based on Supercollider 3.5. Synthdefs created using Supercollider 3.6 will usually fail to load.

SuperCollider-Android port by Alex Shaw and Dan Stowell. http://github.com/glastonbridge/SuperCollider-Android

Build Instructions

NOTE: this was tested on OS X. It should work similarly on Linux with some minor changes (ant installation, etc.)

Install the Android SDK. See https://developer.android.com/sdk/installing/index.html. Optionally, install Eclipse, although the instructions that follow describe buildling from the command line.

If building from the command-line, install Apache ant. If homebrew is installed:

brew install ant

This project uses the Crystax NDK rather than the standard Android NDK. Download it from https://www.crystax.net/android/ndk.php. Extract and follow the installation instructions in docs/INSTALL.html.

For convenience, add the location of the NDK to your PATH (optional).

From the root SuperCollider-Android project directory:

ndk-build
# or /path/to/ndk-build if this isn't on your PATH

This will build the native modules.

From the same directory:

android update project -p . --target [target_number]
# where target_number is a one of your installed android targets
# these can be viewed with:
android list

This will generate an ant build.xml in the root directory.

Build the project itself:

ant debug

Install on a connected device or emulator:

adb install -r bin/SuperColliderActivity-debug.apk 
# -r here forces a reintsall if the apk already exists on the target

Eclipse and release build left as excercises for the reader. Happy hacking!

Something went wrong with that request. Please try again.