I’m attempting to write a script, based on
usrp_fft.py, that will read a file of gr_complex and
display it. It works, except that it plays back much
faster than it was recorded. For example, I recorded
a five second file and gave it to my script. It
looked to be correct data, but it finished playback in
less than a second. Here’s the essential code:
self.input = gr.file_source(gr.sizeof_gr_complex,
adc_freq = 64e6 #inherent to USRP
decim_rate = float(options.decim) #whatever decimation
rate used in recording
input_rate = adc_freq / decim_rate
self.scope = fftsink.fft_sink_c(self, panel,
Any help would be greatly appreciated.
TV dinner still cooling?
Check out “Tonight’s Picks” on Yahoo! TV.