CarlGao4 / Demucs-Gui

A GUI for music separation AI demucs
GNU General Public License v3.0
499 stars 37 forks source link

How to disable Demucs rescaling the volume of stems after extraction? #77

Closed DJTonydacoder closed 2 months ago

DJTonydacoder commented 2 months ago

https://github.com/facebookresearch/demucs#:~:text=It%20can%20happen,it%20to%20Demucs. I find it annoying that Demucs would reduce the stems' volume after they're extracted. Is there anyway to disable Demucs rescaling the volume of the split stems without reducing the volume of the input mixture and passing --clip-mode clamp (cuz I don't want hard-clipping on my 32-bit wav files)? Screenshot 2024-06-26 132037

CarlGao4 commented 2 months ago

You can change sample format to float32 and set clip mode to none In demucs command line tool, you can add --float32 --clip-mode none arguments

DJTonydacoder commented 2 months ago

You can change sample format to float32 and set clip mode to none In demucs command line tool, you can add --float32 --clip-mode none arguments

This didn't help me at all I ran the command demucs -n htdemucs_ft --two-stems=vocals --float32 --clip-mode=none "insert audio file path" and all I got was this message Screenshot 2024-06-28 184930

CarlGao4 commented 2 months ago

This repo is no longer maintained Use this instead

python3 -m pip install -U git+https://github.com/adefossez/demucs#egg=demucs
DJTonydacoder commented 2 months ago

This repo is no longer maintained Use this instead

python3 -m pip install -U git+https://github.com/adefossez/demucs#egg=demucs

I ran the python.exe -m pip install -U git+https://github.com/adefossez/demucs#egg=demucs and got this error message Screenshot 2024-06-29 145202

Also, you still didn't give me a working solution to this stupid --clip mode issue Screenshot 2024-06-28 184930

CarlGao4 commented 2 months ago

Just install the one in the new repo and --clip-mode none will be available