Cavity noise is a typical example of aerodynamic noise. Large noise is generated when a flow goes on a cavity such as a sun-roof on a high-speed car or a gear box of an airplane. We have successfully suppressed a cavity noise by controlling the timing of the flow separation from the upstream edge of the cavity. Furthermore, a passive control by inserting a thin plate or a small rod inside the cavity has also been carried out. In addition, we have conducted numerical simulations to clarify the mechanism of the noise reduction for more effective controls.