本文介绍了如何在C#音频频谱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在C#中的音频播放器,信号频谱。

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.$c$cproject.com/KB/directx/directshownet.aspx?fid=4377&select=2579548&fr=1#xx0xx

http://www.codeproject.com/KB/directx/directshowmediaplayer.aspxhttp://www.codeproject.com/KB/directx/directshownet.aspx?fid=4377&select=2579548&fr=1#xx0xx

推荐答案

有一个<一个href=\"http://www.$c$cproject.com/KB/audio-video/SoundViewer.aspx?fid=448560&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=2202971\">$c$cProject本文展示了如何创建一个可视化工具。如果要执行更高级的操作,你可以看看库如并的的。它们可以同时pretty多显示频谱与code几行。但是,如果你的项目是用于商业用途,请阅读执照。
另外,您也可以使用开放源代码库这也使得它更容易显示频谱。有包含的样本code,像这样的类。

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.

这篇关于如何在C#音频频谱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 02:15