Picovoice class
Properties
contextInfo
→ String ?
Gets the source of the Rhino context in YAML format. Shows the list of intents,
which expressions map to those intents, as well as slots and their possible values.
no setter
frameLength
→ int ?
The required number of audio samples per frame
no setter
hashCode
→ int
The hash code for this object.
no setter inherited
porcupineVersion
→ String ?
Version of Porcupine
no setter
rhinoVersion
→ String ?
Version of Rhino
no setter
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
sampleRate
→ int ?
The required audio sample rate
no setter
version
→ String
Version of Picovoice
no setter
Methods
delete ()
→ void
Release the resources acquired by Picovoice (via Porcupine and Rhino engines).
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process (List <int > frame )
→ void
Processes a frame of the incoming audio stream. Upon detection of wake word and completion of follow-on command
inference invokes user-defined callbacks.
toString ()
→ String
A string representation of this object.
inherited
Static Methods
create (String accessKey , String keywordPath , WakeWordCallback wakeWordCallback , String contextPath , InferenceCallback inferenceCallback , {double porcupineSensitivity = 0.5 , double rhinoSensitivity = 0.5 , String ? porcupineModelPath , String ? rhinoModelPath , double endpointDurationSec = 1.0 , bool requireEndpoint = true })
→ dynamic
Static creator for initializing Picovoice