https://github.com/vectorform/azurewakeword
Sample project to test wakeword sample from github.com/Azure-Samples/cognitive-services-speech-sdk
https://github.com/vectorform/azurewakeword
Last synced: 3 months ago
JSON representation
Sample project to test wakeword sample from github.com/Azure-Samples/cognitive-services-speech-sdk
- Host: GitHub
- URL: https://github.com/vectorform/azurewakeword
- Owner: vectorform
- License: mit
- Created: 2020-11-24T19:00:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-24T22:12:36.000Z (over 4 years ago)
- Last Synced: 2025-01-04T01:33:54.369Z (5 months ago)
- Language: Kotlin
- Size: 4.43 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quickstart: Keyword Recognition in Java on Android
This sample demonstrates how to recognize keywords with Java using the Speech SDK for Android.
See the [accompanying article](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstarts/speech-to-text-from-microphone?tabs=dotnet%2Cx-android%2Clinux%2Candroid%2Cwindowsinstall&pivots=programming-language-java) on the SDK documentation page which describes how to build this sample from scratch in Android Studio.> **Note:**
> this sample is *not* for the Speech Devices SDK and the Roobo device.
> If you are looking for further information on these, visit the [Speech Devices SDK](https://docs.microsoft.com/azure/cognitive-services/speech-service/speech-devices-sdk) page.## Prerequisites
* A PC (Windows, Linux, Mac) capable to run Android Studio.
* Version 3.1 of [Android Studio](https://developer.android.com/studio/).
* Android device or emulator (API 23: Android 6.0 Marshmallow or higher) [enabled for development](https://developer.android.com/studio/debug/dev-options) with a working microphone.## Build the sample
> Note: more detailed step-by-step instructions are available [here](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstart-java-android).
* **By building this sample you will download the Microsoft Cognitive Services Speech SDK. By downloading you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license201809).**
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* Open this folder as a project in Android Studio.
* Press Ctrl+F9, or select **Build** \> **Make Project**.## Run the sample
* Connect your Android device to your development PC.
* Press Shift+F10, or select **Run** \> **Run 'app'**.
* In the deployment target windows that comes up, pick your Android device.## Note on Android permission handling
Please note that this Speech SDK sample requires the RECORD_AUDIO permissions. As for Android API levels up to 22, requesting the permissions is handled at installation time but from API level 23 users are able to grant/revoke permissions at any time.
Note that this quickstart targets minSdkVersion 23.
## References
* [Quickstart article on the SDK documentation site](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstart-java-android)
* [Speech SDK API reference for Java](https://aka.ms/csspeech/javaref)