discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] inputs with different samplerates


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] inputs with different samplerates
Date: Fri, 28 Apr 2006 18:39:28 -0700
User-agent: Mutt/1.5.9i

On Sat, Apr 29, 2006 at 03:28:58AM +0200, Martin Dvh wrote:
> Hi all,
> 
> Is there any way for a block to process two signals at different samplerates?

There's no problem consuming inputs at different rates.  The forecast
routine just needs to "do the right thing".  However, all outputs must
be produced at the same rate.

There's no quick way to work around this.  The immediate problem is
that work and general_work return a single value giving the amount of
output produced on all output streams.  There's a reason that more
advanced languages support mutliple return values...

> In my work for videodemodulation and synchronisation with gnuradio I
> need to process two versions of the data in the same block.

> I need the original samplestream at 8 MSPS.
> I also need a decimated/lowpassed version of the same signal at a much lower 
> samplerate.

> I can't connect the original and the decimated version to the same block can 
> I.
> 
> The only thing I can do is leave out the decimation, but this would increase 
> the computational needs enormously.
> 
> Is there any trick for doing this.
> 
> My only other solution is to reimplement the decimating fir-filter block 
> inside my new block.
> 
> greetings,
> Martin

Not sure if this helped or not ;)

Eric




reply via email to

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