node-pcm
node-pcm copied to clipboard
Extract PCM data out of media files and into node.js
## Add Typescript support Changing pcm.js to pcm.ts, moving it to src and add tsconfig.json. To create the corresponding pcm.js file in lib, run ```bash npm run compile ```
I have been using node-pcm to create waveform data in JSON format. [wavesurfer.js reference] But, going in infinite loop. Not getting accurate JSON array.
Does this actually handle mono vs. stereo? Even though it accepts the option and passes it to the initial FFmpeg command, the code suggests that it always processes the data...