Add in or remove your favorite bandmates from songs
Ever hate the bassist in your band? Use this script to download audio and remove instruments on the fly using demuc and yt-dlp.
Remove any of the following supported instruments in the model
- bass
- vocal
- guitar
- piano
- drums
brew install python3 pyenv ffmpeg
pyenv install 3.10
python3 -m venv env
source env/bin/activate
python3 -m pip install -r requirements.txt
Download a song from a link (no removals)
python3 app.py --link "https://www.youtube.com/watch?v=tMDFv5m18Pw&ab_channel=OzzyOsbourneVEVO"
karaoke fridays at the officeeee
python3 app.py --link "https://www.youtube.com/watch?v=dQw4w9WgXcQ" -r vocals
Remove a guitar
python3 app.py --link "https://www.youtube.com/watch?v=tMDFv5m18Pw&ab_channel=OzzyOsbourneVEVO" -r guitar
Remove more than one instrument
python3 app.py --link "https://www.youtube.com/watch?v=tMDFv5m18Pw&ab_channel=OzzyOsbourneVEVO" -r guitar -r vocals
Original songs are kept in the originals/
directory incase needed for reference later.
Output will end up in the final/
folder in the format: songName_<all_omitted_instruments_separated_by_underscores>_final.mp3
example: ./final/Ozzy_Osbourne_-_Mama_I_m_Coming_Home_A440_Standard_Tuning_guitar_vocals_final.mp3