i'm trying to get rtl_sdr to record it's output to wav. i can in a round about way do this, because rtl_sdr allows saving the raw i/q stream to file, which i can then use sox to convert it to a wav file, but the raw data files are very large. the main goal of this is to have my pi record the audio of passing noaa weather satellites for image decoding, but so far i havent been able to do this. everthing i record is static. so, i dont know if i am converting the raw data to wav wrong or if it's something else. this is what i am doing right now:
capture the raw data:
rtl_sdr -f 137.620e6 -s 2048000 -g 29 -p 22 NOAA15.bin
and then convert to wav:
sox -t raw -b 16 -e signed-integer -r 11025 -B -c1 NOAA15.bin NOAA15.wav
then use the apt decoder to get the image:
atpdec -i rabct NOAA15.wav
but all i get is static. this may all be wrong, but i've also tried using rtl_fm to just record a local radio station, but all i get is static there also. i've played with different gain levels, tried auto gain, different sample rates, etc. if i use rtl_tcp to host the stream, i can hear the radio and decode images, using sdr# on another pc. but, after a while, the stream freezes or something, like this video (around the 1:33 mark) http://www.youtube.com/watch?v=8snz1wQSRpw
plus this requires another computer, and i would like to get it all done on the pi if possible. anyone tried to do this before, or have any suggestions? i'm open to ANY!