-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
50 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ To use the VAD via a script tag in the browser, include the following script tag | |
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ort.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@ricky0123/[email protected].19/dist/bundle.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@ricky0123/[email protected].22/dist/bundle.min.js"></script> | ||
<script> | ||
async function main() { | ||
const myvad = await vad.MicVAD.new({ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ The `@ricky0123/vad-web` package aims to provide an accurate, user-friendly voic | |
The VAD can be used via script tags as follows: | ||
```html linenums="1" | ||
<script src="https://cdn.jsdelivr.net/npm/onnxruntime-web/dist/ort.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@ricky0123/[email protected].7/dist/bundle.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@ricky0123/[email protected].22/dist/bundle.min.js"></script> | ||
<script> | ||
async function main() { | ||
const myvad = await vad.MicVAD.new({ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" | ||
/> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ort.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@ricky0123/[email protected].21/dist/bundle.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@ricky0123/[email protected].22/dist/bundle.min.js"></script> | ||
<script type="module"> | ||
import { interpolateInferno } from "https://cdn.skypack.dev/d3-scale-chromatic@3" | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ Prompt your user for microphone permissions and run callbacks on segments of aud | |
Quick start: | ||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/onnxruntime-web/dist/ort.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@ricky0123/[email protected].7/dist/bundle.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@ricky0123/[email protected].22/dist/bundle.min.js"></script> | ||
<script> | ||
async function main() { | ||
const myvad = await vad.MicVAD.new({ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,7 +112,7 @@ export const getDefaultRealTimeVADOptions: ( | |
log.debug("Detected speech end") | ||
}, | ||
baseAssetPath: | ||
"https://cdn.jsdelivr.net/npm/@ricky0123/[email protected].20/dist/", | ||
"https://cdn.jsdelivr.net/npm/@ricky0123/[email protected].22/dist/", | ||
onnxWASMBasePath: | ||
"https://cdn.jsdelivr.net/npm/[email protected]/dist/", | ||
stream: undefined, | ||
|