使用C#在Windows Media Player activex控件上启用交叉淡化 [英] Enable crossfading on Windows Media Player activex control with C#
本文介绍了使用C#在Windows Media Player activex控件上启用交叉淡化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我在我的Windows桌面应用程序上使用Windows Media Player控件v.12.0.9600.16384,它实际上是一个自定义mp3播放器。如何在C#的Windows媒体播放器控件上启用交叉淡化功能?此外,我想启用自动声音调平,我认为它应该是交叉渐变的相对过程。我搜索了很多文章和论坛,但我找不到任何关于使用这两个功能的C#代码。
非常感谢,
Peter
解决方案
我找到了解决方案,如果其他人有同样的问题,我正在使用NAudio库,这是最先进和易于使用的音频库C#。
http://naudio.codeplex.com/享受它......
Hi petermanesis
可能您会通过以下链接获得帮助:
媒体播放器班级 [ ^ ]
这是WindowsMediaPlayerClass(来自COM库WMP.dll)的高级包装类,它使用WindowsMediaPlayerClass对象来淡化和交叉淡化歌曲。
Reagards,
Alex。
Hi all,
I am using Windows Media Player control v.12.0.9600.16384 on my Windows Desktop application which is actually a custom mp3 player. How can I enable Crossfading feature on windows media player control with C#? Also, I want to enable Auto Sound Leveling which I think it should be a relative process to Crossfading. I searched a lot of articles and forums but I couldn't find any C# code about using these two features.
Thanks a lot,
Peter解决方案I found the solution and in case somebody else has the same problem I am using NAudio library which is the most advanced and easy to use audio library written in C#.
http://naudio.codeplex.com/ enjoy it...
Hi petermanesis
Probably you will be helped by the following link:
Media Player Class[^]
It's an advanced wrapper class for WindowsMediaPlayerClass (from the COM library WMP.dll) that uses WindowsMediaPlayerClass objects to fade and cross-fade songs.
Reagards,
Alex.
这篇关于使用C#在Windows Media Player activex控件上启用交叉淡化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文