Soundproof Barriers for Roads and Railways: A Smarter Way to Control Traffic Noise