Picovoice WordmarkPicovoice Console
Introduction
Introduction
AndroidC.NETFlutterlink to GoiOSJavaNvidia JetsonLinuxmacOSNodejsPythonRaspberry PiReact NativeRustWebWindows
AndroidC.NETFlutterlink to GoiOSJavaNodejsPythonReact NativeRustWeb
SummaryPicovoice LeopardAmazon TranscribeAzure Speech-to-TextGoogle ASRGoogle ASR (Enhanced)IBM Watson Speech-to-Text
FAQ
Introduction
AndroidC.NETFlutterlink to GoiOSJavaNodejsPythonReact NativeRustWeb
AndroidC.NETFlutterlink to GoiOSJavaNodejsPythonReact NativeRustWeb
FAQ
Introduction
AndroidCiOSLinuxmacOSPythonWebWindows
AndroidCiOSPythonWeb
SummaryOctopus Speech-to-IndexGoogle Speech-to-TextMozilla DeepSpeech
FAQ
Introduction
AndroidAngularArduinoBeagleBoneCChrome.NETEdgeFirefoxFlutterlink to GoiOSJavaNvidia JetsonLinuxmacOSMicrocontrollerNodejsPythonRaspberry PiReactReact NativeRustSafariUnityVueWebWindows
AndroidAngularC.NETFlutterlink to GoiOSJavaMicrocontrollerNodejsPythonReactReact NativeRustUnityVueWeb
SummaryPorcupineSnowboyPocketSphinx
Wake Word TipsFAQ
Introduction
AndroidAngularBeagleBoneCChrome.NETEdgeFirefoxFlutterlink to GoiOSJavaNvidia JetsonlinuxmacOSNodejsPythonRaspberry PiReactReact NativeRustSafariUnityVueWebWindows
AndroidAngularC.NETFlutterlink to GoiOSJavaNodejsPythonReactReact NativeRustUnityVueWeb
SummaryPicovoice RhinoGoogle DialogflowAmazon LexIBM WatsonMicrosoft LUIS
Expression SyntaxFAQ
Introduction
AndroidBeagleboneCiOSNvidia JetsonLinuxmacOSPythonRaspberry PiRustWebWindows
AndroidCiOSPythonRustWeb
SummaryPicovoice CobraWebRTC VAD
FAQ
Introduction
AndroidAngularArduinoBeagleBoneC.NETFlutterlink to GoiOSJavaNvidia JetsonMicrocontrollerNodejsPythonRaspberry PiReactReact NativeRustUnityVueWeb
AndroidAngularCMicrocontroller.NETFlutterlink to GoiOSJavaNodejsPythonReactReact NativeRustUnityVueWeb
Picovoice SDK - FAQ
IntroductionSTM32F407G-DISC1 (Arm Cortex-M4)STM32F411E-DISCO (Arm Cortex-M4)STM32F769I-DISCO (Arm Cortex-M7)IMXRT1050-EVKB (Arm Cortex-M7)
FAQGlossary

Rhino Speech-to-Intent
Angular API


API Reference for the Rhino Angular SDK (npmjs).


RhinoService

class RhinoService implements OnDestroy { }

Angular service for Rhino Speech-to-Intent engine.


RhinoService.init()

async function init(
accessKey: string,
context: RhinoContext,
model: RhinoModel,
options: RhinoOptions = {}
): Promise<void>

Initializes the RhinoService. Subscribe to the inference$ subject to receive inference events. Sets isLoaded$ to true on success.

Parameters

  • accessKey string : AccessKey obtained from Picovoice Console.
  • context RhinoContext : Object containing Rhino context data.
  • model RhinoModel : Object containing Rhino model data.
  • options RhinoOptions : Optional configuration arguments.

RhinoService.inference$

inference$: Subject<RhinoInference>

Subject which is updated when an inference is finalized. The object is of type RhinoInference.


RhinoService.contextInfo$

contextInfo$: Subject<string | null>

Subject which contains the YAML context information once Rhino has loaded.


RhinoService.isLoaded$

isLoaded$: Subject<boolean>

Subject indicating whether the Rhino engine is currently loaded and ready for use.


RhinoService.isListening$

isListening$: Subject<boolean>

Subject indicating whether the WebVoiceProcessor is passing audio to the engine and Rhino is listening for an utterance.


RhinoService.error$

error$: Subject<string | null>

Subject which contains an error string when an error has occurred.


RhinoService.process()

async function process(): Promise<void>

Puts the RhinoService in an active isListening$ state. The process function initializes WebVoiceProcessor. Rhino will then listen and process frames of microphone audio until it reaches a conclusion, then return the result via the inference$ event. Once a conclusion is reached Rhino will enter a paused state. From the paused state call process again to detect another inference.


RhinoService.release()

async function release(): Promise<void>

Releases resources acquired by the RhinoService.

Was this doc helpful?

Issue with this doc?

Report a GitHub Issue
Rhino Speech-to-Intent Angular API
  • RhinoService
  • init()
  • inference$
  • contextInfo$
  • isLoaded$
  • isListening$
  • error$
  • process()
  • release()
Platform
  • Leopard Speech-to-Text
  • Cheetah Streaming Speech-to-Text
  • Octopus Speech-to-Index
  • Porcupine Wake Word
  • Rhino Speech-to-Intent
  • Cobra Voice Activity Detection
Resources
  • Docs
  • Console
  • Blog
  • Demos
Sales
  • Pricing
  • Starter Tier
  • Enterprise
Company
  • Careers
Follow Picovoice
  • LinkedIn
  • GitHub
  • Twitter
  • Medium
  • YouTube
  • AngelList
Subscribe to our newsletter
Terms of Use
Privacy Policy
© 2019-2022 Picovoice Inc.