TalAter/annyang

โ˜… 6,815โ‘‚ 0

๐Ÿ’ฌ Speech recognition for your site

About TalAter/annyang

TalAter/annyang is an open-source project on GitHub, mainly written in TypeScript. ๐Ÿ’ฌ Speech recognition for your site It currently holds 6,815 stars and 0 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the AI Audio Projects board and on the AI AI Audio Projects list.

GitHub Repository Details

Repository TalAter/annyang ยท default branch - ยท size 0 KB ยท watchers 0 ยท source: GitHub REST API and repository README

README

annyang!

A tiny JavaScript Speech Recognition library that lets your users control your site with voice commands.

annyang has no dependencies, weighs just 2 KB, and is free to use and modify under the MIT license.

Demo and Tutorial

Play with some live speech recognition demos

FAQ, Technical Documentation, and API Reference

Install

npm install annyang

Hello World

It's as easy as installing annyang and defining the commands you want.

ESM (recommended)

import annyang from 'annyang';

if (annyang.isSpeechRecognitionSupported()) { // Let's define a command. const commands = { 'hello': () => { alert('Hello world!'); }, 'search for *term': (term) => { console.log(Searching for ${term}); }, };

// Add our commands to annyang annyang.addCommands(commands);

// Start listening. annyang.start(); }

Named imports

import { addCommands, start, isSpeechRecognitionSupported } from 'annyang';

if (isSpeechRecognitionSupported()) { addCommands({ 'hello': () => { alert('Hello world!'); } }); start(); }

CommonJS

const annyang = require('annyang');

Script tag (IIFE)


`

Check out some live speech recognition demos and advanced samples, then read the full API Docs.

Adding a GUI

You can easily add a GUI for the user to interact with Speech Recognition using Speech KITT.

Speech KITT makes it easy to add a graphical interface for the user to start or stop Speech Recognition and see its current status. KITT also provides clear visual hints to the user on how to interact with your site using their voice, providing instructions and sample commands.

Speech KITT is fully customizable and comes with many different themes, and instructions on how to create your own designs.

Speech Recognition GUI with Speech KITT

For help with setting up a GUI with KITT, check out the Speech KITT page.

Author

Tal Ater: @TalAter

License

Licensed under MIT.

GitHub Stars & Activity

6,815Stars
0Forks
0Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars6,815
Forks0
Open issues0
Primary languageTypeScript
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related AI Projects

1

leon-ai / leon

TypeScriptโ˜… 17,515โ‘‚ 0
โ†’
2

promptslab / Awesome-Prompt-Engineering

TypeScriptโ˜… 6,333โ‘‚ 0
โ†’
3

rsxdalv / TTS-WebUI

TypeScriptโ˜… 3,264โ‘‚ 0
โ†’
4

huggingface / transformers

Pythonโ˜… 166,221โ‘‚ 0
โ†’
5

harry0703 / MoneyPrinterTurbo

Pythonโ˜… 124,071โ‘‚ 0
โ†’
6

unslothai / unsloth

Pythonโ˜… 76,216โ‘‚ 0
โ†’
7

RVC-Boss / GPT-SoVITS

Pythonโ˜… 61,795โ‘‚ 0
โ†’
8

calesthio / OpenMontage

Pythonโ˜… 59,377โ‘‚ 0
โ†’

More AI Rankings