Professional-grade Voice Activity Detection (VAD) and recording system for HF radio SSB monitoring with intelligent noise rejection and Discord integration.
OSINTCOM is a feature-rich VAD recording tool designed for HF radio monitoring, EAM (Emergency Action Message) detection, and emergency communications. It captures faint voice transmissions in high-noise environments while intelligently filtering out static, QRM, and atmospheric noise.
Perfect for:
- ποΈ HF radio monitoring (SSB, CW, EAM)
- π¨ Emergency communications surveillance
- π‘ Signal intelligence operations
- π Audio archival and research
- 5-Level Sensitivity Presets (L1-L5): Adjust confidence thresholds from 46% to 65%
- Multi-Layer Confidence Scoring: SNR + pitch + entropy + zero-crossing rate + spectral variation
- Intelligent SNR Gating: Recording starts at SNR > 3dB, hangover resets at SNR > 4dB + confidence > 60%
- Periodic Auto-Calibration: Recalibrates noise floor every 5 minutes (skips during active voice)
- Dynamic Threshold Scheduling: 55% idle, 52% recording, 60% hangover (adapts by state)
- Smart Pre/Post-Roll: 5 seconds pre-voice capture + 10-second hangover post-silence
- Hangover Reset Logic: 10-frame silence detector (52% confidence) or new voice triggers recording stop
- Minimum Duration Filter: 1.1s of sustained voice required for upload (prevents false positives)
- Audio Processing Pipeline:
- ποΈ Voice Extraction Slider (45-70%): Adjustable confidence threshold for voice-only segments
- π Bandpass Filter (300-3000 Hz): SSB radio optimized, removes out-of-band noise
- π Enhanced Noise Reduction: noisereduce library with tunable strength (1-10)
- π Silence Gap Removal: Eliminates quiet periods between speech bursts
- WAV Export: 16-bit PCM mono at original sample rate
- Multi-Webhook Management:
- β Add unlimited Discord webhook destinations
- π·οΈ Custom nicknames for each webhook (e.g., "Main Server", "Backup", "Archive")
- β Per-webhook enable/disable toggle (selective routing without deletion)
- π Per-webhook role ID support (customize who gets pinged on each server)
- Automatic Upload: Sends completed recordings to all enabled webhooks simultaneously
- Custom Messages: Customize Discord message template (e.g., "EAM INCOMING")
- Rich Embeds: Frequency, timestamp, and color-coded alerts
- Real-Time Audio Meter: Live dB level with gradient (green β yellow β red)
- Animated Alert Ticker: "EAM INCOMING" scrolls with flashing effect on black background
- ShareTechMono font for authentic emergency broadcast aesthetic
- Auto-triggers on recording start, auto-stops on recording end
- Frequency Presets: HFGCS frequencies (4.724 - 18.046 MHz) + custom frequency entry
- Status Indicators:
- Voice detection status (green/red)
- Sensitivity level display
- Recording state with duration counter
- Hangover countdown timer
- Confidence score percentage
- Noise floor measurement
- Dark Theme GUI: Modern flat design, easy on eyes during long monitoring sessions
- Audio Settings Dialog:
- Bandpass filter toggle
- Denoise strength slider (1-10)
- Silence removal toggle
- Voice extraction toggle + confidence slider (45-70%)
- Auto-Save Config: Settings persist in
osintcom_config.json - Device Selection: Choose from all available audio inputs (mic, loopback, USB, etc.)
- File Location Picker: Set custom save directory for recordings
- Sensitivity Calibration: Manual noise floor measurement (10-second collection)
No Python installation required!
- Download
OSINTCOM.exefrom GitHub Releases - Run the executable (ignore SmartScreen warning β see below)
- Select your audio input and frequency
- Click Start to begin monitoring
Note: First run may show Windows Defender SmartScreen warning (this is normal for unsigned executables). Click "More info" β "Run anyway"
Requirements: Python 3.8+
# Clone repository
git clone https://github.com/theaustinayers/OSINTCOM.git
cd OSINTCOM
# Create virtual environment
python -m venv venv
venv\Scripts\activate # Windows
source venv/bin/activate # Linux/Mac
# Install dependencies
pip install -r requirements.txt
# Run
python osintcom_qt.py- Click dropdown under "Audio Interface"
- Select your input source:
- π€ Microphone (direct mic input)
- π Speaker Output / Stereo Mix (loopback for receiver audio)
- π± USB device (RTL-SDR with audio output, etc.)
- Click one of the HFGCS frequency buttons (preset)
- Or type custom frequency in the frequency field
- Click "Webhooks" button to open webhook manager
- Add Discord webhook URL(s) from your server settings
- Assign nicknames and optional role IDs
- Enable/disable which webhooks receive uploads
- Use Sensitivity slider (L1-L5)
- L1 (46%): Ultra-sensitive, catches faint voices, more false positives
- L3 (53%): Balanced default, recommended for most
- L5 (65%): Strict, high-confidence only
- Click "Calibrate Noise" to measure environment baseline
- Click Start button
- Watch the audio meter and ticker display
- When voice is detected β recording begins + ticker animates
- Recordings post to Discord automatically
- Click Stop to end monitoring session
- Click "Audio Settings" button
- Enable/disable as needed:
- Bandpass Filter: Removes frequencies outside 300-3000 Hz (SSB optimized)
- Denoise Strength: 1-10 scale (higher = more aggressive)
- Remove Silent Gaps: Cuts quiet periods between transmissions
- Voice-Only Extraction: Toggle + adjust confidence threshold (45-70%)
- Click "Webhooks" button
- Add Webhook:
- Enter Discord webhook URL
- Assign nickname
- (Optional) Enter role ID to ping
- Enable checkbox
- Update/Remove: Select webhook from list, edit fields, or delete
- Click OK to save
| Level | Threshold | Use Case |
|---|---|---|
| L1 | 46% | Ultra-faint voices, weak signals |
| L2 | 50% | Quiet transmissions |
| L3 | 53% | Default, balanced |
| L4 | 60% | Clear voices only |
| L5 | 65% | Voice-only, no borderline signals |
- SNR Gate (25pt baseline): Filters marginal signals
- Pitch Detection (+0-15): Speech-specific frequency patterns
- Entropy (+0-25): Spectral energy concentration in 500-3500 Hz band
- Zero-Crossing Rate (+0-15): Voice-like pattern analysis
- CV Modulation (+/-5): Natural vs noise-like amplitude variation
ββ Idle (55% threshold)
β
βββ Voice Detected + SNR > 3dB
ββ Start Recording
ββ Begin 10-second Hangover Timer
β
βββ Silence (52% confidence)
ββ Hangover Active
ββ Check: SNR > 4dB AND Confidence > 60%?
β ββ YES β Reset hangover timer (10s loop)
β ββ NO β Continue countdown
β
βββ Hangover Expires OR 10 Silence Frames
ββ Finalize Recording
ββ Validate: voice_duration >= 1.1s?
β ββ YES β Upload to Discord
β ββ NO β Discard (insufficient voice)
β
βββ Ready for next recording
- Recording Start: Requires SNR > 3.0 dB (filters noise-only bursts)
- Hangover Reset: Requires SNR > 4.0 dB + confidence > 60% (prevents noise tail extension)
- Real Voice SNR: Typically 10-30 dB
- Noise Tail SNR: Typically 0-2 dB (filtered out)
- Trigger: Every 5 minutes + not currently recording
- Voice Skip: Skips if voice detected in past 5 minutes (avoids disruption)
- Measurement: Collects 10 seconds of ambient noise
- Calculation: SNR_threshold = measured_noise_snr + 4.0 dB (min 13.0 dB)
- CV Adjustment: Tightens detection if noise variability high (>0.45)
Required:
- numpy >= 1.19
- scipy >= 1.5
- PyQt5 >= 5.15
- sounddevice >= 0.4.5
- requests >= 2.26
Optional:
- noisereduce >= 2.0 (enhanced noise filtering)
All included in standalone .exe executable.
- Go to your Discord server settings
- Navigate to Integrations β Webhooks
- Click New Webhook
- Give it a name (e.g., "OSINTCOM Monitor")
- (#optional) Select a channel
- Click Copy Webhook URL
- Paste into OSINTCOM's Webhook Manager
- β
https://discordapp.com/api/webhooks/999999999/XXXXX... - β
https://discord.com/api/webhooks/999999999/XXXXX...
OSINTCOM/
βββ osintcom_qt.py # Main application
βββ osintcom.py # CLI version (alternative)
βββ build_exe.py # Build script for .exe
βββ requirements.txt # Python dependencies
βββ ShareTechMono-Regular.ttf # Ticker font
βββ osintcom_config.json # User settings (auto-generated)
βββ README.md # This file
βββ dist/
βββ OSINTCOM.exe # Standalone executable
- Solution: Check Windows Sound settings, enable "Stereo Mix" (for loopback)
- On some systems: Right-click speaker icon β Recording devices β Enable disabled devices
- Verify webhook URL is correct and recent (webhooks expire)
- Check webhook hasn't been deleted from Discord server
- Ensure bot permissions allow message sending
- Check network connectivity
- Reduce sensitivity (L4 or L5)
- Click "Calibrate Noise" to retrain baseline
- Increase voice extraction threshold slider (toward 70%)
- Enable denoise + bandpass filter
- Increase pre-roll duration (via code modification)
- Lower sensitivity level (might be missing faint starts)
- Check that voice duration meets 1.1s minimum
- Monospace fallback used if ShareTechMono not found
- Place
ShareTechMono-Regular.ttfin project folder to enable custom font
# Install build dependency
pip install pyinstaller
# Build (creates dist/OSINTCOM.exe)
python build_exe.pyOutput: dist/OSINTCOM.exe (~117 MB, includes all dependencies)
- π§ Tightened L1/L2/L3 confirm gates against HFGCS band noise
- π§ Chunk-count confirm gate β wall-clock exploit closed
- π§ Decoupled hangover repin for cleaner recordings
- π§ LightVAD scoring sync for L2 false positive reduction
- β¨ Animated alert ticker with ShareTechMono font
- β¨ Multi-webhook manager with per-webhook role IDs
- β¨ Voice extraction confidence slider (45-70%)
- π Fixed numpy.bool_ type error
- π§ SNR gating improvements (>3dB start, >4dB + 60% hangover reset)
- π§ Dynamic threshold scheduling by recording state
- Periodic auto-calibration every 5 minutes
- 5-level sensitivity presets (L1-L5)
- Improved post-roll silence detection
- Initial VAD implementation
- Discord webhook integration
- Audio processing pipeline
See LICENSE file for details.
- π Documentation: See README.md
- π Bug Reports: Open an issue on GitHub
- π¬ Discussions: GitHub Discussions
Made for HF radio enthusiasts, OSINT researchers, and emergency communications professionals.
Requirements: Python 3.8+
# Clone or download this repository
cd OSINTCOM
# Create virtual environment (optional but recommended)
python -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
# Install dependencies
pip install -r requirements.txtDownload OSINTCOM.exe from GitHub Releases β no Python required!
OSINTCOM.exeWhen you first run OSINTCOM.exe, you may see a security warning:
"Windows Defender SmartScreen prevented an unrecognized app from starting"
This is normal and safe β the executable is unsigned (not code-signed), which triggers SmartScreen for any first-run application.
To run the application:
- Click "More info"
- Click "Run anyway"
Why this happens:
- OSINTCOM is a free, open-source tool built by the community
- Code-signing requires a paid digital certificate
- Open-source projects typically don't have certificates
- SmartScreen is conservative and warns on unsigned executables
It's safe to click "Run anyway" β the source code is available on GitHub for inspection.
Python:
python osintcom_qt.pyStandalone EXE:
Double-click OSINTCOM.exe
-
Select Audio Source:
- Click the dropdown under "Audio Interface"
- Choose your input: Microphone (π€), Loopback/Stereo Mix (π), or USB device
-
Select Frequency:
- Check one of the HFGCS frequency buttons (4.724 - 18.046 MHz)
- Or use Custom mode to enter your own
-
Configure Discord Webhook:
- Paste your Discord webhook URL in the "Webhook URL" field
- Click "Customize" to set role pings and message text
-
Adjust Sensitivity:
- Slide the sensitivity bar (1=Faintest, 5=Voice Only)
- Monitor the VAD indicator (green=voice, red=no voice)
-
Start Listening:
- Click "Start" to begin monitoring
- Audio meter shows real-time levels
- Recordings automatically save to
~/Documents/OSINTCOM/ - Click "File Location" to open the folder
The VAD uses spectral analysis to distinguish voice from static:
| Level | Name | Best For | Behavior |
|---|---|---|---|
| 1 | Maximum | Weak/faint signals | Catches faintest voice; more false positives on static |
| 2 | Relaxed | Typical SSB | Good balance; catches weak voice with minimal false triggers |
| 3 | Balanced (Default) | SSB radio | Recommended; steady performance on typical conditions |
| 4 | Strict | Clean channels | Rejects more noise; may miss weakest voice |
| 5 | Voice Only | Voice isolation | Maximum static rejection; use only for clear voice |
How it Works:
- Energy Check: Audio must exceed minimum dB threshold
- Spectral Flatness: Static = flat spectrum (rejected); Voice = peaks in frequency content
- Zero-Crossing Rate: Distinguishes voice (moderate) from noise (very high)
- Pitch Periodicity: Voice has periodic structure; static is random
β Tip: Start at Level 3. If you miss voice, go to 2 or 1. If you catch too much static, go to 4 or 5.
For detailed information about how the VAD detection pipeline works, see VAD-Architecture.md.
This covers:
- 3-gate detection system (SNR gate + speech-likeness verification)
- Parameter tuning guide for different HF conditions
- Squelch behavior (attack/hangover) to prevent clipped words
- Recording strategy with pre-roll and sanity checks
- Advanced troubleshooting for weak stations and false positives
This is the authoritative reference for v1.08+ VAD behavior.
On Windows: Check if you have an audio input device available.
Run this in PowerShell:
Get-PnpDevice | Where-Object { $_.Class -eq "MEDIA" } | Select-Object Name, StatusProblem: OSINTCOM doesn't see "Stereo Mix" or "Loopback" device.
Solution 1: Enable Windows Stereo Mix (if available)
- Right-click the speaker icon in system tray β Open Sound settings
- Scroll down β Advanced β App volume and device preferences
- Look for "Stereo Mix" in the device list
- If it's disabled (grayed out):
- Right-click (in older Windows) β Show Disabled Devices
- Right-click "Stereo Mix" β Enable
- Restart OSINTCOM and select "Stereo Mix" from the dropdown
If "Stereo Mix" doesn't appear: Your audio driver may not support it.
Solution 2: Install Virtual Audio Cable (Recommended if no Stereo Mix)
-
Download and install one of:
- VB-Audio Virtual Cable (free): https://vb-audio.com/Cable/
- VoiceMeeter (free): https://vb-audio.com/Voicemeeter/
- Virtual Audio Cable (paid): https://vb-audio.com/
-
After installation, restart OSINTCOM
-
Select the virtual device from the dropdown (e.g., "VB-Audio Virtual Cable")
-
Route system audio through the virtual cable in Windows Sound Settings
- Increase sensitivity level (4 or 5)
- Check that your input device is not picking up excessive background noise
- Test with a known voice source to verify detection works
- Try the optional denoiser (check "Enable Denoiser") for additional filtering
-
Verify webhook URL:
- Check that the Discord webhook URL is copied correctly (should start with
https://discord.com/api/webhooks/) - Test in browser: paste URL and you should see a 405 error (that's correct!)
- Check that the Discord webhook URL is copied correctly (should start with
-
Check Discord channel permissions:
- Bot must have "Send Messages" and "Embed Links" permissions
- Role ID must exist and be valid
-
Internet connectivity:
- Verify your PC can reach Discord (ping discord.com)
- Ensure
~/Documents/OSINTCOM/exists and is writable - Check disk space (each minute of audio β 5.3 MB)
- Filenames use format:
YYYYMMDD_HHMMSS.wav
- Go to your Discord server β Server Settings β Integrations
- Click Webhooks β New Webhook
- Name it (e.g., "OSINTCOM Radio") and choose a channel
- Click Copy Webhook URL
- Paste into OSINTCOM's "Webhook URL" field
To ping a role when voice is detected:
- In Discord: Right-click the role name β Copy User ID
- In OSINTCOM: Click "Customize" and paste the role ID
- Messages will include
<@&ROLE_ID>to notify the role
- sounddevice: Audio I/O
- numpy: Signal processing
- scipy: Spectral analysis & filtering
- requests: Discord webhook HTTP
- noisereduce (optional): Noise reduction filter
- PyQt5: GUI framework
All included in requirements.txt.
To build OSINTCOM.exe yourself:
pip install PyInstaller
python build_exe.pyOutput: dist/OSINTCOM.exe (~112 MB)
- osintcom_qt.py: Main application (GUI + VAD)
- requirements.txt: Dependencies
- build_exe.py: PyInstaller build script
- .gitignore: Excludes venv, builds, recordings, temp files
- CPU Usage: Minimal (<5% typical)
- Memory: ~100-150 MB (with all dependencies)
- Latency: <100 ms from voice detection to recording start
- Audio Format: 44.1 kHz, 16-bit mono
- Recording Overhead: ~5.3 MB/minute
- Windows & WASAPI: Loopback audio (speaker output) requires Windows + compatible audio driver
- macOS/Linux: Microphone input works; speaker loopback depends on OS audio subsystem
- Static Rejection: SSB radio environments with extreme noise may need tuning
- Real-time Processing: VAD runs on received audio blocks (~46 ms at 44.1 kHz)
- Frequency preset profiles (different sensitivity for each band)
- Multi-frequency monitoring simultaneously
- Advanced noise reduction (DeepFilter, SEGAN)
- Audio archive uploading to cloud storage
- Web-based dashboard for remote monitoring
[Specify your license here - MIT, GPL, etc.]
For issues or feature requests, please open an issue on GitHub.
OSINTCOM v1.0 | Created for professional HF radio monitoring.
