Batea, music organizer for DJs
Solo design, development and release · 2026 · Public beta · Own product, desktop app

- Impact
- BPM correct on 94% of 300 tracks · suggestions with 3x more hits
- Proof
- Public repository and signed, notarized installers, with five releases published between November 18 and 23.
Overview
Mac app for DJs built end to end. Python backend, React interface, audio analysis, 3D map, cue editor and signed, notarized distribution with automatic updates.
Problem
rekordbox sorts playlists and analyzes well, but it doesn't help you decide what comes next. In my library the genre is almost never filled in and the artist is often inside the title, so filtering helps little. What I did have was the history, with over 300 sessions and about 24,500 real transitions. No tool used it. I wanted to flip through the library visually, like a crate of records. I wanted suggestions to come from how I mix and not only from BPM and key. And I didn't want to risk the rekordbox database, which is my whole library.
Solution
I built a desktop app with a Python backend and a React interface. The backend reads a copy of the rekordbox database, stores its own data in SQLite and serves the interface inside a native window. Each crate flips like a stack of records and each track shows its cover, tags, rating and energy. On top of that I built what was missing. A cue editor with a sample-level waveform. A lab to test the mix of two tracks with EQ, crossfader and tempo changes that keep the pitch. An energy chart to review a set and suggest bridge tracks. A 3D map where each track is a star and the lines connect what I played one after the other. And an MCP server so I can ask Claude or Codex about my library and get real tracks back.
Process
- 1Read-only on rekordbox. Batea never writes to the rekordbox database. It reads a copy and sends changes back through the import XML that rekordbox already offers. It's less direct, but a damaged database would cost me years of work.
- 2Local app, no account, no cloud. My music lives on an external SSD that is almost always unplugged, and a club has no reliable internet. Everything works offline and the data stays on the Mac.
- 3Analysis only when I ask. In one test, Batea analyzed 319 new tracks with four processes at once and froze my 8 GB Mac. Now there is a single queue, one track at a time and low priority, and nothing gets analyzed unless I ask.
- 4Measure before trusting. The BPM detector I used returned 112 for 140 BPM tracks. I built a benchmark with my own files and the rekordbox values as reference. The new detector combines Essentia with a kick-drum analysis and is right on 94% of 300 random tracks, and on every techno one. For key detection I tried a neural network model and custom templates. The best reached 55% against the 52% I already had. That was little for its weight, so I dropped it.
- 5Recommendations that learn from history. With only BPM and key, a reggaeton track showed up after a hard techno one. The new index uses what I played in the same sessions, my playlists, folders, artist and label. I held out the last 25 sessions as a test. The track I actually played next went from appearing in the top 10 4.5% of the time to 13.9%.
- 6One energy scale. Tracks analyzed by Batea and tracks from rekordbox used different scales, and almost all came out 10 out of 10. I measured 80 tracks both ways, calibrated the conversion to a 0.91 correlation, and the chart of a hard set stopped being a flat line at the top.
- 7A motion system of my own. The interface uses three speeds and springs defined once, a highlight that slides from row to row and animated exits. I wrote it in plain CSS. I didn't migrate to another framework just to get those animations.
- 8Testing without touching my real library. I always tested on copies of my database and on an invented library of synthetic tracks. The screenshots on this page come from that invented library.
- 9Distribution as a product. PyInstaller builds the app and GitHub Actions compiles the installers for Apple Silicon and Intel, signs them and notarizes them with Apple. Before updating itself, the app checks the signature, the team and the version of the installer it downloaded.
Process gallery



Results
Batea 0.5.0 came out on November 23, 2026, eight days after I started. It has about 12,000 lines of Python, 13,000 of TypeScript and backend tests. I use the app with my real library and the code is public.
My Role
I did the whole cycle. Product, design, backend, interface, audio analysis, packaging and release. I worked with AI agents, Claude Code and Codex, which wrote a good part of the code. I decided what got built and what got dropped, and I tested every change with my own music.
Technical Architecture
Backend: Python 3.12, FastAPI and SQLite rekordbox reading: pyrekordbox on a copy of the database Audio: Essentia and librosa for BPM, key and energy Interface: React 19, TypeScript, Vite and zustand 3D map: three.js with d3-force-3d in a Web Worker Audio in the interface: Web Audio with a custom tempo stretcher based on WSOLA, which changes tempo without changing pitch Window: pywebview on WKWebView AI: MCP server with 13 tools, connectable to Claude Code, Codex and Cursor Packaging: PyInstaller, GitHub Actions, Developer ID signing and Apple notarization The rekordbox, Traktor and Serato readers follow one adapter contract. Adding a new program doesn't touch the rest of the app.
Impact
Public installers for Apple Silicon and Intel, signed and notarized In-app updates with signature verification BPM correct on 94% of 300 random tracks, measured against rekordbox Three times more hits in the top 10 of the suggestions, measured with my history Cues and grid checked against a real rekordbox export, with 405 of 405 tracks identical Readers for rekordbox, Traktor and Serato
Major Challenge
Getting cues and grid back into rekordbox. My first mapping of cue types was wrong. Instead of guessing, I exported my own library from rekordbox and compared 6,672 cues. I found that type 4 is never a hot cue and that the rekordbox grid can't be rebuilt from its analysis files, because only 59% matched. Today Batea takes the grid as is from that XML. In my test with real data, 405 of 405 tracks came out identical. The feature stays marked as experimental until I try a track in rekordbox with a backup in place.
Current Usage
Version 0.5.0, in public beta. In the first week, the people who tried it didn't understand the app, the suggestions missed and the BPM came out wrong on fast tracks. That led me to redo the analysis and the recommendations, add a guided tour and show the key in each program's own notation.
Key Learnings
- Measure against a real reference before choosing an algorithm. The rekordbox values worked as a test and kept me from adding a model that improved nothing.
- AI in a product doesn't have to be a chat. I chose an MCP server so each DJ can use the assistant they already have.
- If a task can freeze someone's computer, it doesn't run on its own. After freezing my Mac, analysis became on-demand only.
- What makes sense on my screen is not what a newcomer understands. The guided tour came from watching how the first people to try it got lost.




