This is an example app that demonstrates how to ask for user permissions and capture output from
the VoiceProcessor
.
- Java SDK (11+)
- Android SDK (21+)
- Android 5.0+ (API 21+)
Build with gradle:
cd example
./gradlew assembleDebug
Or open with Android Studio and run android-voice-processor-example
.
Toggle recording on and off with the button in the center of the screen. While recording, the VU meter on the screen will respond to the volume of incoming audio.
Ensure you have an Android device connected or simulator running. Then run the following from the terminal:
cd example
./gradlew connectedAndroidTest
The test results are stored in android-voice-processor-example/build/reports
.