我该如何创建mp3播放器,建议使用它的代码. [英] How do i create mp3 player,suggest code for it..

查看:69
本文介绍了我该如何创建mp3播放器,建议使用它的代码.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将在VB.NET上开发简单的mp3播放器,建议我需要哪些控件以及如何播放mp3文件.

I am going to develop simple mp3 player on VB.NET, suggest me which controls are needed and how to play mp3 file.

推荐答案

我的意思是没有冒犯之处在这里,但是您说要创建一个mp3播放器,然后其余的问题表明您不知道该怎么做.

您是否进行过互联网搜索?

那里有大量的文章演示了如何执行此操作.我怀疑The Code Project上有几个.

当您为此做一些工作并遇到问题时,请询问它.在此之前,您将像我一样搜索.
I mean no offence here but you say you are going to create an mp3 player and then the rest of your question indicates that you have no idea how to do it.

Have you done an internet search?

There are loads of articles out there which demonstrate how to do this. I suspect that there are several here on The Code Project.

When you have done some work towards this and encounter a problem then please ask about it. Until then, you are as capable of searching as I am.


查看以下链接:

http://www.codeproject.com/Articles/142615/Custom-Media-Player-in-WPF-Part-1.aspx [ http://www.studentguru.gr/blogs/dante/archive/2011/01/12/122329.aspx [ ^ ]

祝你好运!
Check out these links :

http://www.codeproject.com/Articles/142615/Custom-Media-Player-in-WPF-Part-1.aspx[^]

The second part is in his blog :
http://www.studentguru.gr/blogs/dante/archive/2011/01/12/122329.aspx[^]

Good luck!


您可以在开放源代码网站上查找可以播放声音文件的组件.还可以使用Win32API函数来播放mp3或wav文件(但我强烈建议您避免在应用程序中使用任何win32API函数.)
如果您只想播放声音而没有自定义选项(例如自定义均衡器),则可以使用以下方法:
You can look for components that play sound files on open-source code web-sites.Also you can use Win32API functions that plays mp3 or wav files (but i strongly recommend you avoid using any win32API functions in your application).
If you would like to only playback sound without customizing options (like custom equalizer) you can use this though:
Dim mp3 As New Microsoft.DirectX.AudioVideoPlayback.Audio("D:\Auf die Liebe.mp3")
mp3.Play()


这篇关于我该如何创建mp3播放器,建议使用它的代码.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆