Add some error checking to sound