kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
				
				
				
			Fix other demod chains with same error...
							rodzic
							
								
									5016d5d775
								
							
						
					
					
						commit
						570d91906f
					
				| 
						 | 
					@ -456,7 +456,7 @@ class SondeDecoder(object):
 | 
				
			||||||
                decode_cmd += " tee decode_IQ_%s.bin |" % str(self.device_idx)
 | 
					                decode_cmd += " tee decode_IQ_%s.bin |" % str(self.device_idx)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            decode_cmd += "./fsk_demod --cs16 -b %d -u %d %s2 %d %d - - %s |" % (_lower, _upper, _stats_command_1, _sdr_rate, _baud_rate, _stats_command_2)
 | 
					            decode_cmd += "./fsk_demod --cs16 -b %d -u %d %s2 %d %d - - %s |" % (_lower, _upper, _stats_command_1, _sdr_rate, _baud_rate, _stats_command_2)
 | 
				
			||||||
            decode_cmd += "| python ./test/bit_to_samples.py %d %d | sox -t raw -r %d -e unsigned-integer -b 8 -c 1 - -r %d -b 8 -t wav - 2>/dev/null|" % (_output_rate, _baud_rate, _output_rate, _output_rate)
 | 
					            decode_cmd += " python ./test/bit_to_samples.py %d %d | sox -t raw -r %d -e unsigned-integer -b 8 -c 1 - -r %d -b 8 -t wav - 2>/dev/null|" % (_output_rate, _baud_rate, _output_rate, _output_rate)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            # Add in tee command to save audio to disk if debugging is enabled.
 | 
					            # Add in tee command to save audio to disk if debugging is enabled.
 | 
				
			||||||
            if self.save_decode_audio:
 | 
					            if self.save_decode_audio:
 | 
				
			||||||
| 
						 | 
					@ -483,8 +483,8 @@ class SondeDecoder(object):
 | 
				
			||||||
            if self.save_decode_iq:
 | 
					            if self.save_decode_iq:
 | 
				
			||||||
                decode_cmd += " tee decode_IQ_%s.bin |" % str(self.device_idx)
 | 
					                decode_cmd += " tee decode_IQ_%s.bin |" % str(self.device_idx)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            decode_cmd += "./fsk_demod --cs16 -b %d -u %d %s2 %d %d - - %s " % (_lower, _upper, _stats_command_1, _sdr_rate, _baud_rate, _stats_command_2)
 | 
					            decode_cmd += "./fsk_demod --cs16 -b %d -u %d %s2 %d %d - - %s |" % (_lower, _upper, _stats_command_1, _sdr_rate, _baud_rate, _stats_command_2)
 | 
				
			||||||
            decode_cmd += "| python ./test/bit_to_samples.py %d %d | sox -t raw -r %d -e unsigned-integer -b 8 -c 1 - -r %d -b 8 -t wav - 2>/dev/null|" % (_sdr_rate, _baud_rate, _sdr_rate, _sdr_rate)
 | 
					            decode_cmd += " python ./test/bit_to_samples.py %d %d | sox -t raw -r %d -e unsigned-integer -b 8 -c 1 - -r %d -b 8 -t wav - 2>/dev/null |" % (_sdr_rate, _baud_rate, _sdr_rate, _sdr_rate)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            # Add in tee command to save audio to disk if debugging is enabled.
 | 
					            # Add in tee command to save audio to disk if debugging is enabled.
 | 
				
			||||||
            if self.save_decode_audio:
 | 
					            if self.save_decode_audio:
 | 
				
			||||||
| 
						 | 
					@ -511,7 +511,7 @@ class SondeDecoder(object):
 | 
				
			||||||
                decode_cmd += " tee decode_IQ_%s.bin |" % str(self.device_idx)
 | 
					                decode_cmd += " tee decode_IQ_%s.bin |" % str(self.device_idx)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            decode_cmd += "./fsk_demod --cs16 -b %d -u %d %s2 %d %d - - %s |" % (_lower, _upper, _stats_command_1, _sdr_rate, _baud_rate, _stats_command_2)
 | 
					            decode_cmd += "./fsk_demod --cs16 -b %d -u %d %s2 %d %d - - %s |" % (_lower, _upper, _stats_command_1, _sdr_rate, _baud_rate, _stats_command_2)
 | 
				
			||||||
            decode_cmd += "| python ./test/bit_to_samples.py %d %d | sox -t raw -r %d -e unsigned-integer -b 8 -c 1 - -r %d -b 8 -t wav - 2>/dev/null| " % (_sdr_rate, _baud_rate, _sdr_rate, _sdr_rate)
 | 
					            decode_cmd += " python ./test/bit_to_samples.py %d %d | sox -t raw -r %d -e unsigned-integer -b 8 -c 1 - -r %d -b 8 -t wav - 2>/dev/null| " % (_sdr_rate, _baud_rate, _sdr_rate, _sdr_rate)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            # Add in tee command to save audio to disk if debugging is enabled.
 | 
					            # Add in tee command to save audio to disk if debugging is enabled.
 | 
				
			||||||
            if self.save_decode_audio:
 | 
					            if self.save_decode_audio:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Ładowanie…
	
		Reference in New Issue