An electronic device, comprising: a first speaker and a second speaker arranged in the electronic device; a processor operatively connected with the first speaker and the second speaker; and a memory operatively connected to the processor, wherein the memory is configured to store instructions executable to enable the processor to: output first channel audio data including a first frequency component and a second frequency component via the first speaker and second channel audio data including a first frequency component and a second frequency component via the second speaker, wherein the first frequency component of the first channel audio data and the first frequency component of the second channel audio data correspond to a first frequency band and the second frequency component of the first channel audio data and the second frequency component of the second channel audio data correspond to a second frequency band different from the first frequency band, detect a change in an orientation or attitude of the electronic device while outputting the first channel audio data and the second channel audio data, and based on at least part of the detected change in the orientation or the attitude of the electronic device, keep outputting the first frequency component of the first channel audio data via the first speaker and the second frequency component of the second channel audio data via the second speaker, and switch to output the second frequency component of the first channel audio data via the second speaker and the first frequency component of the second channel audio data via the first speaker. a first speaker and a second speaker arranged in the electronic device; a processor operatively connected with the first speaker and the second speaker; and a memory operatively connected to the processor, wherein the memory is configured to store instructions executable to enable the processor to: output first channel audio data including a first frequency component and a second frequency component via the first speaker and second channel audio data including a first frequency component and a second frequency component via the second speaker, wherein the first frequency component of the first channel audio data and the first frequency component of the second channel audio data correspond to a first frequency band and the second frequency component of the first channel audio data and the second frequency component of the second channel audio data correspond to a second frequency band different from the first frequency band, detect a change in an orientation or attitude of the electronic device while outputting the first channel audio data and the second channel audio data, and based on at least part of the detected change in the orientation or the attitude of the electronic device, keep outputting the first frequency component of the first channel audio data via the first speaker and the second frequency component of the second channel audio data via the second speaker, and switch to output the second frequency component of the first channel audio data via the second speaker and the first frequency component of the second channel audio data via the first speaker. output first channel audio data including a first frequency component and a second frequency component via the first speaker and second channel audio data including a first frequency component and a second frequency component via the second speaker, wherein the first frequency component of the first channel audio data and the first frequency component of the second channel audio data correspond to a first frequency band and the second frequency component of the first channel audio data and the second frequency component of the second channel audio data correspond to a second frequency band different from the first frequency band, detect a change in an orientation or attitude of the electronic device while outputting the first channel audio data and the second channel audio data, and based on at least part of the detected change in the orientation or the attitude of the electronic device, keep outputting the first frequency component of the first channel audio data via the first speaker and the second frequency component of the second channel audio data via the second speaker, and switch to output the second frequency component of the first channel audio data via the second speaker and the first frequency component of the second channel audio data via the first speaker.