Right now I'm trying to write a MIDI effect that inverts the value of a Continuous Controller. Unfortunately, I can't split the event stream so other events pass through unaffected and I can process just the Continuous Controller I'm interested it.mutools wrote:Added to the wishlist: Event Filter module.pljones wrote:I'd got that solution working with MULAB synths. I was after a general solution that also works for VST synths, really. Some of them don't even have the option of setting PB range to zero.
I think I've mentioned it since, too, probably in similar detail... What I'm really after is a "simple" Event Filter module that works like this:
Event Input point.
Editing gets a list of filter rules (similar to sequences in list mode), created in a similar way to the "Logical Event Selector".
One or more event output points.
In more detail...
First, by default, there would be one event output point and all events would pass through from input to output.
However, each event traversing the module would be matched against each line of the filter rules. The rule would cause "matching events" to be sent to the "Output" listed. "Output" would have the values "None" (to block the event), "Through" (the default output), a list of other existing output points and "New..." to add a new output point (probably the tricky bit -- could live with "None" and "Through" but it means multiple module instances). (Unmatched rules pass through to default output.)
So what's a "matching event"? It's one that a filter rule matches... You create a filter rule by clicking "Add", which opens a dialog similar to the "Logical Event Selector" - but a little amended. "Mode" would just be "Match" or "Inverse". No "Time". "Type" is probably okay as it is, as are Value1 and Value2. As noted, there would be an additional "Output" selection.
