Self-sustained oscillations of shear flow past a slotted plate coupled with cavity resonance