Add C++ runtime for spleeter about source separation (#2242)

This commit is contained in:
Fangjun Kuang
2025-05-23 22:30:57 +08:00
committed by GitHub
parent 55a44793e6
commit 716ba8317b
28 changed files with 1267 additions and 72 deletions

View File

@@ -77,7 +77,7 @@ fileInput.addEventListener('change', function(event) {
console.log('ArrayBuffer length:', arrayBuffer.byteLength);
const uint8Array = new Uint8Array(arrayBuffer);
const wave = readWaveFromBinaryData(uint8Array);
const wave = readWaveFromBinaryData(uint8Array, Module);
if (wave == null) {
alert(
`${file.name} is not a valid .wav file. Please select a *.wav file`);