Acoustic characterization of the Hofstadter butterfly with resonant scatterers