#include <Filter.h>
Inheritance diagram for TSE3::Filter:
Public Member Functions | |
Filter () | |
virtual | ~Filter ()=0 |
virtual MidiEvent | filter (const MidiEvent &e) const=0 |
The Filter is an interface that allows the use of MidiEvent 'filters'. These filters accept a single MidiEvent, and return the MidiEvent filtered in some way.
|
|
|
|
|
Filter a MidiEvent by doing something suitably marvellous to it. If the event is removed altogether the filter will return a MidiEvent with a MidiCommand_Invalid. These can propagate up the Playable hierarchy and be ignored by the MidiScheduler at the top.
Implemented in TSE3::MidiFilter, TSE3::MidiMapper, and TSE3::MidiParams. |