WinXP上的峰值,VU表 [英] Peak, VU meter on WinXP
本文介绍了WinXP上的峰值,VU表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好!
我需要您的帮助!
我需要在Windows XP上创建峰值表(vu meter)。
我试过制作它与WASAPI,EndPointVolume等,但这些技术不支持WinXP
我试过学习DirectSound,MCI并以失败告终。
我需要用什么?我需要如何使用它?
我使用VS和C ++。
提前感谢!
Hello!
I need your help!
I need create peak meter (vu meter) on windows XP.
I tried make it with WASAPI, EndPointVolume and other, but these techonogies doesn't support WinXP
I tried learn DirectSound, MCI and it ended in failure.
What i need use? And how i need use it?
I use VS and C++.
Thank in advance!
推荐答案
DirectX(DirectSound)应该是WindowXP的一个很好的解决方案。您需要创建一个过滤器(请参阅DirectX的示例,有几个过滤器示例),然后确保使用包含过滤器的图表播放声音。
您的过滤器必须提供有关频率和强度的信息。
一些过滤器示例:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd375468 (v = vs.85).aspx [ ^ ]
请参阅范围过滤器示例,它是声音的WaveForm表示,接近你想要的。
DirectX (DirectSound) should be a good solution for WindowXP. You need to create a Filter (see the examples of DirectX, there are a couple of filter examples) and then make sure sounds are being played using a graph that includes your filter.
Your filter must then provide information about fequencies and strength.
Some filter examples :
http://msdn.microsoft.com/en-us/library/windows/desktop/dd375468(v=vs.85).aspx[^]
See the 'Scope Filter Example' which is a WaveForm representation of your sound, which comes close to what you want.
这篇关于WinXP上的峰值,VU表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文