Code Monkey home page Code Monkey logo

Comments (8)

axeldelafosse avatar axeldelafosse commented on June 10, 2024 1

Hey! Sorry but I don't want to encourage people to separate stems from lossy formats. We need to encode to WAV when using Demucs, so it's pretty bad to use MP3 files as input. You shouldn't do this.

from stemgen.

axeldelafosse avatar axeldelafosse commented on June 10, 2024 1

This script is opinionated on defaulting to the highest quality possible -- it means using lossless formats (both as inputs and outputs).

from stemgen.

MacTheZazou avatar MacTheZazou commented on June 10, 2024 1

You're right, I didn't follow the link correctly. Thank you for your work, it's incredible! I would love to do a Blind-test on some big PA though.

from stemgen.

benjaminlewandowski avatar benjaminlewandowski commented on June 10, 2024

My guess is that extracting the stems from a lossy file isn't as accurate.

from stemgen.

stathius avatar stathius commented on June 10, 2024

It worked well for a couple of tracks that I tried. A lot of people have their music library in mp3s so it would probably be beneficial to add this option.

from stemgen.

MacTheZazou avatar MacTheZazou commented on June 10, 2024

@axeldelafosse I can't find any information that back up the fact that using lossy formats as input is bad with DEMUCS... In fact DEMUCS is trained with lossy audio:

All files from the musdb18 dataset are encoded in the Native Instruments stems format (opens new window) (.mp4). It is a multitrack format composed of 5 stereo streams, each one encoded in AAC @256kbps.

from stemgen.

axeldelafosse avatar axeldelafosse commented on June 10, 2024

Sorry but I don't have the time to argue about this. Lossy formats are bad.

The quote you shared is for the compressed dataset, surely the models are trained using the uncompressed dataset.

Splitting a song from MP3 and then encoding it in AAC is clearly impacting the audio quality. Don't do that.

from stemgen.

axeldelafosse avatar axeldelafosse commented on June 10, 2024

Thank you, really appreciate it.

Yeah to be honest I'm not sure I understand exactly how Demucs is impacting the audio quality. I'll try to dig into that at some point.

from stemgen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.