-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Make SampleBuffer adjust its members when resampling. Fixes #5218 for stable-1.2 #5226
Conversation
Oops. This won't work, just realized I must've only tested the latest changes from command line. The loop points will be off when returning to normal sample rate after GUI export. I'll yet be refining this. |
I have heavily refactored this class in the recording branch. Maybe it would be smarter to use that code instead (Will do that hopefully later this day). |
In master, no doubt. It's meant to end up there anyway. In stable, why not if you already fixed the bug in your branch. If not, I'd be inclined to not backport and just fix. But either way works for me, you are most familiar with your code so you get to decide. |
sample rate. Now this should work also after exporting from GUI.
Looks good, however, maybe it would be better to just avoid normalization altogether? (let |
I believe |
You're right. I just hate this I think it just would be better to extract |
Is it okay if I(or someone else) add a commit addressing #5226 (comment) and merge this? |
Sure. I will probably not be much around my dev box for the next few days, so go ahead. |
Okay, but I'm not sure how to name the variable. |
It looks like this is still an issue on drumsynth (.ds) files. |
My proposition on how to make oversampling work again in the 1.2 line after the changes in #4991. Feel free to chime in if some use case of SampleBuffer remains broken (or gets a fresh bug) after this PR.