Harnessing buckling to design tunable locally resonant acoustic metamaterials.