I was looking for the same thing. Have you found anything?
If not, you can check this link
Windows Kernel IoT: Audio Levels https://blog.falafel.com/windows-iot-core-sensing-sound/
It uses the following components 1) Electret microphone amplifier - MAX9814 with automatic gain control 2) MCP3008 - 8-channel 10-bit ADC with SPI interface 3) Unknown artist-Plus 4) Your existing installation of Raspberry Pi core - Windows IoT Core
If the above does not work, try this Youtube URL and it may give you some hint to find the actual code: https://www.youtube.com/watch?v=f3Wt4xpkBYk
I tried and tested the code as it is in my project, and it worked. Although there is a hardware dependency, for example, you may need amplifiers to make it accurate, otherwise small sounds do not work. But then the amplifiers should be handled well, otherwise the smallest sounds can greatly affect the bar. I am trying to change this to work with any USB microphone or computer, so I do not need to rely on the equipment mentioned.
Rahul source share