Record Baofeng voice transmissions with RTL-SDR and send them as Telegram voice messages automatically
- connect rtl-sdr (arch wiki)
- install GQRX via package manager
- install project deps with
pipenv install
- run gqrx, tune to your radio frequency
- select Narrow FM modulation for Baofeng radios
- press A to set squelch automatically
now press TX button on your radio, say something, check the sound quality, tune other settings (audio gain, agc?) as needed. you should clearly hear yourself, but ZERO sound should be played when you are NOT transmitting, it's essential for the script to work. adjust the squelch.
- copy
example.env
to.env
, edit the file to fill telegram token and chat id. then: - run the script:
pipenv shell source .env python3 ./rx.py
-
- open
pavucontrol
or similar audio mixer - go to recording tab
- change rx.py recording device to "MONITOR of system audio", so that the script listens to the output, not the microphone.
- open
- now voice messages will be forwarded to telegram chat. enjoy.
MIT