This class provides a configurable filter for the different kinds of MidiCommand. It tells it's users whether a given MidiCommand is to be used or not.
The MidiCommandFilter considers MidiCommand_NoteOff and MidiCommand_NoteOns to be the same (otherwise you could produce 'hanging notes').
See also: MidiCommand
| MidiCommandFilter ()
By default, all the filters are enabled, that is all MidiCommands are passed through.
|bool filter (MidiCommand type)
Returns the status of a MidiCommand filter.
|type||A MidiCommand to filter (only the status is inspected)|
Returns: A boolean filter value: true for the MidiCommand being allowed through the filter, false for the MidiCommand being filtered out.
|void setFilterStatus (MidiCommand type, const bool status)
Sets the status of a MidiCommand filter.
|type||A MidiCommand to set a filter for (only the status is inspected)|
|A||boolean filter value: true to allow the MidiCommand through the filter, false to prevent the MidiCommand passing the filter.|