useEar

Wake word detection with Web Speech API

Wake Words
ヘイjaオーケーjahelloenheyen
Stop Words
ストップjastopen
Transcript
Waiting for speech...
Detection Log
No detections yet
INSTALL
npm i use-ear
USAGE
const { isListening, start, stop, transcript } = useEar({
  wakeWords: ["hey", { word: "ヘイ", language: "ja-JP" }],
  onWakeWord: (word, transcript) => console.log(word, transcript),
  stopWords: ["stop"],
});
Built with Web Speech API