The invention discloses a loudspeaker control method and device and electronic equipment, and belongs to the field of electronic equipment. The control method comprises the steps of obtaining a noisevalue of an environment and crowd information in a preset distance range; determining a target loudspeaker, a target loudspeaking direction and a target volume according to the noise value and the crowd information; and controlling the target loudspeaker to work in the target loudspeaking direction and the target volume. According to the application, the user can hear the sound played by the loudspeaker clearly, and the crowd in the environment where the electronic equipment is located cannot hear the sound played by the loudspeaker clearly, so that the privacy of the user is protected, and the audio experience of the user is improved.