• Stars
    star
    499
  • Rank 88,341 (Top 2 %)
  • Language
    JavaScript
  • Created almost 5 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

separate audio in ableton into stems using Spleeter

spleeter for max

ableton max device for separating a clip into stems (vocals, bass, drums, other).

download links:

there are two options for installing spleeter for max:

before you start

NOTE: if you are using spleeter-native, ignore the rest of this page and see instructions here.

otherwise install Docker from https://www.docker.com/products/docker-desktop (it's free!).

once Docker is installed:

  1. run the Docker application.
  2. in Preferences > Advanced, set Memory to the maximum possible value or at least 8GB
  3. on Windows, you will need to select the drives that you will load samples from in Settings > Shared Drives. on Mac, you may need to do this in Settings > Resources > File Sharing if you are loading samples from outside your home directory.

system requirements

  • Windows 10 64-bit: Pro, Enterprise, or Education; must be able to enable Hyper-V and Containers Windows features. UPDATE (5/16/20): it's now possible to install Docker on Windows Home by joining the Windows insider program.
  • Mac hardware must be a 2010 or a newer model / macOS must be version 10.13 or newer. M1 Macs are NOT supported at this time. See #58 for more details.
  • At least 8GB, preferably at least 16GB of RAM
  • Ableton 10.1+ and Max for Live 8.1+. (May work on earlier versions but I haven't tried it.)

running

  1. unzip spleeter.zip and add the spleeter/ folder to your Places menu in Ableton
  2. put spleeter.amxd onto any audio channel
  3. select any audio clip in Ableton by clicking on it (don't just highlight a segment)
  4. make sure docker is running.
  5. press the start button in the spleeter device and wait. the first run may take a long time!

once you're done, you can quit docker, but make sure to start it again the next time you want to run spleeter.

troubleshooting and FAQs

can i run this if i have Windows Home?

i haven't tried it but apparently you can at least run docker if you opt into the latest Windows Insider builds. see https://www.docker.com/blog/docker-desktop-for-windows-home-is-here/.

this plugin doesn't run

did you already do the steps in https://github.com/diracdeltas/spleeter4max#before-you-start? if so keep reading.

unfortunately this plugin may not work with versions earlier than Ableton 10.1 / Max 8.1 :(.

the start button disappears, then nothing happens

this may be because spleeter can't find what it's supposed to be splitting in the Ableton session. you need to select an entire audio clip, not just highlight part of it. to split an audio clip into a shorter segment, click on a point in the clip, press cmd or ctrl+e to split, then right-click and consolidate.

spleeter seems to take forever to run

the first time spleeter runs, it needs to download a virtual machine. on slow networks, this might take a long time. once this is done, subsequent runs should be faster.

if it's still taking a long time, try splitting your input audio into shorter pieces. on a reasonably fast computer, spleeter usually takes about a minute to stem a 3-minute track.

docker will not start on windows

make sure you have virtualization enabled in your BIOS settings.

spleeter can't run because files are missing

unlike most Max devices, spleeter.amxd depends on many files that need to be in the same directory. if you move spleeter.amxd to a location, make sure to move all the contents of the spleeter folder to the new location.

spleeter says 'Spleeter could not run.'

this is a generic error message and can happen for many reasons. here's a few of the common ones:

spleeter is out of memory

see Step 2 of https://github.com/diracdeltas/spleeter4max#before-you-start. if you have already set the memory setting to the max, your audio might be too long. try splitting your audio into 3-minute segments (split in Ableton arrangement view, then right click and consolidate) and running it on one segment at a time.

docker cannot access the drive on which your audio file is stored

see Step 3 of https://github.com/diracdeltas/spleeter4max#before-you-start. this often happens if you are loading files from a different hard drive or audio files outside your home folder.

can i run this if i have less than 16GB of memory?

yes, as long as your audio files are short enough. if you get an error, try splitting your audio file in half.

spleeter says docker could not run

check that docker is running in your taskbar or task manager. if it's running, then the issue might be that docker lacks network access. make sure your firewall or proxy isn't blocking docker.

help! it's still not working.

try opening up the max console in order to get more useful error messages. instructions:

  1. click on the rectangle icon in Spleeter to open max

Screen Shot 2020-04-24 at 11 32 46 PM

  1. make sure the lock icon is set to locked. click the hamburger menu icon to open the max console.

Screen Shot 2020-04-24 at 11 34 03 PM

  1. click the button to run spleeter. you should see a bunch of console messages.

Screen Shot 2020-04-24 at 11 35 04 PM

i know how to run terminal commands. any other debugging tips?

  1. you can run the docker command manually in the terminal and see what happens: https://github.com/diracdeltas/spleeter4max/blob/241ccc291d915c0b82f601948f6989ccefaeffa9/spleeter.js#L64O
  2. if you have a python environment set up, you could install the original spleeter library from https://pypi.org/project/spleeter/ and use spleeter for max native instead, which will use the python installation.

can i run this in other DAWs?

unfortunately no

docker is not compatible with my operating system

try https://github.com/diracdeltas/spleeter4max/releases/tag/1.3-native instead

can i stop docker?

yes, you can quit docker after spleeter is done. also i would turn off the docker setting that automatically starts it when you start your computer. just remember to start it before you run spleeter.

spleeter seems to show 'starting docker' forever

this usually takes a long time when you run it for the first time, especially on slow networks, since it's downloading the VM. it might take several minutes and a few retries for the first time. if this actually seems to hang indefinitely, something on your network might be blocking the download.

you could try opening a terminal and doing this manually: docker pull researchdeezer/spleeter@sha256:e46b042c25781c8ef041847d9615d799b3fa76d56a653ece0d0e2585067153a2. if this succeeds, the spleeter max device won't try to download it anymore.

spleeter ends with 'could not copy files from docker'

this could be due to an issue fixed in late january of 2020, so if you downloaded it prior to then, try re-downloading from the dropbox link above (and delete the old plugin) or from https://github.com/diracdeltas/spleeter4max/releases/download/1.2/spleeter.zip.

another possible solution is to copy the audio files you are splitting into the spleeter folder.

support

please open an issue at https://github.com/diracdeltas/spleeter4max/issues. want a higher chance of getting a response? you can make a donation via bandcamp and mention it in the issue!

license (MIT)

Copyright 2020 Yan Zhu

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

credits

https://github.com/deezer/spleeter

More Repositories

1

FastestWebsiteEver

ultrafast single TCP packet audio/visual experience
C
1,383
star
2

sniffly

Sniffing browser history using HSTS
JavaScript
934
star
3

tweets

janky twitter replacement.
Shell
766
star
4

niceware

Generate or convert random bytes into passphrases in Node and the browser.
JavaScript
281
star
5

rekordbox-scripts

python scripts for automating music management in rekordbox
Python
121
star
6

signal-muon

Signal Desktop using https://github.com/brave/muon instead of Chrome. Not affiliated with WhisperSystems.
JavaScript
121
star
7

dotfiles

Useful config-related files
Lua
94
star
8

random-training

site that generates random workout routines
JavaScript
45
star
9

reading

what i'm reading. read me.
39
star
10

icowid-generator

markov bot based on ICO whitepapers and erowid trip reports
Python
36
star
11

aliaser

JavaScript
33
star
12

demucs4max

Demucs as a max4live device
JavaScript
32
star
13

tabulous

Collapse all Firefox tabs to a single tab (inspired by Chrome OneTab)
CSS
27
star
14

apc40mk2

CDJ-style looping control mapping for the APC40MKII ableton midi controller
Python
25
star
15

SoundDrop

JavaScript
19
star
16

untrustCA

Tools for untrusting Certificate Authorities
JavaScript
14
star
17

canary

HTML
13
star
18

blog

vastly-improved Hugo-fied version of my blog
HTML
11
star
19

snowflake-cli

nodejs CLI tool for https://snowflake.torproject.org/
JavaScript
9
star
20

festival

generate festival lineups based on your SoundCloud likes
JavaScript
8
star
21

erowid-reader

website that reads you random erowid reports using the Speech Synthesis API
JavaScript
8
star
22

heartbox

Fast way to set up and test Heartbleed attack on a FreeBSD 10.0 virtualbox w/ Apache 2.4
Python
7
star
23

code-integrity-everywhere

https://securedrop.hackpad.com/Code-Integrity-Everywhere-jKSUBY1civF
JavaScript
5
star
24

safebox

simple encrypted file-sharing web app, intended for use with sandstorm.io.
JavaScript
5
star
25

poc-site

quick site for HTML / JS POCs
HTML
4
star
26

diracdeltas.github.io

placeholder
HTML
3
star
27

fp-soundcloud

JavaScript
3
star
28

birthday

A cute Processing script that lets someone blow out a candle on their birthday
Processing
2
star
29

hsts-everywhere

Bootstrap HSTS preloading with HTTPS Everywhere rules
JavaScript
2
star
30

torbutton

Mirror of https://gitweb.torproject.org/torbutton.git
JavaScript
2
star
31

gater

gated one-shot recorder
JavaScript
2
star
32

beatsbywatson

etc
JavaScript
2
star
33

pdfjs-brave

Builds of https://mozilla.github.io/pdf.js/ for Brave Laptop
JavaScript
1
star
34

quic-request

QUIC webRequest bypass demo
JavaScript
1
star
35

unapplied-rule-finder

Unapplied rule finder for HTTPS Everywhere
Python
1
star
36

mrbill4max

HTML
1
star
37

supersecret

demo of referer leakage on github
1
star
38

azuki.vip

hi i like pyramids
SCSS
1
star
39

end-to-end

Fork of main end-to-end for integration with Yahoo mail.
JavaScript
1
star
40

badssl

Python
1
star
41

unableton

ableton projects + git = ???
1
star
42

tavis

HTML
1
star
43

chatgpt-games

fun games auto-generated by chatgpt
JavaScript
1
star