使用DitectX进行音频图形可视化 [英] Audio Graphical visualization using DitectX
本文介绍了使用DitectX进行音频图形可视化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我做了一个媒体播放器.
现在,我需要一个10频段均衡器和图形化可视化来播放音频文件,这将使我的播放器更具吸引力.
希望我能帮助您:)
I have made a mediaplayer.
Now, I needed a 10 band equilizer and graphical visualization for playing Audio files which will make my player attractive.
I hope that, i will get a help :)
推荐答案
您的媒体播放器如何工作?您是否编写了它,还是只使用Windows Media Player组件来播放文件?答案将改变您访问音频数据的方式,并改变您修改和显示音频数据的方式.
How does your media player work ? Did you write it, or does it just use the windows media player component to play files ? The answer to this will change how you get access to the audio data, and that changes how you modify it and display it.
i使用directX.audioVideoplayback命名空间.i使用其Audio和Video类,分别读取音频和视频文件.
例如:
音频音频;
音频=新音频(#文件路径#);
audio.Play();
它支持.mp3和.mpg文件
i have used directX.audioVideoplayback namespace.i have used its Audio and Video class for reading the audio and video files respectively.
ex:
Audio audio;
audio=new Audio(#path of file#);
audio.Play();
it supports .mp3 and .mpg files
这篇关于使用DitectX进行音频图形可视化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文