diff --git a/src/App.tsx b/src/App.tsx index eb0ae67..c0d7106 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -31,11 +31,11 @@ const onDownload = () => { } const data = getMergedPCMData(buffers); - const blob = new Blob([data.buffer], { type: 'audio/wave' }); + const blob = new Blob([floatTo16BitPCM(data)], { type: 'audio/wave' }); const a = document.createElement('a'); a.href = URL.createObjectURL(blob); - a.download = 'merged_audio.wav'; + a.download = 'merged_audio.pcm'; a.click(); };