kslider selected notes stuck problem

ayrtbh's icon

Hello,

I encountered a problem with kslider recently. When it is set to "Touchscreen" mode and receiving/displaying MIDI notes, controlling it with the mouse will cause the mouse selected notes to get stuck. Neither the "clear" nor the "flush" messages can clear them, as demonstrated in the video.

kslider20250603.mp4


Source Audio's icon

that is because you create multiple note on messages without turning them off

before sending them again.

actually flush or clear messages should take care of that,

but they don't. they never did.

only way to clear kslider is to send note off messages for "hanging" keys.

ayrtbh's icon

Thank you SOURCE AUDIO for the reply. Yes I understand that the on notes should be turned off with 0 velocity. When using the mouse to adjust the kslider, I think the note should be turned off when the mouse leaves the key, but it didn't.

I found that I even have to bang the [uzi 128 0] more than three times to clear all the hanging keys :D

Actually mousing the kslider without it receiving notes from the metro|makenote works fine. "clear", "flush", mouse leaving the key all can clear. So I guess the problem occurs when mousing and remotely sending notes to the kslider at the same time.

Source Audio's icon

notes coming from makenote with 1000ms

(and unknown repeat mode) add to mouse clicked notes.

that is why you need more then 1 note off.

ayrtbh's icon

Thanks! So for now it's probably best not to use the mouse to control the kslider when it's receiving notes remotely.

Source Audio's icon

you can use 2 ksliders on top of each other

one for mouse , the other to display received notes from makenote.

But still need to control held notes .

or disable mouse while metro is running

here both examples

Max Patch
Copy patch and select New From Clipboard in Max.