-
-
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
Arpeggiator sometimes trigger one note too many #4342
Comments
lmms/src/core/InstrumentFunctions.cpp Lines 344 to 350 in 5d90aec
It looks like the logic uses (note length + release frames) instead of the real length. I think there's no reason to check release frames here. |
Seems like LMMS plays arpeggio for released note and multiply release envelope value to new notes' volume. I don't know why/if we should... lmms/src/core/InstrumentFunctions.cpp Lines 505 to 508 in 5d90aec
|
Personally I haven't seen this problem a lot and thought that it had been solved simply because I've grown into the habit of using the same staccato like envelope with all of my arpeggios that wouldn't trigger the issue.
Yes. Just changing
to
seem to fix this. |
lmms/src/core/InstrumentFunctions.cpp Lines 505 to 508 in 5d90aec
Right, you've got good eyes. This decay is for the releaseFrames (post above) giving a sort of pseudo delay end to an arpeggio with a long decay. I think it should just be removed along with the other change above (which makes it never execute anyway). |
An arpeggio master note shouldn't trigger new notes while it's decaying. #fixes #4342
An arpeggio master note shouldn't trigger new notes while it's decaying. #fixes LMMS#4342
As reported on our Discord support channel.
Test project by Discord member
Half-Gray/7E7E7E
bass_test.mmp.zip
The arpeggiator sometimes triggers one arpnote to many at the end of a note with some settings.
Try turning up sustain a bit to trigger it.
The issue is there already in lmms-1.0.3 but not as obvious. In the test project you'll see a spike in the audio (mixer LEDs) when switching to a new held note. This goes away if you turn the
Sustain
andRelease
down to zero. The latest change happened in 67e9371 where the glitch becomes more prominent.Edit: Superfluous bisect report moved to gist:
https://gist.github.com/zonkmachine/40e7000c2f93c68f0c55de2693ce27b0
The text was updated successfully, but these errors were encountered: