惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
CXSECURITY Database RSS Feed - CXSecurity.com
Help Net Security
Help Net Security
P
Privacy International News Feed
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Tor Project blog
AWS News Blog
AWS News Blog
K
Kaspersky official blog
A
Arctic Wolf
Latest news
Latest news
T
Threat Research - Cisco Blogs
L
LINUX DO - 最新话题
P
Privacy & Cybersecurity Law Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
Google DeepMind News
Google DeepMind News
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
月光博客
月光博客
N
News and Events Feed by Topic
Jina AI
Jina AI
博客园 - 司徒正美
WordPress大学
WordPress大学
罗磊的独立博客
雷峰网
雷峰网
AI
AI
Hugging Face - Blog
Hugging Face - Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
Security @ Cisco Blogs
博客园 - 三生石上(FineUI控件)
H
Heimdal Security Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
酷 壳 – CoolShell
酷 壳 – CoolShell
C
Cisco Blogs
博客园 - 【当耐特】
The Hacker News
The Hacker News
有赞技术团队
有赞技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Schneier on Security
Schneier on Security
博客园 - Franky
S
SegmentFault 最新的问题
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Cloudbric
Cloudbric
爱范儿
爱范儿
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
S
Secure Thoughts
Last Week in AI
Last Week in AI
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Know Your Adversary
Know Your Adversary
Google DeepMind News
Google DeepMind News

Blog on KittenLabs

Marantz UD5007 power supply replacement Extreme Pi Boot Optimization WiFi auth with OsmoHLR/SIM cards Windows 11 tweaks & usability improvements Using custom domains as a Fediverse redirect 25GBit/s on macOS & iOS Manage RDP certificates on Windows using SSH Reviving a dead Gigabyte MJ11-EC1 mainboard Dead TROTEC PAC2000S air conditioner PlutoSDR standalone ADS-B FR24 feeder Micro8088 build log OpenWRT als WireGuard-Appliance GPS locked Raspberry Pi Es'hail-2 transceiver setup ThinkPad PowerSeries 820 PlutoSDR clock input WiFi over satellite TV coax
GPD Pocket 4 Speaker DSP
By Manawyrm (@manawyrm@chaos.social) | Sunday, April 06, 2025 · 2025-04-06 · via Blog on KittenLabs

Configuring PipeWire to make laptop speakers sound better (Bankstown, Convolution/FIR, etc.)

Result

Motivation

Modern speakers require a lot of DSP magic to sound as good as they do.
Speakers traditionally needed to be built very carefully to achieve a very flat frequency response and as few artifacts as possible.

These days, many mobile devices like phones, laptops, etc. do a lot of digital signal processing in software in order to make tiny speakers output a lot of sound.
Many different tricks are used, such as psycho-acoustic bass enhancement, limiters (allowing for higher power peaks) and volume-dependent equalization (frequency response of human hearing is very volume-dependent).

The Asahi Linux project (Linux on Apple Silicon MacBooks) has done a lot of work to make MacBooks sound as good as possible on Linux:
AsahiLinux/asahi-audio: Userspace audio for Asahi Linux

How?

Using Room EQ Wizard the frequency/impulse response of the built-in speakers was measured.
Even with very suboptimal measurement equipment (cheap microphone, questionable audio interface), we can clearly see the sloped bass response (expected with speakers of this size) and then also a very noticeable peak/resonance at ~4kHz.
This peak is very audible and leads to a harsh, distorted sound when listening to music.

Frequency response curve, showing a very low bass response and a resonance at ~4kHz

REW can do arithmetic operations on the curves, so after generating a filter curve for a 300Hz slope, both channels were divided (A/B) against that curve and then inverted (1/A) and exported as a .wav impulse response.
That impulse response .wav file can then be used in a convolution DSP filter.

The DSP configuration/pipeline of a 14" MacBook Pro was then used as a template, the multi-speaker setup (modern MacBooks have 6 speakers!) was stripped-down to just a single stereo pair and the parameters were changed a bit.
The impulse response .wav was (of course) replaced with our newly generated REW output.