surge-synthesizer / surge

Synthesizer plug-in (previously released as Vember Audio Surge)
https://surge-synthesizer.github.io/
GNU General Public License v3.0
3.14k stars 400 forks source link

Sometimes notes keep playing after key release #6483

Closed cdelacruzpinto closed 1 year ago

cdelacruzpinto commented 2 years ago

Bug Description: Sometimes, notes keep playing after key release

Surge XT Version 1.1.0

Expected Behavior: The note stops playing after the release time passes.

Computer Information (please complete the following!):

baconpaul commented 2 years ago

Are you in MPE mode? Also are you using midi channels in some particular way?

baconpaul commented 2 years ago

Oh also your step one. Randomly keep notes playing for a long time.

do you mean play lots of notes over a period or do you mean hold one note for a long time while playing other notes?

thanks

cdelacruzpinto commented 2 years ago

Hello again :-).

I take the opportunity for thanking you and the rest of the dev team for such an awesome plugin. I'm absolutely loving it.

baconpaul commented 2 years ago

Ok that’s very useful

One last question - do you have the virtual keyboard display on or off in the plugin?

Thank you for the kind words and for the helpful reports

cdelacruzpinto commented 2 years ago

Was off.

mkruselj commented 2 years ago

Can you try and reproduce this while recording MIDI, as well?

adrian-afl commented 2 years ago

Worth to try this workaround: in SurgeXT go into menu -> MPE settings -> Enable MPE, somehow this fixes the issue, I don't know what side effects it can cause.

baconpaul commented 2 years ago

That should only fix the issue if the issue is 'you are sending MPE midi and not in MPE mode'. If your device somehow rotates the note off channel then you might see a stuck note from channel 2/3 though, and an MPE device would.

adrian-afl commented 2 years ago

That should only fix the issue if the issue is 'you are sending MPE midi and not in MPE mode'. If your device somehow rotates the note off channel then you might see a stuck note from channel 2/3 though, and an MPE device would.

I have no MPE capable devices, it works anyway. Changing MPE in live settings for devices I tested with (Keystation 61 and Microfreak) doesn't make any difference. But somehow enabling MPE in Surge just fixes the problem? I have no idea what that could mean but I hope this can help finding the problem.

baconpaul commented 2 years ago

Ahh you are a live user So live has this habit of making a synth “mpe” and remapping midi streams so if the live device says mpe even a normal keyboard will get translated to mpe

the earky versions of live11 also had the extra bug that they would activate mpe but not send a midi message activating mpe. This caused stuck notes for users in live with surge unless they either turned off mpe translation in live or turned on mpe receipt in surge

i don’t suppose you are running one of the older love 11 versions are you? We worked with live devs to fix this but the first few live 11s definitely made stuck notes this way

adrian-afl commented 2 years ago

I'm on the lastest 11.1.6 Live Suite

mkruselj commented 1 year ago

@achlubek It would be useful to get some more information from you. Please try the very latest version of Live, this issue shouldn't happer there because Live will send a proper message to Surge to enable MPE mode, hence there should be no hanging notes.

I am going to tentatively close this issue, but if this is still happening for you in the very latest version of Live with the very latest version of Surge XT, let us know!