Electronic device and control method thereof
Through the dual-microphone system and artificial intelligence processing technology, it solves the problem of noise discrimination when wireless headphones or headphones transmit the other party's voice signal, achieves clear transmission of the other party's voice signal, and reduces noise interference.
Patent Information
- Application Number
- CN202280089127.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-01-20
- Filing Date
- 2022-10-11
- Publication Date
- 2024-09-24
AI Technical Summary
When existing wireless headphones or headsets transmit the other party's voice signal, it is difficult to distinguish the voice signal from external noise, resulting in part of the voice signal being removed.
Using a dual-microphone system, the internal microphone and the external microphone receive the voice signals of the wearer and the other party respectively, and the processor performs masking and denoising processing based on the voice signal size and frequency domain threshold, and uses the artificial intelligence neural network model to equalize and amplify the other party's voice. Signal.
It effectively distinguishes and transmits the other party's voice signal, reduces noise interference, and ensures that the wearer can hear the other party's voice clearly.
Smart Images

Figure CN118696548A
Abstract
Description
Technical Field
[0001] The present disclosure relates to an electronic device and a control method thereof, and more particularly, to an electronic device that outputs a signal other than noise among input sound signals and a control method thereof. Background Art
[0002] With the development of wireless communication technology, electronic devices that communicate in a wired manner are being replaced by electronic devices that communicate in a wireless manner.
[0003] Such electronic devices include earphones or headphones. In the past, earphones or headphones were connected to a main device via a wire and performed the function of transmitting a sound signal output from the main device to a user. However, with the development of communication and electronic technology, wireless earphones or headphones are being commercialized. Active noise cancellation (ANC) technology and the like are applied to earphones or headphones to remove surrounding noise and send only necessary signals to the wearer. In addition, a function of having a conversation with the other party while wearing earphones or headphones is also applied.
[0004] When the earphones or headphones send the sound signal of the content being played to the wearer, the ANC function can work normally because the difference between the sound being reproduced and the noise from the outside is large. However, when the other party's voice signal is sent to the wearer, there is a problem that it is difficult to distinguish the signal from the external noise, so some of the other party's voice signal is also removed.
[0005] Therefore, there is a need for a technology that can distinguish a non-noise signal such as a voice signal of the other party and clearly transmit it to the wearer. Summary of the invention
[0006] Technical Solution
[0007] Provided are an electronic device for clearly sending a voice signal of a counterpart to a wearer and a control method thereof.
[0008] Additional aspects will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the presented embodiments.
[0009] According to one aspect of the present disclosure, an electronic device may include an internal microphone, which is arranged on a first surface of the electronic device; an external microphone, which is arranged on a second surface opposite to the first surface; and a processor, which is configured to: receive a voice signal of an opposing party input through the internal microphone and a voice signal of a wearer of the electronic device input through the external microphone, remove the voice signal of the wearer input through the external microphone based on the wearer's voice signal input through the internal microphone, based on the size of the wearer's voice signal input through the internal microphone being greater than or equal to a predetermined threshold, and amplify the voice signal of the opposing party input through the external microphone and remove the wearer's voice signal therefrom, and output an amplified audio signal, wherein the size of the wearer's voice signal input through the internal microphone is greater than the size of the wearer's voice signal input through the external microphone.
[0010] The processor may also be configured to remove noise included in a voice signal of the other party input through the external microphone and a voice signal of the wearer input through the external microphone.
[0011] The processor can also be configured to perform masking by setting a first frequency domain in which the size of the wearer's voice signal input through the internal microphone is less than a predetermined threshold to 0, and setting a second frequency domain in which the size of the wearer's voice signal input through the internal microphone is equal to or greater than the predetermined threshold to a value determined based on the predetermined threshold.
[0012] The processor may be further configured to change the predetermined threshold based on at least one of a predetermined time interval and a predetermined frequency domain.
[0013] The processor may also be configured to remove the wearer's voice signal input through the external microphone based on the wearer's voice signal input through the internal microphone on which masking has been performed.
[0014] The processor may also be configured to perform at least one of masking and removing a wearer's voice signal input through an external microphone based on a learned voice signal processing artificial intelligence neural network model.
[0015] The processor may also be configured to equalize the other party's voice signal input through the external microphone and the wearer's voice signal input through the external microphone.
[0016] According to one aspect of the present disclosure, a method for controlling an electronic device may include: receiving a voice signal of an opposing party input through an internal microphone and an external microphone and a voice signal of a wearer of the electronic device, the internal microphone being arranged on a first surface of the electronic device, and the external microphone being arranged on a second surface opposite to the first surface; based on the size of the wearer's voice signal input through the internal microphone being greater than or equal to a predetermined threshold, removing the wearer's voice signal input through the external microphone based on the wearer's voice signal input through the internal microphone; and amplifying the voice signal of the opposing party input through the external microphone and removing the wearer's voice signal therefrom, and outputting the amplified voice signal, wherein the size of the wearer's voice signal input through the internal microphone is greater than the size of the wearer's voice signal input through the external microphone.
[0017] The method may include removing noise included in a voice signal of a counterpart input through an external microphone and a voice signal of a wearer input through the external microphone.
[0018] Removing the wearer's voice signal input through the external microphone may include performing masking by setting a first frequency domain in which the size of the wearer's voice signal input through the internal microphone is less than a predetermined threshold to 0, and setting a second frequency domain in which the size of the wearer's voice signal input through the internal microphone is equal to or greater than the predetermined threshold to a value determined based on the predetermined threshold.
[0019] Removing the wearer's voice signal may include changing a predetermined threshold based on at least one of a predetermined time interval and a predetermined frequency domain.
[0020] The wearer's voice signal input through the external microphone may be further removed based on the wearer's voice signal input through the internal microphone on which masking has been performed.
[0021] Removing the wearer's voice signal may include performing at least one of masking and removing the wearer's voice signal input through an external microphone based on a learned voice signal processing artificial intelligence neural network model.
[0022] The method may include equalizing a voice signal of the other party input through an external microphone and a voice signal of the wearer.
[0023] According to one aspect of the present disclosure, a non-transitory computer-readable storage medium may store instructions, which, when executed by at least one processor, cause the at least one processor to: receive a voice signal of an opposing party input through an internal microphone and an external microphone and a voice signal of a wearer of an electronic device, the internal microphone being arranged on a first surface of the electronic device, and the external microphone being arranged on a second surface opposite to the first surface; remove the voice signal of the wearer input through the external microphone based on the voice signal of the wearer input through the internal microphone, based on the size of the voice signal of the wearer input through the internal microphone being greater than or equal to a predetermined threshold; and amplify the voice signal of the opposing party input through the external microphone and from which the wearer's voice signal is removed, and output the amplified voice signal, wherein the size of the voice signal of the wearer input through the internal microphone is greater than the size of the voice signal of the wearer input through the external microphone. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The above and other aspects, features and advantages of certain embodiments of the present disclosure will become more apparent through the following description in conjunction with the accompanying drawings, in which:
[0025] Figure 1 is a diagram illustrating the use of an electronic device according to an embodiment;
[0026] Figure 2 is a block diagram showing a configuration of an electronic device according to an embodiment;
[0027] Figure 3 is a block diagram showing a detailed configuration of an electronic device according to an embodiment;
[0028] Figure 4 is a diagram illustrating the operation of the electronic device according to the embodiment.
[0029] Figure 5 is a diagram showing processing of a wearer's voice according to an embodiment; and
[0030] Figure 6 is a flowchart illustrating a method of controlling an electronic device according to an embodiment. DETAILED DESCRIPTION
[0031] Example embodiments will now be described in detail with reference to the accompanying drawings. Various modifications may be made to the embodiments described herein. Certain embodiments may be depicted in the accompanying drawings and described in detail in the detailed description. However, it should be understood that the specific example embodiments shown in the accompanying drawings are only intended to facilitate understanding of the various example embodiments. Therefore, it should be understood that the technical ideas are not limited to the specific example embodiments shown in the accompanying drawings, but include all equivalents or substitutes that fall within the spirit and scope of the present disclosure.
[0032] Terms including ordinal numbers, such as first, second, etc., may be used to describe various elements, but the elements are not limited to the above terms. The above terms are only used to distinguish one component from another.
[0033] Expressions such as "including" or "having" used herein are intended to specify the presence of a characteristic, number, step, operation, element, part, or combination thereof specified in the specification, and should not be interpreted as excluding the possible presence or addition of one or more other characteristics, numbers, steps, operations, elements, parts, or combinations thereof. It should be understood that when an element is referred to as "connected" or "accessed" to another element, it can be directly connected or accessed to the other element, but it should be understood that there may be other components between them. When an element is referred to as "directly connected" or "directly accessed" to another element, it should be understood that there are no other elements between the two.
[0034] As used herein, a "module" or "unit" of an element performs at least one function or operation. In addition, a "module" or "unit" may perform a function or operation by hardware, software, or a combination of hardware and software. In addition, multiple "modules" or multiple "units" other than the "module" or "unit" to be executed in specific hardware or to be executed in at least one processor may be integrated into at least one module. Unless the context clearly indicates otherwise, the singular form shall include the plural form.
[0035] In the description of the present disclosure, the order of each step should be understood as non-restrictive, unless the previous step is logically and temporally performed before the next step. In other words, except for the above-mentioned exceptions, even if the processing described as the latter step is performed before the processing described as the previous step, it does not affect the essence of the present disclosure, and the scope of the present disclosure should also be defined regardless of the order of the steps. In addition, in the present disclosure, "A or B" is defined as not only selectively pointing to any one of A and B, but also including A and B. In addition, in the disclosure, the term "comprising" has the meaning of covering other components in addition to the listed elements.
[0036] In the present disclosure, only the essential elements necessary for describing the present disclosure are described, and elements irrelevant to the essence of the present disclosure are not described. In addition, it should not be interpreted as an exclusive meaning including only the described components, but should be understood as a non-exclusive meaning that may also include other elements.
[0037] In describing the exemplary embodiments, if a detailed description of related known functions or components would obscure the description of the subject matter, it may be omitted. Each embodiment may be implemented or operated independently, but each embodiment may also be implemented or operated in combination.
[0038] Figure 1is a diagram illustrating the use of an electronic device according to an embodiment;
[0039] Reference Figure 1 , shows a wearer 1 and a counterpart 3 wearing an electronic device (e.g., headphones) 100. The electronic device 100 may include a conversation function with the counterpart 3. For example, the electronic device 100 may include a microphone and a speaker. The electronic device 100 may receive a voice signal of the counterpart 3 through the microphone. The electronic device 100 may process the input voice signal of the counterpart 3 and output it through the speaker. Therefore, the wearer 1 may communicate with the counterpart 3 even while wearing the electronic device 100.
[0040] Figure 2 is a block diagram showing a configuration of an electronic device according to an embodiment;
[0041] refer to Figure 2 , the electronic device 100 may include a microphone 110 , a processor 120 , and a speaker 130 , and the microphone 110 includes an external microphone 111 and an internal microphone 112 .
[0042] The external microphone 111 may be provided on a surface opposite to the surface on which the electronic device 100 is worn by the wearer, and the internal microphone 112 may be provided on a surface on which the electronic device 100 is worn by the wearer. In other words, when the wearer wears the electronic device 100, the external microphone 111 may be provided on the outer surface, and the internal microphone 112 may be provided on the inner surface. The wearer may talk with the other party. Each of the external microphone 111 and the internal microphone 112 may receive the voice signal of the wearer and the voice signal of the other party.
[0043] The processor 120 may control each configuration of the electronic device 100. For example, the processor 120 may control the external microphone 111 and the internal microphone 112 to receive an external sound signal, and may control the speaker 130 to output a processed sound signal.
[0044] In addition, if the size of the voice signal of the wearer input through the internal microphone 112 is greater than or equal to a predetermined threshold, the processor 120 may remove the voice signal of the wearer input through the external microphone 111 based on the voice signal of the wearer input through the internal microphone 114. For example, the processor 120 may set the frequency domain in which the size of the voice signal of the wearer input through the internal microphone 112 is less than the predetermined threshold to 0. In addition, the processor 120 may perform masking processing to set the frequency domain in which the size of the voice signal of the wearer input through the internal microphone 112 is equal to or greater than the predetermined threshold to a value calculated based on a predetermined value. As an embodiment, the processor 120 may change the predetermined value based on a predetermined time interval or a predetermined frequency domain. The processor 120 may remove the voice signal of the wearer input through the external microphone 111 based on the voice signal of the wearer input through the internal microphone 112 on which the masking processing has been performed.
[0045] As an embodiment, the processor 120 can perform processing of the wearer's voice signal based on the learned voice signal processing artificial intelligence neural network model, such as masking processing or removal processing. The functions related to artificial intelligence according to the present disclosure can be operated by the processor 120. The processor 120 can be composed of one or more processors. In this example, one or more processors may include, for example but not limited to, a general-purpose processor such as a central processing unit (CPU), an application processor (AP) or a digital signal processor (DSP), a graphics processor such as a GPU, a visual processing unit (VPU), or an artificial intelligence processor such as a neural processing unit (NPU). One or more processors can be controlled to process input data according to predefined operating rules or artificial intelligence models stored in a memory. Alternatively, when one or more processors are artificial intelligence-specific processors, the artificial intelligence-specific processor can be designed to have a hardware structure specifically for processing a specific artificial intelligence model.
[0046] The characteristic of the predefined operation rules or artificial intelligence models is that they can be generated by learning. The characteristics generated by learning mean that the basic artificial intelligence model is learned by a learning algorithm using multiple learning data, thereby generating a predefined behavior rule or artificial intelligence model that is set to perform the desired characteristics (or purposes). This learning can be performed in the device itself that performs artificial intelligence according to the present disclosure, or it can be performed by a separate server and / or system. Examples of learning algorithms include, for example, but not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but are not limited to the above examples.
[0047] The artificial intelligence model may include multiple neural network layers. Each of the multiple neural network layers may have multiple weight values, and the neural network operation is performed by the operation result of the previous layer and the multiple weight values. The multiple weight values of the multiple neural network layers can be optimized by the learning results of the artificial intelligence model. For example, multiple weight values can be updated to reduce or minimize the loss value or cost value obtained from the artificial intelligence model during the learning process. The artificial neural network may include, for example, but not limited to, a deep neural network (DNN), such as a convolutional neural network (CNN), a deep neural network, a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN) or a deep Q network, etc., but is not limited to the above embodiments.
[0048] The processor 120 may amplify and output the voice signal of the other party from which the voice signal of the wearer has been removed among the input sound signals. In addition, the processor 120 may remove noise included in the voice signal input by the other party and the voice signal of the wearer through the external microphone 111. Alternatively, the processor 120 may equalize the voice signal of the other party and the voice signal of the wearer input through the external microphone 111 to correspond to a predetermined frequency feature. The detailed process of the processor 120 processing the input voice signal will be described below.
[0049] The speaker 130 may output the signal-processed sound. The speaker 130 may output the other party's voice signal from which the wearer's voice signal is removed from the input voice signal under the control of the processor 120.
[0050] Figure 3 is a block diagram showing a detailed configuration of an electronic device according to an embodiment;
[0051] refer to Figure 3 , the electronic device 100 may include a microphone 110, a processor 120, a speaker 130, an input interface 140, a communication interface 150, a camera 160, a display 170, a memory 180, and a sensor 190. The microphone 110 may include an external microphone 111 and an internal microphone 112. Figure 2 The same as described in , so its detailed description will be omitted.
[0052] The input interface 160 may receive various user commands. For example, the input interface 140 may be implemented as a button, a keyboard, a touch pad, etc. The input interface 140 may perform a function of receiving a command from a user and may be referred to as an input device, an input unit, an input module, etc.
[0053] The communication interface 150 communicates with an external device. For example, the external device may include an AI speaker, a smart phone, a tablet PC, a laptop, a wearable device, a set-top box (STB), an optical disk drive (ODD), a video player, a game console, a server, a cloud, etc. The communication interface 150 can send and receive control signals, sound signals, etc. with an external device. For example, the communication interface 150 may include a module capable of performing communication in a manner such as the third generation (3G), long term evolution (LTE), fifth generation (5G), Wi-Fi, Bluetooth, digital multimedia broadcasting (DMB), advanced television system committee (ATSC), digital video broadcasting (DVB), local area network (LAN), etc. The communication interface 150 for communicating with an external device may be referred to as a communication device, a communicator (e.g., including a communication circuit), a communication module, a transceiver, etc.
[0054] The camera 160 may capture the surroundings including the user. The processor 120 may recognize an object or the surroundings based on the captured image.
[0055] The display 170 can display various information. For example, the display 170 can display status information, setting information, and information related to the sound signal of the electronic device 100. The display 170 can be implemented as a liquid crystal display (LCD), an organic light emitting diode (OLED), a flexible display, a touch screen, etc. When the display 170 is implemented as a touch screen, the electronic device 100 can receive a control command through the touch screen.
[0056] The memory 180 may store data and algorithms for executing the functions of the electronic device 100, and may store programs and commands driven in the electronic device 100. In addition, the memory 180 may store a learned speech signal processing artificial intelligence neural network model (or algorithm), etc. For example, the memory 180 may be implemented as a type of read-only memory (ROM), random access memory (RAM), hard disk drive (HDD), solid state drive (SSD), memory card, etc.
[0057] The sensor 190 may detect a state, surroundings, an object, or a user of the electronic device 100. For example, the sensor 190 may include an image sensor, a motion recognition sensor, a proximity sensor, a thermal sensor, a touch sensor, an infrared sensor, an ultrasonic sensor, a geomagnetic sensor, a gravity sensor, an acceleration sensor, and the like.
[0058] The configuration of the electronic device 100 has been described above. Hereinafter, a process in which the electronic device 100 processes a voice signal will be described.
[0059] Figure 4 is a diagram illustrating the operation of the electronic device according to the embodiment. Figure 5is a diagram illustrating processing of a wearer's voice according to an embodiment.
[0060] Reference Figure 4 , the microphone 110 may include an external microphone 111 and an internal microphone 112. In addition, the processor 120 may include an active noise cancellation (ANC) block (or module, circuit, unit) 121, an equalizer (EQ) block 122, an internal microphone processing block 123, and a language enhancement block 124, etc.
[0061] The wearer of the electronic device 100 can communicate with the other party. The external microphone 111 can receive the voice signal 23 of the wearer and the voice signal 21 of the other party. The internal microphone 112 can also receive the voice signal 23 of the wearer and the voice signal 21 of the other party at the same time. For example, if the wearer and the other party speak at the same time, the external microphone 111 and the internal microphone 112 can receive the voice signal 23 of the wearer and the voice signal 21 of the other party at the same time. If the wearer and the other party speak in turn, the external microphone 111 and the internal microphone 112 can receive the voice signal 23 of the wearer and the voice signal 21 of the other party in turn.
[0062] Figure 5 The waveform diagram 11 of the voice signal of the wearer and the other party input through the internal microphone 112 and the waveform diagram 13 of the voice signal of the wearer and the other party input through the external microphone 111 are shown. For example, since both the internal microphone 112 and the external microphone 111 are adjacent to the wearer, the voice signal 23 of the wearer can be input more strongly than the voice signal 21 of the other party. In addition, due to the positions of the microphones, the voice signal 21 of the other party input through the external microphone 111 may be relatively stronger than the voice signal 21 of the other party input through the internal microphone 112.
[0063] The voice signal input to the external microphone 111 may be transmitted to the ANC block 121 and the EQ block 122. The input voice signal may include noise in addition to the voice signal. The ANC block 121 may remove the noise included in the input voice signal.
[0064] The EQ block 122 can equalize the transmitted voice signal. For example, the EQ block 122 can increase the size of the voice signal in a specific frequency domain and reduce the size of the voice signal in another specific frequency domain based on the frequency. Alternatively, the EQ block 122 can block the signal of a specific frequency domain. The EQ block 122 may include a filter corresponding to a frequency band that will be blocked or passed based on a specific frequency domain. The EQ block 122 can perform signal processing so that the output voice signal is suitable for the wearer and can be heard naturally by equalizing the transmitted audio signal. The equalized voice signal can be sent to the language enhancement block 124.
[0065] The voice signal input to the internal microphone 112 may be sent to the internal microphone processing block 123. The internal microphone processing block 123 may identify the voice signal 23 of the wearer included in the transmitted voice signal and mask the voice signal 23 of the wearer. As described above, the electronic device 100 may include a conversation function with the other party. In other words, since the purpose of the electronic device 100 is to send an externally input voice signal to the wearer, the voice signal 23 of the wearer is an unnecessary voice signal. Therefore, the internal microphone processing block 123 may identify the voice signal 23 of the wearer that is unnecessary.
[0066] like Figure 5 As shown, the internal microphone processing block 123 can process the voice signal 23 of the wearer input through the internal microphone 112 based on a predetermined threshold. The internal microphone processing block 123 can identify whether the voice signal 23 of the wearer input through the internal microphone 112 is equal to or greater than the predetermined threshold. When the voice signal 23 of the wearer input through the internal microphone 112 is greater than or equal to the predetermined threshold, the internal microphone processing block 123 can set a value calculated based on a predetermined value, and perform a masking process of setting it to 0 when the predetermined threshold is less than the predetermined threshold. As an embodiment, the masking process can be performed based on equation (1).
[0067]
[0068] EQ t,freq can be a predetermined value. In addition, EQ t,freq It can be changed according to a predetermined time interval and a predetermined frequency domain. Through the above processing, the signal 5 in the frequency domain of the wearer's voice signal 23 that is less than a predetermined threshold can be removed.
[0069] The voice signal in which the voice signal 23 of the wearer input through the internal microphone 112 is masked may be sent to the language enhancement block 124. In other words, the language enhancement block 124 may receive the voice signal in which the voice signal input through the equalized external microphone 111 and the voice signal 23 of the wearer are masked. The language enhancement block 124 may remove the voice signal of the wearer based on the voice signal input through the external microphone 111 and the voice signal in which the voice signal 23 of the wearer is masked. As an embodiment, the process of removing the voice signal of the wearer may be performed based on equation (2).
[0070]
[0071] In addition, the language enhancement block 124 can amplify the other party's voice signal 21. As an embodiment, the electronic device 100 can perform masking processing or wearer's voice signal removal processing based on the learned voice signal processing artificial intelligence neural network model.
[0072] The wearer's voice signal 23 can be removed, and the amplified voice signal can be sent to the ANC block. Even if the wearer's voice signal 23 is removed by the internal microphone processing block 123 and the language enhancement block 124, the wearer's voice signal 23 may not be completely removed. However, the wearer's voice signal component is very small and may therefore be similar to general noise. Therefore, the ANC block 121 can receive a voice signal from which the wearer's voice signal 23 has been removed, and remove noise, thereby removing almost all components of the wearer's voice signal. Only the other party's voice signal 21 may be included in the wearer's voice signal component and the noise-removed voice signal. The ANC block 121 can output the other party's voice signal 21 through a speaker.
[0073] The electronic device 100 can calculate a signal for removing the noise component from the ANC block and a signal for removing the wearer's voice signal using the voice signal input through the internal microphone 112, and receive feedback. Through the above processing, the electronic device 100 can effectively remove the wearer's voice signal component and enhance and output the other party's voice signal 21.
[0074] Various embodiments of performing voice processing in the electronic device 100 have been described above. Hereinafter, a method of controlling the electronic device 100 will be described.
[0075] Figure 6 is a flowchart illustrating a method of controlling an electronic device according to an embodiment.
[0076] refer to Figure 6 , the electronic device may include an internal microphone disposed on one surface of the electronic device worn by the wearer and an external microphone disposed on an opposite surface of the one surface. In operation S610, the electronic device may receive the other party's voice signal and the wearer's voice signal through the internal microphone and the external microphone. The size (or strength) of the wearer's voice signal input through the internal microphone may be greater than the size of the wearer's voice signal input through the external microphone.
[0077] In operation S620, if the size of the wearer's voice signal input through the internal microphone is greater than or equal to a predetermined threshold, the electronic device may remove the wearer's voice signal input through the external microphone based on the wearer's voice signal input through the internal microphone. For example, the electronic device may set the frequency domain in which the size of the wearer's voice signal input through the internal microphone is less than the predetermined threshold to 0. Alternatively, the electronic device may set the frequency domain in which the size of the wearer's voice signal input through the internal microphone is equal to or greater than the predetermined threshold to a value calculated based on a predetermined value. The above-mentioned processing may be a masking process. The electronic device may change the predetermined value based on a predetermined time interval or a predetermined frequency. The electronic device may remove the wearer's voice signal input through the external microphone based on the wearer's voice signal input through the internal microphone to which the masking process has been performed. As an embodiment, the electronic device may perform masking processing or wearer's voice signal removal processing based on a learned voice signal processing artificial intelligence neural network model.
[0078] In operation S630, the electronic device may amplify and output the other party's voice signal from which the wearer's voice signal has been removed. The electronic device may remove noise included in the other party's voice signal and the wearer's voice signal input through the external microphone. In addition, the electronic device may equalize the other party's voice signal and the wearer's voice signal input through the external microphone to correspond to a predetermined frequency feature.
[0079] The method for controlling an electronic device according to the above-described various embodiments may be provided as a computer program product. The computer program product may include a software (S / W) program itself or a non-transitory computer-readable medium in which the S / W program is stored.
[0080] A non-transitory computer-readable recording medium may refer to a medium that stores data and can be read by a device. For example, the above-mentioned various applications or programs may be stored in a non-transitory computer-readable medium, such as a compact disc (CD), a digital versatile disc (DVD), a hard disk, a Blu-ray disc, a universal serial bus (USB), a memory card, a ROM, etc., and may be provided.
[0081] While the present disclosure has been shown and described with reference to various embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present disclosure as defined by the appended claims and their equivalents.
Claims
1. An electronic device, include: an internal microphone disposed on a first surface of the electronic device; an external microphone disposed on a second surface opposite to the first surface; as well as The processor is configured as: receiving a voice signal of the other party and a voice signal of the wearer of the electronic device inputted through the internal microphone and the external microphone, removing the wearer's voice signal input through the external microphone based on the wearer's voice signal input through the internal microphone, based on the size of the wearer's voice signal input through the internal microphone being greater than or equal to a predetermined threshold, and amplifying a voice signal of a counterpart input through an external microphone and removing a voice signal of the wearer therefrom, and outputting an amplified audio signal, Among them, the size of the wearer's voice signal input through the internal microphone is greater than the size of the wearer's voice signal input through the external microphone.
2. The electronic device according to claim 1, in, The processor is also configured to remove noise included in the other party's voice signal and the wearer's voice signal input through the external microphone.
3. The electronic device according to claim 1, in, The processor is further configured to perform masking by: setting a first frequency domain in which the size of the wearer's voice signal input through the internal microphone is less than a predetermined threshold to 0, and The second frequency domain in which the size of the wearer's voice signal input through the internal microphone is equal to or greater than a predetermined threshold is set to a value determined based on the predetermined threshold.
4. The electronic device according to claim 3, in, The processor is further configured to change the predetermined threshold based on at least one of a predetermined time interval and a predetermined frequency domain.
5. The electronic device according to claim 3, in, The processor is also configured to remove the wearer's voice signal input through the external microphone based on the wearer's voice signal input through the internal microphone on which masking has been performed.
6. The electronic device according to claim 3, in, The processor is also configured to perform at least one of masking and removing the wearer's voice signal input through the external microphone based on the learned voice signal processing artificial intelligence neural network model.
7. The electronic device according to claim 1, in, The processor is also configured to equalize the other party's voice signal input through the external microphone and the wearer's voice signal input through the external microphone.
8. A method for controlling an electronic device, the method include: Receiving a voice signal of the other party and a voice signal of the wearer of the electronic device input through an internal microphone and an external microphone, wherein the internal microphone is disposed on a first surface of the electronic device, and the external microphone is disposed on a second surface opposite to the first surface; removing the wearer's voice signal input through the external microphone based on the wearer's voice signal input through the internal microphone, based on the size of the wearer's voice signal input through the internal microphone being greater than or equal to a predetermined threshold; as well as amplifying a voice signal of a counterpart input through an external microphone and removing a voice signal of the wearer therefrom, and outputting the amplified voice signal, Among them, the size of the wearer's voice signal input through the internal microphone is greater than the size of the wearer's voice signal input through the external microphone.
9. The method according to claim 8, further comprising: include: Noise included in the other party's voice signal and the wearer's voice signal input through the external microphone is removed.
10. The method according to claim 8, in, Removing the wearer's voice signal input through the external microphone includes performing masking in the following manner: setting a first frequency domain in which the size of the wearer's voice signal input through the internal microphone is less than a predetermined threshold to 0, and The second frequency domain in which the size of the wearer's voice signal input through the internal microphone is equal to or greater than a predetermined threshold is set to a value determined based on the predetermined threshold.
11. The method according to claim 10, in, Removing the voice signal of the wearer includes changing a predetermined threshold based on at least one of a predetermined time interval and a predetermined frequency domain.
12. The method according to claim 10, in, The wearer's voice signal input through the external microphone is also removed based on the wearer's voice signal input through the internal microphone on which masking has been performed.
13. The method according to claim 10, in, Removing the wearer's voice signal includes performing at least one of masking and removing the wearer's voice signal input through an external microphone based on a learned voice signal processing artificial intelligence neural network model.
14. The method according to claim 8, further comprising: include: Equalizes the voice signal of the other party input through the external microphone and the voice signal of the wearer.
15. A non-transitory computer-readable storage medium storing instructions that, when executed by at least one processor, cause the at least one processor to: Receiving a voice signal of the other party and a voice signal of the wearer of the electronic device inputted through an internal microphone and an external microphone, wherein the internal microphone is arranged on a first surface of the electronic device, and the external microphone is arranged on a second surface opposite to the first surface; Based on the size of the wearer's voice signal input through the internal microphone being greater than or equal to a predetermined threshold, removing the wearer's voice signal input through the external microphone based on the wearer's voice signal input through the internal microphone; and amplifying a voice signal of a counterpart input through an external microphone and removing a voice signal of the wearer therefrom, and outputting the amplified voice signal, in, The size of the wearer's voice signal input through the internal microphone is greater than the size of the wearer's voice signal input through the external microphone.
