Detecting audio playing on host machine


I know nothing about Electron, so bear with me. This question is as much a sanity check anything else, I have an idea I’d like to evaluate and I need a pointer from some who knows the Electron API.

Would it be possible to use electrons API to detect when audio is playing on the host machine, irrespective of source? I’m looking to detect when staff are on a VOIP call and then display it on a live display.