Update radio.py

This commit is contained in:
SpudGunMan
2025-10-11 22:20:52 -07:00
parent e57b65b447
commit a80575a381
+7 -4
View File
@@ -1,15 +1,18 @@
# meshing around with hamlib as a source for info to send to mesh network
# detect signal strength and frequency of active channel if appears to be in use send to mesh network
# depends on rigctld running externally as a network service
# also can use VOX detection with a microphone and vosk speech to text to send voice messages to mesh network
# requires vosk and sounddevice python modules
# 2024 Kelly Keeton K7MHI
import socket
import asyncio
from modules.log import *
voxHoldTime = signalHoldTime
previousVoxState = False
if radio_detection_enabled:
import socket
import asyncio
from modules.log import *
if voxDetectionEnabled:
try:
import sounddevice as sd # pip install sounddevice sudo apt install portaudio19-dev