voice speechโฑ5 minutes
Get Started with annyang
Quick Summary
โSpeech recognition for your siteโ
Best for: Developers looking to add voice commands to web apps
Time to first integration: 5 minutes
๐Prerequisites
- โNode.js 18+ installed
- โA annyang account โ sign up here
- โAn existing project (Next.js, React, or Node.js recommended)
Setup Steps
2 steps1
1
Include Annyang in your project
Add the Annyang script to your HTML file.
html
<script src='https://cdnjs.cloudflare.com/ajax/libs/annyang/2.6.1/annyang.min.js'></script>2
2
Initialize Annyang
Set up Annyang with commands and start listening.
javascript
if (annyang) { annyang.start(); }Common Gotchas
Watch out for these issues in your first week.
Annyang not recognizing speech
Fix: Ensure the browser supports the Web Speech API and the microphone is enabled.