Update examples

This commit is contained in:
msqr1
2024-09-11 17:30:05 -07:00
parent bc3ae2e934
commit 75344178dd
3 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
recognizer.addEventListener("partialResult", ev => console.log("Partial result: ", ev.detail))
// Fetch, decode, and recognize the .wav
let wav = await fetch("https://cdn.jsdelivr.net/gh/msqr1/Vosklet/examples/example.wav")
let wav = await fetch("https://cdn.jsdelivr.net/gh/msqr1/Vosklet/examples/1to10-en.wav")
let audioBuf = await ctx.decodeAudioData(await wav.arrayBuffer())
recognizer.acceptWaveform(audioBuf.getChannelData(0))
}

View File

@@ -1,6 +1,6 @@
# Overview
- A lightweight, up to date speech recognizer in the browser with total gzipped size of **under a megabyte** (725 KB)
- Live Demo: https://msqr1-github-io.pages.dev/Vosklet
- Live Demo (ASR in 20 languages): https://msqr1-github-io.pages.dev/Vosklet
- Inspired by [vosk-browser](https://github.com/ccoreilly/vosk-browser)
# Documentation