Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Play Midi File/MP3 from Application

Play Midi File/MP3 from Application

Scheduled Pinned Locked Moved Visual Basic
csharpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RichardBerry
    wrote on last edited by
    #1

    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

    D 1 Reply Last reply
    0
    • R RichardBerry

      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

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      R 1 Reply Last reply
      0
      • D Dave Kreskowiak

        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

        R Offline
        R Offline
        RichardBerry
        wrote on last edited by
        #3

        Hi 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#

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups