Skip to content
TALAS

mic-test-bench: a free measurement bench for microphones

Measurement bench · workshop notes · 21 November 2026 · Français

To know what a microphone you built or repaired is worth, you have to measure it, and without a lab the safest method is to compare it with a microphone you know. mic-test-bench does exactly that: it records the microphone under test and a reference microphone at the same time, on the same interface, while a loudspeaker plays the test signals. Then it computes every measurement and renders a report. We wrote it to measure the Talas One, our open-hardware condenser microphone, but nothing in it is tied to that microphone: a session manifest says which microphone is on which channel, with which hardware.

In short. A microphone under test, a reference microphone, a two-input interface, a loudspeaker. The bench produces a self-contained HTML report, with no server and no network, that gives each measurement its reliability level before the verdict: reliable, indicative or unreliable. Without calibration, the figures are relative to the reference. You can try the whole chain without any hardware, using a synthetic campaign.

1How it works

The microphone under test goes on input 1 of the interface, the reference on input 2, capsules side by side, and the same interface plays the signal through the loudspeaker. Each capture is a stereo WAV file: channel 1 is the microphone under test, channel 2 the reference. Because both microphones hear the same loudspeaker at the same moment, the loudspeaker’s response is in both channels and largely cancels in their difference.

The work is split in two. Capture and report rendering are written in Python. All the signal processing is in a Rust engine, talas-analyze, which writes every figure into a single file, report.json, with the CSV files behind every curve. The report only reads that file: there is one source for the figures. The command that runs the whole chain is talas-bench.

A workbench with the first Talas One prototype, an audio interface and measuring instruments
P1 · 2026 — the bench during the tests of the first Talas One prototype.

2What it measures

Measurement and engine commandWhat you get
Levels and relative sensitivity
level
Level of each channel and the gain gap between the microphone under test and the reference, over 100 Hz – 10 kHz
Frequency response, pink noise
fr
The difference, microphone under test minus reference, by octave band: the robust measurement
Frequency response, sine sweep
fr-ess
Magnitude, phase, group delay, γ² coherence, polarity, impulse response, waterfall
Self-noise
noise, guarded by noise-guard
A, C, Z, ITU-R 468 and CCIR weightings, third-octave bands, mains-line emergence, shape of the distribution
Noise of the electronics alone, with a dummy capsule
false-capsule
Noise in µV(A) and in equivalent dB(A), share of the mains lines, interface floor subtracted
Distortion
thd-tone, imd, report
THD and THD+N of a steady sine, curves against frequency and level, SMPTE and CCIF intermodulation
Transient response
transient
10–90 % rise time, overshoot, settling, polarity and delay relative to the reference
Directivity
polar
Directivity index, −6 dB beamwidth and front/back ratio per third-octave band
Proximity effect, output impedance, thermal drift
proximity, output-impedance, drift
A campaign of several captures for each
Blind listening
ab-prep
Two takes matched in loudness (ITU-R BS.1770), randomly assigned to A and B

Some measurements need more than one capture. For directivity, you record one sweep per turntable angle, the angle written in the file name, with the reference fixed: it is what cancels a source that drifts between two positions. A marked protractor and a careful hand are enough for 15° steps. A dummy capsule replaces a diaphragm with a capacitor of the same value: the preamp sees the same impedance but hears nothing, and what comes out is the noise of the electronics. The bench also has tools for a small batch: a verdict per unit against a profile of limits, the deviation from a reference unit, and the Cp/Cpk of a batch.

3The hardware

The bench was developed with an Audient iD14, a RØDE NT1-A as reference and an M-Audio BX5 loudspeaker. No other interface has been tried yet.

To go further, depending on the measurement: a 94 dB SPL acoustic calibrator and a true-RMS meter or an oscilloscope for absolute figures (dB SPL, mV/Pa); a calibrated measurement microphone, XLR or USB; a turntable or a protractor for directivity; a thermometer for drift; a measured resistor for output impedance.

4Installing

Tried on Fedora Linux 42 (x86_64) with Rust 1.94 and Python 3.13. You need Git, Rust 1.87 or later with cargo, and Python 3.11 or later with venv (on Debian and Ubuntu, the python3-venv package). For capture only, the PortAudio library (portaudio on Fedora, libportaudio2 on Debian and Ubuntu); analysing existing captures does not need it.

git clone https://codeberg.org/senke/mic-test-bench.git
cd mic-test-bench

# the Rust engine: a few minutes the first time
cargo build --release --offline --manifest-path talas-analyze/Cargo.toml

# the Python side, in its own environment
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.lock.txt

The engine builds without network access: its dependencies ship with the repository. The Python packages come from PyPI and need a connection once, at install time. After that, generating signals, analysing and rendering the report work offline. Optional: Chrome or Chromium for a PDF of the report, PySide6 for the desktop window.

5Trying it without hardware

A synthetic campaign runs the whole chain, from capture to report, with no microphone and no interface. With the Python environment active:

# test signals: sweeps, pink noise, sines, clicks
python3 signals/gen_signals.py && python3 signals/gen_pro.py

# the synthetic campaign: 19 captures, about 35 MB, and its manifest
python3 demo/gen_demo.py

# analysis and report, in English
./talas-bench captures/demo --manifest captures/session.demo.json \
              --inv captures/demo_inverse.wav --lang en

Then open resultats/demo/report.html. Next to it are report.json, the single source of the report’s figures, and the CSV files behind every curve. Leave out --lang en for a French report.

The synthetic captures carry characteristics measured on the first Talas One prototype in June 2026, so the report has realistic shapes to show. It is a test of the chain, not a measurement of a real microphone; below 250 Hz the reproduction stays imperfect, and the repository explains why in demo/LISEZMOI.md.

6Measuring a real microphone

First, match the gains. The two microphones do not have the same sensitivity. Record the same source, pink noise through the loudspeaker, and adjust the input gains until they are within 0.5 dB:

TA="${CARGO_TARGET_DIR:-talas-analyze/target}/release/talas-analyze"
python3 measure.py measure signals/pink.wav appariement
$TA level captures/appariement_*.wav

Note the knob positions and leave them alone for the whole session. Put the two capsules as close together as possible, grilles side by side, at the same distance and on the same axis to the loudspeaker, about 1 m away for frequency response, in the deadest room you have, ideally at night.

Then the whole campaign, followed by analysis and report:

./campagne_pro.sh my-mic         # captures in captures/my-mic/
./talas-bench captures/my-mic --manifest captures/session.example.json \
              --inv signals/sweep_inverse_long.wav --lang en

With CALME=1 ./campagne_pro.sh my-mic, the campaign plays only the silence, the gain matching, the pink noise and the sweep, at speaking level, in about a minute and a half per microphone. It skips the loud steps: at moderate level they mostly measure the loudspeaker, and distortion is better measured by electrical injection. Each measurement can also be run on its own with its engine command; docs/measuring.md takes them in order, with the wiring and the placement.

For a self-noise figure you intend to publish, ./campagne_bruit.sh records pink noise, silence, then pink noise again, and refuses the session if the gains moved in between, if the room is audible in both microphones, or if the interface floor is too close.

If you prefer a window: ./talas-bench ui (it needs PySide6), then Tout tester (“test everything”), which runs the same chain. Its labels are in French.

7Reading the report

The report is a single HTML file, with no server, no network and no external resource. Its charts are interactive: hover for the exact value, click to pin, drag to zoom. It comes in English and in French.

Two reports can be compared with each other, for instance before and after a rework. What every figure means is in docs/metrics.md.

8An example: the Talas One

These are measurements made with this bench on a single unit, the first Talas One P3, in November 2026, in an untreated living room, against the same NT1-A. They show what the bench can say; they are neither a datasheet nor a guarantee.

The ±2 dB of the last figure comes from the sensitivity, which is relative to the NT1-A’s datasheet: without a calibrator, a dB(A) figure inherits that uncertainty. The details, the method and what remains to be measured are in the P3 measurements on Codeberg, and the dummy-capsule measurement is told step by step in our page on self-noise.

9Limits

10Licence and source code

The code, Rust engine, Python, scripts and report templates, is under the AGPL-3.0-only. The published measurement data, WAV captures, manifests, the CSV and JSON of the example report, are under CC0 1.0: do what you like with them. The documentation is under CC BY-SA 4.0.

The repository is on Codeberg: codeberg.org/senke/mic-test-bench. Questions, bug reports and pull requests are welcome in its issues; CONTRIBUTING.md covers the build, the tests and the rules, including this one: no measurement computed in Python, and every new computation gets a test on a signal whose response is known in advance.

Other workshop notes

The Talas One’s circuit is the one Jules Ryckebusch (DJJules) published in 2021 (“True Condenser OPA Mics”, CC BY 4.0). The bench, the measurements and this text are Talas’s work; this text is under CC BY-SA 4.0.

← The Talas One