PCM data as non-interleaved IEEE754 32-bit linear PCM with a nominal range between -1 and +1
Opened this issue · 3 comments
ouhouhsami commented
Hi,
Using node-lame, I'd like to be able to get PCM data as non-interleaved IEEE754 32-bit linear PCM with a nominal range between -1 and +1, (in other words 32bits floating point buffer, with each samples between -1.0 and 1.0 - the same used in Web Audio API AudioBuffer).
Is there an easy way to have this representation from the decoder ?
Regards
mdluo commented
I've forked and implemented setting output format on the decoder:
https://github.com/mdluo/node-addon-mpg123
I will soon submit a PR after some real world testing. See: #86
LinusU commented
PR much welcome 👍