Skip to content

v0.3.0 - Breathing Lab

Choose a tag to compare

@musithang musithang released this 27 Jun 21:36
· 930 commits to main since this release
79fced7

Heads up: The lab is expanding. sdrtop is still in deep development, and this release is all about turning the bench presets into true precision gear. The panels now use the space they are given honestly, and the ADC view finally reads like a proper measurement instrument. If the layout shifts on you, that’s just the grid learning to breathe. ❤️

This is the next major step for sdrtop, focusing heavily on the two bench Lab presets: IQ Quality (5, lab_iq) and RF Chain (6, lab_rf). No more cramped text, no more wasted pixels.

📐 A Lab layout that breathes at any size

Every panel in lab_iq and lab_rf (IQ diagnostics, image scope, RF chain, level diagram, ADC loading) now adapts its density to your window height on the fly:

  • On short terminals: The panels drop only as much spacing as they absolutely need and spread what remains evenly, instead of snapping to a fully dense block and leaving an awkward empty gap at the bottom.
  • On tall windows: They keep their full breathing room, making sure the pane fills the screen cleanly whatever the size.

🔬 ADC Loading, now a real instrument (lab_rf)

The signed sample histogram is the centerpiece of the RF Chain bench, so it now grows to fill the entire height left under the read-outs instead of capping low and leaving empty rows. It also gained a proper measurement overlay:

  • Bright peak caliper: Marks the loudest sample as a fraction of full scale, so you can see at a glance how close the signal sits to the rails.
  • Fainter inner band: Marks the per-axis 1σ of the distribution, bracketing the bulk of the cloud.
  • Symmetrical guides: Both guides sit perfectly around true zero, meaning any DC offset shows up immediately as the bell sitting off the calipers.
  • Short legend: Ties each guide to its level as a percent of full scale.

The peak and 1σ figures stay consistent with the rest of the panel, and the combined RMS still lives exactly where it belongs: in the LOADING read-out.

🛠️ Robustness

  • Hardened waterfall: The frame averaging and row rendering were rewritten from the ground up so they stay rock-solid and correct, regardless of internal buffer sizing.

Where this is going

With the layouts now dynamically adapting and the ADC loading operating as a proper instrument, the math and the interface are becoming a unified front. The goal remains the same: responsive, raw data turned into trustworthy visual metrics without the autopilot getting in the way.

Get it

This is a source-only release. Requires Linux, a HackRF One or RTL-SDR, plus libhackrf, librtlsdr, and pkg-config.

cargo build --release
./target/release/sdrtop