Node Overview

Spokestack can be integrated in Node (and the browser).

Integrations by Feature

Add speech recognition, language understanding, and text-to-speech to your app with one simple API.

Select a specific feature you’d like to integrate with for more details:

Wake WordKeywordASRNLUTTS
try {
  await startPipeline({
    profile: PipelineProfile.Wakeword,
    baseUrls: {
      wakeword: 'https://s.spokestack.io/u/hgmYb/js'
    },
    onEvent: (event) => {
      switch (event.type) {
        case SpeechEventType.Activate:
          console.log('Wake word activated!')
          break
        // ..
      }
    }
  })
} catch (e) {
  console.error(e)
}
TypeScript

Try a Wake Word in Your Browser

Test a wake word model by pressing “Start test,” then saying “Spokestack”. Wait a few seconds for results. This browser tester is experimental.

Say Spokestack when testing

Instructions
  1. Test a model by pressing "start test" above
  2. Then, try saying any of the utterances listed above. Wait a few seconds after saying an utterance for a confirmation to appear.
Create Wake Word

Spokestack Node SDK

Spokestack manages voice interactions and delivers actionable user commands with just a few lines of code.

node-spokestack

A set of tools for integration with the Spokestack API in Node.js

90
For step-by-step instructions on how to use node-spokestack check out our Getting Started Guide.