Stuck notes with midi hub

I have had to stop using midi hub due to the stuck notes.
You can’t have that happen in performance.
My patches are fairly complex – sostenuto, changing channels, etc. end it could be because of wasteful programming, or it could be that minihub tends to stick notes. I don’t know. All I know is that when I take MH out of the rig, I’m OK.
if somebody is out there with expertise in MH, and would like to take a look at some patches of mine, I would be appreciative.
Thanks,
Peter

Post your preset(s) here and please describe what you are doing when you get stuck notes, like which inputs are receiving incoming MIDI notes, and whether you’re changing any parameters using MIDI mapped controls.

Thank you for responding!
I have 4 patches that I would commonly use. here is the 1st.

-Notes InA, and cc2 in D ->to Out usb ch1.
-cc69 inverts notes-> out usb ch1
-cc66 switches input A&D to Out B.

Pje Prst#1 cc64sus, 69=Invert. 66->B.mhp (1.4 KB)

I tried playing around with your patch, but I couldn’t get a stuck note off to occur - every time the mapped params get changed, I see Note Offs produced for the currently held notes.

Could you close in on the combination of pipes and MIDI notes & CC events that must be performed to get a stuck note?

Maybe the preset can be also reduced somewhat to the bare essentials to reproduce the problem?

yes, I was going to add to this text. I am unable to determine when stuck notes occur. It seems random. Almost always during performance! It’s fine when I practice. Go figure.

And, yes, the patch needs to be simplified to bare-bones. That seems to be the best and only option.
Can you do this? I have tried and failed.
Thanks!!
Peter

Hi Giedrius-
It’s been about a week, did you get my last email?
Thx
Peter

So I get this right, could you note down for me everything that you want this Preset to do, including all routing and what kind of CCs on which ports you’d like to use to make things happen in the preset?

Here is the preset and a chart with explanation to what cc’s control what.
I have tried to make this clear, but please feel free to question.
Thanks!
Peter
Pje Prst#1 cc64sus, 69=Invert. 66->B.mhp (1.4 KB)

The notes mentions choosing the computer or Yamaha, is it controlled by CC66?

Is all MIDI traffic supposed to be directed either only to the computer or to the Yamaha?

YES-Depressing CC 66 routes midi to the yamaha VL or the computer

hi
I haven’t heard back from you, were you able to simplify that patch to reduce the chances of stuck notes (that seem to happen at random times).
i’m sure that there is redundancy in that patch…

Hi
here’s something you could try as @Giedrius hasn’t been able to replicate your hung notes:

Pje Prst#1 cc64sus, 69=Invert. 66-_DAWrecord.mhp

It’s just your preset but with minor changes :asterisk: :

  • everything that was routed to MIDI-B is now also routed to USB B

  • this allows for DAW recording of every message…
    (the USB-B stream would go to a new MIDI track with no soft instruments attached)
    …while still sounding (and recording) the stream going to USB-A



By recording a (studio) session where you try to get a hung note you will hopefully be able to answer two (as yet hanging :wink:) questions

  1. What precise circumstances produce a hung note?
  2. Which instrument gets hung?
    (and/or whether it’s the instrument ignoring a Note Off that has been sent and recorded)

:asterisk: I’ve also removed the Bypass mappings to the inputs as each is mirrored by an output Bypass mapping. (This was the only redundancy in the patch)

Testing it in the studio, I get no hung notes from your revision. I will take it to a session later on which is the true test. I can’t thank you enough for your efforts! I have a few other patches, mostly using Sostenuto to hold a note, while simultaneously switching to a different channel or output to play another type sound over it. But first I’ll let you know how this works out.

Indeed; hopefully you can record both MIDI streams to home in on stuck notes.

The added routing should not change the functionality of the preset at all (ie. if yours gives hung notes, so will this one)
IMO, neither should the removal of the redundant Bypass (there might be some technical reason under the hood, but I doubt it)

So far so good. Maybe I won’t be able to use midi hub after all. (I have been going direct to USB to avoid stock notes.)

I have two more presets, but they’re really the same, just the sound generators are reversed. I attach a chart and explanation of what is supposed to happen, and the two presets.

I’ve had the same issues with stuck notes, making it impossible to use. Again, I cannot pin down an exactly what proceeds a stuck note, so the best thing to do is just to clean up my sloppy programming. I apologize, because I don’t have a real understanding of this software. I appreciate very much you taking the time to look at my work, and correct it to make it most efficient.
Best regards,
Peter

Midihub 2024.08.21 PRST#2.mhp (495 Bytes)

Midihub 2024.08.21 PRST #3.mhp (495 Bytes)

It is indeed a good idea to simply keep recording all the MIDI messages you produce that go into the Midihub, we could replay the same MIDI data into the Midihub and hopefully reproduce the issue.

Btw, are you using a single Midihub in both of your locations? Or do you have multiple Midihubs?

1 Like

Thank you for contacting me. I missed this email. I am using one midi hub.
How would I record the midi messages going into MH. Is it capable of that?
Thanks!
Peter

Adapt your presets as in the “…DAWrecord” preset I showed you. ie for every input have a USB-out and record the MIDI in a DAW.

Then you can upload the .mid file showing the hung notes and the scenarios in which they occurred

OK I am doing this in the studio. So far the only stuck notes have been the fault of the sound generator. I have been aware that this is part of the problem. Even though the greatest problems happen under the pressure of life performance, I will continue to test these in the studio and send you anything revealing.
Meanwhile, would you mind looking at those two presets and slimming them down to get rid of any redundancies that might be potential problems?
Many thanks!
Peter

There’s no slimming down to be done, really [1]

I get the sense, though, that there aren’t any problems with Midihub and stuck notes and that the issues lie with the sound module.
In that light, the focus is somewhat different and more about which scenarios cause the module to mis-behave.




[1] the two “switching” CCs are allowed out to USB-A (from memory). useful for DAW monitoring but needed otherwise?

btw
The presets are identical apart from one pipe being disabled/enabled. If you’re changing presets remotely (via Program Change), the two presets could be made one.
(probably best to leave this minor enhancement until you’ve got other things sorted out.)