[Discuss-gnuradio] Sample size and data rates

2007-12-06 Thread Aadil Volkwin
Hi George, Thank you for your response, you've cleared up some confusion on my part. Secondly Is anyone able to tell me where i've gone wrong with the calculation I mentioned in my third question? 3)If my file is 1 000 000 samples and my audio rate is 32KHz (I understand this to be 32K samples

Re: [Discuss-gnuradio] Sample size and data rates

2007-12-05 Thread George Nychis
1) 1 000 000 samples writes a file 8 000 000 bytes (7.6Mb) This suggests each sample is 8bytes; 4bytes I and 4bytes Q. Is my assumption correct? This is how complex samples are represented in GNU Radio, as gr_complex which is of type std::complex where I and Q are 4 bytes each, yes. Consid

[Discuss-gnuradio] Sample size and data rates

2007-12-05 Thread Aadil Volkwin
Hi, I have modified the usrp_wfm_rc.py script to capture samples of an FM signal and write them to disk, and a second script to demodulate and playback the samples. The scripts are available here: http://rrsg.ee.uct.ac.za/members/aadil/ I have 3 questions: 1) 1 000 000 samples writes a file 8 0