Longitudinal wave and seismic P-waves (created by earthquakes and explosions). In longitudinal waves, the displacement of the medium is parallel to the propagation of the wave, and waves can be either straight or round. A wave along the length of a stretched Slinky toy, where the distance between coils increases and decreases, is a good visualization. In the case of longitudinal harmonic sound waves, the frequency and wavelength can be described by the formula where: The quantity "x"/"c" is the time that the wave takes to travel the distance "x". The ordinary frequency ("f") of the wave is given by The wavelength
Sound solids as longitudinal waves and also as a transverse wave in solids (see Longitudinal and transverse waves, below). The sound waves are generated by a sound source, such as the vibrating diaphragm of a stereo speaker. The sound source creates vibrations in the surrounding medium. As the source continues to vibrate the medium, the vibrations propagate away from the source at the speed of sound, thus forming the sound wave. At a fixed distance from the source, the pressure, velocity, and displacement of the medium vary in time. At an instant in time, the pressure, velocity, and displacement vary in