News for hackers. Stuff that matters.
Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by mwcampbell on Sunday November 03, 2019 @01:14AM (#21432328)
For your listening pleasure, here's a full-length demo. I decided to use the Jonathan Coulton classic "Re Your Brains", because I can legally share and modify his music under its Creative Commons license.

First, the original:

https://mwcampbell.us/tmp/spleeter-demo/jonathan-coulton-re-...

Now the derived stems:

Vocals: https://mwcampbell.us/tmp/spleeter-demo/jonathan-coulton-re-...

Accompaniment: https://mwcampbell.us/tmp/spleeter-demo/jonathan-coulton-re-...

Note: I'm not affiliated with this project or Mr. Coulton. I just think this is a cool project and wanted to share.

Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by M4v3R on Sunday November 03, 2019 @02:30AM (#21432637)
Wow, I've listened to several attempts at this over the years, but this one is waaay better than anything I've heard. It's almost perfect.
Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by 8bitsrule on Sunday November 03, 2019 @11:00PM (#21438923)
IME, this tool is certainly an order of magnitude closer to the Holy Grail than anything I've ever heard. Kudos to Deezer R&D.

https://www.youtube.com/watch?v=KPlmrq_rAzQ

Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by jesuslop on Sunday November 03, 2019 @04:58AM (#21433027)
Holly cow! The separation is sort of perfect! Thanks for the demo.
Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by eps on Sunday November 03, 2019 @07:33AM (#21433487)
"Indistinguishable from magic."
Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by savrajsingh on Sunday November 03, 2019 @05:40PM (#21437246)
Did it just work or did you have to supply something beyond the original JC track?
Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by mwcampbell on Sunday November 03, 2019 @11:40PM (#21439094)
Just worked.
Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by ropable on Sunday November 03, 2019 @06:19PM (#21437456)
They need to link these on the project readme as a demo.
Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by codedokode on Sunday November 03, 2019 @08:12AM (#21433658)
While it's a great technology, the result sounds somewhat robotic. On the original recording the voice sounds soft, but after separation it sounds like it is synthesized or passed through a vocoder, something is missing. The voice contains pieces of strumming sound. Guitar also sounds "blurred", as if someone cut an object from the picture and blurred the cut to make it less visible. Clap sound is distorted, on the original recording it sounds the same, but after separation it sounds different every time, as if it was filtered or compressed with low bitrate.

It is amazing how the ear manages to distinguish all the sounds without distortion.

Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by jacquesm on Sunday November 03, 2019 @09:25AM (#21434020)
> While it's a great technology, the result sounds somewhat robotic.

That's like complaining about how bad the pig plays the violin. This is absolutely incredible. The complexity level for this problem is right off the scale and the software does a passable job of it. Given some time and more training data and a few more people working on it this has serious potential.

Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by mikorym on Sunday November 03, 2019 @01:15PM (#21435528)
I think you meant how well the pig paints. [1] [2]

[1] https://pigcasso.org/wp-content/uploads/2018/12/7.jpg [2] Also, I am not affiliated with anything in particular that has been mentioned, or with the pig.

Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by jacquesm on Sunday November 03, 2019 @01:33PM (#21435652)
I think the original was in relation to pigs dancing.
Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by nickjj on Sunday November 03, 2019 @08:56AM (#21433883)
That roboticness is because there's overlap in frequencies between the voice and the instruments.

I have no idea how this tool splits them up at the implementation level but I imagine it tries to split it up based on frequencies and when it lifts out the voice, it's cutting out a ton of frequencies that would normally be in your voice so now it sounds very unnatural, blocky and metallic.

With studio quality headphones I can notice a massive difference for the worse between the original and separated vocal track. It reminds me of when I turned on a noise gate too high when recording audio for my courses. That noise gate clamps down on certain frequencies to help eliminate room noise but it also dampens or removes natural frequencies that occur on the low end of an average male voice. It gives that same very jagged sounding audio waveform.

Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by codedokode on Sunday November 03, 2019 @12:57PM (#21435412)
I don't argue that it's a great technology, but some of the neighbour commenters wrote things like "perfect", and to me it doesn't sound like "perfect" yet.

For example, in the beginning, if you listen to the phrase "from the office ...", in original recording it sounds smooth, like a single phrase (and the voice is warm and pleasant), but in the separated track it sounds like it is synthesized from pieces that are not properly connected, like vocaloid songs. It sounds little harsher. Transitions sound unnatural. And the phrase "heya Tom" in the separated track is split into "heya" and "Tom" with some unnatural sound between (or maybe in the beginning of "Tom"). It is like transitions you can hear in vocaloid tracks. Or the kind of artifacts you get if you over-compress an MP3 file.

And "it's good to see you" part also sounds robotic.

Maybe it's losing some of harmonics, but in a different way for different syllables and they don't sound like a single phrase anymore.

Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by sjwright on Sunday November 03, 2019 @08:24PM (#21438164)
It’s perfect relative to the most wildly optimistic expectations anyone could have reasonably held beforehand.

The vocals don’t have any significant residual artefacts from drum hits or any residual bleed-through of instruments playing the same notes. It’s magical.

Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by rafa1981 on Sunday November 03, 2019 @03:52PM (#21436512)
Maybe the source was compressed audio instead of flac/wav?

Edit: the source is an mp3, which removes audio frequencies based on perception/masking with other frequencies. It's perfectly normal that it is showing artifacts. A better source is needed.

Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by mwcampbell on Sunday November 03, 2019 @11:38PM (#21439088)
I encoded the source in MP3 for your convenience. But the source that I fed into Spleeter was FLAC.

Edit: I uploaded the original FLAC to my web server last night, before I decided that MP3 would be more convenient:

https://mwcampbell.us/tmp/spleeter-demo/jonathan-coulton-re-...

Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by zzzeek on Sunday November 03, 2019 @10:15AM (#21434298)
this is like someone just flew you to the surface of Mars in an hour and your only comment is that the ride was bumpy. The demo above is mind blowing.

I basically want to run this over every Steve Gadd recording I have.

Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by jononor on Sunday November 03, 2019 @10:54AM (#21434575)
People are hard at work on denoising of audio using neural networks also. I would expect that if one trained denoisers for each type of source separated here, and passed the separated audio through them, things would get even better.
Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by rrss on Sunday November 03, 2019 @03:01PM (#21436188)
spleeter is using neural networks.
Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by jononor on Monday November 04, 2019 @06:02AM (#21440502)
Yes, for source separation. Denoising is generally a separate task. A denoising network would take in a noisy signal for a single source and outputs a cleaned up one. It would be trained on the specific source type, for example vocals.
Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by rrss on Saturday November 09, 2019 @08:15PM (#21495717)
Gotcha, thanks.
Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by MattRix on Sunday November 03, 2019 @08:25AM (#21433721)
It's easy to pick up on lots of little things, but this is still extremely impressive. It's also more than good enough for people who want to practice singing/playing over the song by themselves.

I think the next step would be to train a network that can un-robotify songs and then run it on this.

Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by uryga on Sunday November 03, 2019 @08:38AM (#21433795)
> On the original recording the voice sounds soft, but after separation it sounds like it is synthesized or passed through a vocoder

funny, the original recording seemed kind of robotic to me! maybe not robotic, but like it's been filtered somehow. but that might just be my not-so-great headphones

Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by mwcampbell on Sunday November 03, 2019 @11:53PM (#21439140)
The original lead vocal is definitely processed. You can hear that processing clearly if you apply the classic vocal removal (really, center removal) effect. (My favorite implementation of that is the Center Cut DSP for foobar2000.)
Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by noja on Sunday November 03, 2019 @08:27AM (#21433736)
So Jonathan Coulton is now the new Suzanne Vega?
Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by BrentOzar on Sunday November 03, 2019 @09:36AM (#21434079)
> So Jonathan Coulton is now the new Suzanne Vega?

Bravo. For people who didn't get the sublime reference, Suzanne Vega's song Tom's Diner was a benchmark test during development of the MP3.[1]

[1]: https://en.wikipedia.org/wiki/Tom%27s_Diner#The_"Mother_of_t...

Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by CamperBob2 on Sunday November 03, 2019 @12:27PM (#21435206)
Tom's Diner wasn't just a benchmark. Brandenburg listened to it obsessively, over and over, to the exclusion of a lot of other content he might have done well to pay more attention to. Which is what tends to happen when you work on audio processing code, for better or worse.

So that's why the MP3 format mangles male vocals so badly at all but the highest bitrates. Now you know the Rest Of The Story... or at least you've read it on the Internet.

Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by danso on Sunday November 03, 2019 @07:44PM (#21437955)
This sounds really interesting. Is there a good writeup/oral history about this?
Re:Spleeter: Extract voice, piano, drums, etc. from any musi... by mwcampbell on Sunday November 03, 2019 @11:57AM (#21435008)
The reference is even more apt because the two of them have collaborated. She sang the led vocal on his song "Now I Am an Arsonist" (from the album Artificial Heart).