XWAX(1)
๐ XWAX(1) โ Digital Vinyl on Linux ๐
okay bestie, welcome to section 1 of the General Commands Manual ๐ this is the whole entire tea on xwax, and I'm gonna walk you through it like we're texting at 2am, except every single flag is still here. no skips. no "you get the idea". we're going all the way through, periodt.
โจ NAME โจ
xwax โ Digital vinyl on Linux ๐ฆ
โจ SYNOPSIS โจ
xwax [options] [-- path ...]
โจ DESCRIPTION โจ
so xwax is vinyl emulation software for Linux, and it's literally iconic for this. it lets DJs and turntablists playback digital audio files (MP3, Ogg Vorbis, FLAC, AAC and more ๐) and you control all of it using a normal pair of turntables via timecoded vinyls. like, actual records spinning, actual needle, but the audio is your files. the way that works is lowkey genius. no cap.
โจ OPTIONS โจ
๐จ IMPORTANT VIBE CHECK: the ordering of options is important. most options apply to subsequent music libraries or decks, which can be given multiple times. see the EXAMPLES below, bestie. ๐
-l,--cratepath โ scan for tracks or a playlist at the given path. tracks get grouped into a crate in the music library. you can also just dump paths at the end of the command, after a--argument. ๐--timecodename โ use the named timecode for subsequent decks. run--helpfor a list of valid timecodes. you will need the corresponding timecode signal on vinyl to control playback โ no vinyl signal, no control, that's the deal. ๐--33โ set the reference playback speed for subsequent decks to 33 and one third revolutions per minute. this is the default, so it's giving main character energy without even trying.--45โ set the reference playback speed for subsequent decks to 45 revolutions per minute. speed it up bestie ๐--[no-]protectโ protect against loading new tracks or resetting the start of the track if the deck is playing. applies to subsequent decks, and the default is off. so yeah, by default it does NOT protect you. ๐--phonoโ adjust the noise thresholds of subsequent decks so they tolerate a cartridge-level signal plugged into a line-level audio interface. it's a 'software pre-amp'. but listen: unless your audio path has low noise, this will give worse results or may not work at all; a true phono pre-amplifier is always preferred. like, always. don't fight me on this one. ๐ญ--lineโ set noise thresholds of subsequent decks to standard audio levels. this reverses the effect of the--phonooption, and is the default. we're back to normal, we're healed โจ--importpath โ execute the given program to load tracks for playing. the program outputs a stream of signed, little-endian, 16-bit, 2 channel audio on standard output. yes that's very specific, write it down. ๐--scanpath โ execute the given program to scan music libraries. applies to subsequent use of the--crateflag.--dummyโ create a deck which is not connected to any audio device, used for testing. a fake little deck, a simulation, a vibe ๐ซถ--lock-ramโ lock into RAM any memory required for real-time use. this includes audio tracks held in memory which can be large. useulimit -lto raise the kernel's memory limit to allow this. heads up: this can eat a LOT of memory. ๐--rtprion โ change the real-time priority of the process. a priority of0gives the process no priority, and is used for testing only. only. for. testing.--geometry[nxn][+n+n][/f]โ change the geometry of the display in size, position and scale (zoom) respectively. the size and position is passed to SDL, which may use it to set the display mode, or size of an X window. see the EXAMPLES.--no-decorโ request to the window manager to create a 'frameless' window which does not have the regular controls such as title bars and buttons. this can be useful in conjunction with the--geometryflag for dedicated xwax appliances. dedicated appliance era ๐ง-h,--helpโ display the help message and default values. when in doubt, ask for help, bestie.
๐ ALSA DEVICE OPTIONS ๐
the following options are available only when xwax is compiled with ALSA support.
--alsadevice โ create a deck which uses the given ALSA device (eg.plughw:0).--ratehz โ set the sample rate for subsequent decks. the default is to prefer48000Hz, but use44100Hzif that is not available. to maintain best performance, only sample rates implemented by the hardware are available. so no making up numbers, the hardware has to actually do it. โญ--buffersamples โ set the ALSA buffer size for subsequent decks. smaller is better for lower latencies and greater responsiveness. set too low and audible glitches will occur, with reports of underruns to the console. so like, don't go too small or it starts screaming at you. ๐ญ
๐ง JACK DEVICE OPTIONS ๐ง
the following options are available only when xwax is compiled with JACK support.
--jackname โ create a deck which connects to JACK and registers under the given name.
xwax does not set the sample rate for JACK devices; it uses the sample rate given in the global JACK configuration. JACK decides, xwax respects it. mutual respect. ๐ค
๐ธ OSS DEVICE OPTIONS ๐ธ
the following options are available only when xwax is compiled with OSS support.
--osspathname โ create a deck which uses the given OSS device (eg./dev/dsp).--ratehz โ set the sample rate for subsequent decks. the default for OSS devices is48000Hz.--oss-buffersn โ set the number of buffers used by the OSS device. applies to subsequent decks.--oss-fragmentn โ set the size of a buffer used by the OSS device. the actual buffer is2^nbytes. applies to subsequent decks. yes, that's2to the power ofn, math is math ๐งฎ
๐๏ธ HARDWARE CONTROLLER OPTIONS ๐๏ธ
the following options are available only when xwax is compiled with ALSA support.
--dicerdevice โ use one or two Dicer controllers connected as the given ALSA device (eg.hw:Dicer). see the section NOVATION DICER CONTROLS for more information.
adding a hardware controller results in control over subsequent decks, up to the limit of the hardware. so the hardware decides how much it can handle, not you, sorry. ๐
โจ๏ธ KEYBOARD CONTROLS โจ๏ธ
the playback of each deck (direction, speed and position) is controlled via the incoming timecode signal from the turntables. the keyboard provides additional controls.
"C-" and "S-" means a keypress is combined with the 'Control' or 'Shift' key, respectively. iykyk โจ
record selection controls:
cursor up,cursor downโ move highlighted record up/down by one.page up,page downโ scroll the record listing up/down by one page.left cursor,right cursorโ switch to the previous/next crate of records.tabโ toggle between the current crate and the 'All records' crate.C-tabโ toggle sort mode between: artist/track name, BPM and 'playlist' order. playlist order is the order in which records were returned from the scanner.C-S-tabโ re-scan the currently selected crate.
to filter the current list of records type a portion of a record name. separate multiple searches with a space, and use backspace to delete. it's giving search bar but make it DJ. ๐
deck-specific controls:
deck 0 / deck 1 / deck 2, bestie โ here's the whole mapping, nothing skipped:
F1/F5/F9โ load currently selected track to this deck.F2/F6/F10โ reset start of track to the current position.F3/F7/F11โ toggle timecode control on/off.C-F3/C-F7/C-F11โ cycle between available timecodes.
the "available timecodes" are those which have been the subject of any --timecode flag on the command line. so whatever you declared on the command line is your little menu. ๐
audio display controls:
+,-โ zoom in/out the close-up audio meters for all decks.
๐ฒ NOVATION DICER CONTROLS ๐ฒ
the Novation Dicer provides hardware control of cue points. the controls are:
- cue mode: dice button (1-5) โ jump to the specified cue point, or set it if unset.
- loop-roll mode: dicer button (1-5) โ "punch" to the specified cue point, or set it if unset. returns playback to normal when the button is released.
- mode button + dice button (1-5) โ clear the specified cue point.
the dice buttons are lit to show that the corresponding cue point is set. cute little lights, love that for them. โจ
๐ EXAMPLES ๐
2-deck setup using one directory of music and OSS devices:
xwax --crate ~/music --oss /dev/dsp --oss /dev/dsp1
as above, but using ALSA devices:
xwax --crate ~/music --alsa hw:0 --alsa hw:1
2-deck setup using a different timecode on each deck:
xwax --crate ~/music --timecode serato_2a --alsa hw:0 --timecode
mixvibes_v2 --alsa hw:1
as above, but with the second deck at 45 RPM:
xwax --crate ~/music --timecode serato_2a --alsa hw:0 --timecode
mixvibes_v2 --45 --alsa hw:1
default to the same timecode, but allow switching at runtime:
xwax --crate ~/music --timecode serato_2a --timecode mixvibes_v2
--alsa hw:0 --alsa hw:1
3-deck setup with the third deck at a higher sample rate:
xwax --crate ~/music --rate 48000 --alsa hw:0 --alsa hw:1 --rate
96000 --alsa hw:2
using all three device types simultaneously, one deck on each:
xwax --crate ~/music --alsa hw:0 --oss /dev/dsp1 -j jack0
scan multiple music libraries:
xwax --crate ~/music --crate ~/sounds --crate ~/mixes --alsa hw:0
a shorter form of the above which can also be easier to script:
xwax --alsa hw:0 -- ~/music ~/sounds ~/mixes
load all subdirectories and put each one in its own crate, with support from the shell wildcard operator:
xwax --alsa hw:0 -- ~/music/*
scan a second music library using a custom script:
xwax --crate ~/music --scan ./custom-scan --crate ~/sounds --alsa
hw:0
control two decks with Dicer hardware:
xwax --dicer hw:Dicer --alsa hw:0 --alsa hw:1
use a high resolution and enlarge the user interface:
xwax --geometry 1920x1200/1.8 --alsa hw:0
๐ HOMEPAGE ๐
๐ AUTHOR ๐
Mark Hills <mark@xwax.org>
and that's the whole page, bestie ๐ซถ this came from the xwax General Commands Manual, section 1 โ the footer is just the little <rainbow>XWAX(1)</rainbow> tag doing its thing, and the header up top said the same, so now you know exactly where you are. go spin something iconic ๐๐โจ
๐ฆ where this page comes from
- arch rolling: xwax 1.10-1 ยท GPL-3.0-only
- fedora 43: xwax 1.10-1.fc43 ยท GPL-3.0-only
- fedora 44: xwax 1.10-1.fc44 ยท GPL-3.0-only
- ubuntu stonking: xwax 1.10-1 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms