discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Audio transmittion with USRP


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Audio transmittion with USRP
Date: Mon, 11 Apr 2016 18:06:34 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Dear Shilei Tian,

your Audio source produces 48000 samples per second, and your USRP needs 1 Million samples per second.
So: from every input sample, you need to make $\frac{10^7}{4.8\cdot 10^4}= 20.8\bar3$ output samples. You don't do that, but deliver much much less to the USRP, which then tells you
that it experienced a sample "U"nderrun.

You will need to add resamplers, or zero-pad your transmission, or use a bursty transmission mode. What you choose here depends on your application, and it's hard to tell you what's optimal.

Best regards,
Marcus

PS: it's always recommendable to "clean up" your screenshots as far as possible, so that no one wonders what parts of it are relevant :)

On 11.04.2016 17:41, Shilei Tian wrote:
Hello, every one.

I want to use gnuradio and usrp n210 with SBX subdev to transmit real-time audio between two PCs. The flow is as follow:


But it couldn’t work well, it always outputs “UUUUUUUUUUUUUU…”, no matter what samp_rate I set (1M, 48K, etc). I’ve tried to use Google to search for solutions, but there is no available one, so I ask for help here, I’ll appreciate for your help.



_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]