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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. How do i play a midi file

How do i play a midi file

Scheduled Pinned Locked Moved ASP.NET
question
4 Posts 3 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.
  • T Offline
    T Offline
    the pink jedi
    wrote on last edited by
    #1

    I want a midi file to be played when the user loads the page I have created how do i achieve that? Thanks alot

    V M 2 Replies Last reply
    0
    • T the pink jedi

      I want a midi file to be played when the user loads the page I have created how do i achieve that? Thanks alot

      V Offline
      V Offline
      VenkataRamana Gali
      wrote on last edited by
      #2

      You have 2 ways to achieve this one is convert this file into another format(wav/mp3...). second is download 3rd party midi player plugin and use it. Better way to approach is convertion is better. regards GV Ramana

      1 Reply Last reply
      0
      • T the pink jedi

        I want a midi file to be played when the user loads the page I have created how do i achieve that? Thanks alot

        M Offline
        M Offline
        minhpc_bk
        wrote on last edited by
        #3

        Basically, to play audio on the web page, there are a couple of options that you may try: + Use the bgsound element to play as a background sound. + Use the embed element to play as an embedded sound. + Use the object element to host a player, for example:

        <OBJECT classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" VIEWASTEXT>
        < PARAM NAME="URL" VALUE="the path of the midi file goes here">
        </OBJECT>

        T 1 Reply Last reply
        0
        • M minhpc_bk

          Basically, to play audio on the web page, there are a couple of options that you may try: + Use the bgsound element to play as a background sound. + Use the embed element to play as an embedded sound. + Use the object element to host a player, for example:

          <OBJECT classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" VIEWASTEXT>
          < PARAM NAME="URL" VALUE="the path of the midi file goes here">
          </OBJECT>

          T Offline
          T Offline
          the pink jedi
          wrote on last edited by
          #4

          Thanks for the helps. seems like a hef does work too bad bgsound only works with MS internet explorer

          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