CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is based on and claims priority under 35 U.S.C. § 119 to Korean Patent Application No. 10-2018-0160109, filed on Dec. 12, 2018, in the Korean Intellectual Property Office, the disclosure of which is incorporated by reference herein its entirety.

BACKGROUND

1. Field

The disclosure relates to an electronic device, capable of supporting various audio enhancements, and a method for the same.

2. Description of Related Art

During a voice call, an electronic device receives an audio signal from the user through the microphone and from another electronic device. The audio signal from the microphone represents the speech from the user. The audio signal from the other electronic device is output via a speaker. Ideally, the output from the speaker replicates the speech received at the other electronic device. However, noise from various sources can alter the audio signal, thereby causing the output from the speaker to have reduced quality.

The above information is presented as background information only to assist with an understanding of the disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as prior art with regard to the disclosure.

SUMMARY

In accordance with an aspect of the disclosure, an electronic device comprises a communication circuitry configured to establish a voice call with an external electronic device; a microphone; a memory configured to store a first sound quality enhancement parameter; and a processor operatively connected with the communication circuitry, the microphone, and the memory, wherein the processor is configured to: obtain an audio signal associated with speech through the microphone, during the voice call; transmit, to a server, voice data based on the audio signal when the ratio is within a first range; transmit, to the server, noise data based on the audio signal, when the ratio is within a second range different from the first range; receive an updated sound quality enhancement parameter from the server with the communication circuit during the voice call; and adjust the first sound quality enhancement parameter stored in the memory, based at least on the updated sound quality enhancement parameter received from the server during the voice call.

In accordance with another aspect, an electronic device comprises: a communication circuit; a speaker; a microphone; a memory storing a first sound quality enhancement parameter associated with the electronic device or a user of the electronic device; and a processor operatively connected with the communication circuit, the speaker, the microphone, and the memory, wherein the processor is configured to: determine whether a first audio signal obtained using the microphone includes a voice signal, determine whether a signal-to-noise ratio (SNR) for the voice signal of the first audio signal is equal to or greater than a specific value, transmit, to a first external electronic device, voice data based on the first audio signal, when the SNR is equal to or greater than the specific value, update the first sound quality enhancement parameter using the first data, and perform sound quality enhancement of an audio signal obtained through the microphone using the updated first sound quality enhancement parameter.

In accordance with another aspect of the disclosure, a method for sound quality enhancement of an electronic device, the method comprising: obtaining an audio signal, determining whether the obtained audio signal includes a voice signal, determining whether an SNR for the voice signal of the audio signal is equal to or greater than a specific value, when the audio signal includes the voice signal, transmitting, to an external electronic device, voice data based on the audio signal, when the SNR is equal to or greater than the specific value, receiving first data generated based on the voice data from the external electronic device, in response to transmission of the voice data, updating a first sound quality enhancement parameter associated with the electronic device using the first data, and performing sound quality enhancement for the received audio signal through a microphone of the electronic device by using the updated first sound quality enhancement parameter. Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses certain embodiments of the disclosure.

