Created
May 1, 2016 07:25
-
-
Save nickoe/cbc155c56c647a0acc34b2799d8db012 to your computer and use it in GitHub Desktop.
Example to read SDR# IQ wav file into gnuradio and save it as a gnuradio IQ cfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<?grc format='1' created='3.7.9'?> | |
<flow_graph> | |
<timestamp>Sat Apr 30 20:44:08 2016</timestamp> | |
<block> | |
<key>options</key> | |
<param> | |
<key>author</key> | |
<value></value> | |
</param> | |
<param> | |
<key>window_size</key> | |
<value></value> | |
</param> | |
<param> | |
<key>category</key> | |
<value>Custom</value> | |
</param> | |
<param> | |
<key>comment</key> | |
<value></value> | |
</param> | |
<param> | |
<key>description</key> | |
<value></value> | |
</param> | |
<param> | |
<key>_enabled</key> | |
<value>True</value> | |
</param> | |
<param> | |
<key>_coordinate</key> | |
<value>(8, 8)</value> | |
</param> | |
<param> | |
<key>_rotation</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>generate_options</key> | |
<value>qt_gui</value> | |
</param> | |
<param> | |
<key>hier_block_src_path</key> | |
<value>.:</value> | |
</param> | |
<param> | |
<key>id</key> | |
<value>top_block</value> | |
</param> | |
<param> | |
<key>max_nouts</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>qt_qss_theme</key> | |
<value></value> | |
</param> | |
<param> | |
<key>realtime_scheduling</key> | |
<value></value> | |
</param> | |
<param> | |
<key>run_command</key> | |
<value>{python} -u {filename}</value> | |
</param> | |
<param> | |
<key>run_options</key> | |
<value>prompt</value> | |
</param> | |
<param> | |
<key>run</key> | |
<value>True</value> | |
</param> | |
<param> | |
<key>thread_safe_setters</key> | |
<value></value> | |
</param> | |
<param> | |
<key>title</key> | |
<value></value> | |
</param> | |
</block> | |
<block> | |
<key>variable</key> | |
<param> | |
<key>comment</key> | |
<value></value> | |
</param> | |
<param> | |
<key>_enabled</key> | |
<value>True</value> | |
</param> | |
<param> | |
<key>_coordinate</key> | |
<value>(8, 160)</value> | |
</param> | |
<param> | |
<key>_rotation</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>id</key> | |
<value>samp_rate</value> | |
</param> | |
<param> | |
<key>value</key> | |
<value>100e6</value> | |
</param> | |
</block> | |
<block> | |
<key>blocks_file_sink</key> | |
<param> | |
<key>append</key> | |
<value>False</value> | |
</param> | |
<param> | |
<key>alias</key> | |
<value></value> | |
</param> | |
<param> | |
<key>comment</key> | |
<value></value> | |
</param> | |
<param> | |
<key>affinity</key> | |
<value></value> | |
</param> | |
<param> | |
<key>_enabled</key> | |
<value>1</value> | |
</param> | |
<param> | |
<key>file</key> | |
<value>/run/media/nickoe/Sandbox/IQ/AAUSAT-ESTAR2_20160430_180624Z_437450050Hz_IQ.cfile</value> | |
</param> | |
<param> | |
<key>_coordinate</key> | |
<value>(592, 202)</value> | |
</param> | |
<param> | |
<key>_rotation</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>id</key> | |
<value>blocks_file_sink_0</value> | |
</param> | |
<param> | |
<key>type</key> | |
<value>complex</value> | |
</param> | |
<param> | |
<key>unbuffered</key> | |
<value>False</value> | |
</param> | |
<param> | |
<key>vlen</key> | |
<value>1</value> | |
</param> | |
</block> | |
<block> | |
<key>blocks_float_to_complex</key> | |
<param> | |
<key>alias</key> | |
<value></value> | |
</param> | |
<param> | |
<key>comment</key> | |
<value></value> | |
</param> | |
<param> | |
<key>affinity</key> | |
<value></value> | |
</param> | |
<param> | |
<key>_enabled</key> | |
<value>True</value> | |
</param> | |
<param> | |
<key>_coordinate</key> | |
<value>(744, 96)</value> | |
</param> | |
<param> | |
<key>_rotation</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>id</key> | |
<value>blocks_float_to_complex_0</value> | |
</param> | |
<param> | |
<key>maxoutbuf</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>minoutbuf</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>vlen</key> | |
<value>1</value> | |
</param> | |
</block> | |
<block> | |
<key>blocks_multiply_const_vxx</key> | |
<param> | |
<key>alias</key> | |
<value></value> | |
</param> | |
<param> | |
<key>comment</key> | |
<value></value> | |
</param> | |
<param> | |
<key>const</key> | |
<value>10</value> | |
</param> | |
<param> | |
<key>affinity</key> | |
<value></value> | |
</param> | |
<param> | |
<key>_enabled</key> | |
<value>True</value> | |
</param> | |
<param> | |
<key>_coordinate</key> | |
<value>(136, 186)</value> | |
</param> | |
<param> | |
<key>_rotation</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>id</key> | |
<value>blocks_multiply_const_vxx_0</value> | |
</param> | |
<param> | |
<key>type</key> | |
<value>complex</value> | |
</param> | |
<param> | |
<key>maxoutbuf</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>minoutbuf</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>vlen</key> | |
<value>1</value> | |
</param> | |
</block> | |
<block> | |
<key>blocks_throttle</key> | |
<param> | |
<key>alias</key> | |
<value></value> | |
</param> | |
<param> | |
<key>comment</key> | |
<value></value> | |
</param> | |
<param> | |
<key>affinity</key> | |
<value></value> | |
</param> | |
<param> | |
<key>_enabled</key> | |
<value>True</value> | |
</param> | |
<param> | |
<key>_coordinate</key> | |
<value>(320, 184)</value> | |
</param> | |
<param> | |
<key>_rotation</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>id</key> | |
<value>blocks_throttle_0</value> | |
</param> | |
<param> | |
<key>ignoretag</key> | |
<value>True</value> | |
</param> | |
<param> | |
<key>maxoutbuf</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>minoutbuf</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>samples_per_second</key> | |
<value>samp_rate</value> | |
</param> | |
<param> | |
<key>type</key> | |
<value>complex</value> | |
</param> | |
<param> | |
<key>vlen</key> | |
<value>1</value> | |
</param> | |
</block> | |
<block> | |
<key>blocks_wavfile_source</key> | |
<param> | |
<key>alias</key> | |
<value></value> | |
</param> | |
<param> | |
<key>comment</key> | |
<value></value> | |
</param> | |
<param> | |
<key>affinity</key> | |
<value></value> | |
</param> | |
<param> | |
<key>_enabled</key> | |
<value>True</value> | |
</param> | |
<param> | |
<key>file</key> | |
<value>/run/media/nickoe/Sandbox/IQ/AAUSAT-ESTAR2_20160430_180624Z_437450050Hz_IQ.wav</value> | |
</param> | |
<param> | |
<key>_coordinate</key> | |
<value>(384, 89)</value> | |
</param> | |
<param> | |
<key>_rotation</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>id</key> | |
<value>blocks_wavfile_source_0</value> | |
</param> | |
<param> | |
<key>maxoutbuf</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>minoutbuf</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>nchan</key> | |
<value>2</value> | |
</param> | |
<param> | |
<key>repeat</key> | |
<value>False</value> | |
</param> | |
</block> | |
<block> | |
<key>qtgui_waterfall_sink_x</key> | |
<param> | |
<key>bw</key> | |
<value>samp_rate</value> | |
</param> | |
<param> | |
<key>alias</key> | |
<value></value> | |
</param> | |
<param> | |
<key>fc</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>comment</key> | |
<value></value> | |
</param> | |
<param> | |
<key>affinity</key> | |
<value></value> | |
</param> | |
<param> | |
<key>_enabled</key> | |
<value>1</value> | |
</param> | |
<param> | |
<key>fftsize</key> | |
<value>1024</value> | |
</param> | |
<param> | |
<key>_coordinate</key> | |
<value>(408, 266)</value> | |
</param> | |
<param> | |
<key>gui_hint</key> | |
<value></value> | |
</param> | |
<param> | |
<key>_rotation</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>grid</key> | |
<value>False</value> | |
</param> | |
<param> | |
<key>id</key> | |
<value>qtgui_waterfall_sink_x_0</value> | |
</param> | |
<param> | |
<key>int_max</key> | |
<value>10</value> | |
</param> | |
<param> | |
<key>int_min</key> | |
<value>-140</value> | |
</param> | |
<param> | |
<key>legend</key> | |
<value>True</value> | |
</param> | |
<param> | |
<key>alpha1</key> | |
<value>1.0</value> | |
</param> | |
<param> | |
<key>color1</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>label1</key> | |
<value></value> | |
</param> | |
<param> | |
<key>alpha10</key> | |
<value>1.0</value> | |
</param> | |
<param> | |
<key>color10</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>label10</key> | |
<value></value> | |
</param> | |
<param> | |
<key>alpha2</key> | |
<value>1.0</value> | |
</param> | |
<param> | |
<key>color2</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>label2</key> | |
<value></value> | |
</param> | |
<param> | |
<key>alpha3</key> | |
<value>1.0</value> | |
</param> | |
<param> | |
<key>color3</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>label3</key> | |
<value></value> | |
</param> | |
<param> | |
<key>alpha4</key> | |
<value>1.0</value> | |
</param> | |
<param> | |
<key>color4</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>label4</key> | |
<value></value> | |
</param> | |
<param> | |
<key>alpha5</key> | |
<value>1.0</value> | |
</param> | |
<param> | |
<key>color5</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>label5</key> | |
<value></value> | |
</param> | |
<param> | |
<key>alpha6</key> | |
<value>1.0</value> | |
</param> | |
<param> | |
<key>color6</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>label6</key> | |
<value></value> | |
</param> | |
<param> | |
<key>alpha7</key> | |
<value>1.0</value> | |
</param> | |
<param> | |
<key>color7</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>label7</key> | |
<value></value> | |
</param> | |
<param> | |
<key>alpha8</key> | |
<value>1.0</value> | |
</param> | |
<param> | |
<key>color8</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>label8</key> | |
<value></value> | |
</param> | |
<param> | |
<key>alpha9</key> | |
<value>1.0</value> | |
</param> | |
<param> | |
<key>color9</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>label9</key> | |
<value></value> | |
</param> | |
<param> | |
<key>maxoutbuf</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>minoutbuf</key> | |
<value>0</value> | |
</param> | |
<param> | |
<key>name</key> | |
<value>""</value> | |
</param> | |
<param> | |
<key>nconnections</key> | |
<value>1</value> | |
</param> | |
<param> | |
<key>showports</key> | |
<value>True</value> | |
</param> | |
<param> | |
<key>freqhalf</key> | |
<value>True</value> | |
</param> | |
<param> | |
<key>type</key> | |
<value>complex</value> | |
</param> | |
<param> | |
<key>update_time</key> | |
<value>0.10</value> | |
</param> | |
<param> | |
<key>wintype</key> | |
<value>firdes.WIN_BLACKMAN_hARRIS</value> | |
</param> | |
</block> | |
<connection> | |
<source_block_id>blocks_float_to_complex_0</source_block_id> | |
<sink_block_id>blocks_multiply_const_vxx_0</sink_block_id> | |
<source_key>0</source_key> | |
<sink_key>0</sink_key> | |
</connection> | |
<connection> | |
<source_block_id>blocks_multiply_const_vxx_0</source_block_id> | |
<sink_block_id>blocks_throttle_0</sink_block_id> | |
<source_key>0</source_key> | |
<sink_key>0</sink_key> | |
</connection> | |
<connection> | |
<source_block_id>blocks_throttle_0</source_block_id> | |
<sink_block_id>blocks_file_sink_0</sink_block_id> | |
<source_key>0</source_key> | |
<sink_key>0</sink_key> | |
</connection> | |
<connection> | |
<source_block_id>blocks_throttle_0</source_block_id> | |
<sink_block_id>qtgui_waterfall_sink_x_0</sink_block_id> | |
<source_key>0</source_key> | |
<sink_key>0</sink_key> | |
</connection> | |
<connection> | |
<source_block_id>blocks_wavfile_source_0</source_block_id> | |
<sink_block_id>blocks_float_to_complex_0</sink_block_id> | |
<source_key>0</source_key> | |
<sink_key>0</sink_key> | |
</connection> | |
<connection> | |
<source_block_id>blocks_wavfile_source_0</source_block_id> | |
<sink_block_id>blocks_float_to_complex_0</sink_block_id> | |
<source_key>1</source_key> | |
<sink_key>1</sink_key> | |
</connection> | |
</flow_graph> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment