Octopus requires a valid Picovoice AccessKey
at initialization. AccessKey
acts as your credentials when using Octopus 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 Octopus CocoaPod:
pod install
- Replace
"YOUR_ACCESS_KEY_HERE"
insideViewModel.swift
with your AccessKey obtained from Picovoice Console.
Open the OctopusDemo Xcode project and build. Launch the demo on a simulator or a physical iOS device.
- Press the record button.
- Start talking. Record some phrases or whatever audio you would like to search.
- Press stop. Wait for the info box to display "Indexing Complete". This may take a few seconds.
- Enter your search phrase into the text input and press search. The results will appear below.
- You can continue to enter in new search phrases without re-recording or re-indexing the audio.