Skip to content

ThreadMix 0.3.0

Latest

Choose a tag to compare

@logge logge released this 16 Nov 14:35

Cleaner mixes: Beatmatch mode now mixes where a song's sections begin, the low end no longer drops out in the middle of a mix, and your music folder is left alone. On Windows, just run the installer over 0.2.0: it offers to remove the old version first (click OK). Your music folder, library, settings and downloaded models are kept.

New

  • Your music folder is only read. ThreadMix used to write its library file and a stems folder into your music folder. Now both live in a data folder of their own, which you choose on the welcome screen and can move in Settings > Library. The first scan after updating brings your existing library and stems across, and the DJ says in chat where they went.
  • Songs are remembered for good. Each song's analysis and stems are filed under a fingerprint of its sound, so moving or retagging a file, adding a second music folder with the same recordings, or starting over with a fresh library brings them back in moments instead of analysing them again. Settings > Library shows what the data folder uses and has Clean up cache, which removes songs that are no longer in your library and says how much it freed.
  • Settings > Effects: turn the DJ's effects off one by one, or all of them with one switch. It applies at once, to the set that is playing.
  • Keep the bass until the next track's comes in (Settings > Playback, on). When the next song opens without a bass, the playing song's bass and chords now stay until it has its own, instead of leaving at a fixed point and letting the bottom fall out of the mix.
  • Let each mix choose its own length (Settings > Playback, on; Beatmatch mode). A mix whose drums hold on both songs may run twice as long as the length you set, and one with a gap in the groove half as long.
  • Shift a track's key by a semitone to fit the mix (Settings > Playback, off). Turned on, a song may play a semitone higher or lower when that makes it fit the one before it.

Better mixes

  • Beatmatch mode mixes where the music changes. It finds where each song's sections begin and brings the next song in, and takes the old one out, on those lines rather than on any eighth bar.
  • The next song starts on the mix point, not a bar after it.
  • A steadier lock. A beat the tracker missed can no longer shift a song by a beat against the other one, and the tempo no longer wobbles while two songs play together where the pulse is soft.
  • Cleaner sound on most sound cards. Music is stored at 44.1 kHz and most sound cards run at 48; the conversion between the two used to dull the top of the sound and add a faint roughness to cymbals and voices. It no longer does. (Windows and Linux.)

Lighter on your computer

  • Analysing your library while a set plays, without a graphics card: the stem separation now uses half the processor cores for as long as a set is playing, and all of them again when it stops. With an NVIDIA card nothing changes; there the two never got in each other's way.
  • Stems are written faster after each song is separated, and the separation leaves more of the processor free.

Fixed

  • Song titles and artists with accented letters or curly quotes could show as boxes or wrong characters.
  • Clean up cache used to change nothing on screen; it now shows what it is doing and what it removed.

Windows: download ThreadMix-Windows-Setup.exe and run it. If Windows says "Windows protected your PC", click More info, then Run anyway. On first launch, choose your music folder and pick which AI models to download.

  • Windows 10 or 11, 64-bit. An NVIDIA RTX 20-series card or newer makes the AI parts much faster; without one everything still works, just slower.
  • 8 GB of memory to play, 16 GB for the DJ's brain (the language model).

Linux: two downloads. ThreadMix-Linux-Vulkan-x86_64.AppImage runs the DJ's brain and the lyrics on any graphics card with a Vulkan driver (AMD, Intel or NVIDIA) and falls back to the processor without one; ThreadMix-Linux-x86_64.AppImage always uses the processor. Make it executable and start it:

  • GNOME (Files): right-click it > Properties > turn on Executable as Program, then double-click it.
  • KDE (Dolphin): right-click it > Properties > Permissions > tick Allow executing file as program, then double-click it.
  • Terminal: chmod +x ThreadMix-Linux-*.AppImage && ./ThreadMix-Linux-Vulkan-x86_64.AppImage

Needs a 64-bit PC with Ubuntu 22.04, Linux Mint 21, Debian 12, Fedora 36 or newer, and FUSE (fuse3, already there on current desktops). Stem separation and beat tracking run on the processor in both, so the first scan is slow. If it cannot start, it says why in a window, and in ~/.config/BeatMix/logs/startup-error.txt.

Linux test build (for testers): ThreadMix-Linux-WebGPU-test-x86_64.AppImage is the Vulkan download above with one experiment added: it can run the stem separation on the graphics card. Nothing in it does that unless asked, and it is not yet known to be right or faster on every card. To try it on your machine, make it executable and run ./ThreadMix-Linux-WebGPU-test-x86_64.AppImage --stem-bench /path/to/a-song.mp3 in a terminal (MP3, FLAC, WAV or Ogg; the stem model must already be downloaded in ThreadMix). It separates two minutes of the song on the graphics card and on the processor, and prints how long each took and whether the two agree; send back everything it prints. Everyone else should use the two downloads above.

macOS: there is no new Mac build yet. ThreadMix-macOS.zip is still the Mac version from 0.1.1, with none of the changes above; it keeps its library in your music folder as before. Download it, open it if your browser has not already, and drag ThreadMix into your Applications folder. The app is not signed by Apple yet, so the first time you open it macOS stops it:

  • If it says Apple could not verify ThreadMix, click Done, then go to System Settings > Privacy & Security, scroll down and click Open Anyway next to ThreadMix, and confirm.
  • If it says ThreadMix "is damaged and can't be opened", it is not damaged: macOS says this about apps that are not signed. Open Terminal and run xattr -dr com.apple.quarantine /Applications/ThreadMix.app, then open it again.

Needs a Mac with Apple Silicon (M1 or later) and macOS 14 or later.

Source code: ThreadMix-source.zip is the complete source of this version, ThreadMix-macOS-source.zip the source the Mac version was built from, and ThreadMix-Linux-WebGPU-test-source.zip the source of the Linux test build. ThreadMix's own code is under the GNU GPL v2 or later; the app is distributed under the GNU AGPL v3 and its library scanner under the GNU GPL v2. See licenses/THIRD-PARTY.md in the zip, or next to the installed app, for every component.