You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: demo/android/Activity/picovoice-activity-demo-app/src/main/java/ai/picovoice/picovoicedemo/MainActivity.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@
38
38
importai.picovoice.rhino.RhinoInference;
39
39
40
40
publicclassMainActivityextendsAppCompatActivity {
41
-
privatefinalStringACCESS_KEY = "${YOUR_ACCESS_KEY_HERE}"; // AccessKey obtained from Picovoice Console (https://picovoice.ai/console/)
41
+
privatefinalStringACCESS_KEY = "${YOUR_ACCESS_KEY_HERE}"; // AccessKey obtained from Picovoice Console (https://console.picovoice.ai/)
Copy file name to clipboardexpand all lines: demo/android/Service/picovoice-service-demo-app/src/main/java/ai/picovoice/picovoicedemoservice/PicovoiceService.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@
31
31
importai.picovoice.picovoice.*;
32
32
33
33
publicclassPicovoiceServiceextendsService {
34
-
privatefinalStringACCESS_KEY = "${YOUR_ACCESS_KEY_HERE}"; // AccessKey obtained from Picovoice Console (https://picovoice.ai/console/)
34
+
privatefinalStringACCESS_KEY = "${YOUR_ACCESS_KEY_HERE}"; // AccessKey obtained from Picovoice Console (https://console.picovoice.ai/)
Copy file name to clipboardexpand all lines: demo/angular/README.md
+4-7
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,9 @@ This project was generated with [Angular CLI](https://github.com/angular/angular
12
12
13
13
## AccessKey
14
14
15
-
The Picovoice SDK requires a valid `AccessKey` at initialization. `AccessKey`s act as your credentials when using Picovoice SDKs.
16
-
You can create your `AccessKey` for free. Make sure to keep your `AccessKey` secret.
17
-
18
-
To obtain your `AccessKey`:
19
-
1. Login or Signup for a free account on the [Picovoice Console](https://picovoice.ai/console/).
20
-
2. Once logged in, go to the [`AccessKey` tab](https://console.picovoice.ai/access_key) to create one or use an existing `AccessKey`.
15
+
Picovoice requires a valid Picovoice `AccessKey` at initialization. `AccessKey` acts as your credentials when using Picovoice SDKs.
16
+
You can get your `AccessKey` for free. Make sure to keep your `AccessKey` secret.
17
+
Signup or Login to [Picovoice Console](https://console.picovoice.ai/) to get your `AccessKey`.
21
18
22
19
## Install and run
23
20
@@ -71,7 +68,7 @@ Try a phrase that is out-of-context:
71
68
72
69
This command falls outside the domain of "Alarm Clock" and is therefore not understood.
73
70
74
-
The Alarm Clock was trained to understand a particular set of expressions. These are built using a simple grammar and grouped together into a YAML file. This file is trained by [Picovoice Console](https://picovoice.ai/console/) to create a `.rhn` file for the WebAssembly (WASM) platform.
71
+
The Alarm Clock was trained to understand a particular set of expressions. These are built using a simple grammar and grouped together into a YAML file. This file is trained by [Picovoice Console](https://console.picovoice.ai/) to create a `.rhn` file for the WebAssembly (WASM) platform.
Copy file name to clipboardexpand all lines: demo/flutter/README.md
+6-9
Original file line number
Diff line number
Diff line change
@@ -4,21 +4,18 @@ To run the Picovoice demo on Android or iOS with Flutter, you must have the [Flu
4
4
5
5
## AccessKey
6
6
7
-
All demos require a valid Picovoice `AccessKey` at initialization. `AccessKey`s act as your credentials when using Picovoice SDKs.
8
-
You can create your `AccessKey` for free. Make sure to keep your `AccessKey` secret.
7
+
Picovoice requires a valid Picovoice `AccessKey` at initialization. `AccessKey` acts as your credentials when using Picovoice SDKs.
8
+
You can get your `AccessKey` for free. Make sure to keep your `AccessKey` secret.
9
+
Signup or Login to [Picovoice Console](https://console.picovoice.ai/) to get your `AccessKey`.
9
10
10
-
To obtain your `AccessKey`:
11
-
1. Login or Signup for a free account on the [Picovoice Console](https://picovoice.ai/console/).
12
-
2. Once logged in, go to the [`AccessKey` tab](https://console.picovoice.ai/access_key) to create one or use an existing `AccessKey`.
11
+
## Usage
13
12
14
-
Once you obtain your `AccessKey`, replace it in [lib/main.dart](lib/main.dart) file:
13
+
Replace your `AccessKey` in [lib/main.dart](lib/main.dart) file:
15
14
16
15
```dart
17
-
final String accessKey = "{YOUR_ACCESS_KEY_HERE}"; // AccessKey obtained from Picovoice Console (https://picovoice.ai/console/)
16
+
final String accessKey = "{YOUR_ACCESS_KEY_HERE}"; // AccessKey obtained from Picovoice Console (https://console.picovoice.ai/)
18
17
```
19
18
20
-
## Usage
21
-
22
19
Before launching the app, use the copy_assets.sh script to copy the Picovoice demo assets into the demo project. (**NOTE**: on Windows, Git Bash or another bash shell is required, or you will have to manually copy the context into the project.).
23
20
24
21
Run the following command from [demo/flutter](/demo/flutter) to build and deploy the demo to your device:
0 commit comments