node-lame icon indicating copy to clipboard operation
node-lame copied to clipboard

Use a float array for PCM input

Open patrykk21 opened this issue 11 months ago • 1 comments

Hey, the project works great. Thank you!

I have a question, in my use case I have a raw PCM input that's streaming from a service in float array format.

To make node-lame work I had to convert such array to integers.

Is there a way to avoid such conversion?

Thank you. :)

patrykk21 avatar Mar 05 '24 11:03 patrykk21

Unfortunately I am not familiar with PCM inputs. Do you have a code example of how you have implemented the conversion so far? Then we can check if this feature can be included in node-lame?

jankarres avatar Mar 05 '24 12:03 jankarres