Skip to content

Commit

Permalink
autogain: reduce default loudThreshold
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Nov 3, 2024
1 parent 89fc774 commit b4bd2f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ To tweak the internals, more parameters can be passed:
```
The defaults are:
```
--gain=auto-verbose,43.9,25,31,245
--gain=auto-verbose,43.9,25,31,243
```
The thresholds are numbers 0 to 256, tweaking them requires some understanding of how it works.
One option would be to change the noise thresholds up or down and then observe the log.
Expand Down
2 changes: 1 addition & 1 deletion readsb.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ static void configSetDefaults(void) {
Modes.gainQuiet = 1;

// 8 bit autogain defaults, will be squared and compared against magnitude data
Modes.loudThreshold = 245;
Modes.loudThreshold = 243;
Modes.noiseLowThreshold = 25;
Modes.noiseHighThreshold = 31;

Expand Down

0 comments on commit b4bd2f5

Please sign in to comment.