Abstract:
A method and an apparatus for processing audio data that controls pressure of a played sound to improve a quality of audio are provided. The method for processing audio in a mobile terminal includes: receiving the audio from a microphone; calculating by a controller a sound pressure level of the received audio; determining a sound pressure state of the received audio based on the calculated sound pressure level; and controlling an input gain of the audio based on the determination result.
Abstract:
According to various embodiments, an electronic device may include a display and a processor, wherein the processor is configured to control the display to display a first screen for configuring first data, control the display to display a second screen associated with the first data while displaying the first screen, receive, through the second screen, a first user input for changing a value of the first data displayed on the first screen from a first value to a second value, and after receiving the first user input, control the display to display, through the first screen, an animation which continuously displays values between the first value and the second value. Other embodiments may be possible.
Abstract:
Various embodiments of the disclosure provide a method and apparatus for providing a vibration in an electronic device. According to various embodiments of the disclosure, an electronic device may include a memory including instructions stored therein, and at least one processor, wherein the at least one processor coupled to the memory is configured to execute the stored instructions for detecting an event for a user's input related to a direction, identifying a vibration pattern having directivity, in response to the detected event, and providing a vibration having directivity by driving the one or more vibration devices, based on the vibration pattern.
Abstract:
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.
Abstract:
An electronic device for providing vibration feedback and an operating method of the electronic device are provided. The electronic device includes a vibration generator disposed in a predetermined position of the electronic device and configured to generate vibration feedback, and a processor configured to, when a trigger condition for the vibration feedback is satisfied, identify an operation mode of the electronic device and configured to determine a direction in which the vibration feedback generated by the vibration generator is to be transmitted in the electronic device, based on the trigger condition and the operation mode.
Abstract:
An electronic device may include: a rotation detection module configured to detect rotation parameters of a rotating body; a haptic module configured to generate vibration according to a vibration pattern; a display configured to display a user interface; a memory; and a processor electrically connected with the rotation detection module, the haptic module, the display, and the memory. The memory may store instructions that, when executed, cause the processor to: determine vibration parameters based on the rotation parameters detected by the rotation detection module; generate a vibration pattern based on the vibration parameters; and output a user interface corresponding to the generated vibration pattern on the display.