x42 / midifilter.lv2

LV2 plugins to filter midi events
https://x42-plugins.com/x42/x42-midifilter
GNU General Public License v2.0
70 stars 20 forks source link

[MIDI Channel map] Wrong channel output when moving CC fast #4

Open DepreTux opened 10 years ago

DepreTux commented 10 years ago

Hi!

I'm using channel map in Carla to be able to map the 16 knobs in my controller to more than 16 functions in softsynths.

Using jack_midi_dump, I can see that mapping channel 1 to any channel, ocassionaly outputs on channel 2 when moving the knobs fast.

Mapping channel 2 to any channel outputs on channel 3, with ocassional output on the selected channel when moving the knobs fast.

Mapping channel 3 to any channel, outputs only on channel 3, with ocassional output on channel 16.

Any other input channel seems to output only on channels 2 and 3.

Let me know of any debugging info you might need.

Thanks for all your work!

EDIT: It works ok with jalv.gtk but then I can't map a midi controller to it. Would this be a carla bug?

EDIT: It doesn't work at all in qtractor.

x42 commented 10 years ago

I cannot reproduce this in Ardour3, ingen and jalv. I don't have Carla around to check, but I'm just sitting next to falkTX and will try to check on his machine :)

The code is pretty simple, I can't [yet] see where and how this can go wrong in midifilters.lv2 itself (https://github.com/x42/midifilter.lv2/blob/master/filters/channelfilter.c#L31).

It could be related to qtractor's or carla's handing of LV2 MIDI buffers, but that's just a guess, It could also be caused by using and old version of jack1 (< 0.124) which has limited midi-buffer size...

more later, robin

DepreTux commented 10 years ago

I'm using jack1 0.124.1, so it isn't that. I tried with ardour3, but I couldn't quite figure how to use the plugin on that host for the desired functionality. Let me know if you have any news.

Thanks!