Skip to content

Conversation

@hyperc54
Copy link
Collaborator

@hyperc54 hyperc54 commented Nov 1, 2025

This is a modest attempt at fixing #287, and sharing the draft to discuss further!

The alternate use of truncation when pulling data from the JUCE buffer and rounding when skipping samples can make us drop a sample sometimes.

Using rounding operations everywhere fixes the issue, but does have the side-effect of modifying the expected final number of samples you'd get when resampling an audio file (round instead of truncation), which seems good enough to me but I could be missing a few subtleties. Happy to discuss!

PS: CI should feel better after #442

@hyperc54 hyperc54 added the bug Something isn't working label Nov 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant