discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] audio card sampling rate problem


From: Matt Ettus
Subject: Re: [Discuss-gnuradio] audio card sampling rate problem
Date: Wed, 04 Jul 2007 13:35:56 -0700
User-agent: Thunderbird 2.0.0.0 (X11/20070326)

Jiri Pittner wrote:
> Hi all,
>
> I have been experienting with gnuradio for some time and I have noticed an 
> annoying problem
> with the audio sampling rate: in the scripts from the example directory it is 
> set to a hard
> value of 32ksamples/s. However, my laptop audio card (or its linux driver) do 
> not support
> this speed, only 44100 or 48000. So when updating to scripts from new 
> gnuradio source it is 
> always necessary to adapt the values in the scripts. Is there some way how to 
> ask the alsa
> system about supported audio sampling rates from within a python script? I 
> guess there can
> be more users with such limitations and it would be nice if the final 
> gnuradio applications
> would determine the audio rates automatically.
>   


Use the following option   "-O plughw:0.0"

That tells alsa to use its own resampler.

Matt




reply via email to

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