Bug description
mm.parseBuffer throws error this.buf.copy is not a function
Expected behavior
correct execution
Any insight would be greatly appreciated.
The files underlying format, encoding, etc has been confirmed to be mp3.
console.log('file :>> ', file);
(async () => {
try {
const buffer = await file.arrayBuffer()
console.log(buffer)
const metadata = await mm.parseBuffer(file, 'audio/mpeg');
console.log(metadata);
} catch (error) {
console.error(error.message);
}
})();

Bug description
mm.parseBuffer throws error this.buf.copy is not a function
Expected behavior
correct execution
Any insight would be greatly appreciated.
The files underlying format, encoding, etc has been confirmed to be mp3.