Comments (8)
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.
This script is opinionated on defaulting to the highest quality possible -- it means using lossless formats (both as inputs and outputs).
from stemgen.
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.
My guess is that extracting the stems from a lossy file isn't as accurate.
from stemgen.
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.
@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.
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.
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)
- [Feature Request] traktor4 metadata HOT 6
- ni-stem errors on linux HOT 1
- [Feature Request] GUI HOT 3
- [Feature Request] Windows Support HOT 10
- [Note] ALAC stems can't be read on Windows within Traktor HOT 3
- Sweep(slow): Review the codebase and make suggestions to make the code more readable and Pythonic HOT 1
- Sweep(slow): Review the codebase and make suggestions to make the code more readable and Pythonic HOT 1
- Sweep: Refactor ableton.py to be cleaner, extracting any methods you can into separate files if that makes sense HOT 1
- Sweep: Add comments and docstrings to ableton.py. Clarify each method and global HOT 1
- Mutagen missing in installation instructions HOT 1
- Converting multiple songs at once? HOT 3
- [Feature request] Extract only vocals and instrumental HOT 2
- Error opening input: No such file or directory HOT 8
- How to know if qaac encoder is used on Windows? HOT 2
- [Feature request] Custom name & color for stem HOT 2
- [Bug] Windows cleaning step failing HOT 5
- [Feature Request] Following the Stem File Specification HOT 1
- [Bug] ALAC stems can't be read on Windows within Traktor HOT 4
- [Feature Request] GPU acceleration HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stemgen.