Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Software to convert audio to MIDI

Does any one know if there is good software to perform conversion from (wave or mp3 or other known format) to MIDI? I understand that conversion from audio file to MIDI is a very complex process. I'm currently developing a course project for my bachelor degree that requires manipulating MIDI files.

If you know any good software, I'm opened to suggestions. I prefer software that can also be executed from a shell by passing a file to be converted.

Any help is appreciated.

like image 940
aumanets Avatar asked May 01 '11 23:05

aumanets


2 Answers

A little research (half of that research was a comment on this page) led me to two superb solutions.

One is Sonic Visualiser (https://www.sonicvisualiser.org/download.html), which is a deep (complex) program that, when the Vamp plugin package is installed, includes a few "transformations" (analytical operations) which include export to midi. The two I found most effective were "pYin: Notes" and "Polyphonic Transcription [University of Alicante]". The method is this: You open a wav file, select the transformation (play it if you want) - this creates a new "layer" (each layer is shown as a tab). With this layer active, export using "Export Annotation Layer". Midi is one of the options.

The other, more simple option is called "Tony" (get it? tone-y?) available from https://code.soundsoftware.ac.uk/projects/tony/

Method: open wav file, it auto-analyses by default or select "Analyse Now", then "Export Note Data" allows midi export.

There are probably other solutions. I'm looking for a command-line solution, too, but these work really well.

like image 161
CRGreen Avatar answered Sep 27 '22 21:09

CRGreen


WaoN does conversion of WAV to MIDI: http://waon.sourceforge.net/

At least it is quite fun :-)

like image 45
Torsten Römer Avatar answered Sep 27 '22 21:09

Torsten Römer