views:

58

answers:

2

Does anyone know how to convert an analog sound wave to a midi file. I know that differs from wav to mp3 but thats not important for now. I only want to learn the basic logic of the conversion. if anyone can give me some article or some source code about it, I will appriciate it.

+1  A: 

A wave is the actual sound wave of some sound. A midi can be thought of as notes of music played on predefined instruments (stored on the computer or on the soundcard).

Therefore, the sound generated by midi is a subset of sound that can be stored in a wave file. This means that you can not convert wave to midi (although you can do it the other way round).

If you know certain things about the waves you wish to convert it might be possible. If, for example, you know that the wave contains only a paino, it might be possible to convert that into notes and from that to midi.

Lasse Dahl Ebert
+1  A: 

I realize that you want to write your own wave to MIDI converter.

However, I had no idea that several companies have software that performs wave to MIDI conversion.

For the benefit of those interested, here's a list of audio to MIDI programs.

I picked the WidiSoft web site to check out because it was at the top of the list, and came up high in a Google search. English is not their first language. However, you can download and try the software before you buy it.

This isn't a product review, but depending on your conversion needs, you should be able to find something that already exists.

Gilbert Le Blanc