falkTX / Carla

Audio plugin host
https://kx.studio/carla
1.55k stars 144 forks source link

CC Map not working when loaded within Carla #1812

Open mahlonsmith opened 9 months ago

mahlonsmith commented 9 months ago

Heya!

I want to preface this by saying I'm not sure this is the right spot for a report, but since I can make this work in environments -outside- of Carla, it seems a good starting point.

I'm trying to remap Midi CC using x42's midifilter cc map -- hardware to hardware, but via USB with a saved Carla session. (So very luxuriously convenient!)

For the example: Source hardware is generating CC control 10 on channel 16. I want to remap that to CC 13 on channel 1. I'm sending to jack_midi_dump for demonstration:

2023-09-26_18-40

Output looks like so:

 314: bf 0a 42 control change (channel 15): controller  10, value  66
 371: bf 0a 41 control change (channel 15): controller  10, value  65
 502: bf 0a 42 control change (channel 15): controller  10, value  66
  94: bf 0a 43 control change (channel 15): controller  10, value  67
 254: bf 0a 44 control change (channel 15): controller  10, value  68
 467: bf 0a 45 control change (channel 15): controller  10, value  69
 442: bf 0a 46 control change (channel 15): controller  10, value  70
  84: bf 0a 47 control change (channel 15): controller  10, value  71

It just doesn't seem to map. If I try and do something similar in Ardour (with the same plugin) it works properly. Additionally, if I load the plugins in jalv and just use Carla to perform the routing, it also works. It feels like the problem only appears when using Carla as the LV2 host.

2023-09-26_21-55

I've tried this under Carla 2.5.5 (from kxstudio repo) and a locally built 2.5.6, and removed the hardware entirely and just using mididebug to emulate. Not that that would necessarily matter, but hey.

Happy to try any other methods for debug/reproduction offered.