There are provided an ultrasonic diagnostic apparatus, an ultrasound image generating method, and a recording medium having stored therein a program capable of generating an ultrasound image with a precision close to that of multi-focus even with a moving image. In the case of a motion picture photographing mode, transmission/reception is performed with single focus, and multi-line processing is performed based on received element data. Thereafter, image processing is performed, and a moving image of an ultrasonic image is displayed or a sound velocity value is calculated. In the case of a still picture photographing mode, transmission/reception is performed with multi-focus, and phasing addition processing and the like are performed on received element data. Thereafter, image processing is performed, and a still image of an ultrasonic image is displayed or a sound velocity value is calculated.