projects

Studio Hub

A standalone rack device for automatic room correction and audio metering, controlled from a touchscreen.

Studio Hub: a black half-rack device whose touchscreen shows level meters and a frequency response

Studio Hub measures your room and corrects your speakers, all on the device itself. There's no extra software on a computer: you place a microphone, follow the steps on the screen and shape the sound with your fingers. It started as my master's thesis at TU Berlin, where the prototype was still called "Neorack".

Why room correction?

Studio monitors today are calibrated to be almost linear. But what you actually hear depends on the room: reflections and room modes boost some frequencies and cancel others, and the result changes with the position of the speakers and the listener. So no speaker can be tuned at the factory to sound linear everywhere.

There are two ways to deal with that:

Studio Hub does the second, and is careful about its limits.

Goals

  1. Magnitude correction with minimum-phase FIR filters
  2. A customizable and fast correction algorithm
  3. Direct interaction and an intuitive interface
  4. Room correction, monitor controller and audio analyzer in one device

The prototype

The first prototypes were small desktop units with a 3D-printed case, a touchscreen and a big knob.

Renders of two early desktop prototypes, a wedge-shaped case with a touchscreen and a large knob, and a stand with an angled touchscreen, next to a pencil sketch of both
The first prototypes and an early sketch. Case designs by Milan Siegers.

The current prototype is a 9.5" half-rack device, two rack units high. It's built from three parts:

There's no separate DSP chip: the interface and the audio processing share the same CPU. Every touch is heard immediately, and the device runs correction filters of up to 100,000 samples without dropouts.

Software

The app is built with C++ and JUCE, with newer DSP components written in Rust. Two libraries were made for it:

The correction algorithm

The screen guides you through each step. First the device checks that both speakers are connected and calibrates the level with pink noise. Then it measures:

  1. Sweep: each speaker plays an exponential sine sweep, recorded by the microphone at the listening position.
  2. Deconvolution and windowing turn the recording into the impulse response, and from there into the room transfer function.
  3. Warping spreads the frequency points so the low end, where the room has the most influence, gets more resolution.
  4. Multiple positions: you can measure between 1 and 37 positions around your listening spot, and the device averages them.
Diagram of seven measurement positions around a central listening position
Measuring around the listening position, starting in the center.
Two studio monitors on stands at a desk, a measurement microphone at the listening position, a laptop and the Studio Hub in a small rack case
A measurement in a living room.

Then the device builds the filter:

  1. Smoothing enlarges the listening area and makes the correction more robust.
  2. Target curve: a perfectly flat response often sounds unpleasant, so you shape the target yourself, right on the touchscreen.
  3. Frequency limits keep the correction inside the range the speakers can play, or only in the low frequencies.
  4. Gain limits stop the filter from pushing power into dips caused by destructive interference, which no EQ can fill.
  5. Minimum-phase FIR: the inverted response becomes a minimum-phase filter through homomorphic deconvolution. A linear-phase filter would add latency of half its length; this one adds none. A final window limits the filter length.
  6. Interchannel matching aligns the delay and level of the left and right speakers.
Studio Hub screen showing the measured left and right frequency response with an adjustable pink target curve
Shaping the target curve over the measured response of both speakers.

At the end you can switch between the corrected and the original sound to hear the difference, and change the target again at any time.