Bat Spoken Language Identification
Android Quick Start
Platforms
- Android (5.0+, API 21+)
Requirements
- Picovoice Account and AccessKey
- Android Studio
- Android device with USB debugging enabled or Android simulator
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your AccessKey.
Make sure to keep your AccessKey secret.
Quick Start
Setup
Install Android Studio.
Include
mavenCentral()repository in the top-levelbuild.gradle. Then add the following to the app'sbuild.gradle:
- Add the following to the app's
AndroidManifest.xmlfile to enable recording with an Android device's microphone:
Usage
Create an instance of Bat Spoken Language Identification:
Process audio:
When done, release resources explicitly:
Demo
For the Bat Spoken Language Identification Android SDK, we offer a demo application that demonstrates how to use the engine on real-time audio streams (i.e. microphone input).
Setup
Clone the Bat Spoken Language Identification repository from GitHub using HTTPS:
Usage
- Open the Android demo using Android Studio.
- Copy your
AccessKeyfrom Picovoice Console into theACCESS_KEYvariable in MainActivity.java. - Run the application using a connected Android device or using an Android simulator.