1

Having found 2 open source tools that can convert any audio file to midi, I'm still interested if there are others (for comparison).

I've tried WaoN and Audio_to_midi_melodia.

But not all samples produce desirable output.

WaoN seems to work better overall, and tweaking the parameters (as well as using higher sampling rates as input) aids in getting more accurate results.

Any tips for other OSS tools or libraries that achieve something similar are greatly appreciated.

  • MIDI is not a type of audio file. It's not like converting .wav to .mp3 See this on How stuff works Maybe I don't understand what you're asking but it seems like you want to extract drum samples and play them back with a MIDI device. – Timinycricket Feb 18 '18 at 23:29
  • Thanks, I am aware of this indeed. WaoN is not trivial and understanding more about it is interesting: stackoverflow.com/questions/44764521/… I am not interested in MIDI devices, just having MIDI files that capture the main gist of a song or sample (rhythm/melody wise). – nick88 Feb 26 '18 at 10:39
0

I don't know about free and open source but ableton does this with a right click on an audio file > convert to midi

Maybe you could extract this midi out of the trial version or something like that?

  • Thanks, I assume that indeed proprietary software has some solutions (like Melodyne youtube.com/watch?v=c1Zkznqs-f8) but I am actually only interested in open source software, and not because its free so working with trial versions is not that relevant. Thanks regardless! – nick88 Feb 26 '18 at 10:35
0

it seems that rackarrack has an audio to midi converter inside. The plugin is for guitar sounds but you can probably have a look at the code and see how this is made.

There's also aubio with a command line dedicated to audio to midi conversion aubionotes same thing here, you can probably have a look at the source code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.