Algorithm to remove vocal from sound track

Boolean picture Boolean · Sep 9, 2010 · Viewed 21.7k times · Source

I want to remove vocals from mp3 sound tracks. I searched google, and tried few softwares but none of them are convincing. I am planning to read the mp3 file, get a waveform and remove the waveform that is above a specified limit.

do you have any suggestions on how to proceed.

-- Update

I just want code that can read mp3 file format. Are there any softwares??

Answer

Arnold Spence picture Arnold Spence · Sep 9, 2010

This isn't so much an "algorithm" as a "trick" but it could be automated in code. It works mostly for stereo tracks with where the vocals are centered. If the vocals are centered, they manifest equally in both tracks. If you invert one of the tracks and then merge them back together, the wave forms of the center vocals cancel out and are virtually removed. You can do this manually with most good audio editors like audacity. It doesn't give you perfect results and the rest of the audio suffers a bit too but it makes for great karaoke tracks :)