Skip to content

Commit

Permalink
Merge pull request #8 from jks-prv/main
Browse files Browse the repository at this point in the history
New API for Kiwi v1.359+ to reduce waterfall artifacts and enable spectrum leveling (CIC comp)
  • Loading branch information
mcogoni authored May 23, 2021
2 parents 7233da8 + 6c6bd9b commit d8fb7b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kiwi/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ def _set_wf_comp(self, comp):
def _set_wf_speed(self, wf_speed):
self._send_message('SET wf_speed=%d' % wf_speed)

def _set_wf_interp(self, interp):
self._send_message('SET interp=%d' % interp)

def _process_msg_param(self, name, value):
if name == 'load_cfg':
logging.debug("load_cfg: (cfg info not printed)")
Expand Down Expand Up @@ -498,6 +501,7 @@ def _setup_rx_params(self):
self._set_zoom_cf(0, 0)
self._set_maxdb_mindb(-10, -110)
self._set_wf_speed(1)
self._set_wf_interp(13) # drop sampling + CIC compensation
if self._type == 'SND':
self._set_mod('am', 100, 2800, 4625.0)
self._set_agc(True)
Expand Down

0 comments on commit d8fb7b6

Please sign in to comment.