Hey,
I’ve been facing this weird bug where my MIDI keyboard fader buttons are recognized with the wrong program value in Ardour. I’m fairly certain it used to work in the past, so this is possibly caused by an upgrade, but I’m uncertain as to what (possibly Pipewire?).
Trying to debug me led me to aseqdump
. When pressing the buttons F1 to F3 one by one this is what ALSA sees (and I presume Pipewire sees the same thing, it would be a very weird bug otherwise):
$ aseqdump -p 24:0
Waiting for data. Press Ctrl+C to end.
Source Event Ch Data
0:1 Port subscribed 145:0 -> 129:0
24:0 Control change 0, controller 0, value 0
24:0 Control change 0, controller 32, value 0
24:0 Program change 0, program 0
24:0 Control change 0, controller 0, value 0
24:0 Control change 0, controller 32, value 0
24:0 Program change 0, program 1
24:0 Control change 0, controller 0, value 0
24:0 Control change 0, controller 32, value 0
24:0 Program change 0, program 2
This is what Ardour sees when pressing the same 3 buttons in sequence:
Not being very familiar with MIDI events I’m somewhat baffled as to why the buttons would send a CC message before the PC message and not after, but otherwise the indexes look normal in ALSA. However, it looks as if Ardour is seeing index >> 1
instead of the actual index (all the other fader buttons have the same behavior as the first 3 I showed above).
I also tried resetting the keyboard to factory settings without any effect
Any idea?
OS is Linux 6.14.2, Ardour 8.12.0, Pipewire 1.4.2.