summaryrefslogtreecommitdiff
path: root/config/git/pico-serprog
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-13 02:06:29 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-13 02:21:20 +0000
commit2d77f9649d8e0c1f873e766549869cee0e0c7063 (patch)
tree3d5893524830addc42011bc7c7b2b90ed67a5d01 /config/git/pico-serprog
parent656c39e45ccb41592776fb49d06c036a7c0f8a6c (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/git/pico-serprog')
0 files changed, 0 insertions, 0 deletions