mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-07 01:13:14 +02:00
Update radio.py
This commit is contained in:
+7
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user