Add Spectral Reconstructor - #181
Merged
Kuuuube merged 1 commit intoSep 25, 2026
Merged
Conversation
Vestaia
force-pushed
the
add-spectral-reconstructor
branch
from
September 25, 2026 17:21
d4fd071 to
03f0dc5
Compare
Kuuuube
approved these changes
Sep 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Spectral Reconstructor
Anti-chatter filter based on separation of signal and noise using decomposition into a semi-spectral latent space, providing substantially better noise rejection than conventional filters without the shape distortion (smoothing) of conventional filters.
An integrated resampled + extrapolator is included to handle input jitter (USB quantization, scheduling misses, tablet stalls, etc...). This is chosen over chaining the existing "temporal resampler" because the anti-chatter filter requires tuning to input cadence.
This filter is based on a custom designed latent space with affine + semi-spectral modes. Noise and typical pen movement occupy distinctly different modes in this space -- pen movement occupy only the lowest eigenvalue modes while noise has near uniform occupation across all modes. Filtering is done by only performing reconstruction using a user-defined number of lowest energy modes (set by strength parameter).
Validation
SUL-1.0(Free use, distribution, and modification for any non-commercial purpose).Release
1.1.5.00.6.7.0Spectral.Reconstructor.dllat its top level.ea9ddccfaf8b83c7d3f19ed3f1c09eb7fcd99ae72b4c4b71b38d768b2706b148