summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-13 02:06:29 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-26 06:59:41 +0000
commit273bd992dd96b6c1fdbcb18ae34732fbdf1984c7 (patch)
treec7c1d22335578a86e549e8da12c8414b4cf4e11b /config
parent2aa1ccfd8a0e77b045464afd4b9de872dab3a476 (diff)
spkmodem-decode: edge detection *and* amplitude
for pulses, we currently use amplitude detection. edge detection is better, because weak / low gain signals will be more reliable. if audio is coming in on/from a system that does automatic gain adjustment, this once again is more robust too. microphones and speakers (which people often use with spkmodem if nothing else available) often clamp amplitude, to an extent that this software may not detect those pulses reliably that way. so we detect slope edges instead. this causes very little performance penalty (use of abs(), that's about it) however, edge detection is inherently vulnerable to noise, so we will also detect amplitude. this acts as an effective noise filter, while still improving pulse detection. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions