Commit 3b6006c2 authored by Corey Shields's avatar Corey Shields

remove audio_gain from remaining gr scripts

parent df939505
Pipeline #37817479 (#35) passed with stage
in 10 minutes and 14 seconds
......@@ -89,35 +89,6 @@
<value>(0,0)</value>
</param>
</block>
<block>
<key>variable</key>
<param>
<key>comment</key>
<value>Decimation factor
for the RX after the
SDR received samples</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(550, 690)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>audio_gain</value>
</param>
<param>
<key>value</key>
<value>satnogs.fm_demod_settings[rx_sdr_device]['audio_gain']</value>
</param>
</block>
<block>
<key>variable</key>
<param>
......
<?xml version='1.0' encoding='utf-8'?>
<?grc format='1' created='3.7.11'?>
<?grc format='1' created='3.7.10'?>
<flow_graph>
<timestamp>Thu May 5 00:22:45 2016</timestamp>
<block>
......@@ -81,35 +81,6 @@
<value>FSK9600 AX.25 decoder </value>
</param>
</block>
<block>
<key>variable</key>
<param>
<key>comment</key>
<value>Decimation factor
for the RX after the
SDR received samples</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(590, 761)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>audio_gain</value>
</param>
<param>
<key>value</key>
<value>satnogs.fm_demod_settings[rx_sdr_device]['audio_gain']</value>
</param>
</block>
<block>
<key>variable</key>
<param>
......
<?xml version='1.0' encoding='utf-8'?>
<?grc format='1' created='3.7.11'?>
<?grc format='1' created='3.7.10'?>
<flow_graph>
<timestamp>Thu May 5 00:22:45 2016</timestamp>
<block>
......@@ -81,35 +81,6 @@
<value>FSK9600 AX.25 decoder with G3RUH support</value>
</param>
</block>
<block>
<key>variable</key>
<param>
<key>comment</key>
<value>Decimation factor
for the RX after the
SDR received samples</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(574, 801)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>audio_gain</value>
</param>
<param>
<key>value</key>
<value>satnogs.fm_demod_settings[rx_sdr_device]['audio_gain']</value>
</param>
</block>
<block>
<key>variable</key>
<param>
......
......@@ -2,10 +2,10 @@
# -*- coding: utf-8 -*-
##################################################
# GNU Radio Python Flow Graph
# Title: AFSK1200 AX.25 decoder
# Title: AFSK1200 AX.25 decoder
# Author: Manolis Surligas (surligas@gmail.com), Vardakis Giorgos (vardakis.grg@gmail.com)
# Description: AFSK1200 AX.25 decoder
# Generated: Sun Aug 19 21:49:02 2018
# Generated: Sat Nov 24 21:47:09 2018
##################################################
from gnuradio import analog
......@@ -62,7 +62,6 @@ class satnogs_afsk1200_ax25(gr.top_block):
self.deviation = deviation = 5000
self.baud_rate = baud_rate = 1200
self.audio_samp_rate = audio_samp_rate = 48000
self.audio_gain = audio_gain = satnogs.fm_demod_settings[rx_sdr_device]['audio_gain']
##################################################
# Blocks
......@@ -259,7 +258,6 @@ class satnogs_afsk1200_ax25(gr.top_block):
self.osmosdr_source_0.set_antenna(satnogs.handle_rx_antenna(self.rx_sdr_device, self.antenna), 0)
self.osmosdr_source_0.set_bandwidth(satnogs.handle_samp_rate_rx(self.rx_sdr_device, self.samp_rate_rx), 0)
self.blocks_rotator_cc_0.set_phase_inc(-2.0 * math.pi * (self.lo_offset / satnogs.handle_samp_rate_rx(self.rx_sdr_device, self.samp_rate_rx)))
self.set_audio_gain(satnogs.fm_demod_settings[self.rx_sdr_device]['audio_gain'])
def get_samp_rate_rx(self):
return self.samp_rate_rx
......@@ -331,12 +329,6 @@ class satnogs_afsk1200_ax25(gr.top_block):
self.analog_quadrature_demod_cf_0_0.set_gain((2*math.pi*self.deviation)/self.audio_samp_rate)
self.analog_quadrature_demod_cf_0.set_gain(((self.audio_samp_rate/10) / self.baud_rate)/(math.pi*1))
def get_audio_gain(self):
return self.audio_gain
def set_audio_gain(self, audio_gain):
self.audio_gain = audio_gain
def argument_parser():
description = 'AFSK1200 AX.25 decoder'
......
......@@ -2,10 +2,10 @@
# -*- coding: utf-8 -*-
##################################################
# GNU Radio Python Flow Graph
# Title: FSK9600 AX.25 decoder
# Title: FSK9600 AX.25 decoder
# Author: Manolis Surligas (surligas@gmail.com)
# Description: FSK9600 AX.25 decoder
# Generated: Sun Mar 25 17:48:11 2018
# Generated: Sat Nov 24 21:42:51 2018
##################################################
from gnuradio import analog
......@@ -62,7 +62,6 @@ class satnogs_fsk9600_ax25(gr.top_block):
self.modulation_index = modulation_index = deviation / (baud_rate / 2.0)
self.filter_rate = filter_rate = 250000
self.audio_samp_rate = audio_samp_rate = 48000
self.audio_gain = audio_gain = satnogs.fm_demod_settings[rx_sdr_device]['audio_gain']
##################################################
# Blocks
......@@ -228,7 +227,6 @@ class satnogs_fsk9600_ax25(gr.top_block):
self.osmosdr_source_0.set_if_gain(satnogs.handle_rx_if_gain(self.rx_sdr_device, self.if_gain), 0)
self.osmosdr_source_0.set_bb_gain(satnogs.handle_rx_bb_gain(self.rx_sdr_device, self.bb_gain), 0)
self.osmosdr_source_0.set_antenna(satnogs.handle_rx_antenna(self.rx_sdr_device, self.antenna), 0)
self.set_audio_gain(satnogs.fm_demod_settings[self.rx_sdr_device]['audio_gain'])
def get_udp_IP(self):
return self.udp_IP
......@@ -306,12 +304,6 @@ class satnogs_fsk9600_ax25(gr.top_block):
self.low_pass_filter_0.set_taps(firdes.low_pass(1, self.audio_samp_rate, 7850, self.audio_samp_rate * 0.15, firdes.WIN_HAMMING, 6.76))
self.analog_quadrature_demod_cf_0_0.set_gain(((self.audio_samp_rate) / self.baud_rate)/(math.pi*self.modulation_index))
def get_audio_gain(self):
return self.audio_gain
def set_audio_gain(self, audio_gain):
self.audio_gain = audio_gain
def argument_parser():
description = 'FSK9600 AX.25 decoder'
......
......@@ -5,7 +5,7 @@
# Title: FSK9600 AX.25 decoder with G3RUH support
# Author: Manolis Surligas (surligas@gmail.com)
# Description: FSK9600 AX.25 decoder with G3RUH support
# Generated: Sun Mar 25 17:48:09 2018
# Generated: Sat Nov 24 21:42:53 2018
##################################################
from gnuradio import analog
......@@ -62,7 +62,6 @@ class satnogs_fsk9600_g3ruh_ax25(gr.top_block):
self.modulation_index = modulation_index = deviation / (baud_rate / 2.0)
self.filter_rate = filter_rate = 250000
self.audio_samp_rate = audio_samp_rate = 48000
self.audio_gain = audio_gain = satnogs.fm_demod_settings[rx_sdr_device]['audio_gain']
##################################################
# Blocks
......@@ -228,7 +227,6 @@ class satnogs_fsk9600_g3ruh_ax25(gr.top_block):
self.osmosdr_source_0.set_if_gain(satnogs.handle_rx_if_gain(self.rx_sdr_device, self.if_gain), 0)
self.osmosdr_source_0.set_bb_gain(satnogs.handle_rx_bb_gain(self.rx_sdr_device, self.bb_gain), 0)
self.osmosdr_source_0.set_antenna(satnogs.handle_rx_antenna(self.rx_sdr_device, self.antenna), 0)
self.set_audio_gain(satnogs.fm_demod_settings[self.rx_sdr_device]['audio_gain'])
def get_udp_IP(self):
return self.udp_IP
......@@ -306,12 +304,6 @@ class satnogs_fsk9600_g3ruh_ax25(gr.top_block):
self.low_pass_filter_0.set_taps(firdes.low_pass(1, self.audio_samp_rate, 7850, self.audio_samp_rate * 0.15, firdes.WIN_HAMMING, 6.76))
self.analog_quadrature_demod_cf_0_0.set_gain(((self.audio_samp_rate) / self.baud_rate)/(math.pi*self.modulation_index))
def get_audio_gain(self):
return self.audio_gain
def set_audio_gain(self, audio_gain):
self.audio_gain = audio_gain
def argument_parser():
description = 'FSK9600 AX.25 decoder with G3RUH support'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment