discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] how to implement auto-correction of sample rate i


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] how to implement auto-correction of sample rate in flow graph ?
Date: Fri, 13 Dec 2013 10:10:54 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Artem,

your citing that thread of 2010 clearly shows you still didn't get the
problem. Point being: If your source has a different speed than your
sink, you'll need resampling in Software. This has nothing to do with
synchronizing. I won't further elaborate on this.

On 13.12.2013 09:24, Artem Pisarenko wrote:
> I wonder why nobody did it already. Please, comment on.

Because: GNU Radio is still a sample based software radio framework.
You don't want added or removed  samples. As a GR user, you can safely
assume that two samples are always 1/f_sample apart. That is the way
meaningful DSP becomes possible. I don't see any usefulness in your
proposal.

If there are two streams of different sampling clocks to be
synchronized, chances are high you want to have rational resampling
rather than padding/dropping. The latter just wreaks havoc on every
aspect of the signal. Don't do it unless you care for the matching
number of samples in two streams more than for the signal represented.

If your two sampling clocks diverge over time, well that's a hardware
problem that can hardly be solved in software if the error exceeds the
size of default buffers. With usable hardware, this should not happen.

Blocks shouldn't care for their own buffer "fill"; that's the job of
the runtime and GR does this fairly well, to be honest. Your Virtual
machine audio related problem is hardly a proof of shortcomings of
this concept.

Greetings,

Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSqs8eAAoJEAFxB7BbsDrL1mAH/2MEQVHO4gHCkAlxSYSL3ERR
lyo6JwalRUC8lGlyk7BTkrA009DDG7t7L4RAkkXlR7J/IyOEgcp3NRl9FxdmxpqT
DISTXcgQoMbCCK2D8CLbopFs5TsJIPDz/wmsL+a6KMW0AtrBV3pBgvs+X1Plr0u0
Bygk6nKJWbi142Y/FwVYx7/3Ev52x6aKvYBiLPXdchJt8VhnuXgMj8tyyOUnmtVF
j0wAeUzKTaaBMWhKYo9RmHx5Ls/TayfU66vAzwN2XYn981Y5sFWqZkQ0C3y4PRH2
3p2bxjoF1JvtOcuR9RyHoj2bHBhyVEPXgViGmEq9WuS8niacqHuMw4ftLcCA9sU=
=QGe4
-----END PGP SIGNATURE-----



reply via email to

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