Skip to content

Refactor DSP interpolation code - #1825

Open
derselbst wants to merge 34 commits into
masterfrom
test-auto-vec4
Open

Refactor DSP interpolation code#1825
derselbst wants to merge 34 commits into
masterfrom
test-auto-vec4

Conversation

@derselbst

@derselbst derselbst commented Aug 2, 2026

Copy link
Copy Markdown
Member

Various refactoring in order to a) investigate a fix for #1483 and b) helping the compiler to auto-vectorize the code in the future (which although doesn't work yet).

  • A unit test for the DSP interpolation code was added (Claude Sonnet 4.6 helped contributing it).
  • The fluid_rvoice_dsp_interpolate_7th_order_local() function was generalized to an arbitrary order sinc interpolator in preparation to fix harmonic distortion when using 7th order interpolation #1483.
  • The sinc interpolator gained an additional Kaiser Window compile-time option, for comparison and future research.
  • For the moment, the sinc interpolator no longer uses lookup tables. They may be added back again in the future.

@derselbst derselbst added this to the 2.6 milestone Aug 2, 2026
@sonarqubecloud

sonarqubecloud Bot commented Aug 5, 2026

Copy link
Copy Markdown

@derselbst
derselbst marked this pull request as ready for review August 6, 2026 19:57
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.

harmonic distortion when using 7th order interpolation

1 participant