Repository navigation
FXRoute 1.0-beta14
First stand since 1.0-beta12: the Surround rebuild (third output mode
with S/PDIF Dolby Digital / DTS decoding, fold-down, group bass
management, per-group Global presets and measurement), common
sample-rate conversion, input auto-select, Custom Input Mapping,
multichannel STDIN, Level Matching and Polarity Check, central AV Sync,
the Fast/HQ upmixer, Easy/Expert A/B bank control, and gapless TIDAL
playback.
Release commit: fc13ebd70ca312c609d5b6cfef00b612d591f0d3
Downloads
| Artifact | Size | Where |
|---|---|---|
fxroute-1.0-beta14-x86_64-ubuntu26.04.iso |
6.9 GiB (7,371,304,960 bytes) | SourceForge |
fxroute-1.0-beta14-rpi4-trixie-current.img.xz |
228 MiB (238,507,508 bytes) | GitHub Release asset (below) |
fxroute-1.0-beta14-rpi5-trixie-current.img.xz |
229 MiB (239,789,884 bytes) | GitHub Release asset (below) |
x86_64 Ubuntu 26.04 ISO via SourceForge
(https://sourceforge.net/projects/fxroute/files/1.0-beta/). Raspberry Pi 4/5
images as GitHub Release assets. Khadas/VIM1S stays internal and gets no
public image. The web demo runs on GitHub Pages.
SHA-256
fxroute-1.0-beta14-x86_64-ubuntu26.04.iso—
c34a7faa09f4b16722731fc9acdbd576567325d23c2f9dd1d8b0a92ec1758a6efxroute-1.0-beta14-rpi4-trixie-current.img.xz—
4e0c62667d51685fa7ba85bdb89cd2715b9225252666f8f13161fe7aa32930b8fxroute-1.0-beta14-rpi5-trixie-current.img.xz—
93890af2e524d8a4b73d7d059529179b66b6ac3e1cdacd37305e8f3dcbc63f0b
Every artifact ships with a matching .sha256 file.
Surround
- Surround is the third output mode: Front L/R, Center, Side L/R, Rear L/R,
and Sub 1/Sub 2 as routable roles, fold-down for a programme position
without its own speaker, group bass management, and one mono bass bus for
both subs. LFE stays a separate programme input. The mode is remembered per
logical input. - Digital ingress decodes IEC-61937 Dolby Digital (AC-3) and DTS Core from
the selected S/PDIF capture pair into the routed speaker roles; stereo PCM
and stereo AC-3 stay stereo. - An upmixer derives Center and the surround channels from a stereo
programme, with a low-latency Fast matrix and a per-frequency HQ engine.
Multichannel content bypasses it: no processing and no added delay, with
an automatic, crossfaded switch in both directions. - Global in Surround selects one preset per speaker group. Each Global
preset holds the PEQ or convolver filters of one group (Front L/R, Center,
Side L/R, Rear L/R), and Preset A and Preset B each provide one picker per
routed group (plus Neutral and Direct) whose selected filters run together;
Global A/B switches the whole group selection at once. Measuring, importing,
creating a PEQ preset, and combining presets in Surround Global each select
the target speaker group via shared group chips. A group's plugins run on
its effect pairs ahead of the output matrix and the bass-management split,
so the correction covers the speaker and its share of the sub bus. LFE is no
group; a group without a routed speaker folds down and its filter stays out
of the chain; a delay band is refused. The native engine gained per-pair
plugin stage masks and an input mute for this. - Measurements are scoped to a speaker group. A Surround Global sweep
measures the selected group's speakers plus every sub, mutes the other
groups at the outputs, and silences the front pair's sink feed for every
group but Front so its bass cannot arrive through the shared bass bus.
Groups are separate measurement identities with their own commit gate. - Ind. Banks is measurable as the whole system or a Surround group as
listened: every routed role (or the selected group plus the subs) is
excited, and the frozen result records each bank's listened preset and the
joint A/B side. It owns no bank, so such a result can be saved and
inspected but never imported or committed, and the Advanced wizard is
refused for it. - The Advanced wizard follows the selected measuring area and can measure
all Surround groups by microphone position. A mono group (Center + Sub)
produces a single Center model, a pair area keeps the L/R models and the
subwoofer alignment check, and sub banks stay listening-only. In Surround
Global a speaker row (Front,Center,Side,Rear,All) selects the
group inside the dialog, and All measures every routed group by shared
microphone position (nearfield takes first, then main, left and right
listening positions across all groups). The room diagram shows subwoofers
only for areas that measure them. - Speaker Auto Alignment stays unavailable in Surround because the Global
bank is group-scoped there, not a whole-speaker bank. In Stereo crossover
setups it always aligns through the Global bank, including from the Easy
view while Expert has another bank selected.
Sample-rate conversion
- SRC Quality is independent of the Sample Rate policy: Low uses
libsoxr VHQ, Standard (default) uses pinned CPU-only SoX 16.2.1, and
High uses the approved extended profile from that same binary. One
common PipeWire converter applies the choice across provider and input
boundaries. Changing it uses the same automatic playback handoff as a
Sample Rate change (track, queue and position restored, radio
reconnected); measurements and active input sessions block a change.
Unequal-rate playback keeps a provisional 750 ms minimum startup reserve,
with a bounded 3,750 ms startup wait for the first usable output under load. - Under the Auto policy the graph follows the active source's native
rate; a rate the output does not support plays at the highest supported
rate below it, without triggering drift-recovery reloads when the native
rate exceeds the output's range. Inactive unbound streams no longer block
the SRC selection, and transient engine stalls are survived with counted
silence.
Sources and inputs
- Input auto-select: the Auto button next to the footer source
switcher arms the shown external or STDIN input. FXRoute watches every
armed input and switches to it as soon as it carries a signal, pausing
app playback like a manual switch, and returns to the previous selection
once the signal has ended for good (60 s without signal, 10 s for a
removed input, 10 s after the last STDIN writer). A manual selection
ends the automatic one; the App button returns to app playback
directly. An external presence heartbeat
(POST /api/audio/input-presence) is OR-ed with the local detection.
Auto-select pauses while a measurement owns the graph. - Custom Mapping maps a device's physical input channels to the
FXRoute channels as one named external input per device (Front L/R
required; split mono inputs are offered). It behaves like any other
external input, including the footer switcher, Auto and the per-input
output mode; in Surround the mapped channels feed the programme
channels directly. - Multichannel STDIN:
--left/--rightpick a stereo pair out of a
wider stream and--channel-mapnames the programme channel of every
pipe channel, with WAV/ALSA/PipeWire-order defaults for 1, 2, 4, 6 and
8 channels. Stereo modes play the front pair; Surround feeds every
mapped channel to its programme channel. - External PCM and digital audio are decoded in every output mode: Stereo
and Stereo + Sub play a complete stereo downmix (Center and each
surround side at −3 dB, LFE at half gain per side, one shared
layout-dependent headroom normalization), Surround plays the discrete
decoder channels. The ingress runs at 48 kHz with a fixed 2818-frame
delay and a forced 768-frame quantum; AV Sync credits that delay. - Output Routing is hidden on two-output devices (fixed Stereo), and
dormant crossover-path assignments survive a Crossover Off switch and
return with it. The output mode is remembered per input.
Upmixer (Surround)
- Fast (low-latency adaptive matrix) and HQ (per-frequency
spectral engine with an FFT size of 1024–8192) derive Center and the
surround channels from a stereo programme, with Center and
Surround steering strengths from 0 to 10 (Loudness strength uses
the same 0–10 scale). The upmixer only fills routed destinations and
creates no LFE; the derived channels run through the normal bass
management. - Real multichannel content bypasses the upmixer completely — no
processing and no added delay — with an automatic, crossfaded switch in
both directions and a 10 s return hold. AV Sync shows the delay of the
path in use and credits it toward its target.
Presets and filter banks
- Every filter bank owns its presets and IR files. A preset name is
unique within its bank: area banks keep theirs inpresets/<bank>/and
irs/<bank>/, and the Global bank has one library per output mode
(presets/global/<mode>/), so Stereo, Stereo + Sub and Surround no
longer share Global presets. A slot names a preset of its own bank, and
combining, deleting, downloading and importing address bank and output
mode explicitly. Neutral exists in every bank without a file;
Direct belongs exclusively to the Global bank. Preset and IR files
of an installation from before this change sit in the former flat
presets/andirs/folders and are no longer read — recreate or
re-import them; the old files stay on disk. - Easy and Expert views on the A/B card. The A/B card opens in Easy
on the Global bank without a bank selector; the Expert switch at the
top right exposes the full bank selection (Global, Ind. Banks, and
each routed area bank). The view choice is stored per browser without
altering the active bank filters. Below Listening and Chain, chips show the
active preset of the other banks. With Ind. Banks selected the Preset A
and Preset B slots list the preset each switched area bank plays on that
side instead of a picker. Delete active opens a confirmation dialog
that lists every active group preset on the listened side in Surround
Global so you can select which presets to delete.
TIDAL, Qobuz, Spotify and Bluetooth
- Consecutive TIDAL album tracks at the same sample rate now play
gaplessly: the same-rate successor is resolved during playback and
appended to the native player, which owns the boundary without pause,
replace-load or mute. Different-rate successors keep the coordinated
navigation as before. - TIDAL search result tabs list Albums first and new searches open on
Albums; Discover Similar returns to the entry context. - Qobuz Connect re-join guard: FXRoute persists the observed repeat and
transport intent acrossqbzdrestarts and Connect re-joins, writes the
exact daemon repeat modes (off/one/all), and suppresses unsolicited
join autoplays while keeping user-initiated starts responsive. - Transient Spotify source stalls are reported as 503 with spotifyd-only
MPRIS detection, a committed streaming claim returns a line input to
App playback, and Connect source handoffs are serialized so line
monitoring cannot interrupt playback. - Bluetooth stability: Bluetooth stereo connections stay connected across
input switches, reconnect on source re-entry waits for PipeWire source
discovery before completing, and buffered SRC suppresses feedback loops on
Bluetooth clock updates.
Calibration
- Level Matching stores cut-only calibration per output mode (not per
preset or bank): logical Left/Right in Stereo/Crossover with every way
of a speaker playing together, and one shared family in Surround with
Front as the reference. Subwoofer banks keep only SPL Calibration —
Auto Sub Optimize owns sub level and polarity. A take the sweep never
reached is refused before anything is stored, and Reset to 0 dB
drops the family's raw levels and commits 0 dB to its slots. - Polarity Check diagnoses speaker wiring only and changes no
setting. It runs per speaker bank (not Global, Ind. Banks or sub banks)
and reads the first high-frequency pulse. - AV Sync sets the total electronic audio delay per output mode, not
an extra delay: the engine credits input latency, fixed SRC buffering,
DSP processing, intentional delays and speaker alignment, then adds
only the remaining common delay. The dialog shows the achievable delay
at the Front/Main reference speaker and its current range; alignment
and compensation share a 500 ms capacity.
Measurement
- The Convolver assistant no longer has a Sample Rate selector. A
generated FIR is written at the sample rate of the measurement it is built
from; a saved run without a recorded analysis rate falls back to the rate
of its frozen target, then of its output context, then 48 kHz. - The measurement rate no longer comes from a stored setting: a sweep runs
at 48 kHz whenever the measurement input offers it. With Sample Rate on
Auto this includes an input of a rate-tiered output interface that
sits on a higher tier: the measurement entry re-probes the device into the
tier that carries 48 kHz. With a Fixed rate the device stays on its
tier and its own input measures at the rate it runs at. - Creating a PEQ or Convolver preset from a measurement commits it only
into the bank the sources were measured for. An Ind. Banks result can be
saved and inspected but never committed, and a result without a frozen
target is refused and has to be measured again. - Stereo sweep captures evaluate both configured electrical reference
channels (Left and Right) and admit the channel carrying the sweep, so a
disabled sibling reference no longer invalidates a valid stereo reference. - The A/B compare card summarises the calibration of the active output
mode: the Level Matching trim of each routed speaker, the sub gains, the
effective AV Sync delay, and the SPL calibration. - The note stored with every measurement states what a sweep runs through: a
normal sweep passes the complete active chain (Global preset and output
extras, crossover, the measured bank's preset, output trims), while Auto
Sub Optimize and Speaker Align bypass the presets and output extras and
keep crossover, trims and routing.
Fixes
- Starting a measurement on a rate-tiered interface (Scarlett 16i16, 18i16,
18i20 4th Gen) no longer fails with an internal server error when the
measurement rate belongs to another channel tier than the playback rate. - A measurement on a microphone input that does not offer 48 kHz now stays
on the rate the output already runs at, when the input supports it,
instead of dropping to the lowest supported rate. - After a measurement that changed the sample rate, a source played by the
built-in player (local file, radio) is restored again. - If stopping an SPL Calibration fails to restore the pre-calibration
volume and DSP state, FXRoute now holds the output behind a confirmed
hardware mute and a persistent coordinator hold until Retry restore
succeeds, preventing accidental 100% volume playback. - A sweep analysis at 88.2 kHz or above no longer stays in "Processing
measurement…" for good: the service runs OpenBLAS with one thread. - A minimum-phase convolver filter no longer loses level when playback runs
at another sample rate than the filter's own. Every resampled filter now
carries a faded lead-in of 32 sample periods; the engine reports it as
convolver latency so AV Sync and the balance between outputs account for
it. - The first sweep after a stream at another rate no longer fails with
Owned SRC output path is unavailable(HTTP 500). - Non-finite (
NaN/Inf) impulse-response samples are rejected at upload
and bundle import, measurement/job files are written atomically, and the
legacy v1 overview sync and flat preset-loader paths have been removed in
favor of serialized v2 output-state graph writes. - Fresh installations repair the implicit output links: the previously
missingfxroute_dsp:output_1/2 → alsalinks that made
validate_pipewire_sessionfail with "PipeWire DSP graph links are
incomplete" on a fresh install are restored (release commit
fc13ebd7).
Installer, demo and maintenance
install.shbuilds the surround ingress helper (fxroute-surround-input,
FFmpeg 5+) and the common SRC converter plugin (SoX/libsoxr build
dependencies per package manager); the uninstaller removes the owned
SRC plugin and its PipeWire/WirePlumber bindings again.- The native engine runs convolver/crystalizer channels and output banks
on a graph-owned worker pool with vectorized convolution MACs, and
reuses engine-owned workers across live graph swaps. - The browser demo (
demo/) mirrors the Surround, Upmixer, Calibration and
Easy/Expert surfaces, persists session state across reloads, and supports
preset and library track uploads in the browser.
Release provenance
- Source stand:
main@fc13ebd7(fix(audio): repair implicit output links on fresh installations), the accepted release commit. - The x86_64 Ubuntu 26.04 ISO and the Pi 4/Pi 5 images are built from this
commit. The ISO passed live, desktop and headless acceptance; the
previously failing audio-graph check (4/4) passes in every accepted phase.