Commit Graph
6 Commits
Author SHA1 Message Date
Cort BuffingtonandClaude Opus 5.5 7c736e17ef Fix FM audio noise floor, TX gain, and sample wrapping
The 300-2700 Hz bandpass rounded to integer counts after each stage.
Stage 1 is -14 dB and stage 2 is +13.6 dB, which left a broadband floor
of about 7 counts RMS and a signal-dependent DC offset. It is now one
CFMBandpass class that carries 12 fractional bits between stages, uses
an int64 accumulate, and rounds once at the output. RF and ext-audio
paths both use it.

The ext-audio upsampler now multiplies by 3 to restore the 1/3 lost to
zero stuffing.

The RF/ext audio boost multiplies now saturate instead of wrapping,
and the DAC write clamps to 0..4095 rather than only counting overflow.

Deploy with ExtAudioBoost=1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:23:49 -05:00
Jonathan Naylor 81518bf74c Make AX.25, DMR, P25, NXDN and FM selectable at compile time. 2020-11-08 22:23:27 +00:00
Geoffrey Merck 2a4b28c35e return space as number of bytes 2020-05-31 22:11:28 +02:00
Geoffrey Merck 72cd2ce03e Ensure we have at least 75ms of audio before transmitting 2020-05-30 20:05:34 +02:00
Geoffrey Merck 47649171fc Fix sample unpacking 2020-05-24 08:01:59 +02:00
Geoffrey Merck 994226e4b1 Tighten incoming data, Add FM UpSampler 2020-05-12 22:06:26 +02:00