KR20210111603A - Apparatus and method for improving sound quality - Google Patents

Apparatus and method for improving sound quality Download PDF

Info

Publication number
KR20210111603A
KR20210111603A KR1020200026736A KR20200026736A KR20210111603A KR 20210111603 A KR20210111603 A KR 20210111603A KR 1020200026736 A KR1020200026736 A KR 1020200026736A KR 20200026736 A KR20200026736 A KR 20200026736A KR 20210111603 A KR20210111603 A KR 20210111603A
Authority
KR
South Korea
Prior art keywords
audio signal
electronic device
energy
bandwidth
frequency band
Prior art date
Application number
KR1020200026736A
Other languages
Korean (ko)
Inventor
안중열
김춘호
허승윤
김민석
홍상필
김강열
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020200026736A priority Critical patent/KR20210111603A/en
Priority to PCT/KR2021/002382 priority patent/WO2021177659A1/en
Publication of KR20210111603A publication Critical patent/KR20210111603A/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/003Changing voice quality, e.g. pitch or formants
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0272Voice signal separating
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • G10L25/15Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters the extracted parameters being formant information
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/93Discriminating between voiced and unvoiced parts of speech signals
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/93Discriminating between voiced and unvoiced parts of speech signals
    • G10L2025/937Signal energy in various frequency bands

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)

Abstract

In accordance with an embodiment of the present invention, an electronic apparatus comprises: a communication circuit; an audio processing circuit; a speaker; and one or more processors operably connected to the communication circuit and the audio processing circuit. The one or more processors can acquire an audio signal through the communication circuit, analyze a first energy corresponding to a first frequency band and a second energy corresponding to a second frequency band, which is higher than the first frequency band, in the acquired audio signals, determine a calibration value applied to the audio signals based on the bandwidth set by the audio processing circuit based on the results of analysis of the first energy and the second energy, and output the audio signals with the calibration value applied through the speaker. On top of that, various embodiments identified through the specifications are possible.

Description

음질 개선 방법 및 그 장치{APPARATUS AND METHOD FOR IMPROVING SOUND QUALITY}Method and device for improving sound quality

본 문서에서 개시되는 실시 예들은, 콘텐트가 재생되는 전자 장치의 대역폭과 콘텐트의 재생 신호의 대역폭이 상이할 때 발생되는 음질의 열화를 개선시키기 위한 기술에 관한 것이다.Embodiments disclosed in this document relate to a technique for improving sound quality deterioration that occurs when a bandwidth of an electronic device from which content is reproduced and a bandwidth of a content reproduction signal are different from each other.

통화 또는 멀티미디어는 오디오(audio) 신호가 재생될 때, 재생되는 음원 또는 음질에 따라 다양한 대역폭(bandwidth)을 갖는 신호를 사용할 수 있다. 전자 장치들 사이에서 오디오 신호를 송수신 하는 경우, 전자 장치들 사이에 연결된 대역폭을 비교하여 두 대역폭 중 더 낮은 대역으로 강제 설정하여 오디오 신호를 송수신하거나 오디오 신호의 대역폭보다 큰 대역폭의 전자 장치에 오디오 신호를 송수신 할 수 있다.For calls or multimedia, when an audio signal is reproduced, a signal having various bandwidths may be used according to a reproduced sound source or sound quality. When transmitting/receiving an audio signal between electronic devices, the bandwidth connected between the electronic devices is compared and forcibly set to the lower of the two bandwidths to transmit/receive an audio signal, or an audio signal to an electronic device having a bandwidth greater than the bandwidth of the audio signal can send and receive

콘텐트가 재생되는 전자 장치의 대역폭과 콘텐트의 재생 신호의 대역폭이 상이할 때, 전자 장치들 사이에서 전송되는 오디오의 음량 또는 음질의 열화가 발생될 수 있다. 예를 들어, 도 1또는 도 2에서 설명되는 하모닉 또는 클리핑은 음량 또는 음질의 열화를 발생시킬 수 있다.When the bandwidth of the electronic device from which content is reproduced is different from the bandwidth of the content reproduction signal, the volume or sound quality of audio transmitted between the electronic devices may be deteriorated. For example, harmonics or clipping described in FIG. 1 or FIG. 2 may cause deterioration in volume or sound quality.

도 1은 하모닉(harmonic) 발생의 예를 도시한다. 1 shows an example of harmonic generation.

도 1을 참조하면, 재생 신호 대역폭보다 전자 장치의 대역폭이 큰 경우, 전자 장치의 대역폭 중 재생 신호의 대역폭을 제외한 대역에 노이즈(noise) 또는 하모닉(harmonic distortion)(107) 중 적어도 하나가 유입될 수 있다. 전자 장치는 상기 유입된 노이즈 또는 하모닉 중 적어도 하나를 포함한 대역폭에 기반하여 오디오 신호를 출력할 수 있다. Referring to FIG. 1 , when the bandwidth of the electronic device is greater than the bandwidth of the reproduction signal, at least one of noise or harmonic distortion 107 may be introduced into a band excluding the bandwidth of the reproduction signal among the bandwidths of the electronic device. can The electronic device may output an audio signal based on a bandwidth including at least one of the introduced noise and harmonic.

전자 장치는 재생되는 음원 또는 음질에 따라 다양한 대역폭을 갖는 신호를 사용할 수 있다. 예를 들어, 상기 대역폭은 4kHz, 8kHz, 16kHz, 및 48kHz를 포함할 수 있다. 0kHz 이상 4kHz 이하의 대역폭은 NB(narrow band)(101)로, 0kHz 이상 8kHz 이하의 대역폭은 WB(wide band)(103)로, 0kHz 이상 16kHz 이하의 대역폭은 SWB(super wide band)(105)로 각각 참조될 수 있다.The electronic device may use signals having various bandwidths according to a reproduced sound source or sound quality. For example, the bandwidth may include 4 kHz, 8 kHz, 16 kHz, and 48 kHz. The bandwidth of 0 kHz to 4 kHz is NB (narrow band) 101, the bandwidth from 0 kHz to 8 kHz is WB (wide band) 103, and the bandwidth from 0 kHz to 16 kHz is SWB (super wide band) (105) can be referred to as .

예를 들어, SWB의 대역폭을 갖는 전자 장치가 NB(101)의 대역폭을 갖는 오디오 신호를 획득하고, 이 오디오 신호를 SWB(105)의 대역폭으로 출력하는 경우, NB(101) 대역폭에서의 포화(saturation) 등에 의한 하모닉(harmonic distortion)(107)이 발생될 수 있다. 상기 전자 장치는 NB(101) 대역폭 이상에서 발생되는 하모닉 성분을 포함한 오디오 신호를 스피커를 통해 출력할 수 있다.For example, when an electronic device having a bandwidth of SWB acquires an audio signal having a bandwidth of NB 101 and outputs the audio signal with a bandwidth of SWB 105, saturation ( Harmonic distortion 107 may occur due to saturation or the like. The electronic device may output an audio signal including a harmonic component generated over a bandwidth of the NB 101 through a speaker.

도 2는 클리핑(clipping) 발생의 예를 도시한다.2 shows an example of occurrence of clipping.

도 2를 참조하면, 전자 장치로 전송되는 오디오 신호의 크기가 전자 장치가 허용하는 한계 출력의 크기를 초과하는 경우, 상기 오디오 신호에 클리핑(clipping)이 발생될 수 있다. 상기 클리핑에 의해 상기 오디오 신호에 왜곡(distortion), 하모닉, 또는 노이즈 중 적어도 하나를 발생시킬 수 있다. 상기 전자 장치는 상기 클리핑에 의해 발생된 왜곡된 오디오 신호를 스피커를 통해 출력할 수 있다.Referring to FIG. 2 , when the size of the audio signal transmitted to the electronic device exceeds the limit output level allowed by the electronic device, clipping may occur in the audio signal. At least one of distortion, harmonic, and noise may be generated in the audio signal by the clipping. The electronic device may output the distorted audio signal generated by the clipping through a speaker.

예를 들면, 전자 장치는 외부 장치로부터 상대적으로 큰 소리에 해당하는 오디오 신호를 획득할 수 있다. 전자 장치는 최대 출력(maximum output of device)(201)의 주파수 영역 내에서 상기 오디오 신호 A를 스피커를 통해 출력할 수 있다. 상기 획득된 오디오 신호의 크기가 한계 출력의 크기를 초과하여 상기 획득된 오디오 신호에 클리핑이 발생되고 전자 장치의 최대 출력(201)의 대역폭과 상기 획득된 오디오 신호의 대역폭이 일치하는 경우, 상기 클리핑에 의해 발생된 하모닉은 오디오 신호에 의해 마스킹(masking)되거나 최대 출력(201)의 대역폭을 초과하는 대역에서 제거될 수 있다. 이에 반해, 전자 장치의 최대 출력(201)의 대역폭이 획득된 오디오 신호의 대역폭 보다 큰 경우(예: 도 1), 상기 하모닉은 오디오 신호에 의해 마스킹되거나 최대 출력(201)의 대역폭의 초과에 의한 제거 없이 스피커를 통해 출력되어 음질 열화가 발생될 수 있다.For example, the electronic device may obtain an audio signal corresponding to a relatively loud sound from an external device. The electronic device may output the audio signal A through a speaker within a frequency range of a maximum output of device 201 . When the obtained audio signal exceeds the threshold output size, clipping occurs in the obtained audio signal, and the bandwidth of the maximum output 201 of the electronic device matches the obtained audio signal bandwidth, the clipping The harmonic generated by ? may be masked by the audio signal or removed in a band exceeding the bandwidth of the maximum output 201 . On the other hand, when the bandwidth of the maximum output 201 of the electronic device is greater than the bandwidth of the obtained audio signal (eg, FIG. 1 ), the harmonic is masked by the audio signal or is caused by exceeding the bandwidth of the maximum output 201 . It may be output through the speaker without removal, resulting in deterioration of sound quality.

본 문서에서 개시되는 다양한 실시 예들은 상술한 문제점들을 해결하기 위한 장치 및 방법 등을 제공할 수 있다.Various embodiments disclosed in this document may provide an apparatus and method for solving the above-described problems.

본 문서에 개시되는 일 실시 예에 따른 전자 장치는 통신 회로; 오디오 처리 회로; 스피커; 및 상기 통신 회로 및 상기 오디오 처리 회로와 작동적으로 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는: 상기 통신 회로를 통해 오디오 신호를 획득하고; 상기 획득된 오디오 신호 중 제1 주파수 대역에 대응되는 제1 에너지 및 상기 제1 주파수 대역보다 높은 제2 주파수 대역에 대응되는 제2 에너지를 분석하고; 상기 제1 에너지와 상기 제2 에너지의 분석 결과, 및 상기 오디오 처리 회로에서 설정된 대역폭에 기반하여 상기 오디오 신호에 적용되는 보정 값을 결정하고, 상기 보정 값이 적용된 오디오 신호를 상기 스피커를 통해 출력하는, 전자 장치일 수 있다.An electronic device according to an embodiment disclosed in this document includes a communication circuit; audio processing circuitry; speaker; and at least one processor operatively coupled with the communication circuitry and the audio processing circuitry, the at least one processor configured to: obtain an audio signal via the communication circuitry; analyzing a first energy corresponding to a first frequency band and a second energy corresponding to a second frequency band higher than the first frequency band among the obtained audio signals; determining a correction value applied to the audio signal based on an analysis result of the first energy and the second energy, and a bandwidth set in the audio processing circuit, and outputting the audio signal to which the correction value is applied through the speaker , may be an electronic device.

또한, 본 문서에 개시되는 일 실시 예에 따른 동작 음질 개선의 제어 방법은 통신 회로를 통해 오디오 신호를 획득하는 동작; 상기 획득된 오디오 신호 중 제1 주파수 대역에 대응되는 제1 에너지 및 상기 제1 주파수 대역보다 높은 제2 주파수 대역에 대응되는 제2 에너지를 분석하는 동작; 상기 제1 에너지와 상기 제2 에너지의 분석 결과, 및 오디오 처리 회로에서 설정된 대역폭에 기반하여 상기 오디오 신호에 적용되는 보정 값을 결정하는 동작; 및 상기 보정 값이 적용된 오디오 신호를 스피커를 통해 출력하는 동작을 포함하는 방법일 수 있다.In addition, the method for controlling the improvement of operational sound quality according to an embodiment disclosed in this document may include: acquiring an audio signal through a communication circuit; analyzing a first energy corresponding to a first frequency band and a second energy corresponding to a second frequency band higher than the first frequency band among the obtained audio signals; determining a correction value applied to the audio signal based on a result of analyzing the first energy and the second energy and a bandwidth set in an audio processing circuit; and outputting the audio signal to which the correction value is applied through a speaker.

본 문서에 개시되는 다양한 실시 예에 따르면, 콘텐트가 재생되는 단말의 대역폭과 콘텐트의 재생 신호의 대역폭이 상이한 경우 발생될 수 있는 음질 열화를 보정하여 사용자에게 향상된 음질을 제공할 수 있다. 이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.According to various embodiments disclosed in this document, improved sound quality can be provided to the user by compensating for sound quality deterioration that may occur when the bandwidth of the terminal where the content is reproduced and the bandwidth of the content reproduction signal are different. In addition, various effects directly or indirectly identified through this document may be provided.

도 1은 하모닉(harmonic) 발생에 의한 종래 기술의 문제점을 도시한다.
도 2는 클리핑(clipping) 발생에 의한 종래 기술의 문제점을 도시한다.
도 3은 일 실시 예에 따른 전자 장치(300)의 대역폭과 오디오 신호의 대역폭 사이의 관계에 대해 도시한다.
도 4는 일 실시 예에 따른 전자 장치(300)의 블록 구성도를 도시한다.
도 5는 일 실시 예에 따른 오디오 신호의 대역폭에 대응하여 전자 장치(300)의 대역폭을 제어하는 과정을 도시한다.
도 6은 일 실시 예에 따른 오디오 신호의 에너지 분석에 기반하여 오디오 신호에 적용되는 보정 값을 결정하는 순서도를 도시한다.
도 7은 일 실시 예에 따른 오디오 신호의 대역폭과 전자 장치(300)의 대역폭의 비교 결과에 기반하여 보정 값 적용 여부 관한 순서도를 도시한다.
도 8은 일 실시 예에 따른 절대 값과 임계 값의 비교를 통해 오디오 신호의 기준 주파수 대역폭을 판단하는 순서도를 도시한다.
도 9는 일 실시 예에 따른 절대 값과 임계 값의 비교를 통해 오디오 신호의 기준 주파수 대역폭을 판단하는 구체적인 예를 도시한다.
도 10은 일 실시 예에 따른 네트워크 환경(1000) 내의 전자 장치(1001)의 블록 구성도를 도시한다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
1 shows a problem in the prior art due to harmonic generation.
Figure 2 shows the problem of the prior art due to the occurrence of clipping.
3 illustrates a relationship between the bandwidth of the electronic device 300 and the bandwidth of an audio signal according to an embodiment.
4 is a block diagram illustrating an electronic device 300 according to an embodiment.
5 illustrates a process of controlling the bandwidth of the electronic device 300 in response to the bandwidth of an audio signal according to an embodiment.
6 is a flowchart of determining a correction value applied to an audio signal based on energy analysis of the audio signal according to an exemplary embodiment.
7 is a flowchart illustrating whether a correction value is applied based on a comparison result of the bandwidth of an audio signal and the bandwidth of the electronic device 300 according to an embodiment.
8 is a flowchart of determining a reference frequency bandwidth of an audio signal through comparison of an absolute value and a threshold value, according to an exemplary embodiment.
9 illustrates a specific example of determining a reference frequency bandwidth of an audio signal through comparison of an absolute value and a threshold value, according to an embodiment.
10 is a block diagram of an electronic device 1001 in the network environment 1000 according to an embodiment.
In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.

이하, 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 특정한 실시 형태를 한정하려는 것이 아니며, 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.Hereinafter, various embodiments will be described with reference to the accompanying drawings. However, this is not intended to limit the specific embodiments, and it should be understood that various modifications, equivalents, and/or alternatives of the embodiments are included.

도 3은 일 실시 예에 따른 전자 장치(300)의 대역폭과 오디오 신호의 대역폭 사이의 관계에 대해 도시한다. 3 illustrates a relationship between the bandwidth of the electronic device 300 and the bandwidth of an audio signal according to an embodiment.

도 3은, 예를 들어 전자 장치(300)와 외부 장치(310) 사이의 음성 통화가 연결된 상황에서, 전자 장치(300)의 사용자가 전자 장치(300)와 연결된 주변기기(예: BT(Bluetooth) 헤드셋(320))의 마이크 및 스피커를 이용하여 외부 장치(310)의 사용자와 통화를 하는 예시적인 시나리오를 의미할 수 있다.3 illustrates, for example, in a situation in which a voice call is connected between the electronic device 300 and the external device 310 , a user of the electronic device 300 is connected to a peripheral device (eg, Bluetooth) connected to the electronic device 300 . It may refer to an exemplary scenario of making a call with a user of the external device 310 using a microphone and a speaker of the headset 320 .

일 실시 예에 따르면, 전자 장치(300)는 외부 장치(310)와 오디오 신호를 송신 또는 수신할 수 있다. 전자 장치(300)는 외부 장치(310)로부터 제공되는 통화 품질에 따라 전자 장치(300)의 대역폭을 설정할 수 있다. 예를 들어, 전자 장치(300)는 전자 장치(300)의 대역폭을 외부 장치(310)로부터 제공되는 오디오 신호의 대역폭에 대응하여 NB, WB, 또는 SWB로 설정할 수 있다. 밴드(band)는 대역폭을 의미할 수 있다. 상기 대역폭은 패스(path)를 의미할 수 있다. According to an embodiment, the electronic device 300 may transmit or receive an audio signal with the external device 310 . The electronic device 300 may set the bandwidth of the electronic device 300 according to the call quality provided from the external device 310 . For example, the electronic device 300 may set the bandwidth of the electronic device 300 to NB, WB, or SWB corresponding to the bandwidth of the audio signal provided from the external device 310 . A band may mean a bandwidth. The bandwidth may mean a path.

일 실시 예에 따르면, 전자 장치(300)는 획득된 오디오 신호의 대역폭에 대응하여 전자 장치(300)의 대역폭을 설정할 수 있다. 예를 들어, 사용자와 상대방이 WB 통화를 하는 경우, 외부 장치(310)로부터 획득한 8kHz(WB)의 오디오 신호에 대응하여 전자 장치(300)는 전자 장치(300)의 대역폭을 8kHz(WB)로 설정할 수 있다. 8kHz(WB)의 대역폭으로 설정된 전자 장치(300)는 외부 장치(310)로부터 8kHz(WB)의 오디오 신호를 획득할 수 있다. 전자 장치(300)의 대역폭과 획득된 오디오 신호의 대역폭이 각각 8kHz(WB)로 일치(351)할 수 있다. 다른 실시 예에 따르면, 전자 장치(300)의 대역폭과 획득된 오디오 신호의 대역폭이 각각 4kHz(NB)로 일치(352)할 수도 있다.According to an embodiment, the electronic device 300 may set the bandwidth of the electronic device 300 in response to the acquired bandwidth of the audio signal. For example, when a user and a counterpart make a WB call, the electronic device 300 changes the bandwidth of the electronic device 300 to 8 kHz (WB) in response to an 8 kHz (WB) audio signal obtained from the external device 310 . can be set to The electronic device 300 set to a bandwidth of 8 kHz (WB) may acquire an audio signal of 8 kHz (WB) from the external device 310 . The bandwidth of the electronic device 300 and the bandwidth of the obtained audio signal may match 351 at 8 kHz (WB), respectively. According to another embodiment, the bandwidth of the electronic device 300 and the bandwidth of the obtained audio signal may match 352 to 4 kHz (NB), respectively.

전자 장치(300)와 외부 장치(310) 사이의 오디오 신호는 서로 일치하는 대역폭으로 교환될 수 있지만, 전자 장치(300)는 외부 장치(310)로부터 획득된 오디오 신호를 주변기기(예: BT 헤드셋(320))를 통해 출력할 수 있다. 일 실시 예에 따르면, 주변기기(예: BT 헤드셋(320))에서 오디오 신호를 출력하는 대역폭은 항상 고정될 수 있다. 예를 들어, BT 헤드셋(320)에서 오디오 신호를 출력하는 대역폭은 항상 8kHz(WB)로 고정(353, 354)될 수 있다. BT 헤드셋(320)은 전자 장치(300)로부터 획득한 4kHz 또는 8kHz의 오디오 신호를 8kHz(WB)의 고정된 출력 대역폭을 통해 출력할 수 있다. Audio signals between the electronic device 300 and the external device 310 may be exchanged with a bandwidth that matches each other, but the electronic device 300 transmits the audio signal obtained from the external device 310 to a peripheral device (eg, a BT headset ( 320))). According to an embodiment, a bandwidth for outputting an audio signal from a peripheral device (eg, the BT headset 320) may be always fixed. For example, the bandwidth for outputting an audio signal from the BT headset 320 may always be fixed (353, 354) to 8 kHz (WB). The BT headset 320 may output an audio signal of 4 kHz or 8 kHz obtained from the electronic device 300 through a fixed output bandwidth of 8 kHz (WB).

일 실시 예에 따르면, 전자 장치(300)는 외부 장치(310)로부터 획득된 오디오 신호를 AI 스피커 통해 출력할 수 있다. AI 스피커에서 오디오 신호를 출력하는 대역폭은 항상 8kHz(WB)로 고정(353, 354)될 수 있다.According to an embodiment, the electronic device 300 may output the audio signal obtained from the external device 310 through the AI speaker. The bandwidth for outputting an audio signal from the AI speaker may be fixed (353, 354) to always 8 kHz (WB).

일 실시 예에 따르면, 전자 장치(300)는 외부 장치(310)로부터 4kHz의 오디오 신호를 획득하고, 오디오 신호를 출력하는 대역폭이 8kHz인 BT 헤드셋(320)통해 상기 4kHz의 오디오 신호를 출력할 수 있다. 획득된 오디오 신호의 대역폭(예: 4kHz)과 출력하는 장치(예: BT 헤드셋(320))의 대역폭(예: 8kHz)이 상이(353)할 수 있다.According to an embodiment, the electronic device 300 obtains an audio signal of 4 kHz from the external device 310 and outputs the audio signal of 4 kHz through the BT headset 320 having a bandwidth of 8 kHz for outputting the audio signal. have. A bandwidth (eg, 4 kHz) of the acquired audio signal and a bandwidth (eg, 8 kHz) of an outputting device (eg, BT headset 320) may be different 353 .

도 4는 일 실시 예에 따른 전자 장치(300)의 블록 구성도를 도시한다.4 is a block diagram illustrating an electronic device 300 according to an embodiment.

일 실시 예에 따르면, 전자 장치(300)에 포함되는 구성요소들은 도 4의 블록 구성도에 도시된 구성요소에 제한되지 않을 수 있다. 전자 장치(300)의 블록 구성도에 도시된 구성요소들은 제거되거나 새로운 구성요소들이 추가될 수 있다. 예를 들어, 도 10에 도시된 전자 장치(1001)의 구성요소들은 도 4에 도시된 전자 장치(300)의 구성요소들에 적용될 수 있다.According to an embodiment, the components included in the electronic device 300 may not be limited to the components shown in the block diagram of FIG. 4 . Components shown in the block diagram of the electronic device 300 may be removed or new components may be added. For example, components of the electronic device 1001 illustrated in FIG. 10 may be applied to components of the electronic device 300 illustrated in FIG. 4 .

일 실시 예에 따르면, 전자 장치(300)는 프로세서(401), 통신 회로(403), 스피커(405), 및 오디오 처리 회로(407)를 포함할 수 있다. According to an embodiment, the electronic device 300 may include a processor 401 , a communication circuit 403 , a speaker 405 , and an audio processing circuit 407 .

일 실시 예에 따르면, 프로세서(401)는 통신 회로(403), 스피커(405), 및 오디오 처리 회로(407)와 전기적으로 및/또는 작동적으로 연결될 수 있다. 프로세서(401)는 소프트웨어를 실행하여 프로세서(401)에 연결된 적어도 하나의 다른 구성요소(예: 통신 회로(403), 스피커(405), 및/또는 오디오 처리 회로(407))를 제어할 수 있다. 프로세서(401)는 다양한 데이터 처리 및/또는 연산을 수행할 수 있다.According to an embodiment, the processor 401 may be electrically and/or operatively connected to the communication circuit 403 , the speaker 405 , and the audio processing circuit 407 . The processor 401 may execute software to control at least one other component connected to the processor 401 (eg, the communication circuit 403 , the speaker 405 , and/or the audio processing circuit 407 ). . The processor 401 may perform various data processing and/or operations.

일 실시 예에 따르면, 프로세서(401)는 통신 회로(403)를 통해 외부 장치(310)로부터 오디오 신호를 획득할 수 있다. 프로세서(401)는 오디오 신호를 출력하기 위해 전자 장치(300)의 대역폭을 설정할 수 있다. 외부 장치(310)는 단말기, BT 헤드셋, AI 스피커, BT 스피커를 포함할 수 있다. 외부 장치(310)는 통화, 멀티미디어, 스트리밍을 지원하는 전자 장치일 수 있다.According to an embodiment, the processor 401 may obtain an audio signal from the external device 310 through the communication circuit 403 . The processor 401 may set a bandwidth of the electronic device 300 to output an audio signal. The external device 310 may include a terminal, a BT headset, an AI speaker, and a BT speaker. The external device 310 may be an electronic device that supports calls, multimedia, and streaming.

일 실시 예에 따르면, 통신 회로(403)는 전자 장치(300)와 외부 장치(310) 사이에 오디오 신호를 송신 또는 수신할 수 있다. 전자 장치(300)는 통신 회로(403)를 통해 외부 장치(310)와 직접 연결(예: BT(Bluetooth))되거나 간접 연결(예: 서버(server), AP(access point))됨으로써 오디오 신호를 송신 또는 수신할 수 있다. 통신 회로(403)는 전자 장치(300)와 외부 장치(310) 사이에 셀룰러, VoLTE, 유튜브 스트리밍, 또는 라이브 채팅의 통신 기능을 제공할 수 있다.According to an embodiment, the communication circuit 403 may transmit or receive an audio signal between the electronic device 300 and the external device 310 . The electronic device 300 transmits an audio signal by being directly connected (eg, BT (Bluetooth)) or indirectly connected (eg, server, access point (AP)) to the external device 310 through the communication circuit 403 . can transmit or receive. The communication circuit 403 may provide a communication function of cellular, VoLTE, YouTube streaming, or live chat between the electronic device 300 and the external device 310 .

일 실시 예에 따르면, 스피커(405)는 외부 장치(310)로부터 획득한 오디오 신호를 출력할 수 있다. 스피커(405)는 인코더(encoder)를 통해 부호화된 오디오 신호를 획득할 수 있다. 스피커(405)는 획득한 오디오 신호를 디코더(decoder)를 통해 복호화 하여 출력할 수 있다.According to an embodiment, the speaker 405 may output an audio signal obtained from the external device 310 . The speaker 405 may obtain an encoded audio signal through an encoder. The speaker 405 may decode and output the acquired audio signal through a decoder.

일 실시 예에 따르면, 오디오 처리 회로(407)는 스피치 인헨스먼트(speech enhancement)를 통해 오디오 신호를 강화(enhancing)할 수 있다. 오디오 처리 회로(407)는 에코 캔슬러(echo canceller)를 통해 에코 캔슬링(echo cancelling)을 수행할 수 있다. 상기 에코 캔슬링은 노이즈(noise) 또는 에코(echo)를 제거하는 것으로 참조될 수 있다. 오디오 처리 회로(407)는 전자 장치(300)의 대역폭에 기반하여 획득한 오디오 신호를 처리할 수 있다. 상기 오디오 신호를 처리하는 것은 외부 장치(310)로부터 획득된 오디오 신호를 전자 장치(300)의 설정 상태에 따라 가공하는 것으로 참조될 수 있다.According to an embodiment, the audio processing circuit 407 may enhance an audio signal through speech enhancement. The audio processing circuit 407 may perform echo cancellation through an echo canceller. The echo cancellation may be referred to as removing noise or echo. The audio processing circuit 407 may process the acquired audio signal based on the bandwidth of the electronic device 300 . Processing the audio signal may be referred to as processing an audio signal obtained from the external device 310 according to a setting state of the electronic device 300 .

도 5는 일 실시 예에 따른 오디오 신호의 대역폭에 대응하여 전자 장치(300)의 대역폭을 제어하는 방법을 도시한다.5 illustrates a method of controlling the bandwidth of the electronic device 300 in response to the bandwidth of an audio signal according to an embodiment.

이하에서, 외부 장치(310)로부터 획득한 오디오 신호가 전자 장치(300)의 내부 구성들에 의해 처리되는 과정을 설명한다.Hereinafter, a process in which an audio signal obtained from the external device 310 is processed by the internal components of the electronic device 300 will be described.

일 실시 예에 따르면, 전자 장치(300)의 메모리에 저장된 명령어들을 실행하여 외부 장치(310)로부터 획득한 오디오 신호를 처리하는 동작들을 구현할 수 있다. 전자 장치(300)는 전자 장치(300)에 포함된 복수의 모듈(module)들을 통해 전자 장치(300)의 대역폭을 제어할 수 있다. 전자 장치(300)에 포함된 모듈들은 하드웨어 또는 소프트웨어로 구현될 수 있다. 예를 들어, 음량 보정 모듈(예: 앰프(amp), 리미터(limiter))은 하드웨어로 구현될 수 있고, 입력 신호 대역 분리 모듈은 소프트웨어로 구현될 수 있다.According to an embodiment, operations of processing an audio signal obtained from the external device 310 by executing commands stored in the memory of the electronic device 300 may be implemented. The electronic device 300 may control the bandwidth of the electronic device 300 through a plurality of modules included in the electronic device 300 . Modules included in the electronic device 300 may be implemented as hardware or software. For example, a volume correction module (eg, an amplifier, a limiter) may be implemented in hardware, and the input signal band separation module may be implemented in software.

일 실시 예에 따르면, 전자 장치(300)는 외부 장치(310)로부터 오디오 신호를 획득할 수 있다. 전자 장치(300)는 획득된 오디오 신호를 입력 신호 대역 분리 모듈(501)를 통해 상기 오디오 신호의 대역폭을 복수의 대역으로 분리할 수 있다. 예를 들어, 입력 신호 대역 분리 모듈(501)은 상기 오디오 신호의 대역폭을 1대역, 2대역, 및 3대역으로 분리할 수 있다.According to an embodiment, the electronic device 300 may obtain an audio signal from the external device 310 . The electronic device 300 may divide the obtained audio signal into a plurality of bands through the input signal band separation module 501 . For example, the input signal band separation module 501 may divide the bandwidth of the audio signal into 1 band, 2 bands, and 3 bands.

일 실시 예에 따르면, 상기 1대역은 0kHz 이상 4kHz 이하의 대역으로, 상기 2대역은 4kHz 이상 8kHz 이하의 대역으로, 상기 3대역은 8kHz 이상 16kHz 이하의 대역으로 참조될 수 있다. According to an embodiment, the first band may be referred to as a band of 0 kHz or more and 4 kHz or less, the second band may be referred to as a band of 4 kHz or more and 8 kHz or less, and the third band may be referred to as a band of 8 kHz or more and 16 kHz or less.

일 실시 예에 따르면, 전자 장치(300)는 1대역 에너지 분석 모듈(503), 2대역 에너지 분석 모듈(505), 및 3대역 에너지 분석 모듈(507)을 통해 각 대역에 대응하는 에너지를 분석할 수 있다. 재생 신호는 오디오 신호를 의미할 수 있다. 예를 들어, 전자 장치(300)는 1대역 에너지 분석 모듈(503)을 통해 1대역(0kHz 이상 4kHz 이하)에 대응되는 에너지를 분석할 수 있다.According to an embodiment, the electronic device 300 analyzes energy corresponding to each band through the 1-band energy analysis module 503 , the 2-band energy analysis module 505 , and the 3-band energy analysis module 507 . can The reproduction signal may mean an audio signal. For example, the electronic device 300 may analyze energy corresponding to one band (0 kHz or more and 4 kHz or less) through the 1-band energy analysis module 503 .

일 실시 예에 따르면, 전자 장치(300)는 재생 신호 대역 비교 및 판단 모듈(509)을 통해 상기 1대역 대비 상기 2대역 및 상기 3대역의 에너지 성분 차이를 비교를 할 수 있다. 예를 들어, 재생 신호 대역 비교 및 판단 모듈(509)은 상기 1대역에 대응되는 에너지 크기와 2대역 또는 3대역에 대응되는 에너지의 크기의 차이를 계산할 수 있다. According to an embodiment, the electronic device 300 may compare the energy component difference between the first band and the second band and the third band through the reproduction signal band comparison and determination module 509 . For example, the reproduction signal band comparison and determination module 509 may calculate a difference between the energy level corresponding to the first band and the energy level corresponding to the second band or the third band.

일 실시 예에 따르면, 재생 신호 대역 비교 및 판단 모듈(509)은 상기 계산된 에너지 크기 차이와 기 설정된 임계 값을 비교하여 오디오 신호의 기준 주파수 대역폭을 판단할 수 있다. 예를 들어, 재생 신호 대역 비교 및 판단 모듈(509)은 상기 계산된 에너지 크기 차이가 기 설정된 임계 값 보다 큰 경우, 상기 오디오 신호의 기준 주파수 대역폭을 NB로 판단할 수 있다. According to an embodiment, the reproduction signal band comparison and determination module 509 may determine the reference frequency bandwidth of the audio signal by comparing the calculated energy difference with a preset threshold value. For example, the reproduction signal band comparison and determination module 509 may determine the reference frequency bandwidth of the audio signal as NB when the calculated energy difference is greater than a preset threshold value.

일 실시 예에 따르면, 음량 보정 모듈(511)은 상기 오디오 신호의 기준 주파수 대역폭과 전자 장치(300)의 대역폭의 비교 결과에 기반하여 오디오 신호에 적용할 음량 보정 값을 결정할 수 있다. 상기 음량 보정의 종류는 이득(gain), 리미터(limiter), 필터(LPF, low path filter) 중 적어도 하나일 수 있다. 음량 보정 값은 음량 보정 파라미터, 데이터, 정보 등으로 다양하게 참조될 수 있다.According to an embodiment, the volume correction module 511 may determine a volume correction value to be applied to the audio signal based on a comparison result of the reference frequency bandwidth of the audio signal and the bandwidth of the electronic device 300 . The type of volume correction may be at least one of a gain, a limiter, and a low path filter (LPF). The volume correction value may be variously referred to as a volume correction parameter, data, information, and the like.

일 실시 예에 따르면, 수화 및 송화 설정 모듈(513)은 상기 결정된 음량 보정 값에 기반하여 수화 ALPF(adaptive low path filter) 및 송화 ALPF를 설정할 수 있다. 상기 ALPF는 고정된 값을 사용하는 필터(LPF)와 달리 획득된 오디오 신호의 기준 주파수 대역폭에 기반하여 전자 장치(300)의 대역폭 중 비어 있는 대역에 대해 필터(LPF)를 적응적으로 사용하는 것으로 참조될 수 있다. 전자 장치(300)는 수화 및 송화 설정 모듈(513)을 통해 ALPF가 적용된 상기 오디오 신호를 스피커(405)를 통해 출력할 수 있다. According to an embodiment, the sign language and speech setting module 513 may set a sign language adaptive low path filter (ALPF) and a speech ALPF based on the determined volume correction value. Unlike the filter (LPF) that uses a fixed value, the ALPF adaptively uses the filter (LPF) for an empty band among the bandwidths of the electronic device 300 based on the reference frequency bandwidth of the acquired audio signal. can be referenced. The electronic device 300 may output the audio signal to which the ALPF is applied through the sign language and outgoing setting module 513 through the speaker 405 .

도 6은 일 실시 예에 따른 오디오 신호의 에너지 분석에 기반하여 오디오 신호에 적용되는 보정 값을 결정하는 순서도를 도시한다.6 is a flowchart of determining a correction value applied to an audio signal based on energy analysis of the audio signal according to an exemplary embodiment.

동작(601)에서, 전자 장치(300)는 통신 회로(403)를 통해 외부 장치(310)로부터 대역폭을 갖는 오디오 신호를 획득할 수 있다. 예를 들어, 전자 장치(300)는 통신 회로(403)를 통해 외부 장치(310)로부터 4kHz의 대역폭을 갖는 오디오 신호를 획득할 수 있다. 상기 대역폭은 4kHz, 8kHz, 16kHz, 및 48kHz을 포함할 수 있다. 상기 대역폭의 종류는 제한되지 않을 수 있다. In operation 601 , the electronic device 300 may obtain an audio signal having a bandwidth from the external device 310 through the communication circuit 403 . For example, the electronic device 300 may obtain an audio signal having a bandwidth of 4 kHz from the external device 310 through the communication circuit 403 . The bandwidth may include 4 kHz, 8 kHz, 16 kHz, and 48 kHz. The type of the bandwidth may not be limited.

일 실시 예에 따르면, 전자 장치(300)의 대역폭과 오디오 신호의 기준 주파수 대역폭이 상이할 수 있다. 오디오 신호의 기준 주파수 대역폭은 복수의 주파수 대역을 포함할 수 있다. 예를 들어, 오디오 신호의 기준 주파수 대역폭은 제1 주파수 대역, 제2 주파수 대역, 및 제3 주파수 대역을 포함할 수 있다. According to an embodiment, the bandwidth of the electronic device 300 may be different from the reference frequency bandwidth of the audio signal. The reference frequency bandwidth of the audio signal may include a plurality of frequency bands. For example, the reference frequency bandwidth of the audio signal may include a first frequency band, a second frequency band, and a third frequency band.

일 실시 예에 따르면, 제1 주파수 대역은 0kHz 이상4kHz 이하에, 제2 주파수 대역은 4kHz 이상 8kHz 이하에, 제3 주파수 대역은 8kHz 이상 16kHz 이하에 각각 대응될 수 있다.According to an embodiment, the first frequency band may correspond to 0 kHz or more and 4 kHz or less, the second frequency band may correspond to 4 kHz or more and 8 kHz or less, and the third frequency band may correspond to 8 kHz or more and 16 kHz or less, respectively.

동작(603)에서, 주파수 대역은 상기 주파수 대역에 대응하는 에너지를 포함할 수 있다. 각 주파수 대역의 에너지는 상이할 수 있다. 예를 들어, 0kHz 이상 4kHz 이하에 대응되는 제1 주파수 대역의 에너지는 4kHz 이상 8kHz 이하에 대응되는 제2 주파수 대역의 에너지와 상이할 수 있다.In operation 603, the frequency band may include energy corresponding to the frequency band. The energy of each frequency band may be different. For example, the energy of the first frequency band corresponding to 0 kHz or more and 4 kHz or less may be different from the energy of the second frequency band corresponding to 4 kHz or more and 8 kHz or less.

일 실시 예에 따르면, 전자 장치(300)는 제1 주파수 대역에 대응되는 제1 에너지와 제2 주파수 대역에 대응되는 제2 에너지를 분석할 수 있다. 예를 들어, 전자 장치(300)는 각 주파수 대역에 대응되는 에너지의 크기를 분석할 수 있다. 주파수 대역에 대응되는 에너지의 크기는 주파수 대역의 신호 크기에 비례할 수 있다.According to an embodiment, the electronic device 300 may analyze the first energy corresponding to the first frequency band and the second energy corresponding to the second frequency band. For example, the electronic device 300 may analyze the amount of energy corresponding to each frequency band. The level of energy corresponding to the frequency band may be proportional to the signal level of the frequency band.

일 실시 예에 따르면, 전자 장치(300)는 상기 제1 에너지 및 제2 에너지의 분석에 기반하여 상기 제1 주파수 대역의 신호 크기 및 제2 주파수 대역의 신호 크기를 획득할 수 있다. 상기 제1 에너지와 상기 제2 에너지를 분석하는 방법은 도 5에서 설명한 방식에 제한되지 않을 수 있다.According to an embodiment, the electronic device 300 may acquire the signal magnitude of the first frequency band and the signal magnitude of the second frequency band based on the analysis of the first energy and the second energy. A method of analyzing the first energy and the second energy may not be limited to the method described with reference to FIG. 5 .

일 실시 예에 따르면, 전자 장치(300)는 제1 주파수 대역의 신호 크기와 제2 주파수 대역의 신호 크기의 비교에 기반하여 오디오 신호의 기준 주파수 대역폭을 결정할 수 있다. 오디오 신호의 기준 주파수 대역폭은 NB, WB, SWB 중 하나를 포함할 수 있다. 상기 제1 에너지와 상기 제2 에너지를 분석(603)하여 전자 장치(300)가 오디오 신호에 적용되는 보정 값을 결정(605)하는 동작을 도 7 및 도 8을 통해 상세히 설명하도록 한다.According to an embodiment, the electronic device 300 may determine the reference frequency bandwidth of the audio signal based on a comparison of the signal magnitude of the first frequency band and the signal magnitude of the second frequency band. The reference frequency bandwidth of the audio signal may include one of NB, WB, and SWB. An operation in which the electronic device 300 determines (605) a correction value applied to an audio signal by analyzing (603) the first energy and the second energy will be described in detail with reference to FIGS. 7 and 8 .

동작(605)에서, 전자 장치(300)는 제1 주파수 대역에 대응되는 제1 에너지와 제2 주파수 대역에 대응되는 제2 에너지의 분석에 기반하여 오디오 신호에 적용되는 보정 값을 결정할 수 있다. 상기 보정 값은 이득(gain), 필터(LPF), 및 리미터(limiter) 중 적어도 하나의 값을 포함할 수 있다.In operation 605 , the electronic device 300 may determine a correction value applied to the audio signal based on the analysis of the first energy corresponding to the first frequency band and the second energy corresponding to the second frequency band. The correction value may include at least one of a gain, a filter LPF, and a limiter.

일 실시 예에 따르면, 전자 장치(300)는 상기 결정된 보정 값을 상기 오디오 신호에 적용하는 동작 시간을 제어할 수 있다. 예를 들어, 전자 장치(300)는 상기 결정된 보정 값인 이득(gain) 값을 매일 오후 7시 내지 오후 9시에 주기적으로 상기 오디오 신호에 적용하도록 설정될 수 있다. 다른 예를 들어, 전자 장치(300)는 상기 결정된 보정 값인 필터(LPF) 값을 사용자의 입력에 응답하여 비주기적으로 상기 오디오 신호에 적용하도록 설정될 수 있다.According to an embodiment, the electronic device 300 may control an operation time for applying the determined correction value to the audio signal. For example, the electronic device 300 may be configured to periodically apply a gain value, which is the determined correction value, to the audio signal from 7:00 PM to 9:00 PM every day. As another example, the electronic device 300 may be set to apply the determined correction value, which is the filter (LPF) value, to the audio signal aperiodically in response to a user input.

동작(607)에서, 전자 장치(300)는 상기 보정 값이 적용된 오디오 신호를 스피커를 통해 출력할 수 있다. 예를 들어, 전자 장치(300)는 이득(gain) 및 필터(LPF)를 적용한 오디오 신호를 스피커를 통해 출력할 수 있다.In operation 607, the electronic device 300 may output the audio signal to which the correction value is applied through the speaker. For example, the electronic device 300 may output an audio signal to which a gain and a filter LPF are applied through a speaker.

도 7은 일 실시 예에 따른 오디오 신호의 대역폭과 전자 장치(300)의 대역폭의 비교 결과에 기반하여 보정 값 적용 여부에 관한 순서도를 도시한다.7 is a flowchart illustrating whether or not a correction value is applied based on a comparison result of the bandwidth of the audio signal and the bandwidth of the electronic device 300 according to an exemplary embodiment.

동작(701)에서, 전자 장치(300)는 획득된 오디오 신호의 기준 주파수 대역폭을 결정할 수 있다. 전자 장치(300)는 제1 주파수 대역에 대응되는 제1 에너지와 제2 주파수 대역에 대응되는 제2 에너지의 크기 비교에 기반하여 획득된 오디오 신호의 기준 주파수 대역폭을 결정할 수 있다. In operation 701 , the electronic device 300 may determine a reference frequency bandwidth of the obtained audio signal. The electronic device 300 may determine the reference frequency bandwidth of the obtained audio signal based on a comparison of the magnitudes of the first energy corresponding to the first frequency band and the second energy corresponding to the second frequency band.

예를 들어, 제1 에너지 크기와 제2 에너지 크기의 차이가 임계 값보다 큰 경우 또는 작은 경우에 전자 장치(300)는 획득된 오디오 신호의 기준 주파수 대역폭을 각각 NB 또는 WB로 결정할 수 있다. 상기 획득된 오디오 신호의 기준 주파수 대역폭을 결정하는 방법은 도 8에서 자세히 설명한다.For example, when the difference between the first energy level and the second energy level is greater than or smaller than the threshold value, the electronic device 300 may determine the reference frequency bandwidth of the obtained audio signal as NB or WB, respectively. A method of determining the reference frequency bandwidth of the obtained audio signal will be described in detail with reference to FIG. 8 .

동작(703)에서, 전자 장치(300)는 획득된 오디오 신호의 기준 주파수 대역폭과 전자 장치의 대역폭이 상이한지 판단할 수 있다. 예를 들어, 획득된 오디오 신호의 기준 주파수 대역폭이 NB이고, 전자 장치(300)의 대역폭이 WB인 경우, 전자 장치(300)는 상기 기준 주파수 대역폭과 상기 대역폭이 상이하다고 판단할 수 있다. In operation 703 , the electronic device 300 may determine whether the reference frequency bandwidth of the obtained audio signal is different from the bandwidth of the electronic device. For example, when the reference frequency bandwidth of the obtained audio signal is NB and the bandwidth of the electronic device 300 is WB, the electronic device 300 may determine that the reference frequency bandwidth is different from the bandwidth.

일 실시 예에 따르면, 오디오 신호의 기준 주파수 대역폭과 전자 장치의 대역폭이 상이하면 동작(605)을 수행하고, 상이하지 않거나 상이한지 판단할 수 없으면 동작(705)을 수행할 수 있다. According to an embodiment, if the reference frequency bandwidth of the audio signal is different from the bandwidth of the electronic device, operation 605 may be performed, and if it is not determined whether it is different or different, operation 705 may be performed.

동작(705)에서, 오디오 신호의 기준 주파수 대역폭과 전자 장치의 대역폭이 동일한 경우, 전자 장치(300)는 획득된 오디오 신호를 스피커(405)를 통해 출력할 수 있다. 예를 들어, 오디오 신호의 기준 주파수 대역폭과 전자 장치의 대역폭이 각각 NB로 동일한 경우, 전자 장치(300)는 획득된 오디오 신호를 보정하지 않고 스피커(405)를 통해 출력할 수 있다.In operation 705 , when the reference frequency bandwidth of the audio signal and the bandwidth of the electronic device are the same, the electronic device 300 may output the obtained audio signal through the speaker 405 . For example, when the reference frequency bandwidth of the audio signal and the bandwidth of the electronic device are equal to NB, the electronic device 300 may output the obtained audio signal through the speaker 405 without correcting it.

도 8은 일 실시 예에 따른 절대 값과 임계 값의 비교를 통해 오디오 신호의 기준 주파수 대역폭을 판단하는 순서도를 도시한다.8 is a flowchart of determining a reference frequency bandwidth of an audio signal through comparison of an absolute value and a threshold value, according to an exemplary embodiment.

동작(801)에서, 전자 장치(300)는 상기 제1 에너지와 상기 제2 에너지의 크기를 분석할 수 있다. 상기 제1 에너지와 상기 제2 에너지의 크기는 제1 주파수 대역의 신호 크기와 제2 주파수 대역의 신호 크기에 대응될 수 있다. 예를 들어, 전자 장치(300)는 제1 에너지의 크기에 대응되는 제1 주파수 대역의 신호 크기와 제2 에너지의 크기에 대응되는 제2 주파수 대역의 신호 크기를 각각 -20dB 및 -30dB으로 분석할 수 있다.In operation 801 , the electronic device 300 may analyze the magnitudes of the first energy and the second energy. The levels of the first energy and the second energy may correspond to a signal level of the first frequency band and a signal level of the second frequency band. For example, the electronic device 300 analyzes the signal level of the first frequency band corresponding to the level of the first energy and the signal level of the second frequency band corresponding to the level of the second energy as -20 dB and -30 dB, respectively. can do.

동작(803)에서, 전자 장치(300)는 제1 에너지의 크기와 제2 에너지의 크기의 차이 값의 절대 값과 기 설정된 임계 값을 비교할 수 있다. 동작(803)의 구체적인 예시는 도 9에서 자세히 설명한다.In operation 803 , the electronic device 300 may compare the absolute value of the difference between the magnitude of the first energy and the magnitude of the second energy with a preset threshold value. A specific example of operation 803 is described in detail with reference to FIG. 9 .

동작(805)에서, 전자 장치(300)는 상기 절대 값과 상기 기 설정된 임계 값의 비교에 기반하여 상기 절대 값이 상기 기 설정된 임계 값보다 크거나 작은지 판단할 수 있다. In operation 805 , the electronic device 300 may determine whether the absolute value is greater than or less than the preset threshold value based on the comparison of the absolute value with the preset threshold value.

일 실시 예에 따르면, 상기 절대 값이 상기 임계 값보다 큰 경우 동작(807)을 수행하고, 상기 절대 값이 상기 임계 값보다 작은 경우 동작(809)를 수행할 수 있다.According to an embodiment, if the absolute value is greater than the threshold value, operation 807 may be performed, and if the absolute value is less than the threshold value, operation 809 may be performed.

동작(807)에서, 상기 절대 값이 상기 기 설정된 임계 값보다 큰 경우, 전자 장치(300)는 획득된 오디오 신호의 기준 주파수 대역폭을 제1 기준 주파수 대역폭으로 판단할 수 있다. 예를 들어, 상기 절대 값이 기 설정된 임계 값보다 큰 경우, 전자 장치(300)는 획득된 오디오 신호의 기준 주파수 대역폭을 NB로 판단할 수 있다. In operation 807, when the absolute value is greater than the preset threshold value, the electronic device 300 may determine the reference frequency bandwidth of the obtained audio signal as the first reference frequency bandwidth. For example, when the absolute value is greater than a preset threshold value, the electronic device 300 may determine the reference frequency bandwidth of the obtained audio signal as NB.

이후 동작(605)에서, 획득된 오디오 신호의 기준 주파수 대역폭이 NB임을 판단한 것에 기반하여 전자 장치(300)는 획득된 오디오 신호에 적용되는 보정 값을 결정할 수 있다.Thereafter, in operation 605 , the electronic device 300 may determine a correction value applied to the obtained audio signal based on determining that the reference frequency bandwidth of the obtained audio signal is NB.

동작(809)에서, 상기 절대 값이 상기 기 설정된 임계 값보다 작은 경우, 전자 장치(300)는 획득된 오디오 신호의 기준 주파수 대역폭을 제1 기준 주파수 대역폭보다 큰 제2 기준 주파수 대역폭으로 판단할 수 있다. 예를 들어, 상기 절대 값이 기 설정된 임계 값보다 작은 경우, 전자 장치(300)는 획득된 오디오 신호의 기준 주파수 대역폭을 NB 보다 큰 WB로 판단할 수 있다. In operation 809, when the absolute value is smaller than the preset threshold value, the electronic device 300 may determine the reference frequency bandwidth of the obtained audio signal as a second reference frequency bandwidth greater than the first reference frequency bandwidth. have. For example, when the absolute value is smaller than a preset threshold value, the electronic device 300 may determine the reference frequency bandwidth of the obtained audio signal as WB greater than NB.

이후 동작(605)에서, 획득된 오디오 신호의 기준 주파수 대역폭이 WB임을 판단한 것에 기반하여 전자 장치(300)는 획득된 오디오 신호에 적용되는 보정 값을 결정할 수 있다.Thereafter, in operation 605 , the electronic device 300 may determine a correction value applied to the obtained audio signal based on determining that the reference frequency bandwidth of the obtained audio signal is WB.

이하에서는, 도 8의 동작(803)을 구체적인 예시를 도 9를 참조하여 설명한다. Hereinafter, a specific example of the operation 803 of FIG. 8 will be described with reference to FIG. 9 .

도 9는 일 실시 예에 따른 절대 값과 임계 값의 비교를 통해 오디오 신호의 기준 주파수 대역폭을 판단하는 구체적인 예를 도시한다.9 illustrates a specific example of determining a reference frequency bandwidth of an audio signal through comparison of an absolute value and a threshold value, according to an embodiment.

도 9의 (a)에 따르면, 획득된 오디오 신호의 기준 주파수 대역폭은 WB에 대응될 수 있다. 상기 획득된 오디오 신호의 기준 주파수 대역폭 중 제1 주파수 대역 및 제2 주파수 대역은 각각 1대역 및 2대역에 대응될 수 있다. 전자 장치(300)는 상기 획득된 오디오 신호의 제1 주파수 대역 및 제2 주파수 대역 각각에 대응되는 제1 에너지 및 제2 에너지의 분석을 통해 상기 제1 주파수 대역의 신호 크기(RMS 값, root mean square value) 및 제2 주파수 대역의 신호 크기를 결정할 수 있다. 예를 들어, 전자 장치(300)는 1대역의 신호 크기 및 2대역의 신호 크기를 각각 -20dB 및 -30dB로 결정할 수 있다.According to (a) of FIG. 9 , the reference frequency bandwidth of the obtained audio signal may correspond to WB. A first frequency band and a second frequency band among the reference frequency bandwidths of the obtained audio signal may correspond to band 1 and band 2, respectively. The electronic device 300 analyzes the first energy and the second energy corresponding to each of the first frequency band and the second frequency band of the obtained audio signal, and the signal magnitude (RMS value, root mean) of the first frequency band square value) and a signal magnitude of the second frequency band may be determined. For example, the electronic device 300 may determine the signal level of the first band and the signal level of the second band as -20 dB and -30 dB, respectively.

일 실시 예에 따르면, 전자 장치(300)는 제1 주파수 대역의 신호 크기와 제2 주파수 대역의 신호 크기의 차이 값을 결정할 수 있다. 전자 장치(300)는 상기 차이 값의 절대 값을 결정할 수 있다. 예를 들어, 전자 장치(300)는 1대역의 신호 크기(-20dB)와 2대역의 신호 크기(-30dB)의 차이 값의 절대 값을 10dB로 결정할 수 있다.According to an embodiment, the electronic device 300 may determine a difference value between the signal level of the first frequency band and the signal level of the second frequency band. The electronic device 300 may determine an absolute value of the difference value. For example, the electronic device 300 may determine the absolute value of the difference between the signal level (-20 dB) of one band and the signal level (-30 dB) of the second band as 10 dB.

일 실시 예에 따르면, 전자 장치(300)는 상기 차이 값의 절대 값을 기 설정된 임계 값(threshold)과 비교할 수 있다. 예를 들어, 전자 장치(300)는 상기 차이 값의 절대 값(10dB)을 기 설정된 임계 값(20dB)과 비교할 수 있다. According to an embodiment, the electronic device 300 may compare the absolute value of the difference value with a preset threshold value. For example, the electronic device 300 may compare an absolute value (10 dB) of the difference value with a preset threshold value (20 dB).

일 실시 예에 따르면, 상기 비교 결과에 기반하여 전자 장치(300)는 획득된 오디오 신호의 기준 주파수 대역폭을 결정할 수 있다. 예를 들어, 상기 차이 값의 절대 값(10dB)이 기 설정된 임계 값(20dB)보다 작은 경우 전자 장치(300)는 획득된 오디오 신호의 기준 주파수 대역폭을 WB로 결정할 수 있다.According to an embodiment, the electronic device 300 may determine a reference frequency bandwidth of the obtained audio signal based on the comparison result. For example, when the absolute value (10 dB) of the difference value is smaller than a preset threshold value (20 dB), the electronic device 300 may determine the reference frequency bandwidth of the obtained audio signal as WB.

도 9의 (b)에 따르면, 획득된 오디오 신호의 기준 주파수 대역폭은 NB에 대응될 수 있다. 전자 장치(300)는 1대역의 신호 크기 및 2대역의 신호 크기를 각각 -20dB 및 -50dB로 결정할 수 있다.According to (b) of FIG. 9 , the reference frequency bandwidth of the obtained audio signal may correspond to NB. The electronic device 300 may determine the signal level of the first band and the signal level of the second band as -20dB and -50dB, respectively.

일 실시 예에 따르면, 전자 장치(300)는 1대역의 신호 크기(-20dB) 와 2대역의 신호 크기(-50dB)의 차이 값의 절대 값을 30dB로 결정할 수 있다. According to an embodiment, the electronic device 300 may determine the absolute value of the difference between the signal level (-20 dB) of the first band and the signal level (-50 dB) of the second band to be 30 dB.

일 실시 예에 따르면, 전자 장치(300)는 상기 차이 값의 절대 값(30dB)을 기 설정된 임계 값(20dB)과 비교할 수 있다. 상기 차이 값의 절대 값(30dB)이 기 설정된 임계 값(20dB)보다 큰 경우 전자 장치(300)는 획득된 오디오 신호의 기준 주파수 대역폭을 NB로 결정할 수 있다.According to an embodiment, the electronic device 300 may compare the absolute value (30 dB) of the difference value with a preset threshold value (20 dB). When the absolute value (30 dB) of the difference value is greater than a preset threshold value (20 dB), the electronic device 300 may determine the reference frequency bandwidth of the obtained audio signal as NB.

다양한 실시 예에 따르면, 오디오 신호의 대역의 개수는 다양하게 설정될 수 있다. 예를 들어, 오디오 신호의 대역은 1대역, 2대역, 3대역, 및 4 대역을 포함할 수 있다.According to various embodiments, the number of bands of the audio signal may be set in various ways. For example, the band of the audio signal may include 1 band, 2 bands, 3 bands, and 4 bands.

다양한 실시 예에 따르면, 임계 값은 다양하게 설정될 수 있다. 예를 들어, 기 설정된 임계 값은 25dB일 수 있다.According to various embodiments, the threshold value may be set in various ways. For example, the preset threshold value may be 25 dB.

도 10은 다양한 실시예들에 따른, 네트워크 환경(1000) 내의 전자 장치(1001)의 블럭도이다. 10 is a block diagram of an electronic device 1001 in a network environment 1000 according to various embodiments of the present disclosure.

도 10을 참조하면, 네트워크 환경(1000)에서 전자 장치(1001)는 제 1 네트워크(1098)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(1002)와 통신하거나, 또는 제 2 네트워크(1099)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(1004) 또는 서버(1008)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(1001)는 서버(1008)를 통하여 전자 장치(1004)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(1001)는 프로세서(1020), 메모리(1030), 입력 장치(1050), 음향 출력 장치(1055), 표시 장치(1060), 오디오 모듈(1070), 센서 모듈(1076), 인터페이스(1077), 햅틱 모듈(1079), 카메라 모듈(1080), 전력 관리 모듈(1088), 배터리(1089), 통신 모듈(1090), 가입자 식별 모듈(1096), 또는 안테나 모듈(1097)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(1001)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(1060) 또는 카메라 모듈(1080))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(1076)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(1060)(예: 디스플레이)에 임베디드된 채 구현될 수 있다Referring to FIG. 10 , in a network environment 1000 , the electronic device 1001 communicates with the electronic device 1002 through a first network 1098 (eg, a short-range wireless communication network) or a second network 1099 . It may communicate with the electronic device 1004 or the server 1008 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 1001 may communicate with the electronic device 1004 through the server 1008 . According to an embodiment, the electronic device 1001 includes a processor 1020 , a memory 1030 , an input device 1050 , a sound output device 1055 , a display device 1060 , an audio module 1070 , and a sensor module ( 1076 , interface 1077 , haptic module 1079 , camera module 1080 , power management module 1088 , battery 1089 , communication module 1090 , subscriber identification module 1096 , or antenna module 1097 ) ) may be included. In some embodiments, at least one of these components (eg, the display device 1060 or the camera module 1080) may be omitted or one or more other components may be added to the electronic device 1001 . In some embodiments, some of these components may be implemented as one integrated circuit. For example, the sensor module 1076 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 1060 (eg, a display).

프로세서(1020)는, 예를 들면, 소프트웨어(예: 프로그램(1040))를 실행하여 프로세서(1020)에 연결된 전자 장치(1001)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(1020)는 다른 구성요소(예: 센서 모듈(1076) 또는 통신 모듈(1090))로부터 수신된 명령 또는 데이터를 휘발성 메모리(1032)에 로드하고, 휘발성 메모리(1032)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(1034)에 저장할 수 있다. 일실시예에 따르면, 프로세서(1020)는 메인 프로세서(1021)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(1023)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(1023)은 메인 프로세서(1021)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(1023)는 메인 프로세서(1021)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 1020, for example, executes software (eg, a program 1040) to execute at least one other component (eg, a hardware or software component) of the electronic device 1001 connected to the processor 1020. It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or computation, the processor 1020 converts commands or data received from other components (eg, the sensor module 1076 or the communication module 1090) to the volatile memory 1032 . may be loaded into the volatile memory 1032 , may process commands or data stored in the volatile memory 1032 , and may store the resulting data in the non-volatile memory 1034 . According to an embodiment, the processor 1020 includes a main processor 1021 (eg, a central processing unit or an application processor), and a coprocessor 1023 (eg, a graphics processing unit, an image signal processor) that can be operated independently or in conjunction with the main processor 1021 . , a sensor hub processor, or a communication processor). Additionally or alternatively, the auxiliary processor 1023 may be configured to use less power than the main processor 1021 or to specialize in a designated function. The auxiliary processor 1023 may be implemented separately from or as part of the main processor 1021 .

보조 프로세서(1023)는, 예를 들면, 메인 프로세서(1021)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(1021)를 대신하여, 또는 메인 프로세서(1021)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(1021)와 함께, 전자 장치(1001)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(1060), 센서 모듈(1076), 또는 통신 모듈(1090))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(1023)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(1080) 또는 통신 모듈(1090))의 일부로서 구현될 수 있다. The coprocessor 1023 may, for example, act on behalf of the main processor 1021 while the main processor 1021 is in an inactive (eg, sleep) state, or when the main processor 1021 is active (eg, executing an application). ), together with the main processor 1021, at least one of the components of the electronic device 1001 (eg, the display device 1060, the sensor module 1076, or the communication module 1090) It is possible to control at least some of the related functions or states. According to one embodiment, coprocessor 1023 (eg, image signal processor or communication processor) may be implemented as part of another functionally related component (eg, camera module 1080 or communication module 1090). have.

메모리(1030)는, 전자 장치(1001)의 적어도 하나의 구성요소(예: 프로세서(1020) 또는 센서 모듈(1076))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(1040)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(1030)는, 휘발성 메모리(1032) 또는 비휘발성 메모리(1034)를 포함할 수 있다. The memory 1030 may store various data used by at least one component of the electronic device 1001 (eg, the processor 1020 or the sensor module 1076 ). The data may include, for example, input data or output data for software (eg, the program 1040 ) and instructions related thereto. The memory 1030 may include a volatile memory 1032 or a non-volatile memory 1034 .

프로그램(1040)은 메모리(1030)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(1042), 미들 웨어(1044) 또는 어플리케이션(1046)을 포함할 수 있다. The program 1040 may be stored as software in the memory 1030 , and may include, for example, an operating system 1042 , middleware 1044 , or an application 1046 .

입력 장치(1050)는, 전자 장치(1001)의 구성요소(예: 프로세서(1020))에 사용될 명령 또는 데이터를 전자 장치(1001)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(1050)은, 예를 들면, 마이크, 마우스, 키보드, 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input device 1050 may receive a command or data to be used in a component (eg, the processor 1020 ) of the electronic device 1001 from the outside (eg, a user) of the electronic device 1001 . The input device 1050 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).

음향 출력 장치(1055)는 음향 신호를 전자 장치(1001)의 외부로 출력할 수 있다. 음향 출력 장치(1055)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output device 1055 may output a sound signal to the outside of the electronic device 1001 . The sound output device 1055 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.

표시 장치(1060)는 전자 장치(1001)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(1060)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 표시 장치(1060)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다. The display device 1060 may visually provide information to the outside (eg, a user) of the electronic device 1001 . The display device 1060 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the corresponding device. According to an embodiment, the display device 1060 may include a touch circuitry configured to sense a touch or a sensor circuit (eg, a pressure sensor) configured to measure the intensity of a force generated by the touch. have.

오디오 모듈(1070)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(1070)은, 입력 장치(1050)를 통해 소리를 획득하거나, 음향 출력 장치(1055), 또는 전자 장치(1001)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(1002)) (예: 스피커 또는 헤드폰))를 통해 소리를 출력할 수 있다.The audio module 1070 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 1070 obtains a sound through the input device 1050 or an external electronic device (eg, a sound output device 1055 ) directly or wirelessly connected to the electronic device 1001 . The sound may be output through the electronic device 1002) (eg, a speaker or a headphone).

센서 모듈(1076)은 전자 장치(1001)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(1076)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 1076 detects an operating state (eg, power or temperature) of the electronic device 1001 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to one embodiment, the sensor module 1076 may include, for example, a gesture sensor, a gyro sensor, a barometric sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.

인터페이스(1077)는 전자 장치(1001)이 외부 전자 장치(예: 전자 장치(1002))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(1077)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 1077 may support one or more specified protocols that may be used for the electronic device 1001 to directly or wirelessly connect with an external electronic device (eg, the electronic device 1002 ). According to an embodiment, the interface 1077 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(1078)는, 그를 통해서 전자 장치(1001)가 외부 전자 장치(예: 전자 장치(1002))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(1078)은, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 1078 may include a connector through which the electronic device 1001 can be physically connected to an external electronic device (eg, the electronic device 1002 ). According to an embodiment, the connection terminal 1078 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(1079)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(1079)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 1079 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 1079 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(1080)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(1080)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 1080 may capture still images and moving images. According to one embodiment, the camera module 1080 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(1088)은 전자 장치(1001)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(1088)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 1088 may manage power supplied to the electronic device 1001 . According to an embodiment, the power management module 1088 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

배터리(1089)는 전자 장치(1001)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(1089)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 1089 may supply power to at least one component of the electronic device 1001 . According to one embodiment, battery 1089 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(1090)은 전자 장치(1001)와 외부 전자 장치(예: 전자 장치(1002), 전자 장치(1004), 또는 서버(1008))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(1090)은 프로세서(1020)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(1090)은 무선 통신 모듈(1092)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(1094)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(1098)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제 2 네트워크(1099)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)으로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(1092)은 가입자 식별 모듈(1096)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(1098) 또는 제 2 네트워크(1099)와 같은 통신 네트워크 내에서 전자 장치(1001)를 확인 및 인증할 수 있다. The communication module 1090 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 1001 and an external electronic device (eg, the electronic device 1002, the electronic device 1004, or the server 1008). It can support establishment and communication through the established communication channel. The communication module 1090 may include one or more communication processors that operate independently of the processor 1020 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 1090 is a wireless communication module 1092 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 1094 (eg, : It may include a local area network (LAN) communication module, or a power line communication module). Among these communication modules, a corresponding communication module is a first network 1098 (eg, a short-range communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association)) or a second network 1099 (eg, a cellular network, the Internet, or It may communicate with an external electronic device via a computer network (eg, a telecommunication network such as a LAN or WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 1092 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 1096 within a communication network, such as the first network 1098 or the second network 1099 . The electronic device 1001 may be identified and authenticated.

안테나 모듈(1097)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(1097)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제 1 네트워크(1098) 또는 제 2 네트워크(1099)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(1090)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(1090)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(1097)의 일부로 형성될 수 있다.The antenna module 1097 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module may include one antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 1097 may include a plurality of antennas. In this case, at least one antenna suitable for a communication scheme used in a communication network such as the first network 1098 or the second network 1099 is connected from the plurality of antennas by, for example, the communication module 1090 . can be chosen. A signal or power may be transmitted or received between the communication module 1090 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, RFIC) other than the radiator may be additionally formed as a part of the antenna module 1097 .

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))를 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( eg commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(1099)에 연결된 서버(1008)를 통해서 전자 장치(1001)와 외부의 전자 장치(1004)간에 송신 또는 수신될 수 있다. 전자 장치(1002, 1004) 각각은 전자 장치(1001)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(1001)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(1002, 1004, or 1008) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(1001)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(1001)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(1001)로 전달할 수 있다. 전자 장치(1001)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the electronic device 1001 and the external electronic device 1004 through the server 1008 connected to the second network 1099 . Each of the electronic devices 1002 and 1004 may be the same as or different from the electronic device 1001 . According to an embodiment, all or part of the operations executed in the electronic device 1001 may be executed in one or more of the external electronic devices 1002 , 1004 , or 1008 . For example, when the electronic device 1001 needs to perform a function or service automatically or in response to a request from a user or other device, the electronic device 1001 performs the function or service by itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. The one or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 1001 . The electronic device 1001 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this purpose, for example, cloud computing, distributed computing, or client-server computing technology may be used.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나",“A 또는 B 중 적어도 하나,”"A, B 또는 C," "A, B 및 C 중 적어도 하나,”및 “A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, “기능적으로” 또는 “통신적으로”라는 용어와 함께 또는 이런 용어 없이, “커플드” 또는 “커넥티드”라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.It should be understood that the various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, “A or B”, “at least one of A and B”, “at least one of A or B,” “A, B or C,” “at least one of A, B and C,” and “A , B, or C" each may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as “first”, “second”, or “first” or “second” may simply be used to distinguish the component from other components in question, and may refer to components in other aspects (e.g., importance or order) is not limited. that one (eg first) component is “coupled” or “connected” to another (eg, second) component with or without the terms “functionally” or “communicatively” When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit. A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(1001)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(1036) 또는 외장 메모리(1038))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(1040))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(1001))의 프로세서(예: 프로세서(1020))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document include one or more instructions stored in a storage medium (eg, internal memory 1036 or external memory 1038) readable by a machine (eg, electronic device 1001). may be implemented as software (eg, the program 1040) including For example, a processor (eg, processor 1020 ) of a device (eg, electronic device 1001 ) may call at least one command among one or more commands stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the at least one command called. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not include a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.

일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be provided in a computer program product (computer program product). Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store™) or on two user devices (eg, It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones). In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, a module or a program) of the above-described components may include a singular or a plurality of entities. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.

Claims (20)

전자 장치에 있어서,
통신 회로;
오디오 처리 회로;
스피커; 및
상기 통신 회로 및 상기 오디오 처리 회로와 작동적으로 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는:
상기 통신 회로를 통해 오디오 신호를 획득하고;
상기 획득된 오디오 신호 중 제1 주파수 대역에 대응되는 제1 에너지 및 상기 제1 주파수 대역보다 높은 제2 주파수 대역에 대응되는 제2 에너지를 분석하고;
상기 제1 에너지와 상기 제2 에너지의 분석 결과, 및 상기 오디오 처리 회로에서 설정된 대역폭에 기반하여 상기 오디오 신호에 적용되는 보정 값을 결정하고,
상기 보정 값이 적용된 오디오 신호를 상기 스피커를 통해 출력하는, 전자 장치.
In an electronic device,
communication circuit;
audio processing circuit;
speaker; and
at least one processor operatively coupled with the communication circuitry and the audio processing circuitry, the at least one processor comprising:
acquire an audio signal through the communication circuit;
analyzing a first energy corresponding to a first frequency band and a second energy corresponding to a second frequency band higher than the first frequency band among the obtained audio signals;
determining a correction value applied to the audio signal based on an analysis result of the first energy and the second energy, and a bandwidth set in the audio processing circuit;
and outputting an audio signal to which the correction value is applied through the speaker.
청구항 1에 있어서,
상기 전자 장치의 설정 조건에 기반하여 상기 획득된 오디오 신호를 복수의 주파수 대역으로 분리하는 것을 더 포함하는 전자 장치.
The method according to claim 1,
The electronic device further comprising dividing the obtained audio signal into a plurality of frequency bands based on a setting condition of the electronic device.
청구항 1에 있어서,
상기 제1 에너지의 크기와 상기 제2 에너지의 크기를 분석하고,
상기 분석에 기반하여 상기 제1 에너지의 크기와 상기 제2 에너지의 크기의 차이 값을 결정하고,
상기 차이 값의 절대 값을 기 설정된 임계 값과 비교하고,
상기 비교 결과에 기반하여, 상기 획득된 오디오 신호의 기준 주파수 대역폭을 결정하는 것을 더 포함하는 전자 장치.
The method according to claim 1,
analyzing the magnitude of the first energy and the magnitude of the second energy,
determining a difference value between the magnitude of the first energy and the magnitude of the second energy based on the analysis;
comparing the absolute value of the difference value with a preset threshold value;
The electronic device further comprising determining a reference frequency bandwidth of the obtained audio signal based on the comparison result.
청구항 3에 있어서,
상기 차이 값의 절대 값이 기 설정된 임계 값보다 큰 경우, 상기 획득된 오디오 신호의 기준 주파수 대역폭을 제1 기준 주파수 대역폭으로 판단하는 전자 장치.
4. The method according to claim 3,
When the absolute value of the difference value is greater than a preset threshold value, the electronic device determines the reference frequency bandwidth of the obtained audio signal as a first reference frequency bandwidth.
청구항 3에 있어서,
상기 차이 값의 절대 값이 기 설정된 임계 값보다 작은 경우, 상기 획득된 오디오 신호의 기준 주파수 대역폭을 제1 기준 주파수 대역폭보다 큰 제2 기준 주파수 대역폭으로 판단하는 전자 장치.
4. The method according to claim 3,
When the absolute value of the difference value is smaller than a preset threshold, the electronic device determines the reference frequency bandwidth of the obtained audio signal as a second reference frequency bandwidth greater than a first reference frequency bandwidth.
청구항 3에 있어서,
상기 오디오 신호의 기준 주파수 대역폭과 상기 오디오 처리 회로에서 설정된 대역폭이 상이한지 판단하고,
상기 기준 주파수 대역폭과 상기 오디오 처리 회로에서 설정된 대역폭이 상이한 경우, 상기 오디오 신호에 적용되는 상기 보정 값을 결정하는 것을 더 포함하는 전자 장치.
4. The method according to claim 3,
determining whether a reference frequency bandwidth of the audio signal is different from a bandwidth set in the audio processing circuit;
The electronic device further comprising determining the correction value applied to the audio signal when the reference frequency bandwidth is different from a bandwidth set by the audio processing circuit.
청구항 1에 있어서,
상기 보정 값은 상기 오디오 신호에 적용되는 이득(gain), 필터(LPF), 및 리미터(limiter) 중 적어도 하나의 값을 포함하는 전자 장치.
The method according to claim 1,
The correction value includes at least one of a gain, a filter (LPF), and a limiter applied to the audio signal.
청구항 7에 있어서,
상기 필터를 적용하기 위한 설정 대역을 제어하는 것을 더 포함하는 전자 장치.
8. The method of claim 7,
The electronic device further comprising controlling a set band for applying the filter.
청구항 1에 있어서,
상기 획득된 오디오 신호 중 상기 제1 주파수 대역에 대응되는 제1 에너지가 감지되는지 판단하고,
상기 제1 에너지가 감지될 때, 상기 제2 주파수 대역에 대응되는 제2 에너지를 분석하는 것을 더 포함하는 전자 장치.
The method according to claim 1,
determining whether a first energy corresponding to the first frequency band among the obtained audio signals is sensed;
The electronic device further comprising: when the first energy is sensed, analyzing a second energy corresponding to the second frequency band.
청구항 1에 있어서,
상기 결정된 보정 값을 상기 오디오 신호에 적용하는 동작 시간을 제어하는 것을 더 포함하는 전자 장치.
The method according to claim 1,
The electronic device further comprising controlling an operation time for applying the determined correction value to the audio signal.
음질 개선의 제어 방법에 있어서,
통신 회로를 통해 오디오 신호를 획득하는 동작;
상기 획득된 오디오 신호 중 제1 주파수 대역에 대응되는 제1 에너지 및 상기 제1 주파수 대역보다 높은 제2 주파수 대역에 대응되는 제2 에너지를 분석하는 동작;
상기 제1 에너지와 상기 제2 에너지의 분석 결과, 및 오디오 처리 회로에서 설정된 대역폭에 기반하여 상기 오디오 신호에 적용되는 보정 값을 결정하는 동작; 및
상기 보정 값이 적용된 오디오 신호를 스피커를 통해 출력하는 동작을 포함하는 방법.
A method for controlling sound quality improvement, comprising:
obtaining an audio signal through the communication circuit;
analyzing a first energy corresponding to a first frequency band and a second energy corresponding to a second frequency band higher than the first frequency band among the obtained audio signals;
determining a correction value applied to the audio signal based on a result of analyzing the first energy and the second energy and a bandwidth set in an audio processing circuit; and
and outputting an audio signal to which the correction value is applied through a speaker.
청구항 11에 있어서,
전자 장치의 설정 조건에 기반하여 상기 획득된 오디오 신호를 복수의 주파수 대역으로 분리하는 동작을 더 포함하는 방법.
12. The method of claim 11,
The method further comprising dividing the obtained audio signal into a plurality of frequency bands based on a setting condition of the electronic device.
청구항 11에 있어서,
상기 제1 에너지의 크기와 상기 제2 에너지의 크기를 분석하는 동작;
상기 분석에 기반하여 상기 제1 에너지의 크기와 상기 제2 에너지의 크기의 차이 값을 결정하는 동작;
상기 차이 값의 절대 값을 기 설정된 임계 값과 비교하는 동작; 및
상기 비교 결과에 기반하여, 상기 획득된 오디오 신호의 기준 주파수 대역폭을 결정하는 동작을 더 포함하는 방법.
12. The method of claim 11,
analyzing the magnitude of the first energy and the magnitude of the second energy;
determining a difference value between the magnitude of the first energy and the magnitude of the second energy based on the analysis;
comparing the absolute value of the difference value with a preset threshold value; and
The method further comprising determining a reference frequency bandwidth of the obtained audio signal based on the comparison result.
청구항 13에 있어서,
상기 차이 값의 절대 값이 기 설정된 임계 값보다 큰 경우, 상기 획득된 오디오 신호의 기준 주파수 대역폭을 제1 기준 주파수 대역폭으로 판단하는 동작을 더 포함하는 방법.
14. The method of claim 13,
and determining the reference frequency bandwidth of the obtained audio signal as a first reference frequency bandwidth when the absolute value of the difference value is greater than a preset threshold value.
청구항 13에 있어서,
상기 차이 값의 절대 값이 기 설정된 임계 값보다 작은 경우, 상기 획득된 오디오 신호의 기준 주파수 대역폭을 제1 기준 주파수 대역폭보다 큰 제2 기준 주파수 대역폭으로 판단하는 동작을 더 포함하는 방법.
14. The method of claim 13,
and determining the reference frequency bandwidth of the obtained audio signal as a second reference frequency bandwidth greater than a first reference frequency bandwidth when the absolute value of the difference value is smaller than a preset threshold value.
청구항 13에 있어서,
상기 오디오 신호의 기준 주파수 대역폭과 상기 오디오 처리 회로에서 설정된 대역폭이 상이한지 판단하는 동작; 및
상기 기준 주파수 대역폭과 상기 오디오 처리 회로에서 설정된 대역폭이 상이한 경우, 상기 오디오 신호에 적용되는 상기 보정 값을 결정하는 동작을 더 포함하는 방법.
14. The method of claim 13,
determining whether a reference frequency bandwidth of the audio signal is different from a bandwidth set by the audio processing circuit; and
and determining the correction value applied to the audio signal when the reference frequency bandwidth is different from the bandwidth set by the audio processing circuit.
청구항 11에 있어서,
상기 보정 값을 상기 오디오 신호에 적용하는 동작은 상기 오디오 신호에 적용되는 이득(gain), 필터(LPF), 및 리미터(limiter) 중 적어도 하나의 값을 적용하는 동작을 포함하는 방법.
12. The method of claim 11,
The operation of applying the correction value to the audio signal includes applying at least one of a gain, a filter (LPF), and a limiter applied to the audio signal.
청구항 11에 있어서,
상기 획득된 오디오 신호 중 상기 제1 주파수 대역에 대응되는 제1 에너지가 감지되는지 판단하는 동작; 및
상기 제1 에너지가 감지될 때, 상기 제2 주파수 대역에 대응되는 제2 에너지를 분석하는 동작을 더 포함하는 방법.
12. The method of claim 11,
determining whether a first energy corresponding to the first frequency band is detected from among the acquired audio signals; and
and analyzing a second energy corresponding to the second frequency band when the first energy is sensed.
청구항 11에 있어서,
상기 결정된 보정 값을 상기 오디오 신호에 적용하는 동작 시간을 제어하는 동작을 더 포함하는 방법.
12. The method of claim 11,
and controlling an operation time of applying the determined correction value to the audio signal.
컴퓨터 판독 가능한 명령어들을 저장하는 비 일시적 기록 매체에 있어서, 상기 명령어들은 상기 명령어들이 저장된 전자 장치의 적어도 하나의 프로세서에 의해 실행시:
통신 회로를 통해 오디오 신호를 획득하는 동작;
상기 획득된 오디오 신호 중 제1 주파수 대역에 대응되는 제1 에너지 및 상기 제1 주파수 대역보다 높은 제2 주파수 대역에 대응되는 제2 에너지를 분석하는 동작;
상기 제1 에너지와 상기 제2 에너지의 분석 결과, 및 오디오 처리 회로에서 설정된 대역폭에 기반하여 상기 오디오 신호에 적용되는 보정 값을 결정하는 동작; 및
상기 보정 값이 적용된 오디오 신호를 스피커를 통해 출력하도록 설정되는, 기록 매체.
A non-transitory recording medium storing computer readable instructions, wherein the instructions are executed by at least one processor of an electronic device in which the instructions are stored:
obtaining an audio signal through the communication circuit;
analyzing a first energy corresponding to a first frequency band and a second energy corresponding to a second frequency band higher than the first frequency band among the obtained audio signals;
determining a correction value applied to the audio signal based on a result of analyzing the first energy and the second energy and a bandwidth set in an audio processing circuit; and
and outputting an audio signal to which the correction value has been applied through a speaker.
KR1020200026736A 2020-03-03 2020-03-03 Apparatus and method for improving sound quality KR20210111603A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200026736A KR20210111603A (en) 2020-03-03 2020-03-03 Apparatus and method for improving sound quality
PCT/KR2021/002382 WO2021177659A1 (en) 2020-03-03 2021-02-25 Method for improving sound quality and apparatus therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200026736A KR20210111603A (en) 2020-03-03 2020-03-03 Apparatus and method for improving sound quality

Publications (1)

Publication Number Publication Date
KR20210111603A true KR20210111603A (en) 2021-09-13

Family

ID=77612927

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200026736A KR20210111603A (en) 2020-03-03 2020-03-03 Apparatus and method for improving sound quality

Country Status (2)

Country Link
KR (1) KR20210111603A (en)
WO (1) WO2021177659A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1840874B1 (en) * 2005-01-11 2019-04-10 NEC Corporation Audio encoding device, audio encoding method, and audio encoding program
KR20070005468A (en) * 2005-07-05 2007-01-10 엘지전자 주식회사 Method for generating encoded audio signal, apparatus for encoding multi-channel audio signals generating the signal and apparatus for decoding the signal
WO2013057895A1 (en) * 2011-10-19 2013-04-25 パナソニック株式会社 Encoding device and encoding method
KR101748039B1 (en) * 2015-11-03 2017-06-15 라인 가부시키가이샤 Sampling rate conversion method and system for efficient voice call
KR20180061855A (en) * 2016-11-30 2018-06-08 삼성전자주식회사 Apparatus for transmitting audio sigal and controlling method thereof

Also Published As

Publication number Publication date
WO2021177659A1 (en) 2021-09-10

Similar Documents

Publication Publication Date Title
KR20210017229A (en) Electronic device with audio zoom and operating method thereof
KR102419512B1 (en) An electronic device comprising a plurality of speakers
US10812031B2 (en) Electronic device and method for adjusting gain of digital audio signal based on hearing recognition characteristics
KR20190097473A (en) Method and an electronic device for acquiring a noise-refined voice signal
US11190873B2 (en) Electronic device and method for detecting blocked state of microphone
US11398242B2 (en) Electronic device for determining noise control parameter on basis of network connection information and operating method thereof
US12022019B2 (en) Method and electronic device for adjusting output level of speaker on basis of distance from external electronic device
US10388301B2 (en) Method for processing audio signal and electronic device for supporting the same
US11152779B2 (en) Electronic device and method for preventing corrosion of audio jack
US20200273478A1 (en) Microphone, electronic apparatus including microphone and method for controlling electronic apparatus
US11622198B2 (en) Electronic device, and method for processing stereo audio signal thereof
KR20190052394A (en) Method for executing a function using a plurality of mikes and electronic device thereof
US11423912B2 (en) Method and electronic device for processing audio signal on basis of resolution set on basis of volume of audio signal
US11190891B2 (en) Method for determining whether error has occurred in microphone on basis of magnitude of audio signal acquired through microphone, and electronic device thereof
US11562763B2 (en) Method for improving sound quality and electronic device using same
KR20210001646A (en) Electronic device and method for determining audio device for processing audio signal thereof
KR20210111603A (en) Apparatus and method for improving sound quality
KR20210108232A (en) Apparatus and method for echo cancelling
KR102386773B1 (en) Method for generating an audio signal using a plurality of speakers and microphones and an electronic device thereof
KR20210017235A (en) Electronic device for improving communicaiton performance and operating method thereof
KR20240052598A (en) Electronic device and method for detecting error of a signal
KR20210083872A (en) An electronic device and method for removing residual echo signal based on Neural Network in the same
KR20220118224A (en) Method for processing audio data and electronic device supporting the same
KR20200107125A (en) E electronic device, method, and computer readable medium for reduced correlation

Legal Events

Date Code Title Description
E902 Notification of reason for refusal