Wednesday, March 11, 2026

interp_resampler_pfb crashes with huge samples

Hi all!

Here you can see that when the polyphase interpolator computes an index out of bounds it throws a runtime error instead of just truncating or wrapping it around.

We've encountered a situation in which a normal stream coming from a SDR has a few huge samples (~ 1e28) and this block crashes the entire flowgraph.

From my understanding of polyphase filters (thanks fharris&trondeau!), wouldn't it be better to just wrap it?

Thanks!

Francisco.

No comments:

Post a Comment