csukuangfj commited on
Commit
be412f7
·
verified ·
1 Parent(s): 2c4c2a6

Update app-speech-enhancement.js

Browse files
Files changed (1) hide show
  1. app-speech-enhancement.js +1 -1
app-speech-enhancement.js CHANGED
@@ -77,7 +77,7 @@ fileInput.addEventListener('change', function(event) {
77
  console.log('ArrayBuffer length:', arrayBuffer.byteLength);
78
 
79
  const uint8Array = new Uint8Array(arrayBuffer);
80
- const wave = readWaveFromBinaryData(uint8Array);
81
  if (wave == null) {
82
  alert(
83
  `${file.name} is not a valid .wav file. Please select a *.wav file`);
 
77
  console.log('ArrayBuffer length:', arrayBuffer.byteLength);
78
 
79
  const uint8Array = new Uint8Array(arrayBuffer);
80
+ const wave = readWaveFromBinaryData(uint8Array, Module);
81
  if (wave == null) {
82
  alert(
83
  `${file.name} is not a valid .wav file. Please select a *.wav file`);