Page 1 of 1

midi message ignore option ?

Posted: Wed Sep 21, 2011 6:10 am
by JickDuck
Can anyone please help me on this one?

Can you choose to ignore (or filter) a certain midi cc message. Perhaps this can be done at compile time?
For example, how do you make linuxsampler not respond to "all notes off" message?
If this cannot be done, the only other option would me to rout the midi through a midi event filer.

Thank you.
Jick

Re: midi message ignore option ?

Posted: Wed Sep 21, 2011 8:17 am
by Alex
Jick, I think you'll need to apply a filter to any incoming midi CC you want to exclude, external of LS.


Alex.

Re: midi message ignore option ?

Posted: Sat Sep 24, 2011 12:10 am
by cuse
There is no runtime or compile time parameter yet to ignore such MIDI events. You either need to filter it externally or touch the source code of LinuxSampler.

Have a look at src/engines/EngineBase.h, it's quite easy to modify the code there to ignore the MIDI events you dislike.