Skip to content

Evaluate rational resampling by FIR phase - #14

Open
Lay007 wants to merge 1 commit into
mainfrom
feat/polyphase-rational-resampler
Open

Lay007 wants to merge 1 commit into
mainfrom
feat/polyphase-rational-resampler

Conversation

@Lay007

@Lay007 Lay007 commented Nov 30, 2026

Copy link
Copy Markdown
Owner

Closes #13.

Compute only the FIR taps contributing to each retained output. The batch API, cutoff, gain, group-delay compensation and zero-extended record edges are preserved. Lab 05 now gives the sample-index relation and reproduction commands.

Local verification on Linux x86-64, GCC 14.2, CMake Release

  • Scalar and AVX2/FMA builds each passed all 19 CTest cases.
  • Seven ratios were compared sample-by-sample with full zero-stuffed convolution, including 6/4, single-sample input and phases with no contributing tap.
  • For 48 to 16 kS/s, a 127-tap filter and a cutoff scale of 0.95 gave a gain of 0.999993 at 1 kHz and 87.29 dB of rejection for the 10 kHz tone folding to 6 kHz. The regression requires unity gain within 1% and at least 60 dB of rejection.
  • git diff --check passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Evaluate the rational resampler by FIR phase and qualify downsampling alias rejection

1 participant