I'd like to create a node app that records and parses audio from the system output device in my Windows 10. It looks like it's a real challenge because I've checked many npm packages but didn't find anything that allows audio recording from the output device. So I found a third-party CLI utility that works for Windows 10 I'm not sure that I should give its name because it could be threatened like marketing etc.
so this CLI utility allows to record a loopback audion for the output device and save it to the WAV file.
I'm wondering if there exists some way to intercept the data stream that comes from this utility to the WAV file from my NODE.js app to handle it? or if the CLI utility doesn't provide some API to get this data it isn't possible?
I also was thinking about the immediate opening of the WAV file and reading this file during the recording to get the recent data in the node.js app and handle it but I'm not sure that it's possible due to the write/read stream for the same file (from CLI - write, and from NODE - read)
Thanks for any help or info!
P.S. Sorry if my question is stupid. I'm not familiar with such low-level things