The anatomy of a MIDI feature detector