Octopus Speech-to-Index
C Quick Start
Platforms
- Linux (x86_64)
- macOS (x86_64, arm64)
- Windows (x86_64)
Requirements
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your AccessKey
.
Make sure to keep your AccessKey
secret.
Quick Start
Setup
- Clone the repository:
Usage
- Include the public header files (
picovoice.h
andpv_octopus.h
). - Link the project to an appropriate precompiled library for the target platform and load it.
- Construct the Octopus Speech-to-Index object:
- Pass in an audio path to the
pv_octopus_index_file
function:
- Search for a phrase using
pv_octopus_search
function:
- Release resources explicitly when done with Octopus Speech-to-Index:
Demo
For the Octopus Speech-to-Index SDK, we offer demo applications that demonstrate how to use the Speech-to-Index engine on audio recordings.
Setup
- Clone the Octopus Speech-to-Index repository from GitHub using HTTPS:
- Build the demo:
Usage
Index a given audio file and save the metadata:
Run the search demo with the index metadata saved from above:
For more information on our Octopus Speech-to-Index demos for C, head over to our GitHub repository.