boatbod
Member
Anyone running the boatbod fork of op25 who needs a little volume boost can now achieve this direct from the command line using a new "-x scale-factor" parameter. Scale-factor is a floating point number used as a multiplier; 1.0 is unity gain, numbers less than 1.0 reduce the volume and numbers greater than 1.0 increase it. If you get carried away you will distort/clip the audio.
e.g.
-x 1.0 (default, unity gain)
-x 0.5 (cut in half)
-x 2.0 (double)
The changes are all python based (in rx.py, sockaudio.py and audio.py) so you only have to "git pull" to get them.
For future study:-
- make gain adjustable through the terminal
- implement AGC to normalize the levels
e.g.
-x 1.0 (default, unity gain)
-x 0.5 (cut in half)
-x 2.0 (double)
The changes are all python based (in rx.py, sockaudio.py and audio.py) so you only have to "git pull" to get them.
For future study:-
- make gain adjustable through the terminal
- implement AGC to normalize the levels