Wave localization is a ubiquitous phenomenon. It refers to situations that transmitted waves in scattering media are trapped in space and remain confined in the vicinity of the initial site until dissipated. Here, we report a phase transition from acousti