Play Midi File/MP3 from Application
-
Hi Is there a SIMPLE way to play MP3 and Midi files from within an application - Is there a class that can access media player or something? What I want to be able to do is to Play, Stop, Adjust Master Volume, and perhaps have a Slider that I can drag to a position in a song. I found some stuff in C#, but I need it in VB.Net. I'm using VS2005
-
Hi Is there a SIMPLE way to play MP3 and Midi files from within an application - Is there a class that can access media player or something? What I want to be able to do is to Play, Stop, Adjust Master Volume, and perhaps have a Slider that I can drag to a position in a song. I found some stuff in C#, but I need it in VB.Net. I'm using VS2005
It's easy enough to translate C# to VB.NET. The two languages have far more in common than it would appear. What's the C# code you have?
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
It's easy enough to translate C# to VB.NET. The two languages have far more in common than it would appear. What's the C# code you have?
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007Hi Dave There are a number of articles on Code Project about midi. http://www.codeproject.com/audio/midiports.asp http://www.codeproject.com/audio/cmidimusic.asp http://www.codeproject.com/cs/media/MIDIToolkit.asp All in C#. And most are quite complex for me too... but if they were in VB it would be at least a bit easier for me to TRY to understand... The last link is the type of interface I need right now, but later I want to look at writing a basic midi editor so pehaps it would be a good idea to look at the more complex articles from the start and try to 'cut' out the parts I need for now. In any case, there are a whole bunch of classes in C#