Skip to content

Commit

Permalink
Now longer translating EIBI CW bookmarks 800Hz down!
Browse files Browse the repository at this point in the history
  • Loading branch information
luarvique committed Nov 7, 2024
1 parent 5844044 commit 14c3e8c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 6 additions & 1 deletion makebookmarks.pl
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,14 @@
if(lc($Mod) eq "rtty85") { $Freq -= 1.0; }
# Set NAVTEX/SITOR-B/DSC frequencies 1kHz lower than the left carrier
if(lc($Mod) eq "sitorb") { $Freq -= 1.0; }
if(lc($Mod) eq "navtex") { $Freq -= 1.0; }
if(lc($Mod) eq "dsc") { $Freq -= 1.0; }
# Set BPSK frequencies 1000Hz lower than the carrier
if(lc($Mod) eq "bpsk31") { $Freq -= 1.0; }
if(lc($Mod) eq "bpsk63") { $Freq -= 1.0; }
# Set CW frequencies 800Hz lower than the carrier
if(lc($Mod) eq "cw") { $Freq -= 0.8; }
# This is now done at the client side!
#if(lc($Mod) eq "cw") { $Freq -= 0.8; }

printf(" {\n");
printf(" \"name\" : \"%s\",\n", $Name);
Expand Down
6 changes: 4 additions & 2 deletions owrx/eibi.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ def _getCachedScheduleFile():
@staticmethod
def correctFreq(freq: int, mode: str) -> int:
if mode == "cw":
return freq - 800
# This is now done on the client side
#return freq - 800
return freq
elif mode == "fax":
return freq - 1900
elif mode in ["cwdecoder", "rtty450", "rtty170", "rtty85", "sitorb", "dsc", "bpsk31", "bpsk63"]:
elif mode in ["cwdecoder", "rtty450", "rtty170", "rtty85", "sitorb", "navtex", "dsc", "bpsk31", "bpsk63"]:
return freq - 1000
else:
return freq
Expand Down

0 comments on commit 14c3e8c

Please sign in to comment.