We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v10.6.4
const metadata = require("music-metadata"); const audioStream = await client.generate({ ... }); let chunks = []; for await (const chunk of audioStream) { chunks.push(chunk); } // Concatenate all chunks into a single Uint8Array const audioBuffer = Buffer.concat(chunks); metadata.parseBuffer(audioBuffer, { mimeType: "audio/mpeg" }) .then((metadata) => { console.log({ metadata }); }) .catch((err) => { console.error(err); });
This is the current code in Node.js Now I have error like: metadata.parseBuffer is not a function
metadata.parseBuffer is not a function
I want to get some metadata like sampleRate, bitDepth, channels from audio stream data in Node.js
The text was updated successfully, but these errors were encountered:
Please check the CommonJS backward compatibility guidance.
Sorry, something went wrong.
No branches or pull requests
Is there an existing issue for this?
music-metadata version
v10.6.4
Current Behavior
This is the current code in Node.js
Now I have error like:
metadata.parseBuffer is not a function
Expected Behavior
I want to get some metadata like sampleRate, bitDepth, channels from audio stream data in Node.js
Attached audio sample?
The text was updated successfully, but these errors were encountered: