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
.
- Before building the demo app, run the following from this directory to install the Orca Cocoapod:
pod install
- Replace
let ACCESS_KEY = "..."
insideViewModel.swift
with your AccessKey.
private let ACCESS_KEY = "YOUR_ACCESS_KEY_HERE"
Open the OrcaDemo XCode project and build. Launch the demo on a simulator or an physical iOS device.
- Enter the text you wish to synthesize in the text box area.
- Press
Synthesize
button to synthesize the text and play audio.