Very simple sample app for Android using the Rubber Band Library
e04689aa7695 — Chris Cannam default tip a month ago
Remove usage of hg subdir; instead add a note in the README
Update subrepo
ee588a407558 — Chris Cannam 3 years ago
Update subrepo location and revision; adjust local path

heads

default
browse log

clone

read-only
https://hg.sr.ht/~breakfastquay/rubberband-android-simple-sample
read/write
ssh://hg@hg.sr.ht/~breakfastquay/rubberband-android-simple-sample
Rubber Band Android Simple Sample
=================================

This is a very trivial example Android application that uses the
Rubber Band Library.

This project serves as an example of how to link to, and call to, the
Rubber Band Library from Java code in an Android application.

It is *not* an example of how to write an Android application! The
Android-specific Java code here is absolutely not something that you
should refer to in your own work. This is simply an illustration of
the use of the JNI (Android NDK) interface.

To build, first make sure the Rubber Band Library code is checked out
at the subdirectory jni/rubberband:

   $ hg clone https://hg.sr.ht/~breakfastquay/rubberband jni/rubberband

Then run:

   $ ndk-build
   $ ant debug
   $ ant debug install

The application simply pops up an ugly window with Play and Stop
buttons and plays a canned audio file, slowed down. The file itself is
loaded (in a raw format) from an app resource. Loading audio files and
managing the UI is outside the scope of this library.

The example code is public domain; the Rubber Band Library licence is
documented separately (see http://www.breakfastquay.com/rubberband/).