Browse Source

increase sample rate to increase spectrogram width

Fabian Peter Hammerle 3 years ago
parent
commit
b94ba2df2d
2 changed files with 3 additions and 3 deletions
  1. 2 2
      fm_radio.grc
  2. 1 1
      fm_radio.py

+ 2 - 2
fm_radio.grc

@@ -69,7 +69,7 @@ blocks:
   id: variable
   parameters:
     comment: ''
-    value: '1800000'
+    value: '2560000'
   states:
     bus_sink: false
     bus_source: false
@@ -156,7 +156,7 @@ blocks:
     affinity: ''
     alias: ''
     beta: '6.76'
-    comment: ''
+    comment: https://de.wikipedia.org/wiki/Datei:UKW-Rundfunk-Basisband.svg
     cutoff_freq: '100000'
     decim: int(samp_rate/down_rate_hertz)
     gain: '2'

+ 1 - 1
fm_radio.py

@@ -77,7 +77,7 @@ class fm_radio(gr.top_block, Qt.QWidget):
         # Variables
         ##################################################
         self.volume = volume = 0.5
-        self.samp_rate = samp_rate = 1800000
+        self.samp_rate = samp_rate = 2560000
         self.frequency_mhz = frequency_mhz = 98.3
         self.down_rate_hertz = down_rate_hertz = 250000