Update: Working on SDR RX
This commit is contained in:
2
bot.py
2
bot.py
@@ -298,7 +298,7 @@ class Bot(commands.Bot):
|
||||
# Start the SDR receiver and pipe the output
|
||||
self.sdr_process = Popen(["rtl_fm", "-M", str(self.mode), "-f", str(self.freq), "-g", str(self.gain),
|
||||
"-l", str(self.squelch), "-s", str(self.sample_rate), "-E",
|
||||
str(self.sdr_filters[0]), "-A", "fast"], stdout=PIPE)
|
||||
str(self.sdr_filters[0])], stdout=PIPE)
|
||||
# Use the piped output of the SDR receiver to generate audio
|
||||
self.sdr_output_process = Popen(["play", "-t", "raw", "-r", str(self.play_sample_rate), "-es", "-b",
|
||||
"16", "-c", "1", "-V1", "-"],
|
||||
|
||||
Reference in New Issue
Block a user