Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Play MP3 from .net code

Tags:

.net

audio

mp3

I am getting married this coming Saturday (May 30 2009). We are poor. So, instead of hiring a DJ, I want my friend to kick off mp3 playlists from a laptop to be played through a PA system.

Well I had a vision for some software that would be perfect for this. Here is that vision: alt text

I want this to be so that my friend can't screw this up and I think that if my vision were a reality then there would be no screwing up.

And now for the programming question? How can I play mp3's from .net code? I am currently experimenting with NAudio, but I don't know if I can make it fade the files in/out.

Are there any other free libraries out there that could help me? Thanks for any input. Time is of the essence.

PEOPLE!

Focus on the programming question! If I ever need to work with audio in the future, your answers could be the keys to my destiny.

like image 257
Ronnie Overby Avatar asked Nov 30 '22 07:11

Ronnie Overby


1 Answers

What you're describing sounds like functionality programs like iTunes and Windows Media Player have had for years, and I would recommend just using one of those two programs. However, if you do want to play MP3s from .NET, a Google search found me this: http://www.codeproject.com/KB/audio-video/mp3player.aspx and this: http://www.codeproject.com/KB/audio-video/ManWMF.aspx

Also, if your wedding is in 4 days, this probably not the best idea. I wouldn't waste your time writing a media player. If you want it to be polished and idiot-proof, use iTunes. If you want to write a media player, do it after your wedding.

like image 197
AriX Avatar answered Dec 06 '22 21:12

AriX