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
Replace `${ACCESS_KEY}` with yours obtained from Picovoice Console, `${TEXT}` with the text to be synthesized, and
157
+
Replace `${ACCESS_KEY}` with yours obtained from Picovoice Console, `${MODEL_PATH}` with a path to any of the model files available under [lib/common](lib/common), `${TEXT}` with the text to be synthesized, and
158
158
`${WAV_OUTPUT_PATH}` with a path to an output WAV file.
159
159
160
160
For more information about Python demos go to [demo/python](demo/python).
Replace `${ACCESS_KEY}` with yours obtained from Picovoice Console, `${TEXT}` with the text to be synthesized, and
@@ -186,16 +186,11 @@ For more information about .NET demos go to [demo/dotnet](demo/dotnet).
186
186
187
187
### iOS Demo
188
188
189
-
Run the following from [demo/ios](demo/ios) to install the Orca-iOS CocoaPod:
190
-
191
-
```console
192
-
pod install
193
-
```
194
-
195
-
Replace `let ACCESS_KEY = "..."` inside [ViewModel.swift](demo/ios/OrcaDemo/OrcaDemo/ViewModel.swift) with yours
196
-
obtained from [Picovoice Console](https://console.picovoice.ai/).
197
-
198
-
Then, using Xcode, open the generated OrcaDemo.xcworkspace and run the application.
189
+
1. Open [OrcaDemo.xcodeproj](demo/ios/OrcaDemo/OrcaDemo.xcodeproj) in XCode.
190
+
2. Replace `${YOUR_ACCESS_KEY_HERE}` in the file [`ViewModel.swift`](demo/ios/OrcaDemo/OrcaDemo/ViewModel.swift) with your `AccessKey`.
191
+
3. Go to `Product > Scheme` and select the scheme for the language and gender you would like to run the demo in (e.g. `enFemaleDemo` -> English Demo with a female voice, `deMaleDemo` -> German demo with a male voice).
192
+
4. Run the demo with a simulator or connected iOS device.
193
+
5. Once the demo app has started, enter the text you wish to synthesize in the text box area, and press the `Synthesize` button to synthesize the text and play audio.
199
194
200
195
For more information about iOS demos go to [demo/ios](demo/ios).
Go to `Build > Select Build Variant...` and select the language and gender you would like to run the demo in (e.g. `enFemaleDebug` -> English Demo with a female voice, `deMaleRelease` -> German Demo with a male voice).
245
+
246
+
Build and run on an installed simulator or a connected Android device.
247
+
248
+
For more information about Android demos go to [demo/android](demo/android).
249
+
243
250
### Node.js Demos
244
251
245
252
Install the demo package:
@@ -251,19 +258,18 @@ yarn global add @picovoice/orca-node-demo
Replace `${ACCESS_KEY}` with yours obtained from Picovoice Console, `${TEXT}` with the text to be synthesized, and
264
-
`${AUDIO_PATH}` with a path to an output WAV file.
270
+
Replace `${ACCESS_KEY}` with yours obtained from Picovoice Console, `${MODEL_FILE_PATH}` with a path to any of the model files available under [lib/common](lib/common), `${TEXT}` with your text to be synthesized, and `${WAV_OUTPUT_PATH}` with a path to a `.wav` file where the generated audio will be stored as a single-channel, 16-bit PCM `.wav` file.
265
271
266
-
For more information about Node.js demos go to [demo/nodejs](./demo/nodejs).
272
+
For more information about Node.js demos go to [demo/nodejs](demo/nodejs).
with your AccessKey obtained from [Picovoice Console](https://console.picovoice.ai/).
15
-
16
12
1. Open the project in Android Studio
17
-
2. Build and run on an installed simulator or a connected Android device
13
+
2. Replace `${YOUR_ACCESS_KEY_HERE}` in the file [MainActivity.java](./orca-demo-app/src/main/java/ai/picovoice/orcademo/MainActivity.java) with your `AccessKey`.
14
+
3. Go to `Build > Select Build Variant...` and select the language and gender you would like to run the demo in (e.g. `enFemaleDebug` -> English Demo with a female voice, `deMaleRelease` -> German Demo with a male voice)
15
+
4. Build and run on an installed simulator or a connected Android device
18
16
19
17
## Usage
20
18
21
19
1. Choose between Streaming Synthesis and Single Synthesis using the switch at the top.
22
20
2. Type a phrase that you'd like to synthesize into the textbox.
23
-
3. Press the `Synthesize` button to hear the synthesized speech.
24
-
21
+
3. Press the `Synthesize` button to hear the synthesized speech.
0 commit comments