Sonoluminescence can occur when a sound wave of sufficient intensity induces a gaseous cavity within a liquid to collapse quickly. This cavity may take the form of a preexisting bubble or may be generated through a process known as cavitation. Sonoluminescence in the laboratory can be made to be stable so that a single bubble will expand and collapse over and over again in a periodic fashion, emitting a burst of light each time it collapses. For this to occur, a standing acoustic wave is set up within a liquid, and the bubble will sit at a pressure antinode of the standing wave. The frequencies of resonance depend on the shape and size of the container in which the bubble is contained.