Forum: GNU Radio 48KHz audio board

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
57371349a0e4580b0362a0441ef5094b?d=identicon&s=25 Vincenzo Pellegrini (Guest)
on 2006-05-13 23:51
(Received via mailing list)
sorry, i know that the question might be silly but:

my audio board requires 48Ksps
the fm receiver in gnu radio examples delivers to it 32Ksps instead.
setting a overall decimation factor of 1320 i can get as near as 48484
samples/sec.

but even if much better, this still gives problems. and there's no
integer factor that can take 64Msps to exactly 48Ksps.

can anyone help a newbie?

Thanks

Vincenzo Pellegrini

Italy
C7587810780b7d714e062e93c6955868?d=identicon&s=25 Daniel O'Connor (Guest)
on 2006-05-14 01:38
(Received via mailing list)
On Sunday 14 May 2006 07:19, Vincenzo Pellegrini wrote:
> my audio board requires 48Ksps
> the fm receiver in gnu radio examples delivers to it 32Ksps instead.
> setting a overall decimation factor of 1320 i can get as near as 48484
> samples/sec.
>
> but even if much better, this still gives problems. and there's no
> integer factor that can take 64Msps to exactly 48Ksps.
>
> can anyone help a newbie?

I think you need a resampling function (or a smarter sound card ;)

eg sox can resample from one frequency to another, I don't know if there
is
such a block in GNURadio though.
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2006-05-14 17:27
(Received via mailing list)
On Sat, May 13, 2006 at 11:49:03PM +0200, Vincenzo Pellegrini wrote:
> can anyone help a newbie?
>
> Thanks
>
> Vincenzo Pellegrini
> Italy

If you're using ALSA, try plughw:0,0

  or

use gr-audio-oss instead.

Eric
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2006-05-14 17:36
(Received via mailing list)
On Sun, May 14, 2006 at 08:37:11AM +0930, Daniel O'Connor wrote:
>
> I think you need a resampling function (or a smarter sound card ;)
>
> eg sox can resample from one frequency to another, I don't know if there is
> such a block in GNURadio though.

gr.rational_resampler.

See gnuradio-examples/audio/test_resampler.py

Eric
This topic is locked and can not be replied to.