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. C#
  4. Wav To Midi

Wav To Midi

Scheduled Pinned Locked Moved C#
csharptutorialquestion
2 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.
  • M Offline
    M Offline
    MicSky
    wrote on last edited by
    #1

    Does anyone knows how to write a c# program to convert a *.wav ( wave ) file to a midi file...?

    B 1 Reply Last reply
    0
    • M MicSky

      Does anyone knows how to write a c# program to convert a *.wav ( wave ) file to a midi file...?

      B Offline
      B Offline
      Bret Mulvey
      wrote on last edited by
      #2

      Short answer: I don't know. Long answer: Wave files are "recordings" of sounds using digital samples of the audio waveform amplitude. At the risk of oversimplifying, they're essentially a series of numbers, and if you draw a graph of those numbers you'll see a waveform that looks just like the sound would look on an oscilliscope. MIDI files consist of instructions for synthesized musical instruments, such as "press the C key on the piano softly, wait a quarter of a second, then release it". A wav to midi conversion program would need to be able to look at a waveform and determine not only what note is being played, but how loudly and by which type of instrument, and to distinguish the sounds of multiple instruments playing at the same time, potentially mixed with sound effects, vocals, etc., any of which may not be able to be represented in MIDI format. Despite those difficulties such programs do exist. Sort of. Search for "convert wav to midi" on Google to find some of them and to read more about this complicated subject. This doesn't answer your question, though, which is how to do it in C#. I don't know the answer to that.

      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