Greetings, I’m new to the list, though I’ve been using gnuradio for
months now. I’m using the USRP connected to an acoustic transceiver for
underwater communications/data collection.
I’m having some trouble sending data from a file, specifically a
wavfile_source, to a usrp_sink_c. The block diagram is as follows:
gr.wavfile_source ->blks2.rational_resampler_fff -> gr.float_to_complex
->usrp.sink_c. It doesn’t give me any errors (other than a few "uU"s)
get garbage on the other end of the transmission.
I’ve tested out most of these parts individually, and they work fine.
usrp_sink works fine when I use the signal generator. I can read the
wavfile_source, resample it, and pipe it to an audio_sink or a
and it does the resampling properly. Assuming I’ve done everything
correctly, am I missing something? Is there some fundamental reason why
would be unable to read a file & send it via the usrp? I’ve gotten the
reverse (usrp_source -> wavfile_sink) to work just fine.
Any help would be appreciated.
P.S. I’ve tried both wavfile_source & file_source & neither work. I’m
of the -1.0 to 1.0 normalization in wavfile_* & have commented that
of the code out. If I get this to work, I’ll write a wavfile_source &
that do no rescaling & take shorts because I’m doing too many unecessary