-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I need get frequencies of .wav file.
I can read file via fs
fs.readFile('output.wav', (err, buffer) => {
var phasors= fft(buffer); // exception here
})
Exception
/node_modules/fft-js/src/complex.js:24
return [(a[0] * b[0] - a[1] * b[1]),
TypeError: Cannot read property '0' of undefined
Is this possible to get phasors from Buffer? Or exist another way to get phasors from .wav file?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels