Page 1 of 3

Stem mixing in Mixxx? Please add your thoughts...

PostPosted: Thu Nov 10, 2011 1:35 pm
by dhj
Hi Mixxxers,

At the Mozilla Festival in London last weekend, I took part in a Hack the DJ workshop, looking at ways to take digital DJ'ing to the next level. One of the ideas proposed was stem mixing, using multichannel files in DJ applications. A proprietary implementation of this idea is Fireplayer ( ... 91455?mt=8) but this app is built with the intention that users will buy remixable versions of (a very limited number of) well-known songs from an in-app store. I would like to work towards a new open standard for stem mixing, something that is compatible with sharing our mixes on the open web - legally, of course - but could also be used by record labels that sell tracks to DJs.

For example, eight channel Ogg Vorbis files where the first two tracks are a stereo mix of the drums, third and fourth stereo bass, fifth and sixth stereo vocals, and seventh and eighth tracks everything else. This means that you can mute or solo individual stems in the mix, giving you the versatility of four-deck or eight-deck mixing but without the problems of keeping many decks in sync, since the stems within a single file are locked on the same timeline. Also, it makes using the mixer a lot simpler than for many-deck mixing, because you don't need to keep assigning the crossfader to the various different decks.

Of course this means that the eight channel .ogg file has to be prepared specially for DJ'ing, but this is already possible in Audacity. So we have a file format, and an editor, but what we don't yet have is full support for stem mixing in open source DJ applications. Sweep supports scratching on eight-channel files, but it doesn't have a mixer. Mixxx has a mixer, but doesn't support multichannel Ogg files (yet), as far as I can see.

So, what do you think? Is stem mixing a genuinely useful feature that will allow DJs to be more creative, or will it fail if the best music continues to be available in stereo only? Please add your comments below :-)



Re: Stem mixing in Mixxx? Please add your thoughts...

PostPosted: Tue Nov 15, 2011 8:20 pm
by Studiofinn
I have altered a Mixxx skin to show what we are trying to create. any feedback or suggestions welcome


Re: Stem mixing in Mixxx? Please add your thoughts...

PostPosted: Wed Nov 16, 2011 8:28 am
by Pegasus
This sounds like an awesome idea, especially since mash-ups are all the rage right now.

FLAC also supports up to 8 channels per stream, and I would want to see this format supported as well for its quality, especially since what we're talking about here is live remixing.

Mixxx uses the official OGG, Vorbis and FLAC libraries to read the files, so it would just be a matter of extending Mixxx itself to be multi-channel aware. The easiest thing to do first would be to allow selection of file channel pair to appear in the deck (since Mixxx's decks are currently stereo-only) and a first version would require DJs to load additional decks with different channel pairs if they wanted to use more from the same file. Beyond that, Mixxx's decks themselves would need to be extended to be multi-channel capable to realize what your skin suggests. (A bonus would be the ability to play 5.1/7.1 surround-sound songs.)

So... are you volunteering to implement this or just tossing the idea around? ;)

I just created a blueprint to track this: ... nnel-decks

Re: Stem mixing in Mixxx? Please add your thoughts...

PostPosted: Wed Nov 16, 2011 10:34 am
by dhj
Hi Sean,

We definitely want to help implement this, we have a six month project to produce something for the Future Everything festival: ... -the.shtml

I agree that multichannel FLAC would be the ultimate format for remixers, but since an eight channel file is at least 4x the file size of a lossy stereo version, and a FLAC file is around 5x the size of Vorbis, I think we need the choice of a lossy format to keep download times, bandwidth and storage requirements reasonable. Since both Vorbis and FLAC can use the same .ogg container and comment format, this need not be a problem for Mixxx. Remixers could opt to publish both versions, and let the DJs decide which to download.

As for surround mixes, that would imply a lot of additional development work because you would need to preserve all the channels through the mixer, and have multichannel outputs (something which I don't think any DJ hardware on the market supports, beyond stereo headphone, booth or record outs). What we're proposing is much simpler - have per-stem controls such as mute and solo in the signal path, but then mix those stems down to two channels before reaching the track fader and crossfader sections of Mixxx's internal mixer. That way, people will be able to use the stereo DJ interfaces and PA systems that they already have, but gain a lot more creative possibilities in the mix.



Re: Stem mixing in Mixxx? Please add your thoughts...

PostPosted: Wed Nov 16, 2011 11:36 pm
by Pegasus
Oh yeah, I totally understand what you're wanting. That's why I've split the work into three dependent blueprints (scroll to the bottom of the one I linked above to see the dependency graph of them all.) You'll only be interested in the first two. I just added the third (surround/multi-channel mixing) incase anyone ever wants to implement that in the future.

I do worry that getting hold of such prepared files will be the biggest challenge, so HOWTOs for creating such files for non-technical users will be needed in the short term.

Re: Stem mixing in Mixxx? Please add your thoughts...

PostPosted: Fri Nov 18, 2011 2:28 am
by phillytomcat
ZOMG I can ditch ableton's AND Traktor's shenanigans foreva. :D OH PLEASE

Re: Stem mixing in Mixxx? Please add your thoughts...

PostPosted: Wed Nov 23, 2011 12:43 pm
by dhj
Hi Sean, there are plenty of .mogg files available on file sharing sites that have been extracted from music games, but because we want to do things legally, we can point people towards creating their own multitrack .ogg files in Audacity, which is very simple. Terry Hancock shows how it's done for surround formats here: ... d_audacity

Re: Stem mixing in Mixxx? Please add your thoughts...

PostPosted: Fri Jan 06, 2012 4:56 pm
by Pegasus
Haven't heard anything from you guys recently. How is the project going? Anything we can help you with?

Re: Stem mixing in Mixxx? Please add your thoughts...

PostPosted: Wed Feb 01, 2012 4:03 pm
by albert
Hi guys,

Since Mixxx already has the sampler decks built-in, why do you need multi-track audio files?

Maybe for your specific hack, adding support for multi-track files could work. However, I feel like to produce the best, most usable product for DJs, you'd be better off taking advantage of the sampler decks we already have for several reasons:

1. No changes to the engine required. The stuff on the wiki sounds like a huge amount of work that cross-cuts many areas of Mixxx: ... ile_mixing
2. Every DAW on the planet already has multi-track rendering to separate WAV files. This is perfect ammo for the sampler decks.
3. The basic control interface for DJing is always two jog wheels and mixer controls for two channels. You could take advantage of this and write some sampler deck controls that sync them up to the main two decks in Mixxx, or something like that, and then it would feel properly integrated into Mixxx (works with MIDI hardware, vinyl control, etc.)

Just my thoughts... I hope I can point you in a easier direction than the one you seemed to be taking...


Re: Stem mixing in Mixxx? Please add your thoughts...

PostPosted: Mon Feb 06, 2012 1:09 am
by tospace
I would love to start seeing multitrack files. That made me think though. Ableton seems to have allot of control over each individual track. I was debating on rather to get a dj controller or an ableton controller. I didn't really see the point of ableton if you only have stereo tracks and I like the style of turntables.

My dream setup now is to have 2 ableton controllers (or just 2 separate groups of tracks) controlled by a turntables and mixxx. That way you could have 1 deck controlling everything you would normally except have all the control ableton has and not have to launch/stop a million tracks to switch songs unless you want to. Maybe running 2 instances of ableton so you can control the master tempo of each on each one?

My point is I eventually want to have control over everything... Looping, eq, effects, all for individual tracks. So would mixxx be just getting by with this ability or could it compare to ableton?

Maybe its already possible to control ableton with turntables? I don't really know what I'm talking about, I'm just starting to figure out simple dj programs with my keyboard and mouse and I'm working my way up :} but I wanted to throw my idea out there.