Tempo Follow
A small macOS app that listens to the DJ mixer, finds the tempo from the kick and keeps Resolume Arena in time with it. Built for my own AV sets, so the visuals follow the music without me riding the TAP button all night.
Resolume Arena can sync clips to a BPM, but it can't hear the music. At a club gig that means either taking a Link or MIDI clock from the DJ (rarely available) or tapping the tempo by hand and correcting it every time the DJ drifts. I wanted my visuals to just follow along, so I built Tempo Follow.
It listens to an audio input, usually the mixer's booth or record out, and works out the tempo from the kick drum. Under the hood it computes a kick-weighted spectral flux onset envelope with Accelerate, then runs a comb filter over its autocorrelation to pick the beat period. Halves and doubles are folded into one range, so a half-time breakdown never sends Arena to 66 BPM.
The interesting part is the behaviour, not the maths. Techno is full of breakdowns, ambient intros and long filtered sections where there is no clear kick. Tempo Follow holds the previous tempo through those. A new tempo has to stay steady for a confirm window (8 seconds by default) before anything changes, and then Arena glides to it at about 0.5 BPM per second instead of jumping. The visuals never lurch.
It talks to Arena over its REST API to read and set the composition tempo, and over the WebSocket to fire Resync, since event parameters only work there. If you change the BPM in Arena yourself, Tempo Follow notices and carries on from your value instead of fighting you. Resync on the 1 lines up the downbeat.
It's a native SwiftUI app, a universal binary for Apple Silicon and Intel, signed and notarised. There's also a headless test mode that runs the same follower over a WAV file, which is how I tuned it against real sets before taking it to a venue.
Requirements. macOS 13 or later, Apple Silicon or Intel. Resolume Arena or Avenue 7.8 or later (the REST API landed in 7.8), with the webserver switched on in Preferences > Webserver. Tested on Arena 7.21.3. Resync on the 1 uses Resolume's WebSocket API, so on older 7.x builds tempo following still works but Resync may not. On first launch macOS asks for microphone access; allow it so the app can hear the input.
- Swift
- SwiftUI
- macOS
- Audio DSP
- Resolume
- VJ

01 / 02
Tempo Follow, locked on a 131 BPM set
More from Technology
Founder · Documentation · Automation
An open-source kit for the German self-employment visa
Templates, an AI-assisted worked example, and a small automation pipeline for the Berlin §21 AufenthG residence permit process — everything I wish had existed while I was filing my own.

Founder · Design · Engineering
Mixva
A macOS app for DJs. Polish. Credit. Publish. — everything you need to prepare a DJ set from recording to release, in one workflow.

Design · Engineering · Custom CMS
enterthemindscape.org
The home for Mindscape, Berlin. Designed and built from scratch, running on a custom CMS I wrote for the community to publish events, editions, and archives without touching code.