Skip to content

Commit

Permalink
updated apk and .a files with frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
xuchen committed Apr 22, 2017
1 parent 769af79 commit 416e4e9
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Snowboy now brings hands-free experience to the [Alexa AVS sample app](https://g

**Performance**

The performance of hotword detection usually depends on the actually environment, e.g., is it used with a quality microphone, is it used on the street, in a kitchen, or is there any background noise, etc. So we feel it is best for the users to evaluate it in their real environment. For the evaluation purpose, we have prepared an Android app which can be installed and run out of box: [SnowboyAlexaDemo.apk](https://github.com/Kitt-AI/snowboy/raw/master/resources/alexa/SnowboyAlexaDemo.apk)
The performance of hotword detection usually depends on the actually environment, e.g., is it used with a quality microphone, is it used on the street, in a kitchen, or is there any background noise, etc. So we feel it is best for the users to evaluate it in their real environment. For the evaluation purpose, we have prepared an Android app which can be installed and run out of box: [SnowboyAlexaDemo.apk](https://github.com/Kitt-AI/snowboy/raw/master/resources/alexa/SnowboyAlexaDemo.apk) (please uninstall any previous one first if you installed this app before).

**Personal model**
* Create your personal hotword model through our [website](https://snowboy.kitt.ai) or [hotword API](https://snowboy.kitt.ai/api/v1/train/)
Expand Down
6 changes: 5 additions & 1 deletion examples/Android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ Note:

Ths will generate a cross-compiled library for ARM:

jniLibs/armeabi-v7a/libsnowboy-detect-android.so
jniLibs/
├── arm64-v8a
│   └── libsnowboy-detect-android.so
└── armeabi-v7a
└── libsnowboy-detect-android.so

and a few Java wrapper files:

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
public class Constants {
public static final String ASSETS_RES_DIR = "snowboy";
public static final String DEFAULT_WORK_SPACE = Environment.getExternalStorageDirectory().getAbsolutePath() + "/snowboy/";
public static final String ACTIVE_UMDL = "alexa_02092017.umdl";
public static final String ACTIVE_UMDL = "alexa.umdl";
public static final String ACTIVE_RES = "common.res";
public static final String SAVE_AUDIO = Constants.DEFAULT_WORK_SPACE + File.separatorChar + "recording.pcm";
public static final int SAMPLE_RATE = 16000;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ private void record() {

if (result == -2) {
// post a higher CPU usage:
sendMessage(MsgEnum.MSG_VAD_NOSPEECH, null);
// sendMessage(MsgEnum.MSG_VAD_NOSPEECH, null);
} else if (result == -1) {
sendMessage(MsgEnum.MSG_ERROR, "Unknown Detection Error");
} else if (result == 0) {
Expand Down
Binary file modified lib/android/armv7a/libsnowboy-detect.a
Binary file not shown.
Binary file modified lib/android/armv8-aarch64/libsnowboy-detect.a
Binary file not shown.
Binary file modified resources/alexa/SnowboyAlexaDemo.apk
Binary file not shown.

0 comments on commit 416e4e9

Please sign in to comment.