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
.
Replace "${YOUR_ACCESS_KEY_HERE}"
inside MainActivity.java
with your AccessKey obtained from Picovoice Console.
- Open the project in Android Studio
- 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
Synthesize
button to hear the synthesized speech.