Python Forum

Full Version: Splitting vocals from .wav file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to take a .wav file and extract the vocals from it. I want to use the vocals to move the mouth of something to sing along to a song. I tried spleeter, but I am doing this on a raspberry pi zero and spleeter was giving me a message that I don't have enough RAM. Is there a good light weight option for this? Library or API? The vocal quality doesn't need to be great. I won't be playing the audio, only analyzing it.
Two suggestions...

#1. Enable swap on the Pi so the Pi can use virtual memory: https://pimylifeup.com/raspberry-pi-swap-file/

#2. Split your WAV file into smaller chunks and process each chunk separately, reducing the memory needed.