Distinguishing electromagnetic waves from sound waves