Amplitude and its effects on sound and light waves