Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.18 KB

mac.md

File metadata and controls

28 lines (22 loc) · 1.18 KB

Mac OS X support for Demucs

If you have a sufficiently recent version of OS X, you can just run

python3 -m pip install --user -U demucs
# Then anytime you want to use demucs, just do
python3 -m demucs -d cpu PATH_TO_AUDIO_FILE_1
# If you have added the user specific pip bin/ folder to your path, you can also do
demucs -d cpu PATH_TO_AUDIO_FILE_1

If you do not already have Anaconda installed or much experience with the terminal on Mac OS X here are some detailed instructions:

  1. Download Anaconda 3.8 (or more recent) 64 bits for MacOS:
  2. Open Anaconda Prompt in MacOSX
  3. Follow these commands:
conda activate
pip3 install -U demucs
# Then anytime you want to use demucs, first do conda activate, then
demucs -d cpu PATH_TO_AUDIO_FILE_1

Important, torchaudio 0.12 update: Torchaudio no longer supports decoding mp3s without ffmpeg installed. You must have ffmpeg installed, either through Anaconda (conda install ffmpeg -c conda-forge) or with Homebrew for instance (brew install ffmpeg).