please read the rules, it will answer all your questions!

  • Get the best VPN on the market with 66% Discount!
Software, Windows, Mac OSX, Education
Demucs v4 WiN MacOSX Text Guide FREE screenshot
Text Guide | 9.99 KB
A state-of-the-art music source separation software for your Mac and Windows machine

Welcome to the future

Released in 16/11/2022, it is currently the best algorithm for music source separation

It runs locally on your GPU (graphics card) or CPU

The version 4 consists of 3 models:
- htdemucs => default, splits in 4 sources (bass + drums + vocal + other)
- htdemucs_ft => the best one in terms of quality, but it takes 4 times longer than the "htdemucs" model
- htdemucs_6s => experimental, same quality as the "htdemucs" model, but splits in 6 sources (bass + drums + guitar + piano + vocal + other)

This guide will teach you how to install Demucs in your machine, step-by-step
It was specially made for the AudioZ community!

Supports:
- Windows 7/8/10/11
- MacOS 10.10+

Enjoy!




download from free file storage
click to show download links
download from any file hoster with just one LinkSnappy account
download from more than 100 file hosters at once with LinkSnappy.

comments

  Member 21.01.2021 268
+40
I had it ran successfully on my MAC. Then I close the terminal window. Came back and tried to run again. I got this error.
No module named demucs.__main__; 'demucs' is a package and cannot be directly executed

How to fix it? Thanks,
  Member 21.01.2021 268
+40
Do we have to install it again in order to use it ? That's what I figured.
  Member 29.09.2022 2 42
+117
No. But reinstalling should solve it.
Did you get it working?
I'm trying to reproduce the error in my Mac.
  Member 6.02.2021 2 16
+21
Thanks!
Btw, do you guys know if there's a github project about eq matching or something like that? I haven't been able to find something similar to that :)
  Member 28.01.2021 267
+61
Do you ever use MatchEQ in Logic? It's not the same terminal/ "utility" style like demucs, but it works really well. You could use it to do some self-training by using some good example files.
  Member 29.09.2022 2 42
+117
Not that I am aware, but I will look into it.
On this note, EQ matching in Pro-Q 3 is brilliant!
  Member 27.04.2022 370
+48
That would be awesome if it works.
I've NEVER gotten a vocal remover to work.

But I reckon if you know what you're doing, its been done.
Those beatles moggs from rockband are just from the album versions.
  Member 29.09.2022 2 42
+117
The better quality model (htdemucs_ft) is simply amazing!
Keep in mind that this is a separation method, not a prediction. So sidechain pumping, modulation, reverb and other mixing tricks will be embedded in the stem, making it sound weird. The cleaner the vocals in the mix, the better the result is.
  Resident 7.07.2021 588
+222
Hem... Seems quite complicated on windows, why not a simple installer (or a script) that could install (compile?) everything (Python runtimes included) once and for all?

If ever a genius dev / hacker passing by read this, this could constitute a great release... Just sayin'...
I'm alive!!! :D Isn't it astounding??? ;)
  Member 29.09.2022 2 42
+117
Seems quite complicated on windows,

It is not. You can know nothing about coding and still install it in 10-15 minutes.
Just copy the commands and voilá.
Said that, I'm looking into rewriting the guide with less steps after the holidays.
  Member 11.12.2022 17
+4
Thank you for taking the time to create this guide.
  Member 3.08.2015 191
+41
I got it installed but got this message when trying to use it (Windows 10):

OSError: [WinError 182] The operating system cannot run %1. Error loading "D:\anaconda3\lib\site-packages\torch\lib\shm.dll" or one of its dependencies.
  Member 29.09.2022 2 42
+117
Run the command "conda update --all -y", then try to use it again!

If it is still not working, run the command "conda install -c defaults intel-openmp -f" and try another time!
  Member 3.08.2015 191
+41
Got it working on Windows 10!

I got 2 problems during the installation:

- "ERROR: Error [WinError 2] The system cannot find the file specified while executing command git version
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?"

- OSError: [WinError 182] The operating system cannot run %1. Error loading "D:\anaconda3\lib\site-packages\torch\lib\shm.dll" or one of its dependencies.

You provided both solutions, thank you for helping!

Really nice piece of software and allowing to listen to details that were lost in the full mix. Thank you @mmmusika1 !
  Member 29.09.2022 2 42
+117
Glad you got it working!
Enjoy!
  Member 14.02.2022 38
+9
I just use this: https://x-minus.pro/ai?hp

It uses 3 different AI's for this. MDX and DEMUCS v4 and UVR. Been using it for two years now.
  Member 16.08.2022 5
+1
It's amazing how these tools are popping up everywhere. Every time I find a new one to check out, another one is mentioned.

In my very limited testing, this one is the best I've tried as it seems to really isolate the vocals without mixing in hardly any similar frequency instruments (violin, guitar).

How do we choose multiple AIs at once? And how does it utilize multiple algorithms? Do the apps use one algorithm to weed out vocals and another for drums, etc.?
  Member 29.09.2022 2 42
+117
Thank you for suggesting this!
It looks interesting.
  Member 16.01.2022 103
+27
Interesting, my 2GB VRAM Nvidia 1030 GT GPU is two times faster than the CPU I9-12900K.
  Member 29.09.2022 2 42
+117
That is because of the nature of how CPUs and GPUs works.

To simplify, CPUs are really really good at sequential calculations. So they do it fast, but it has to finish calculating something, before it can begin another.

GPUs are a little slower at numbers, but they can do a lot of them at the same time. For example, a FullHD game is producing 2.073.600 pixels (1920 x 1080), 60 times a second (fps), and they all have to appear at the same time for a pristine image.
  Member 29.09.2022 2 42
+117
Also, it is great to hear that you got it working with 2GB VRAM!

Did you use "--segments 8" ?
  Member 30.04.2021 13
0
First of all, thank you. Works perfectly on Mac High Sierra. Unfortunetely I have to reinstalling everytime I turn the computer off. It seems the script always have to solve something and runs the final command "conda install ffmpeg=5.1.2 -c conda-forge -y" like a clause has not getting hold.
Not a big problem but it downloads something else every time = even so it worth the reinstall . Works like a charm - even the batching mode is great . Amazing quality. Thanks
  Member 29.09.2022 2 42
+117
You are welcome!
It is very strange that is not holding up on your Mac.
I got a Macbook Pro 2015 (Catalina) and never had to reinstall.
When you turn the computer on and run "python3 -m demucs" what does it tell you?
  Member 30.04.2021 13
0
It comes : No module named demucs.__main__; 'demucs' is a package and cannot be directly executed
I ve tried to run commands backwards to see if there was something missing at one point but no, I have to reinstall from the begining...download, prepare, verifying, execute, solve environment, extract packages, etc....
As I said, no complain.... the result worths the process.
Demucs is installed on my user directory and I m the admin. High Sierra 10.13.3 , Intel i5 - ( Curiously Anaconda took an hour to install , btw)
Thanks
Thankjs
  Resident 8.10.2011 2 417
+96
in getting this on Mac Terminal "demucs' is a package and cannot be directly executed"


after running this command "python3 -m demucs" this is what i get
Last login: Fri Dec 30 16:45:17 on ttys000
(base) jugez@Juas-Mac-Studio ~ % python3 -m demucs
/Users/jugez/opt/anaconda3/bin/python3: No module named demucs.__main__; 'demucs' is a package and cannot be directly executed
(base) jugez@Juas-Mac-Studio ~ %
  Member 29.09.2022 2 42
+117
This means that Demucs is not correctly installed.
Try "conda activate demucs", then "python3 -m demucs".
If the error persists, close your terminal, open it again, run "python3 -m pip install -U demucs" and then "python3 -m demucs".
  Resident 8.10.2011 2 417
+96
would be cool if you can make a video tutorial
  Member 29.09.2022 2 42
+117
For sure. Next year
I will rewrite the guide with less steps and attach a video.
In the meanwhile, try the suggestion in your other post. Hope it solves for you!
  Resident 8.10.2011 2 417
+96
quote by mmmusika1For sure. Next year
I will rewrite the guide with less steps and attach a video.
In the meanwhile, try the suggestion in your other post. Hope it solves for you!

let me try it
  Resident 8.10.2011 2 417
+96
this works If the error persists, close your terminal, open it again, run "python3 -m pip install -U demucs" and then "python3 -m demucs".

but dragging the MP3 to the terminal didnt work but with a Flac file works perfect

Spread the Word