g0orx / pihpsdr

Raspberry Pi standalone code for HPSDR (Protocol 1 and Protocol 2)
GNU General Public License v2.0
110 stars 73 forks source link

New bunch of updates #163

Closed dl1ycf closed 2 years ago

dl1ycf commented 2 years ago

Audio data: since both the RX and TX thread send the same buffer (P1: audio+IQ, P2: audio) to the radio we need a mutex here to be on the safe side.

FM: There were complaints that FM produced by piHPSR is "too thin", so I gave some mor "punch". This only has an effect if ALC happens after FM pre-emphasis (Check "FM TX Pre-emphasize before limiting" box in the TX menu). Note that the pre_emphasize value has to be the INVERSE of the "FM TX Pre-emphasize before limiting" check-box (this I changed in tx_menu.c)

          BIG CHANGE: for deviation=2500, the filter edges
                      should be +/- 5500 instead of +/- 4000
                      (==> Carson bandwidth rule)

Variable width CW filters: the filter edges are +/- (width/2)

AGC: When changing AGC values, re-calculate the panadapter G and H line positions.

PA enable: Global "PA enable" checkbox in the radio menu. The PA can be disabled globally with this flag in addition to a band-by-band selection (transverter bands only).

PushButtons: In actions.c, check on "PRESSED" in all "switch or key" cases

OldProtocol: -determine RX and TX bands once in ozy_send_buffer -put the HermesLite2 "Apollo bits" stuff together -if PA is disabled, do so already while RXing

PURSIGNAL: "MON" panadapter signal adjustment for HL2

and some minor corrections, such as silencing audio data to the radio for HL2.