surge icon indicating copy to clipboard operation
surge copied to clipboard

Using latch mode causes hanging note in mono mode when playing via VKB

Open gitsmol opened this issue 9 months ago • 4 comments

Bug Description: When playing a note in latch mode and then switching to mono mode, that note keeps playing after triggering any note in mono mode.

Surge XT Version It's present in (at least) 1.3.1 and on.

Reproduction Steps:

  1. Switch to latch mode
  2. Hear note playing
  3. Switch to mono mode: silence.
  4. Play any note
  5. The note latch mode note starts playing again.
  6. Playing any other note 'overrides' the latch mode note, but it returns after.

Expected Behavior: Mono mode does not play this 'hanging' latch mode note.

Computer Information (please complete the following!): MacOS 13.6 Ventura 64-bit, Surge XT standalone

gitsmol avatar Apr 27 '24 18:04 gitsmol

Not sure I can reproduce this, at least not with these steps.

mkruselj avatar May 02 '24 18:05 mkruselj

Strange. The problem isn't there on my linux build either. I shot a video to demonstrate. Had to use iphone to capture audio. https://youtu.be/p89g_WMjBro

I can see if wiping my userdata works?

gitsmol avatar May 02 '24 19:05 gitsmol

Ah, you are clicking the virtual keyboard. This does not happen with actual MIDI input. That's the difference here, which was not mentioned in reproduction steps. :)

mkruselj avatar May 02 '24 21:05 mkruselj

Ah, of course. It could be a UI issue. Sorry for the confusion :)

gitsmol avatar May 03 '24 05:05 gitsmol

Can totally reproduce.

The virtual keyboard and midi input are the same codepath so wonder what it is. Let me just make sure it doesn't happen with my midi kbd.

baconpaul avatar Jul 11 '24 21:07 baconpaul

Yeah happens standalone with my midi keyboard too. Its just voice management bug in mono release.

baconpaul avatar Jul 11 '24 21:07 baconpaul

(or in un-latch)

baconpaul avatar Jul 11 '24 22:07 baconpaul

OK PR is in!

baconpaul avatar Jul 11 '24 22:07 baconpaul