How to create audio spectrum in c#

前端 未结 2 1771
滥情空心
滥情空心 2020-12-28 11:21

I want to make an audio player in c# with signal spectrum.

I saw some examples in the net about how to make the player but cant find example about the spectrum.

相关标签:
2条回答
  • 2020-12-28 11:41

    You may want to check NAudio out.

    0 讨论(0)
  • 2020-12-28 11:51

    There's a CodeProject article that shows how to create a visualizer. If you want to perform more advanced actions, you can look at libraries such as FMOD and BASS. They can both pretty much display spectrums with a few lines of code. However, if your project is for commercial use, you should read their licenses. Alternatively, you can use the open-source NAudio library which also makes it easier to display the spectrum. There's sample code included, such as this SpectrumAnalyser class.

    0 讨论(0)
提交回复
热议问题