ignore_controller()

Drops the given MIDI control change event and thus prevents the supplied event to be further processed by the sampler. You can use this function i.e. to filter out MIDI control change events, before they are causing the sound to be changed.

The argument this function takes is optional. If you omit passing an argument to this function, then the controller event ID will be used that caused this current controller event handler to be executed.

There is also an ignore_event() function. With NKSP the two functions are both doing the same thing though. The two exist merely due to compatibility reasons with KSP.

Function Prototype

ignore_controller([??event-id??])

Arguments

Argument Name Data Type Description
??event-id?? Event ID Number MIDI control change event to be dropped.
[optional, default: ID of the event handler's event]

Return Value

None.

Examples

None yet.

Dynamic, optional arguments are only supported by NKSP. If you want to retain compatibility to KSP, then you should always pass a parameter to this function.