windows-interact icon indicating copy to clipboard operation
windows-interact copied to clipboard

Loopback recording

Open icyJoseph opened this issue 7 years ago • 1 comments

HI,

Do you think it would be possible to implement this API for sound?

https://docs.microsoft.com/en-us/windows/desktop/coreaudio/loopback-recording

This would be useful when trying to analyze spectrum on the sound being played by the speakers. Personally I am hacking a project where I control LED's based on bass, low, etc.

I've looked around the web and it seems that such capability is currently impossible with nodejs.

BR,

J

icyJoseph avatar Oct 15 '18 08:10 icyJoseph

Hi Joseph,

I can certainly look into this. It seems a lot of the code that is needed may already be present in PowerShell script I wrote for audio input/output detection. It will neither be simple nor elegant to implement such functionality, however, since the current implementation is designed to return just a Boolean.

I'll update this thread as I learn more

Arlodotexe avatar Oct 16 '18 03:10 Arlodotexe