ihateaudio

Song Splitter

Take a song apart and hear the pieces on their own.

Drop an audio file here

or paste one from your clipboard

MP3 · WAV · M4A · AAC · OGG · FLAC and moreYour file stays on your device. Always.

How to use it

  1. Drop the song in, then tick the stems you actually want. Each one is a separate 28 MB network and a separate pass over the audio, so asking for two instead of four halves both the download and the wait.
  2. Trim first if you only need part of the track. The tool works on whatever is loaded, and separating one chorus takes a fraction of the time of a whole song.
  3. Press Split. The stems are produced one after another and the progress counter tells you which one is running.
  4. When it finishes you get a mixer: play everything together, mute a part, or solo one to hear it alone. Judge the split by ear before you download anything, then take individual stems, or a mix of whatever balance you set.

What a stem is, and what these are not

In a studio, stems are the real thing: the actual separate recordings, bounced out of the session before anyone mixed them together. They are perfect because they were never combined in the first place.

What this produces is an estimate of those recordings, reconstructed from the finished mix by a network that has learned what drums and bass and voices tend to look like. It is genuinely useful and it is not the same object. If you are remixing something officially, ask for the real stems. If you are learning a bassline, building a mashup, practising along, or working out what a producer did, an estimate is entirely sufficient.

Why the frequency limits matter more here than elsewhere

Each of these networks reads a fixed number of frequency bands, and because the transform size differs per stem, so does the ceiling. Bass is analysed with a very long window, which buys excellent frequency resolution down low — exactly what you need to tell a bass note from a kick drum — at the cost of only covering the bottom quarter of the spectrum. Nothing above roughly 5.5 kHz appears in the bass stem, which is fine, because nothing you want from a bass lives up there.

It becomes visible when you add the stems back together and find the top end missing. That is not a bug to work around; it is what these models are. If you need a complete complement to one stem, subtract that stem from the original yourself rather than summing the other three.

Getting a better result

Start from the best source you have. A 320 kbps MP3 or a lossless file gives the models detail that a 128 kbps file has already thrown away, and some of that detail is what distinguishes a hi-hat from a sibilant.

Separate a section rather than a whole track when you can. It is not only faster — the result is identical, because the models work in short chunks and have no memory of the wider song, so there is nothing to lose by cutting first.

Expect the drums to be the most convincing thing you get, and judge the tool on the stem you actually need rather than on the weakest one. "Other" being mediocre says very little about whether the drums are good.

Questions

How long does this actually take?
Roughly the length of the track for each stem you ask for, on one processor core. Four stems from a four-minute song is therefore something like a quarter of an hour on a laptop, and less if your browser can use several cores. This is the honest cost of it running on your machine rather than on a rented GPU, and it is why the stems are individually selectable — most people want the drums or the bass, not all four.
Why do the four stems not add back up to the original?
Two reasons, and the first is intentional. Each of these networks reads only part of the frequency range: the bass model looks below about 5.5 kHz, because that is where bass lives and the resolution is better spent there, and the "other" model stops around 11 kHz. Anything above those limits is not in any stem. The second reason is that the four models were trained separately and never had to agree with each other, so they overlap and disagree at the edges. Summing them gets you close to the original, not exactly to it.
Which stems are worth it for what?
Drums and bass are the most reliable, because both are rhythmically and spectrally distinctive and the models find them easily. Vocals are good. "Other" is the weakest, and unavoidably so: it is defined as everything that is not the first three, which means guitars, keys, strings, horns and synths all at once, identified by exclusion rather than by what they are. If your goal is a backing track without the singer, the vocal remover does a better job than taking three stems and adding them together.
Can I get the guitar on its own?
Not with these models. Four-stem separation is a standard from a research benchmark, and "other" is the bucket everything else falls into. Networks that isolate a specific instrument exist but are trained per instrument and would be another download each, for a result that is markedly less reliable than the four here.
It ran out of memory partway through.
Four stems means holding four full-length results plus the original plus the working spectrograms. On a long track that adds up fast, and the bass model is the hungriest of the four because its transform is the largest. Ask for fewer stems at a time — they are cached individually, so you can do drums now and bass later without re-downloading anything — or trim the track first.
Are these the same models the research papers use?
Yes. This is the KUIELab four-stem set from the Music Demixing Challenge, and each stem uses the transform size it was trained with, which differs per stem: 6144 for vocals, 4096 for drums, 16384 for bass and 8192 for "other". Those were confirmed here by measurement rather than assumed, because a wrong transform size does not fail — it just quietly separates worse.