-
-
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
Plugin release frames depend on sample rate #7211
Comments
Would it make sense to |
I think it makes more sense to solve the problem by changing the method to something like If you search for For the overrides it should also be checked if the number of frames that are used really make sense or if they haven't just been chosen arbitrarily by the implementers. Another potential explanation for the differences in the implementations might be that the implementation in the base class was changed without taking all the overriding implementations into account. |
@zonkmachine, can you please check with the changes of pull request #7217? |
Bug Summary
First brought up here: #6908 (comment)
When a plugin doesn't use the envelope it still has a fixed number of release frames. Example from Bitinvader:
lmms/plugins/BitInvader/BitInvader.h
Lines 88 to 91 in df11a98
The problem with a fixed number of frames for release is that the decay time now will vary with the sample rate as shown in the release below in a project exported with three different sample rates.
Expected Behaviour
The release time should be the same and independent of sample rate.
From @michaelgregorius in the same thread.
The text was updated successfully, but these errors were encountered: