-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving SIZE clears the reverb buffer or resets it causing artifacts? #12
Comments
The issue with the SIZE parameter resetting the reverb buffer lies in how it interacts with the internal processing state. Currently, adjusting SIZE likely triggers a reinitialization of internal structures or buffers, causing the reverb to restart and resulting in audible artifacts. Solution Gradual Transition: Interpolate the change in the SIZE parameter over multiple processing frames, allowing the system to adjust smoothly without disrupting the buffer. Interpolate Parameter Changes: Modify the setParameter method to smooth changes in SIZE. For instance: cpp cpp cpp |
Hi! I have forked this code and fixed the issue: Smooth Transitions for SIZE Parameter: Introduced a targetSize variable in MVerb to allow gradual transitions for the SIZE parameter instead of abrupt changes. Modified MVerb's updateDelayLinesAndFilters to adjust delay line lengths and indices dynamically without clearing buffers. This prevents audible artifacts like clicks or pops during real-time adjustments. Ensured that setParameter and getParameter in VstPlugin correctly delegate changes to the updated MVerb class. Verified that no changes were required in VstPlugin.h beyond ensuring compatibility with the updated MVerb. Check my fork if you wanna see ! :) |
Moving SIZE clears the reverb buffer or resets it causing artifacts? When I move the size control it resets any current reverb, can we make to where one can adjust the SIZE in realtime?
Thanks
The text was updated successfully, but these errors were encountered: