Pulse propagation in a resonant medium: Application to sound waves in superfluid 3He-B.