Effect: Remove Vocals, aka "Karaoke"

Status
Not open for further replies.

Frank B

Senior Member
Hi,

i wrote a new effect for the audio-lib. It removes the vocals from songs.
For some songs it work good, for others not. For a good effect, the vocals must be in the mid of both stereo-channels.

How does it work ?

Simple. It inverts the right channel and adds it to the left (the result is one mono channel - ideally, the vocals are the same on l+r and subtracting the values gives 0...).

Its the same way as the "Vocals Remover" in audacity works.

I added a enable(bool) function which enables or disables the effect.
That means, if you disable it, you can use the effect as a simple way to transform stereo to mono.

Link with additional example-sketch:
https://github.com/FrankBoesing/Teensy-Audio-Effect-Remove-Vocals

@Paul: it's MIT licence ;-)

Have fun,
Frank.
 
Last edited:
Maybe we should put that remove vocals example into the library, using the existing mid-side object. My understanding is vocal elimination usually also involves a lowpass and highpass filter, to keep the non-vocal frequencies and try to lessen any vocals that get through the first part.

Anyone want to give that a try? Would love to include a really good vocal eliminator example with the library. :)
 
@Paul, I don't know, and I'm not familar with the new USB Audio - is it possible to take USB-Input, apply the effect and send it back to the PC ?
Would be a great example with mid-side, with the filters added. (But it works OK without filters, too - did you hear the example ? (Post #2)).
Audacity uses no filters for this effect.
 
Last edited:
@Paul, I don't know, and I'm not familar with the new USB Audio - is it possible to take USB-Input, apply the effect and send it back to the PC ?

Yes.

However, the USB objects don't implement update responsibility, so at least 1 regular input or output must also be present.
 
Status
Not open for further replies.
Back
Top