© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
7 replies
PowerZox

Easy to use C# audio library for spectrum analyzer?

Hi,

I'm making a spectrum analyzer and wanted to know what's an appropriate audio library.

My goal is to get the audio level of the desktop at a specific frequency at a decent rate (5-40ms). I specifically want the real-time desktop audio, not reading a file.

So far I've made a VU meter with the NAudio library and the following

MMDevice defaultDevice = enumerator.GetDefaultAudioEndpoint(DataFlow.Render, Role.Multimedia);

defaultDevice.AudioMeterInformation.MasterPeakValue
MMDevice defaultDevice = enumerator.GetDefaultAudioEndpoint(DataFlow.Render, Role.Multimedia);

defaultDevice.AudioMeterInformation.MasterPeakValue


but making a spectrum analyzer with this library without reading a file seems much much more complicated and I wouldn't know where to start. Does anyone have any suggestion of how to go about doing this (with any library not necessarily NAudio).
20240828_0006542.gif
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ C# Analyzer with nuget dependency
C#CC# / help
3y ago
❔ searching for a database easy to use
C#CC# / help
3y ago
❔ Easy problem C# Unity
C#CC# / help
3y ago
How to link C++ library to C#, and make C++ library cannot to decompile?
C#CC# / help
2y ago