Jack stops when I press notes on my midi keyboard? (I don't even use it for midi)
Describe the bug
Jack stops when I press notes on my midi keyboard? (I don't even use jack for midi nor do I see any midi settings in jack)
Environment
- JACK Version:
- Operating System: Windows 10
- Installation: downloaded from the website https://jackaudio.org/downloads/
Steps To Reproduce
Press note on midi keyboard > jack stops (doesn't crash just stops)
Video of the steps. https://github.com/user-attachments/assets/c7c8545a-5bfb-4430-9009-db91edbbd395
Message output
18:29:50.845 JACK connection graph change.
Allocate: named semaphore already exist name = jack_pipe.default_qjackctl
18:30:34.690 Shutdown notification.
18:30:34.695 Client deactivated.
18:30:34.705 JACK is being forced...
18:30:34.906 JACK was stopped
Jack setup:
I have jack set to my asio driver. I don't even understand why it reacts to midi. I don't want it to.
Expected vs. actual behavior
It keeps running when i press midi notes would be my expected behavior. It makes no sense because I see no settings that relate to midi. I wish I could just turn everything midi related off for jack.
Okay I unplugged my midi controller from the direct USB port connection and plugged it's usb cable into a midi interface that has it's own usb host port on it. This somehow works around the issue.
There is some sort of interaction between direct midi over USB and jack or it is specifically an issue with this midi controller (the roli seaboard).
Either way this works around the issue. (Sorta)
Downside to this is the whole reason for having an MPE controller is that you can use MPE. (Multi timbral polyphonic expression or Midi polyphonic expression).
By going through this controller I don't know if it can pass MPE. Just plain old midi notes. Sucks kind of. I will play around with settings a bit and see if I can get it to pass MPE.
What could be causing an interaction for this? Direct USB connection causing jack to turn off on midi notes being pressed?
I also encountered this problem. So far I have managed to simply disable MIDI by deleting the launch line argument -X winmme
This was already fixed in latest develop branch, but I still need to make a new release with the fix. If you want test a new build that has the fix you can use the latest available build https://github.com/jackaudio/jack2/actions/runs/9828548183/artifacts/1681291121
Ah! I was about to report this. I'll grab the Windows build and give it a go.
OK, that looks good:
Jack: JackWinMMEInputPort::EnqueueMessage - enqueueing event at 1579984.313000 (frame: 5772455) with start offset '57738' scheduled for frame '5772490'
Jack: JackWinMMEInputPort::EnqueueMessage - enqueueing event at 1580122.771000 (frame: 5786173) with start offset '57877' scheduled for frame '5786263'
whereas it would have just done the JACK is being forced..., JACK was stopped thing.
Any solutions for this issue?
Any solutions for this issue?
See https://github.com/jackaudio/jack2/issues/986#issuecomment-2382384936
did this fix make it into the final? the version number is the same as when i checked last
This was already fixed in latest develop branch, but I still need to make a new release with the fix. If you want test a new build that has the fix you can use the latest available build https://github.com/jackaudio/jack2/actions/runs/9828548183/artifacts/1681291121
Any solutions for this issue?
See #986 (comment)
"This was already fixed in latest develop branch, but I still need to make a new release with the fix. If you want test a new build that has the fix you can use the latest available build https://github.com/jackaudio/jack2/actions/runs/9828548183/artifacts/1681291121"
link is dead @falkTX
I'm guessing it is probably part of the nightly.
What I did was this as a workaround. Actually this is the solution for anyone who never wants to do midi. I never want Jack to do midi. So i did what was suggested above.
Workaround if you must stay on 1.9.22 • Disable the Windows MIDI backend so JACK ignores WinMME:
remove -X winmme from the JACK server command
(QjackCtl → Setup → Settings → Advanced → Server Prefix). That flag is what enables WinMME MIDI on Windows.
I have no interest in Jack midi whatsoever so this works.