diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-13 02:06:29 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-13 02:21:20 +0000 |
| commit | 2d77f9649d8e0c1f873e766549869cee0e0c7063 (patch) | |
| tree | 3d5893524830addc42011bc7c7b2b90ed67a5d01 /util/sbase/date.1 | |
| parent | 656c39e45ccb41592776fb49d06c036a7c0f8a6c (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 'util/sbase/date.1')
0 files changed, 0 insertions, 0 deletions
