Orca requires a valid Picovoice AccessKey at initialization. AccessKey acts as your credentials when using Orca
SDKs.
You can get your AccessKey for free. Make sure to keep your AccessKey secret.
Signup or Login to Picovoice Console to get your AccessKey.
- Open the project in Android Studio
- Replace
${YOUR_ACCESS_KEY_HERE}in the file MainActivity.java with yourAccessKey. - 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) - Build and run on an installed simulator or a connected Android device
- Choose between Streaming Synthesis and Single Synthesis using the switch at the top.
- Type a phrase that you'd like to synthesize into the textbox.
- Press the
Synthesizebutton to hear the synthesized speech.