[srslte-users] Resampling functions in resample_arb.c

Saverio Mercurio smercurio at prescientwireless.com
Thu Feb 28 16:12:09 UTC 2019


Thanks for the info.

I'm actually working on something similar in having the radio data come 
from a file rather than an actual radio. I used the "dev_dummy" device 
and implemented the few functions to read data from a file rather than 
getting it from a radio. I used an FIR filter to downsample 30.72 MHz to 
1.92 MHz and then decimate, but for 23.04 MHz it's not a simple integer 
decimation. I tried to use the resample_arb.c functions, but those 
didn't work. I implemented an alternative method to zero-stuff the 30.72 
MHz data to upsample it to 92.16 MHz and then decimate down to 23.04 
MHz. I'm not sure if that's working correctly, though. Since I did not 
see the resample_arb.c functions used in the actual code (aside from the 
tests), I thought it might have been a very specific implementation. I 
must have done something wrong when I first tried to use the 
resample_arb.c functions. Did you try it to resample data taken at 30.72 
MHz down to 23.04 MHz?

-Saverio

On 2/28/2019 6:50 AM, J Giovatto wrote:
> Hi,
>
> I used it here: https://github.com/srsLTE/srsLTE/pull/238
>
> I've noticed that it works for down sampling for most of the rates.
>
> Joe
>
> On 2/25/19 9:59 AM, Saverio Mercurio wrote:
>> I found the resample_arb.c file which contains an implementation of a
>> resampler using a polyphase filter bank. This resamples isn't actually
>> used in the core srsLTE code. It's used in a couple of test modules
>> (resample_arb_bench.c and resample_arb_test.c). Is this implementation
>> specific to those tests, or can it be used for resampling of the data
>> read from the radio? I know that you can change the sample rate of the
>> hardware, but we're testing something in which the sample rate of the
>> radio is kept constant.
>> _______________________________________________
>> srslte-users mailing list
>> srslte-users at lists.softwareradiosystems.com
>> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
>
> _______________________________________________
> srslte-users mailing list
> srslte-users at lists.softwareradiosystems.com
> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users




More information about the srsran-users mailing list