Laptop speakers ship voiced by the vendor's Windows DSP layer, which Linux does not get. A tuning restores that as a PipeWire filter-chain in front of the internal speaker sink, matched to the machine by DMI string and expected sink. Adding a laptop is a directory under default/audio/tunings with two files and no new code: matching is data. The XPS 14 DA14260 tuning included here was derived by measuring the xps-audio-linux EasyEffects profile (MIT) and fitting a biquad chain to it, so no impulse response or other upstream asset is redistributed. It measures 1.24 dB RMS against that reference, and matches its dynamic range within 0.1 LU -- the reference's multiband compressor turned out to contribute nothing, so a linear chain replaces it. Bass Q is capped deliberately: a closer magnitude fit swung group delay 31 ms across 63-80 Hz, which smears bass transients. The graph runs as its own PipeWire client under its own config name rather than loading into the audio daemon. The daemon only reads its config at startup, so a daemon-loaded tuning could only be switched by restarting PipeWire -- which drops every PulseAudio client's connection, and applications that do not reconnect (Spotify) then have to be restarted by hand. Hosting it separately also contains failure, since a malformed tuning breaks only that service. Three things about the surrounding audio graph needed fixing for this to behave: - Volume must live downstream of the tuning. omarchy-audio-output-sink is now the single definition of which sink an output's volume really uses, shared by the volume keys, the output switcher's OSD and the audio panel, so they cannot disagree. It resolves the current default output, which keeps it correct when headphones are selected while a tuning exists. - The tuning's own output is a movable sink input, so rerouting "all streams" to a newly selected output would drag the processing onto headphones, or into the tuning's own sink, which is a cycle. It is pinned, and stream moves are limited to streams carrying an application.name. - The physical sink a tuning fronts is not independently selectable, since picking it would only bypass the tuning, so it is kept out of the output list. Applying happens at first-run, not finalize-user, because finalize-user also runs in the ISO chroot where there is no audio server and nothing would retry. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
32 lines
1.5 KiB
Plaintext
32 lines
1.5 KiB
Plaintext
## Dell XPS 14 DA14260 internal speakers.
|
|
##
|
|
## Thirteen biquads and a lookahead limiter, applied as a PipeWire filter-chain
|
|
## in front of the internal speaker sink. The stock Linux path already loads
|
|
## Dell's Cirrus smart-amplifier firmware; this adds the perceptual voicing the
|
|
## Windows Waves layer provides and Linux does not.
|
|
|
|
description="Dell XPS 14 (2026) speakers"
|
|
## Matched on the DMI product name plus the presence of the sink below, which
|
|
## together are specific enough that no per-model predicate script is needed.
|
|
## Hardware needing a sharper test can set match_command to any predicate.
|
|
match_dmi="XPS 14 DA14260"
|
|
## Unescaped dots: this is passed to awk as a string, where a backslash escape
|
|
## would be consumed before the regex sees it.
|
|
sink_pattern='^alsa_output.*sof_sdw.*HiFi__Speaker__sink$'
|
|
|
|
## Provenance. Derived by measuring the response of the xps-clone EasyEffects
|
|
## profile from https://github.com/spencerbull/xps-audio-linux (MIT) and fitting
|
|
## a biquad chain to it. No upstream asset is redistributed: the convolution
|
|
## impulse response is not carried, so this tuning has no binary blob and is
|
|
## sample-rate agnostic.
|
|
derived_from="xps-audio-linux xps-clone (MIT, spencerbull)"
|
|
validated_by="dhh"
|
|
validated_on="2026-07-24"
|
|
|
|
## Measured against that reference under a dense pink-weighted multitone of 104
|
|
## bin-aligned tones. See docs/AUDIO-TUNING.md for how to reproduce these.
|
|
magnitude_rms_db="1.24"
|
|
bass_group_delay_swing_ms="13.2"
|
|
limiter_headroom_db="1.6" ## worst-case peak on a hot master vs -1 dBFS
|
|
dynamic_range_delta_lu="0.1"
|