]> git.rkrishnan.org Git - pihpsdr.git/log
pihpsdr.git
15 months agorewrite get_nr(), slightly better now but NR handling needs refactoring vfo-changes
Ramakrishnan Muthukrishnan [Tue, 28 Nov 2023 02:31:33 +0000 (08:01 +0530)]
rewrite get_nr(), slightly better now but NR handling needs refactoring

15 months agorigctl tcp server: better connection error handling
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 17:51:03 +0000 (23:21 +0530)]
rigctl tcp server: better connection error handling

15 months agofix drawing of correct NR status, revisit this code
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 15:34:52 +0000 (21:04 +0530)]
fix drawing of correct NR status, revisit this code

15 months agorigctl: in the tcp recv loop, print any error in recv() call
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 15:14:59 +0000 (20:44 +0530)]
rigctl: in the tcp recv loop, print any error in recv() call

15 months agorigctl: handle the ts-2000 TY command
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 15:14:42 +0000 (20:44 +0530)]
rigctl: handle the ts-2000 TY command

15 months agoslightly better code from dl1ycf's repo for non-blocking fd
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 15:09:39 +0000 (20:39 +0530)]
slightly better code from dl1ycf's repo for non-blocking fd

15 months agovfo: more cleanup of display code
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 14:32:46 +0000 (20:02 +0530)]
vfo: more cleanup of display code

One caveat is that NR2/NR3/NR4 handling is broken as of now as far as
displaying the status is concerned.

16 months agomove drawing commands into a function
Ramakrishnan Muthukrishnan [Wed, 22 Nov 2023 16:09:09 +0000 (21:39 +0530)]
move drawing commands into a function

How to abstract out the multiway-if/switch-case ones?

16 months agomove vfo coordinates, colours etc into another file maint
Ramakrishnan Muthukrishnan [Wed, 22 Nov 2023 15:13:38 +0000 (20:43 +0530)]
move vfo coordinates, colours etc into another file

Ideally these should go into a CSS file, but that would be the next
step.

16 months agouse the definitions in screen.h to determine the click area
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 17:09:34 +0000 (22:39 +0530)]
use the definitions in screen.h to determine the click area

16 months agoa few more font size magic numbers
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 17:09:21 +0000 (22:39 +0530)]
a few more font size magic numbers

16 months agoconvert all the magic numbers for buttons shown in the top surface
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 17:03:41 +0000 (22:33 +0530)]
convert all the magic numbers for buttons shown in the top surface

16 months agoremove magic numbers from NB/NR rendering
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:51:04 +0000 (22:21 +0530)]
remove magic numbers from NB/NR rendering

16 months agoremove magic-numbers for RIT/XIT display
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:32:14 +0000 (22:02 +0530)]
remove magic-numbers for RIT/XIT display

16 months agoclang-format radio.c
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:27:18 +0000 (21:57 +0530)]
clang-format radio.c

16 months agomore colour definitions and coordinate definitions
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:26:25 +0000 (21:56 +0530)]
more colour definitions and coordinate definitions

16 months agomore magic numbers moved into screen.h
Ramakrishnan Muthukrishnan [Mon, 13 Nov 2023 02:35:48 +0000 (08:05 +0530)]
more magic numbers moved into screen.h

16 months agomakefile: include the new screen.h file
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:22:26 +0000 (22:52 +0530)]
makefile: include the new screen.h file

16 months agomisc formatting
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:20:55 +0000 (22:50 +0530)]
misc formatting

16 months agovfo.c: missing screen.h inclusion
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:18:10 +0000 (22:48 +0530)]
vfo.c: missing screen.h inclusion

16 months agoscreen.h: work in progress to define colours and coordinates
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:15:43 +0000 (22:45 +0530)]
screen.h: work in progress to define colours and coordinates

16 months agomove all screen dimensions and coordinates into a header
Ramakrishnan Muthukrishnan [Fri, 10 Nov 2023 11:02:38 +0000 (16:32 +0530)]
move all screen dimensions and coordinates into a header

16 months agorigctl command table: rename indices to avoid a name clash
Ramakrishnan Muthukrishnan [Fri, 10 Nov 2023 11:02:02 +0000 (16:32 +0530)]
rigctl command table: rename indices to avoid a name clash

16 months agofixes an overflow (for very large number of elements) in binary search
Ramakrishnan Muthukrishnan [Fri, 10 Nov 2023 02:00:09 +0000 (07:30 +0530)]
fixes an overflow (for very large number of elements) in binary search

16 months agoclang-format vfo.{c,h}
Ramakrishnan Muthukrishnan [Thu, 9 Nov 2023 12:33:44 +0000 (18:03 +0530)]
clang-format vfo.{c,h}

16 months agowip: new cat command parsing, not in use yet
Ramakrishnan Muthukrishnan [Thu, 9 Nov 2023 12:29:17 +0000 (17:59 +0530)]
wip: new cat command parsing, not in use yet

16 months agorigctl: implement FR cat command to toggle between VFOs on split
Ramakrishnan Muthukrishnan [Tue, 7 Nov 2023 02:24:07 +0000 (07:54 +0530)]
rigctl: implement FR cat command to toggle between VFOs on split

16 months agosplit: depending on mode, set vfo b up by 1kc or 5kc
Ramakrishnan Muthukrishnan [Mon, 6 Nov 2023 14:11:12 +0000 (19:41 +0530)]
split: depending on mode, set vfo b up by 1kc or 5kc

16 months agorx_menu: fix memory leak introduced in 1ba053070
Ramakrishnan Muthukrishnan [Sun, 5 Nov 2023 14:23:04 +0000 (19:53 +0530)]
rx_menu: fix memory leak introduced in 1ba053070

16 months agoclang-format xvtr_menu.{c,h}
Ramakrishnan Muthukrishnan [Sun, 5 Nov 2023 13:24:32 +0000 (18:54 +0530)]
clang-format xvtr_menu.{c,h}

16 months agoclang-format rigctl.c
Ramakrishnan Muthukrishnan [Sun, 5 Nov 2023 13:23:40 +0000 (18:53 +0530)]
clang-format rigctl.c

16 months agobugfix: allocate memory before copying the device name select_audio_io
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 17:48:16 +0000 (23:18 +0530)]
bugfix: allocate memory before copying the device name

16 months agorefactor the audio output toggling function
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 17:33:19 +0000 (23:03 +0530)]
refactor the audio output toggling function

16 months agobugfix: do not cast output to combo box
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 17:03:08 +0000 (22:33 +0530)]
bugfix: do not cast output to combo box

16 months agotry to invoke it without being able to bring up the menu
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 16:59:14 +0000 (22:29 +0530)]
try to invoke it without being able to bring up the menu

16 months agotoggle audio output via a rigctl command
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 10:54:32 +0000 (16:24 +0530)]
toggle audio output via a rigctl command

This would enable a frontpanel switch to select the audio output by
sending a command to rigctl.

16 months agoMakefile: no need to build with NEW_NR_ALGORITHMS=1
Ramakrishnan Muthukrishnan [Mon, 30 Oct 2023 15:06:18 +0000 (20:36 +0530)]
Makefile: no need to build with NEW_NR_ALGORITHMS=1

Needs the latest wdsp from github.com/vu3rdd for this to work.

16 months agoagc: draw the mode correctly on the screen
Ramakrishnan Muthukrishnan [Sat, 28 Oct 2023 09:03:31 +0000 (14:33 +0530)]
agc: draw the mode correctly on the screen

16 months agobug: once agc value is changed, it needs to take effect
Ramakrishnan Muthukrishnan [Sat, 28 Oct 2023 05:53:23 +0000 (11:23 +0530)]
bug: once agc value is changed, it needs to take effect

16 months agoreceiver: reformat an expression for easier readability
Ramakrishnan Muthukrishnan [Sat, 28 Oct 2023 04:57:18 +0000 (10:27 +0530)]
receiver: reformat an expression for easier readability

17 months agoclang-format rx_menu.{c,h}
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 10:09:11 +0000 (15:39 +0530)]
clang-format rx_menu.{c,h}

17 months agoclang-format pulseaudio.c
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 10:07:51 +0000 (15:37 +0530)]
clang-format pulseaudio.c

17 months agoaudio_menu is not used anywhere, delete
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 09:56:23 +0000 (15:26 +0530)]
audio_menu is not used anywhere, delete

17 months agoclang-format -i audio.c
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 09:50:46 +0000 (15:20 +0530)]
clang-format -i audio.c

17 months agorigctl: revamp NR command handling
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 07:39:52 +0000 (13:09 +0530)]
rigctl: revamp NR command handling

There is no more ZZNS command. ZZNR handles NR/NR1/NR2/NR3.

ZZNR; => gets the status returns ZZNRx; where x is 0-4.
ZZNRx; where x is 0-4 sets one of NR/NR2/NR3/NR4 or nothing

17 months agoREADME: add a note on making dependencies as git submodules
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 06:43:01 +0000 (12:13 +0530)]
README: add a note on making dependencies as git submodules

17 months agoREADME: update readme with installation instructions
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 06:41:38 +0000 (12:11 +0530)]
README: update readme with installation instructions

18 months agoselect the right noise reduction functions from wdsp
Ramakrishnan Muthukrishnan [Tue, 5 Sep 2023 16:25:55 +0000 (21:55 +0530)]
select the right noise reduction functions from wdsp

18 months agoRevert "Revert "rnnoise and specbleach are now linked to wdsp""
Ramakrishnan Muthukrishnan [Tue, 5 Sep 2023 16:22:00 +0000 (21:52 +0530)]
Revert "Revert "rnnoise and specbleach are now linked to wdsp""

This reverts commit 1cb35457ce7fd122b8796cb3b06901333ddf4e21.

18 months agoRevert "rnnoise and specbleach are now linked to wdsp"
Ramakrishnan Muthukrishnan [Tue, 5 Sep 2023 14:41:59 +0000 (20:11 +0530)]
Revert "rnnoise and specbleach are now linked to wdsp"

This reverts commit a5d74a1f1e1d03cc78fde94eb925d373bb4c6c8a.

18 months agofix a bunch of compiler warnings
Ramakrishnan Muthukrishnan [Mon, 4 Sep 2023 12:50:08 +0000 (18:20 +0530)]
fix a bunch of compiler warnings

19 months agowaterfall: a few todo items for performance
Ramakrishnan Muthukrishnan [Wed, 9 Aug 2023 13:27:32 +0000 (18:57 +0530)]
waterfall: a few todo items for performance

19 months agoread vfo frequency only once per waterfall rendering
Ramakrishnan Muthukrishnan [Sun, 30 Jul 2023 08:42:49 +0000 (14:12 +0530)]
read vfo frequency only once per waterfall rendering

19 months agoclang-format receiver.c
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 18:12:33 +0000 (23:42 +0530)]
clang-format receiver.c

19 months agoobtain display mutex while painting the pixbuf
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 17:50:22 +0000 (23:20 +0530)]
obtain display mutex while painting the pixbuf

19 months agomove entire waterfall to the left or right when changing vfo
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 13:22:10 +0000 (18:52 +0530)]
move entire waterfall to the left or right when changing vfo

19 months agoformat waterfall.c with clang-format
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 12:57:14 +0000 (18:27 +0530)]
format waterfall.c with clang-format

19 months agoclang-format config file
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 12:15:28 +0000 (17:45 +0530)]
clang-format config file

19 months agornnoise and specbleach are now linked to wdsp
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 06:25:51 +0000 (11:55 +0530)]
rnnoise and specbleach are now linked to wdsp

(Please update your copy of wdsp and rebuild it)

19 months agodefault value of LINK to CC
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 06:20:55 +0000 (11:50 +0530)]
default value of LINK to CC

20 months agofix a couple of compiler warning
Ramakrishnan Muthukrishnan [Sat, 15 Jul 2023 15:02:20 +0000 (20:32 +0530)]
fix a couple of compiler warning

20 months agofix compiler warning on uninitialized variable
Ramakrishnan Muthukrishnan [Sat, 15 Jul 2023 14:42:27 +0000 (20:12 +0530)]
fix compiler warning on uninitialized variable

20 months agoremove unused functions
Ramakrishnan Muthukrishnan [Sat, 15 Jul 2023 14:40:09 +0000 (20:10 +0530)]
remove unused functions

20 months agoremove unused variables etc
Ramakrishnan Muthukrishnan [Sat, 15 Jul 2023 14:39:54 +0000 (20:09 +0530)]
remove unused variables etc

20 months agorigctld script
Ramakrishnan Muthukrishnan [Thu, 13 Jul 2023 17:02:55 +0000 (22:32 +0530)]
rigctld script

20 months agoignore rust directory
Ramakrishnan Muthukrishnan [Thu, 13 Jul 2023 16:36:54 +0000 (22:06 +0530)]
ignore rust directory

20 months agoRevert "attempt to fix CW low power issue"
Ramakrishnan Muthukrishnan [Thu, 13 Jul 2023 16:34:44 +0000 (22:04 +0530)]
Revert "attempt to fix CW low power issue"

This reverts commit 40dc0b5f497d133d32524f879a88d5461fda58af.

20 months agoRevert "CW level scaling: put them inside the sw_level_ctrl macro"
Ramakrishnan Muthukrishnan [Thu, 13 Jul 2023 16:34:20 +0000 (22:04 +0530)]
Revert "CW level scaling: put them inside the sw_level_ctrl macro"

This reverts commit 999d5a1d5eb22aef8727da02ea6e18148729da52.

2 years agoMakefile: turn on warning
Ramakrishnan Muthukrishnan [Fri, 24 Mar 2023 05:03:26 +0000 (10:33 +0530)]
Makefile: turn on warning

2 years agoMakefile: do not hardcode CC and LINK
Ramakrishnan Muthukrishnan [Fri, 24 Mar 2023 05:03:09 +0000 (10:33 +0530)]
Makefile: do not hardcode CC and LINK

2 years agomakefile: explicitly add fftw linking
Ramakrishnan Muthukrishnan [Wed, 8 Mar 2023 13:44:30 +0000 (19:14 +0530)]
makefile: explicitly add fftw linking

2 years agorigctl: ZZAR - take care of the sign of the agc threshold reply
Ramakrishnan Muthukrishnan [Sun, 22 Jan 2023 17:19:27 +0000 (22:49 +0530)]
rigctl: ZZAR - take care of the sign of the agc threshold reply

2 years agoCW level scaling: put them inside the sw_level_ctrl macro
Ramakrishnan Muthukrishnan [Sun, 22 Jan 2023 06:56:21 +0000 (12:26 +0530)]
CW level scaling: put them inside the sw_level_ctrl macro

2 years agoattempt to fix CW low power issue
Ramakrishnan Muthukrishnan [Sat, 21 Jan 2023 17:25:01 +0000 (22:55 +0530)]
attempt to fix CW low power issue

2 years agosoftware power control is off by default
Ramakrishnan Muthukrishnan [Wed, 18 Jan 2023 02:06:07 +0000 (07:36 +0530)]
software power control is off by default

2 years agoMIDI turned off and all related code guarded under a macro
Ramakrishnan Muthukrishnan [Tue, 17 Jan 2023 17:30:16 +0000 (23:00 +0530)]
MIDI turned off and all related code guarded under a macro

2 years agoRevert "attempt to add level control to transmitted CW samples"
Ramakrishnan Muthukrishnan [Sat, 14 Jan 2023 13:36:42 +0000 (19:06 +0530)]
Revert "attempt to add level control to transmitted CW samples"

This reverts commit 8837ae3c9eb59431cee1d8ef1fc808f631122796.

2 years agoRevert "another attempt at level control for CW signals"
Ramakrishnan Muthukrishnan [Sat, 14 Jan 2023 13:35:17 +0000 (19:05 +0530)]
Revert "another attempt at level control for CW signals"

This reverts commit e04846ec9cb5c832824d832c1bd214875d54f7ab.

2 years agosome notes on logging via rigctld
Ramakrishnan Muthukrishnan [Sat, 14 Jan 2023 02:28:45 +0000 (07:58 +0530)]
some notes on logging via rigctld

2 years agoanother attempt at level control for CW signals
Ramakrishnan Muthukrishnan [Fri, 13 Jan 2023 17:19:21 +0000 (22:49 +0530)]
another attempt at level control for CW signals

2 years agoattempt to add level control to transmitted CW samples
Ramakrishnan Muthukrishnan [Wed, 11 Jan 2023 14:57:46 +0000 (20:27 +0530)]
attempt to add level control to transmitted CW samples

2 years agomidi menu: bug fix for a crash because of an uninitialized pointer
Ramakrishnan Muthukrishnan [Sun, 8 Jan 2023 03:10:19 +0000 (08:40 +0530)]
midi menu: bug fix for a crash because of an uninitialized pointer

2 years agowhen nr is on, nr2,nr3 and nr4 should be off
Ramakrishnan Muthukrishnan [Wed, 4 Jan 2023 17:20:00 +0000 (22:50 +0530)]
when nr is on, nr2,nr3 and nr4 should be off

Similarly, when nr2 is on, nr, nr3 and nr4 should be off

2 years agobug: nr4 controls are in float, not int
Ramakrishnan Muthukrishnan [Mon, 2 Jan 2023 09:12:33 +0000 (14:42 +0530)]
bug: nr4 controls are in float, not int

2 years agosame/restore nr4 properties between reboots
Ramakrishnan Muthukrishnan [Mon, 2 Jan 2023 09:03:06 +0000 (14:33 +0530)]
same/restore nr4 properties between reboots

2 years agobutton for nr3 and nr4
Ramakrishnan Muthukrishnan [Sun, 1 Jan 2023 14:57:45 +0000 (20:27 +0530)]
button for nr3 and nr4

2 years agos/w level control is off by default
Ramakrishnan Muthukrishnan [Sun, 1 Jan 2023 05:16:56 +0000 (10:46 +0530)]
s/w level control is off by default

Turn on in the Makefile

2 years agosoftware level control as a Makefile option
Ramakrishnan Muthukrishnan [Sat, 31 Dec 2022 14:49:51 +0000 (20:19 +0530)]
software level control as a Makefile option

2 years agoNR4: libspecbleach based noise reduction
Ramakrishnan Muthukrishnan [Fri, 23 Dec 2022 11:27:17 +0000 (16:57 +0530)]
NR4: libspecbleach based noise reduction

2 years agoput back non-localhost based discovery
Ramakrishnan Muthukrishnan [Fri, 23 Dec 2022 10:03:48 +0000 (15:33 +0530)]
put back non-localhost based discovery

2 years agointroduce rnnoise based nr3
Ramakrishnan Muthukrishnan [Sun, 18 Dec 2022 05:29:59 +0000 (10:59 +0530)]
introduce rnnoise based nr3

2 years agomidi cw: paddle reverse control via midi to cw key
Ramakrishnan Muthukrishnan [Thu, 1 Dec 2022 14:13:10 +0000 (19:43 +0530)]
midi cw: paddle reverse control via midi to cw key

2 years agovfo display: step off by one, turn it to green
Ramakrishnan Muthukrishnan [Wed, 30 Nov 2022 17:20:53 +0000 (22:50 +0530)]
vfo display: step off by one, turn it to green

2 years agoinstead of SAT, show CTUN
Ramakrishnan Muthukrishnan [Wed, 30 Nov 2022 17:05:37 +0000 (22:35 +0530)]
instead of SAT, show CTUN

2 years agovfo A: small changes in the way vfo is shown
Ramakrishnan Muthukrishnan [Wed, 30 Nov 2022 17:04:39 +0000 (22:34 +0530)]
vfo A: small changes in the way vfo is shown

Now, it is always in XX.XXX.XXX however, the "step" digits are shown
in a different colour.

2 years agochange vfo display to always display XX.XXX.XXX vfo readout
Ramakrishnan Muthukrishnan [Wed, 30 Nov 2022 13:35:17 +0000 (19:05 +0530)]
change vfo display to always display XX.XXX.XXX vfo readout

i.e. 3 digits after the MHz always irrespective of step size

2 years agovfo fix a bug in rendering the dot vs step size
Ramakrishnan Muthukrishnan [Sun, 20 Nov 2022 13:31:41 +0000 (19:01 +0530)]
vfo fix a bug in rendering the dot vs step size

2 years agorevert the VFO step font size reduction
Ramakrishnan Muthukrishnan [Sun, 20 Nov 2022 13:10:56 +0000 (18:40 +0530)]
revert the VFO step font size reduction

2 years agowaterfall: experiment with low value
Ramakrishnan Muthukrishnan [Sun, 20 Nov 2022 12:07:01 +0000 (17:37 +0530)]
waterfall: experiment with low value

2 years agowaterfall: experimenting with low and high thresholds
Ramakrishnan Muthukrishnan [Sun, 20 Nov 2022 11:10:37 +0000 (16:40 +0530)]
waterfall: experimenting with low and high thresholds