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 OrcaDemo.xcodeproj in XCode.
- Replace
${YOUR_ACCESS_KEY_HERE}in the fileViewModel.swiftwith yourAccessKey. - Go to
Product > Schemeand 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). - Run the demo with a simulator or connected iOS device.
- Once the demo app has started, enter the text you wish to synthesize in the text box area, and press the
Synthesizebutton to synthesize the text and play audio.