How m0fxbandreas/rtl-sdr-commander-v5 works
HamTech RTL Commander is a browser-based console for receiving and listening to RTL-SDR radio signals. The user tunes a frequency and selects a mode in the console; receiver controls and streamed data are handled by the local Python service, which captures USB I/Q and processes it into spectrum data and audio. The console presents spectrum/waterfall displays and plays streamed PCM. Other documented receiver modes and tuning controls live in the console; the DX cluster is an independent, optional HamQTH feature. Some browser-to-service wiring and DSP orchestration are in omitted excerpts, so those links are marked unverified.
Main entry points: hamtec_usb_audio.py WebSocket service · console.js Tuning and controls · dsp.py Receiver DSP · audio-player.js PCM audio player
Components 15
Radio console
- Console interface
console.html - Console styling
console.css - Tuning and controls
console.js - Spectrum and waterfall
console.js
Receiver service
- WebSocket service
hamtec_usb_audio.py - Control validation
hamtec_usb_audio.py - RTL-SDR capture
hamtec_usb_audio.py
Signal processing
- Receiver DSP
dsp.py - Audio notch filters
audio_filters.py - Noise filters
noise_filters.py
Audio playback and DX
- PCM audio player
audio-player.js - PCM playback worklet
pcm-worklet.js - DX cluster feed
dx_cluster.py
Other components
- Radio operator
- HamQTH feed
Connections 15
- Radio operator → Tuning and controls: tunes and configures
README.md - Console interface → Console styling: uses styles
- Tuning and controls → WebSocket service: sends controls
- WebSocket service → Control validation: validates controls
hamtec_usb_audio.py - WebSocket service → RTL-SDR capture: starts capture
hamtec_usb_audio.py - WebSocket service → Receiver DSP: processes samples
hamtec_usb_audio.py - Receiver DSP → Audio notch filters: uses
dsp.py - Receiver DSP → Noise filters: uses
dsp.py - WebSocket service → Spectrum and waterfall: streams spectrum
- WebSocket service → PCM audio player: streams PCM
- PCM audio player → PCM playback worklet: loads and feeds
audio-player.js - Radio operator → PCM audio player: enables listening
- WebSocket service → DX cluster feed: installs routes
hamtec_usb_audio.py - DX cluster feed → HamQTH feed: fetches spots
dx_cluster.py - Tuning and controls → DX cluster feed: requests spot overlay