摘要:
An electronic device, method, and non-transitory computer-readable recording medium are provided. Electronic device includes first speaker and second speaker arranged in electronic device, processor operatively connected with first speaker and second speaker, and memory operatively connected to the processor, wherein the memory is configured to store instructions executed to enable the processor to detect an orientation or attitude of the electronic device while playing first channel audio data and second channel audio data via the first speaker and the second speaker, and based on at least part of the detected orientation or attitude of the electronic device, keep outputting a first frequency component of the first channel audio data and a second frequency component of the second channel audio data via the first speaker and the second speaker and switch a second frequency component of the first channel audio data and a first frequency component of the second channel audio data.
摘要:
A method of playing music based on chords in an electronic device is provided. The method includes identifying background music related to a piece of music to load sound source data synchronized with the background music from a memory, reproducing the background music, identifying chords corresponding to the reproduced background music in the sound source data, configuring notes corresponding to the chords as notes corresponding to touch objects displayed on the touch screen, and when the chords are changed, reconfiguring notes corresponding to the changed chords as the notes corresponding to the touch objects.
摘要:
Disclosed are a method and an apparatus for converting a musical element so as to provide a vibration in an electronic device. According to various embodiments of the present invention, an electronic device may comprise: a display; a vibration generation apparatus for generating a vibration; and a processor functionally connected to the display and the vibration generation apparatus, wherein the processor is configured to: select multiple frequencies, using a musical element; set at least one vibration on the basis of the selected multiple frequencies; and generate a vibration pattern on the basis of the set vibration. Various elements are possible.