Potential fix for #7

This commit is contained in:
msqr1
2024-06-02 17:16:58 -07:00
parent 410bff9be1
commit 2d40e1ec99
5 changed files with 5 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
<head>
<script src="https://cdn.jsdelivr.net/gh/msqr1/Vosklet@1.0.4/examples/Vosklet.min.js" async defer></script>
<script>
async function start(spkModel = false) {
async function start() {
// Make sure sample rate matches that in the training data
let ctx = new AudioContext({sampleRate : 16000})