duggabe

FM_receiver.grc

May 2nd, 2020
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.60 KB | None | 0 0
  1. options:
  2. parameters:
  3. author: Barry Duggan
  4. catch_exceptions: 'True'
  5. category: '[GRC Hier Blocks]'
  6. cmake_opt: ''
  7. comment: ''
  8. copyright: ''
  9. description: ''
  10. gen_cmake: 'On'
  11. gen_linking: dynamic
  12. generate_options: qt_gui
  13. hier_block_src_path: '.:'
  14. id: FM_receiver
  15. max_nouts: '0'
  16. output_language: python
  17. placement: (0,0)
  18. qt_qss_theme: ''
  19. realtime_scheduling: ''
  20. run: 'True'
  21. run_command: '{python} -u {filename}'
  22. run_options: prompt
  23. sizing_mode: fixed
  24. thread_safe_setters: ''
  25. title: Broadcast FM receiver
  26. states:
  27. bus_sink: false
  28. bus_source: false
  29. bus_structure: null
  30. coordinate: [16, 12.0]
  31. rotation: 0
  32. state: enabled
  33.  
  34. blocks:
  35. - name: audio_decim
  36. id: variable
  37. parameters:
  38. comment: ''
  39. value: '8'
  40. states:
  41. bus_sink: false
  42. bus_source: false
  43. bus_structure: null
  44. coordinate: [520, 12.0]
  45. rotation: 0
  46. state: true
  47. - name: deviation
  48. id: variable
  49. parameters:
  50. comment: ''
  51. value: '75000'
  52. states:
  53. bus_sink: false
  54. bus_source: false
  55. bus_structure: null
  56. coordinate: [432, 12.0]
  57. rotation: 0
  58. state: enabled
  59. - name: interp
  60. id: variable
  61. parameters:
  62. comment: ''
  63. value: '384'
  64. states:
  65. bus_sink: false
  66. bus_source: false
  67. bus_structure: null
  68. coordinate: [352, 12.0]
  69. rotation: 0
  70. state: true
  71. - name: rf_decim
  72. id: variable
  73. parameters:
  74. comment: ''
  75. value: '1000'
  76. states:
  77. bus_sink: false
  78. bus_source: false
  79. bus_structure: null
  80. coordinate: [272, 12.0]
  81. rotation: 0
  82. state: true
  83. - name: samp_rate
  84. id: variable
  85. parameters:
  86. comment: ''
  87. value: '384000'
  88. states:
  89. bus_sink: false
  90. bus_source: false
  91. bus_structure: null
  92. coordinate: [184, 12.0]
  93. rotation: 0
  94. state: enabled
  95. - name: volume
  96. id: variable_qtgui_range
  97. parameters:
  98. comment: ''
  99. gui_hint: ''
  100. label: Volume
  101. min_len: '200'
  102. orient: Qt.Vertical
  103. rangeType: float
  104. start: '0'
  105. step: '0.05'
  106. stop: '1.0'
  107. value: '0.3'
  108. widget: slider
  109. states:
  110. bus_sink: false
  111. bus_source: false
  112. bus_structure: null
  113. coordinate: [656, 52.0]
  114. rotation: 0
  115. state: enabled
  116. - name: analog_fm_demod_cf_0
  117. id: analog_fm_demod_cf
  118. parameters:
  119. affinity: ''
  120. alias: ''
  121. audio_decim: audio_decim
  122. audio_pass: '16000'
  123. audio_stop: '20000'
  124. chan_rate: samp_rate
  125. comment: ''
  126. deviation: deviation
  127. gain: '1.0'
  128. maxoutbuf: '0'
  129. minoutbuf: '0'
  130. tau: 75e-6
  131. states:
  132. bus_sink: false
  133. bus_source: false
  134. bus_structure: null
  135. coordinate: [464, 148.0]
  136. rotation: 0
  137. state: true
  138. - name: audio_sink_0
  139. id: audio_sink
  140. parameters:
  141. affinity: ''
  142. alias: ''
  143. comment: ''
  144. device_name: ''
  145. num_inputs: '1'
  146. ok_to_block: 'True'
  147. samp_rate: '48000'
  148. states:
  149. bus_sink: false
  150. bus_source: false
  151. bus_structure: null
  152. coordinate: [824, 196.0]
  153. rotation: 0
  154. state: true
  155. - name: blocks_file_source_0
  156. id: blocks_file_source
  157. parameters:
  158. affinity: ''
  159. alias: ''
  160. begin_tag: pmt.PMT_NIL
  161. comment: Simulation of RF hardware
  162. file: /home/barry/Downloads/fm_101.8MHz_1Msps.cfile
  163. length: '0'
  164. maxoutbuf: '0'
  165. minoutbuf: '0'
  166. offset: '0'
  167. repeat: 'True'
  168. type: complex
  169. vlen: '1'
  170. states:
  171. bus_sink: false
  172. bus_source: false
  173. bus_structure: null
  174. coordinate: [40, 164.0]
  175. rotation: 0
  176. state: true
  177. - name: blocks_multiply_const_vxx_0_0
  178. id: blocks_multiply_const_vxx
  179. parameters:
  180. affinity: ''
  181. alias: ''
  182. comment: Volume
  183. const: volume
  184. maxoutbuf: '0'
  185. minoutbuf: '0'
  186. type: float
  187. vlen: '1'
  188. states:
  189. bus_sink: false
  190. bus_source: false
  191. bus_structure: null
  192. coordinate: [656, 196.0]
  193. rotation: 0
  194. state: enabled
  195. - name: rational_resampler_xxx_0
  196. id: rational_resampler_xxx
  197. parameters:
  198. affinity: ''
  199. alias: ''
  200. comment: ''
  201. decim: rf_decim
  202. fbw: '0'
  203. interp: interp
  204. maxoutbuf: '0'
  205. minoutbuf: '0'
  206. taps: ''
  207. type: ccc
  208. states:
  209. bus_sink: false
  210. bus_source: false
  211. bus_structure: null
  212. coordinate: [272, 172.0]
  213. rotation: 0
  214. state: true
  215.  
  216. connections:
  217. - [analog_fm_demod_cf_0, '0', blocks_multiply_const_vxx_0_0, '0']
  218. - [blocks_file_source_0, '0', rational_resampler_xxx_0, '0']
  219. - [blocks_multiply_const_vxx_0_0, '0', audio_sink_0, '0']
  220. - [rational_resampler_xxx_0, '0', analog_fm_demod_cf_0, '0']
  221.  
  222. metadata:
  223. file_format: 1
Add Comment
Please, Sign In to add comment