Active control of cavity aeroacoustics in high speed flows