R
R
Roman Rozum2019-06-30 16:12:32
Audio
Roman Rozum, 2019-06-30 16:12:32

How to stream audio with nodejs?

Good afternoon.
I had to write some project. I decided to take nodejs, as it was interesting for a long time what it is, and then this opportunity appeared. That is, I know nodejs very poorly and have been doing it for literally the second week. I will not describe the entire project, but most of it has already been written and writing on another technology is not the best option (although I would probably agree if I knew what problems might arise). Stuck on audio streaming.
I need to capture an audio stream from a sound card and stream it to a browser or write it to a file (or both). I just figured out how to stream some audio files. But I just can not figure it out with the capture of audio from the sound card. Is this even possible on nodejs? What are the solutions? And in which direction to look to solve the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey P, 2019-07-01
@ruddy22

Try this package https://www.npmjs.com/package/node-core-audio

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question