Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make stuff work more easily on Linux/ROCm #81

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ npm i -D

Install `ffmpeg` globally using your preferred package manager, and install `demucs` globally with `pip`.

If you get "Couldn't find appropriate backend" errors, try installing `libsox-dev` instead.

## Run in Development Mode

`npm run dev`
Expand Down
5 changes: 1 addition & 4 deletions main-src/processQueue.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ const PATH_TO_FFMPEG = PATH_TO_THIRD_PARTY_APPS
const DEMUCS_EXE_NAME = PATH_TO_THIRD_PARTY_APPS ? 'demucs-cxfreeze' : 'demucs'
const FFMPEG_EXE_NAME = 'ffmpeg'
const CHILD_PROCESS_ENV = {
CUDA_PATH: process.env.CUDA_PATH,
PATH: process.env.PATH,
TEMP: process.env.TEMP,
TMP: process.env.TMP,
... process.env,
LANG: null, // Will be set when ready to split, since we can only check system locale after `app` is ready
}
if (PATH_TO_THIRD_PARTY_APPS) {
Expand Down