Prediction of the Masonry Resistance by means of Sound Tests: Experimental and Theoretical Analysis on Masonry Walls