开发者

How to create audio spectrum in c#

开发者 https://www.devze.com 2023-03-11 16:56 出处:网络
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.

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.

Anyone can give me a direction please?

http://www.codeproject.com/KB/directx/directshowmediaplayer.aspx http://www.codeproject.com/KB/directx/directshownet.aspx?fid=4377&selec开发者_如何转开发t=2579548&fr=1#xx0xx


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.


You may want to check NAudio out.

0

精彩评论

暂无评论...
验证码 换一张
取 消