Mixxx is software designed for DJs that allows you to mix songs live. Mixxx supports MP3, OGG, FLAC, and WAVE playback, and can be controlled by numerous DJ MIDI controllers. Turntables with timecoded vinyl can also be used to control Mixxx through the vinyl control feature.
Windows users can install Mixxx by double-clicking on the Mixxx installer executable. Mixxx is supported on Windows XP and Vista.
Linux users can often find Mixxx included with their favourite distribution. For example, Ubuntu users can install Mixxx through the Applications→Add/Remove… menu item. If Mixxx is not packaged for your distribution, you can compile Mixxx from scratch. For details on compiling Mixxx, see: Compiling on Linux
OS X (Intel) users can install Mixxx by double-clicking the Mixxx zip archive, and then dragging-and-dropping the Mixxx bundle into their Applications folder. Mixxx requires an Intel Mac running OS 10.4+.
Mixxx's user interface is designed to be simple and easy to use when DJing live. This section outlines the main features of Mixxx's interface.
| The tempo controls allow you to slow down and speed up a song. This is frequently useful for beatmatching songs when mixing. The RATE slider changes the tempo of a song when it is moved. The PERM buttons apply fine adjustment to the RATE slider, and the TEMP buttons apply a temporary pitch-bend when depressed. The amount by which the PERM and TEMP buttons alter the pitch of the track can be changed in the Options→Preferences→Interface menu. The SYNC button attempts to automatically match the tempo of the song in the corresponding channel with tempo of the song in the other channel, based on the calculated BPM. |
| When toggled, the HEADPHONE button sends the selected channel's audio to the Headphones output audio device selected in the preferences under Sound Hardware. This feature is commonly used when headphone cueing and beatmatching. The FLANGER button enables a built-in flanger effect on the selected channel. A flanger effect applies a “sweeping” sound to the channel and can add extra depth to a mix when used tactfully. |
The first time Mixxx is started, you are asked to select a directory containing your music library. This directory will be scanned and any music found will be indexed in Mixxx's internal library. The music library path can be changed at any time in the preferences, via the Library and Playlists pane.
Mixxx's preferences can be accessed by selecting Options→Preferences.
When Mixxx is launched, it tries to select a reasonable sound device for output. You can check which device Mixxx has selected in the Sound Hardware pane in the preferences.
Mixxx has two audio paths: The Master output and the Headphones output. The Master output is what a DJ should have connected to their main speakers, while the Headphones output should be connected to their personal headphones. The headphone output is optional, and can be used for Headphone Cueing.
To configure the Master and Headphones outputs, enter Mixxx's preferences and select the Sound Hardware pane. In order to select a headphone device, either a soundcard with at least 4 channels of output (two stereo outputs, as featured on 5.1 soundcards) or two separate stereo soundcards is required. The output channel mapping, which determines the physical jack on the soundcard that the audio comes out of, can be selected under “Channel”.
Example Soundcard Configurations
Single audio device (4 Channel Soundcard)
Master device: Echo Digital AudioFire4 Channels: 1/2 Headphone device: Echo Digital AudioFire4 Channels: 3/4
Dual audio devices (Two Stereo Soundcards)
Master device: ElCheapo USB Audio Channels: 1/2 Headphone device: SoundBlaster Live! Channels: 1/2
Currently, Mixxx has no special mode for routing the output of a single deck to a separate output, which is what you need when using an external mixer. However, this behaviour can be achieved with a simple trick. Move the crossfader all the way to the left and turn the “Pre/Main” knob all the way left as well. This will give you only the pre-listen signal on the headphone output. Now, enable Cueing for the second channel by toggling channel 2's HEADPHONE button. With this setup, channel 1 will be playing on the master output and channel 2 will be playing on the headphone output. The master and headphone outputs of your soundcard should then be plugged into channel 1 and channel 2 of your external mixer.
The latency in Mixxx indicates the amount of time it will take for the audio to respond to any change in a control. For example, a latency of 36 ms indicates that it will take approximately 36 ms for Mixxx to stop the audio after you toggle the play button. Generally speaking, the lower the latency, the more responsive Mixxx will be. A latency between 36-64 ms is acceptable if you are using Mixxx with a keyboard/mouse or a MIDI controller. A latency below 16 ms is recommended when vinyl control is used because Mixxx will feel unresponsive otherwise.
In order to tweak your latency, reduce the latency slider in the Sound Hardware preferences pane and experiment until you can reliably run Mixxx without hearing any crackles, pops, or dropouts in the audio. Changing your Sound API to ASIO on Windows or JACK on Linux may allow you to reduce your latency setting, but this depends on your hardware configuration.
Keep in mind that lower latencies require better soundcards and faster CPUs and that zero latency DJ software is a myth (although Mixxx is capable of < 10 ms operation).
For detailed information on latency in Linux, you should consult the Web, as it's quite a complex topic. The Jack FAQ is recommended reading, especially the section on “How should I configure my Linux 2.6 Operating System?”. Other useful resources are the Linux Realtime guide and Gentoo's documentation on the subject.
The first thing one can try to reduce system latency is getting a realtime kernel. If you're using a binary kernel, this might be as simple as installing a realtime enabled kernel with your package manager (if your package system offers one of course). Otherwise download kernel sources and the realtime patch for your kernel version. The patch can be found here. Untar the patch to your kernel source directory, apply it and configure/install the kernel as usual.
There are basically two options for configuring the use of realtime-capabilities. The first and simplest one is to use the realtime-lsm modul. This only requires to install the kernel-modul with your package manager. After that you can load it and grant realtime privileges to particular users/groups by setting uid/gid as module options (for example: “modprobe realtime gid=18” gives realtime permissions to the audio group on my system). Unfortunately, this method is deprecated and doesn't work any longer since Linux kernel version 2.6.24). In current kernels you have to use rlimits with PAM to enable realtime priority support. (Note: This is also the prefered method for older 2.6 kernels that might still work with the realtime-lsm modul). To use this method, edit /etc/security/limits.conf :
Example: /etc/security/limits.conf
* hard rtprio 0 * soft rtprio 0 @audio - rtprio 99 @audio - memlock unlimited @audio - nice -19
The lines starting with * define default values. The ”@” in @audio tells PAM that audio is a group. One can also set permissions per user by writing it without the ”@”.
The soundcard samplerate describes the temporal resolution of its audio. Because most audio tracks are encoded at a samplerate of 44100 Hz, increasing the samplerate inside Mixxx beyond this may not lead to increased audio quality. However, users that still prefer upsampled audio can select a higher sampling rate in the Sound Hardware preferences pane. Keep in mind that increasing the samplerate will increase CPU usage and likely raise the minimum latency you can achieve.
Mixxx supports several different Sound APIs across Windows, OS X, and Linux. A Sound API is a tool Mixxx uses to interact with soundcards. Some soundcards come with drivers that are provide lower latency with certain Sound APIs, so different APIs can be selected from Sound Hardware preferences pane.
On Windows, ASIO is generally the lowest latency API. On OS X, CoreAudio is the best choice, and on Linux, JACK or ALSA provide the best compatibility and performance. Linux users wishing to use JACK should ensure they run the jackd daemon before launching Mixxx, otherwise JACK will not appear as a Sound API in the preferences.
Vinyl control allows a user to manipulate the playback of a song in Mixxx using a real turntable as a controller. In effect, it simulates the sound and feel of having your digital music collection on vinyl. Many DJs prefer the tactile feel of vinyl, and vinyl control allows that feel to be preserved while retaining the benefits of using digital audio.
You can configure vinyl control through the Vinyl Control pane in the preferences.
More information about Mixxx's vinyl control and supported hardware configurations is available on the vinyl control wiki page.
Mixxx was designed to be easy to learn for both novice and experienced DJs. The user interface mimics a hardware DJ mixer, but also includes several extra elements to gives DJs a better user experience, such as the parallel waveform displays.
Songs can be loaded into a player in several ways:
There are two main waveform displays in Mixxx that are used to display the waveform of the songs you are mixing. These are useful because they allow you to see features in a song (like a breakdown) before you hear them. The waveform displays are aligned parallel to each other in order to make beat matching easier, as it is possible to beatmatch visually by aligning the beats that appear in each waveform.
Clicking and dragging on a waveform allows you to seek through a song in both directions. The waveform display is updated in realtime upon seeking. There are two smaller waveform summary displays located adjacent to the main waveform displays. These smaller displays show the waveform envelope of the entire song, and are useful because they allow DJs to see breakdowns far in advance. Vinyl DJs will find this familiar because quiet sections of songs can be visually distinguished when looking at a vinyl record, and this is a useful tool when planning your mixes on-the-fly.
Beatmatching is the process of adjusting the playback rate of a song so that it matches the tempo of another song. Beatmatching also involves adjusting the phase of the beats in a song so that they are aligned with the beats in the other song. Matching the tempo and aligning the beats are the two things a DJ must do to beatmatch.
In Mixxx, you can match the tempo of two songs by adjusting the playback rate sliders on left and right side of the user interface. You can adjust the phase of the beats by clicking-and-dragging on either waveform display to temporarily slow down one of the songs until the beats are aligned. The temporary pitch bend buttons can also be used to momentarily adjust the playback rate, allowing you to “shuffle” the beats in a song forwards or backwards, so they can be aligned with another song.
Once the tempos are matched and the beats aligned between two songs, they are said to be beatmatched. A “perfect” beatmatch is near impossible - there will always be some tiny difference in the playback rates. A keen DJ will keep his or her ears open and listen for the beats drifting out of alignment. This has a distinct “double bass kick” sound which is often preceded by the kick weakening in intensity (as the two kicks drift out of phase). When this happens, the beats can be realigned by simply tapping one of the temporary pitch bend buttons a few times in the appropriate direction. Now get out there and make Tiesto jealous!
Headphone cueing is a technique DJs use to listen to the next track they want to play in their headphones before playing it out the main speakers. Mixxx allows a DJ to route audio from either player to their headphones by toggling either of the “HEADPHONE” buttons located on the far left/right sides of Mixxx's interface. Headphone cueing is useful because it allows a DJ to beatmatch the next song in their headphones before bringing it into their mix by sliding the crossfader.
The shortcuts are defined in a text file, and can be changed by the user -
Linux: /usr/share/mixxx/keyboard/Standard.kbd.cfg
MacOS X: <Mixxx bundle>/keyboard/Standard.kbd.cfg
Windows: <Mixxx directory>\keyboard\Standard.kbd.cfg
MIDI controllers are external hardware devices used that can be used to control audio applications, like Mixxx. Many DJs prefer the “hands-on” feel of a MIDI controller with Mixxx because it can feel similar to using a real mixer and turntables.
As of Mixxx 1.6.0, the following MIDI devices are supported:
Before purchasing a controller to use with Mixxx, please consult our Hardware Compatibility wiki page. It contains the most up-to-date documentation on which controllers work with Mixxx and what the caveats of each device are. Device support varies for each supported OS, so please make sure to consult the documentation.
Mixxx is a community-driven project involving many DJs worldwide. Without the contributions from these DJs, Mixxx would not exist, and we're constantly looking for more contributors.
If you're interested in getting involved with Mixxx, send our Developer's Mailing List an email or hop on our IRC channel (#mixxx on Freenode).
If you're interested in coding (C++):
If you're not interested in coding, there are still many ways to help our project: