Electronic device and control method thereof
The method enhances audio signal separation by using frequency band analysis and neural networks to effectively isolate audio sources, addressing the limitations of existing models in restoring high-frequency components and improving signal quality.
Patent Information
- Application Number
- PCT/KR2024/006013
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-14
- Filing Date
- 2024-05-03
- Publication Date
- 2024-11-07
AI Technical Summary
Existing audio separation models struggle to effectively separate audio signals from multiple sources, particularly in improving the quality of separated audio signals by restoring signals above a certain frequency band, which affects the performance and speed of audio signal processing.
The method involves obtaining a first audio signal, separating it into components below and above a preset frequency band, using downsampling and neural network models to identify the audio sources, and combining these components to generate a high-quality audio signal by selectively removing or maintaining frequency components based on energy and pattern analysis.
This approach enhances the quality of separated audio signals by accurately isolating audio sources and reducing noise, improving the overall performance and speed of audio signal processing.
Smart Images

Figure KR2024006013_07112024_PF_FP_ABST
Abstract
Description
Electronic device and method of controlling the same
[0001] The present disclosure relates to an electronic device and a control method thereof, and more particularly, to an electronic device and a control method thereof for separating audio signals including audio signals corresponding to a plurality of audio sources by audio source.
[0002] An audio separation model can be a model that separates audio signals by speaker from a single mixed audio signal. For example, suppose there is a 10-second audio signal of a man and a woman speaking simultaneously. An audio separation model can separate the 10-second audio signal into 10 seconds of audio signals from the man and 10 seconds of audio signals from the woman.
[0003] Existing audio separation models can separate audio signals in specific frequency bands, taking into account performance and speed.
[0004] At this time, it is necessary to restore signals above a certain frequency band to improve the quality of the separated audio signal.
[0005] A method for controlling an electronic device according to one or more embodiments of the present disclosure comprises the steps of: obtaining a first audio signal including an audio signal corresponding to a first audio source and an audio signal corresponding to a second audio source; obtaining a second audio signal by separating an audio signal corresponding to the first audio source in a band below a preset frequency from the first audio signal; obtaining a third audio signal by separating an audio signal in a band above the preset frequency from the first audio signal; and obtaining a fourth audio signal by combining the second audio signal and the third audio signal; and obtaining a fifth audio signal by removing a component above the preset frequency when an energy of a component below the preset frequency is less than an energy of a component above the preset frequency in each of a plurality of frames constituting the fourth audio signal.
[0006] The step of obtaining the fifth audio signal may include obtaining the fifth audio signal by maintaining the component that is higher than the preset frequency, if the energy of the component that is lower than the preset frequency is higher than the energy of the component that is higher than the preset frequency.
[0007] The step of obtaining the second audio signal may include down-sampling the first audio signal at a sampling rate corresponding to the preset frequency, inputting the down-sampled first audio signal into a neural network model, and separating the audio signal corresponding to the first audio source to obtain the second audio signal.
[0008] The step of obtaining the third audio signal may include obtaining a feature of a band that is equal to or greater than the preset frequency in the first audio signal based on the second audio signal, and obtaining the third audio signal using the obtained feature.
[0009] The band below the preset frequency may be a band below the preset frequency and above a specific frequency.
[0010] The step of obtaining the fifth audio signal may further include the step of obtaining the fifth audio signal by removing components having a frequency higher than the preset frequency when a preset pattern is identified in each of the plurality of frames constituting the fourth audio signal.
[0011] The step of obtaining the fifth audio signal may include obtaining the fifth audio signal by removing components having a frequency higher than the preset frequency, if a value indicating a similarity between the shape of a component having a frequency lower than the preset frequency and the quadrant shape is greater than or equal to a preset value.
[0012] The above control method can obtain a fifth audio signal by removing a component having a frequency higher than the preset frequency, if there is a component having a value of 0 among components having a frequency lower than the preset frequency.
[0013] An electronic device according to one or more embodiments of the present disclosure includes a memory storing instructions and at least one processor operatively coupled with the at least one memory, wherein the at least one processor executes the instructions to obtain a first audio signal including an audio signal corresponding to a first audio source and an audio signal corresponding to a second audio source, separate an audio signal corresponding to the first audio source in a band below a preset frequency from the first audio signal to obtain a second audio signal, separate an audio signal in a band above the preset frequency from the first audio signal to obtain a third audio signal, combine the second audio signal and the third audio signal to obtain a fourth audio signal, and, in each of a plurality of frames constituting the fourth audio signal, if an energy of a component below the preset frequency is less than an energy of a component above the preset frequency, remove a component above the preset frequency to obtain a fifth audio signal.
[0014] The at least one processor may execute the instructions so that, if the energy of a component below the preset frequency is greater than the energy of a component above the preset frequency, the component above the preset frequency may be maintained to obtain the fifth audio signal.
[0015] The at least one processor may execute the instructions to downsample the first audio signal at a sampling rate corresponding to the preset frequency, input the downsampled first audio signal into a neural network model, and separate the audio signal corresponding to the first audio source to obtain the second audio signal.
[0016] The step of obtaining the third audio signal may include obtaining a feature of a band that is equal to or greater than the preset frequency in the first audio signal based on the second audio signal, and obtaining the third audio signal using the obtained feature.
[0017] The band below the preset frequency may be a band below the preset frequency and above a specific frequency.
[0018] The at least one processor may execute the commands to obtain a fifth audio signal by removing components having a frequency higher than the preset frequency when a preset pattern is identified in each of the plurality of frames constituting the fourth audio signal.
[0019] The at least one processor may execute the instructions to obtain a fifth audio signal by removing components having a frequency higher than the preset frequency, if a value indicating a similarity between the shape of the component having a frequency lower than the preset frequency and the quadrant shape is greater than or equal to a preset value.
[0020] The at least one processor can execute the instructions to obtain a fifth audio signal by removing a component having a frequency higher than the preset frequency, if there is a component having a value of 0 among the components having a frequency lower than the preset frequency.
[0021] A non-transitory computer-readable recording medium comprising a program for executing a control method of an electronic device according to one or more embodiments of the present disclosure, the control method comprising: obtaining a first audio signal including an audio signal corresponding to a first audio source and an audio signal corresponding to a second audio source; obtaining a second audio signal by separating an audio signal corresponding to the first audio source in a band below a preset frequency from the first audio signal; obtaining a third audio signal by separating an audio signal in a band above the preset frequency from the first audio signal; and obtaining a fourth audio signal by combining the second audio signal and the third audio signal; and obtaining a fifth audio signal by removing a component above the preset frequency when an energy of a component below the preset frequency is less than an energy of a component above the preset frequency in each of a plurality of frames constituting the fourth audio signal.
[0022] The step of obtaining the fifth audio signal may include obtaining the fifth audio signal by maintaining the component that is higher than the preset frequency, if the energy of the component that is lower than the preset frequency is higher than the energy of the component that is higher than the preset frequency.
[0023] The step of obtaining the second audio signal may include down-sampling the first audio signal at a sampling rate corresponding to the preset frequency, inputting the down-sampled first audio signal into a neural network model, and separating the audio signal corresponding to the first audio source to obtain the second audio signal.
[0024] The step of obtaining the third audio signal may include obtaining a feature of a band that is equal to or greater than the preset frequency in the first audio signal based on the second audio signal, and obtaining the third audio signal using the obtained feature.
[0025] Aspects of specific embodiments of the present disclosure and other aspects will become apparent from the following detailed description taken in conjunction with the accompanying drawings.
[0026] FIG. 1 is a block diagram illustrating a configuration of an electronic device according to one or more embodiments of the present disclosure.
[0027] FIG. 2 is a diagram illustrating the operation of a plurality of modules according to one or more embodiments of the present disclosure.
[0028] FIG. 3 is a diagram illustrating a first audio signal according to one or more embodiments of the present disclosure.
[0029] FIG. 4 is a flowchart illustrating a method for a downsampling module to downsample a first audio signal according to one or more embodiments of the present disclosure.
[0030] FIG. 5 is a diagram illustrating a method for an electronic device according to one or more embodiments of the present disclosure to obtain a first audio signal from which high-band components have been removed.
[0031] FIG. 6 is a flowchart illustrating a method for an electronic device according to one or more embodiments of the present disclosure to obtain a third audio signal.
[0032] FIG. 7 is a diagram illustrating a method for an electronic device according to one or more embodiments of the present disclosure to obtain a fourth audio signal.
[0033] FIG. 8 is a diagram illustrating a method for an electronic device according to one or more embodiments of the present disclosure to obtain a fifth audio signal.
[0034] FIG. 9 is a diagram illustrating a method for an electronic device according to one or more embodiments of the present disclosure to obtain a fifth audio signal.
[0035] FIG. 10 is a diagram illustrating a method for an electronic device according to one or more embodiments of the present disclosure to obtain a fifth audio signal.
[0036] FIG. 11 is a diagram illustrating a method for an electronic device according to one or more embodiments of the present disclosure to obtain a fifth audio signal.
[0037] FIG. 12 is a diagram illustrating a method for an electronic device according to one or more embodiments of the present disclosure to obtain a fifth audio signal.
[0038] FIG. 13 is a diagram illustrating a method for an electronic device according to one or more embodiments of the present disclosure to obtain a fifth audio signal.
[0039] FIG. 14 is a diagram illustrating a method for an electronic device according to one or more embodiments of the present disclosure to obtain a fifth audio signal.
[0040] FIG. 15 is a diagram illustrating a method for an electronic device according to one or more embodiments of the present disclosure to obtain a fifth audio signal.
[0041] FIG. 16 is a diagram illustrating a method for an electronic device according to one or more embodiments of the present disclosure to obtain a fifth audio signal.
[0042] FIG. 17 is a flowchart illustrating a method for controlling an electronic device according to one or more embodiments of the present disclosure.
[0043] The present embodiments may be modified and have various embodiments. Therefore, specific embodiments are illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the scope to specific embodiments, but should be understood to encompass various modifications, equivalents, and / or alternatives of the embodiments of the present disclosure. In connection with the description of the drawings, similar reference numerals may be used for similar components.
[0044] In describing the present disclosure, if it is determined that a specific description of a related known function or configuration may unnecessarily obscure the gist of the present disclosure, a detailed description thereof will be omitted.
[0045] Additionally, the following embodiments may be modified in various other forms, and the scope of the technical concepts of the present disclosure is not limited to the following embodiments. Rather, these embodiments are provided to further faithfully and completely convey the technical concepts of the present disclosure to those skilled in the art.
[0046] The terminology used in this disclosure is for the purpose of describing specific embodiments only and is not intended to limit the scope of the rights. Singular expressions include plural expressions unless the context clearly dictates otherwise.
[0047] In this disclosure, expressions such as “has,” “can have,” “includes,” or “may include” indicate the presence of a corresponding feature (e.g., a component such as a number, function, operation, or part), and do not exclude the presence of additional features.
[0048] In this disclosure, expressions such as “A or B,” “at least one of A and / or B,” or “one or more of A or / and B” can include all possible combinations of the listed items. For example, “A or B,” “at least one of A and B,” or “at least one of A or B” can all refer to (1) including at least one A, (2) including at least one B, or (3) including both at least one A and at least one B.
[0049] The expressions “first,” “second,” “first,” or “second,” etc., used in this disclosure can describe various components, regardless of order and / or importance, and are only used to distinguish one component from another, but do not limit the components.
[0050] When it is said that a component (e.g., a first component) is “(operatively or communicatively) coupled with / to” or “connected to” another component (e.g., a second component), it should be understood that said component may be directly coupled to said other component, or may be coupled via another component (e.g., a third component).
[0051] On the other hand, when it is said that a component (e.g., a first component) is "directly connected" or "directly connected" to another component (e.g., a second component), it can be understood that no other component (e.g., a third component) exists between said component and said other component.
[0052] The expression "configured to" used in the present disclosure may be used interchangeably with, for example, "suitable for," "having the capacity to," "designed to," "adapted to," "made to," or "capable of." The term "configured to" may not necessarily mean only "specifically designed to" in terms of hardware.
[0053] Instead, in some contexts, the phrase "a device configured to" may mean that the device is "capable of" doing something in conjunction with other devices or components. For example, the phrase "a processor configured (or set) to perform A, B, and C" may mean a dedicated processor (150) for performing the actions, or a general-purpose processor (150) (e.g., a CPU or application processor) that can perform the actions by executing one or more software programs stored in a memory device.
[0054] Elements described as "modules" or "components" may be physically implemented by analog and / or digital circuits including one or more of logic gates, integrated circuits, microprocessors, microcontrollers, memory circuits, passive electronic components, and active electronic components.
[0055] Meanwhile, the various elements and areas in the drawings are schematically drawn. Therefore, the technical concept of the present invention is not limited by the relative sizes or spacing depicted in the attached drawings.
[0056] Hereinafter, with reference to the attached drawings, embodiments according to the present disclosure will be described in detail so that a person having ordinary knowledge in the technical field to which the present disclosure pertains can easily implement the present disclosure.
[0057] FIG. 1 is a block diagram illustrating a configuration of an electronic device according to one or more embodiments of the present disclosure.
[0058] The electronic device (100) may include at least one of a memory (110), a communication interface (120), and a processor (150). The electronic device (100) may further include other components in addition to the above components.
[0059] The electronic device (100) may be implemented as a server, but this is only one or more embodiments, and the electronic device (100) may be implemented in various forms, such as a PC, a smartphone, a TV, a smart TV, a set-top box, a mobile phone, a PDA (personal digital assistant), a laptop, a media player, an e-book reader, a digital broadcasting terminal, a navigation device, a kiosk, an MP3 player, a wearable device, a home appliance, and other mobile or non-mobile computing devices.
[0060] The memory (110) can store at least one instruction regarding the electronic device (100). The memory (110) can store an operating system (O / S) for driving the electronic device (100). In addition, the memory (110) can store various software programs or applications for operating the electronic device (100) according to various embodiments of the present disclosure. In addition, the memory (110) can include a semiconductor memory such as a flash memory (110) or a magnetic storage medium such as a hard disk.
[0061] Specifically, the memory (110) can store various software modules for operating the electronic device (100) according to various embodiments of the present disclosure, and the processor (150) can control the operation of the electronic device (100) by executing various software modules stored in the memory (110). That is, the memory (110) is accessed by the processor (150), and data reading / recording / modifying / deleting / updating, etc. can be performed by the processor (150).
[0062] Meanwhile, in the present disclosure, the term memory (110) may be used to mean a memory (110), a ROM, a RAM in a processor (150), or a memory card (e.g., a micro SD card, a memory stick) mounted in an electronic device (100).
[0063] And, the communication interface (120) includes a circuitry and is a configuration capable of communicating with external devices and servers. The communication interface (120) can communicate with external devices or servers based on a wired or wireless communication method. The communication interface (120) may include a Bluetooth module (not shown), a Wi-Fi module (not shown), an IR (infrared) module, a LAN (Local Area Network) module, an Ethernet module, etc. Here, each communication module may be implemented in the form of at least one hardware chip. In addition to the above-described communication method, the wireless communication module may include at least one communication chip that performs communication according to various wireless communication standards such as Zigbee, USB (Universal Serial Bus), MIPI CSI (Mobile Industry Processor Interface Camera Serial Interface), 3G (3rd Generation), 3GPP (3rd Generation Partnership Project), LTE (Long Term Evolution), LTE-A (LTE Advanced), 4G (4th Generation), 5G (5th Generation), etc. However, this is only one embodiment, and the communication interface (120) can utilize at least one communication module among various communication modules.
[0064] The user interface (130) may be implemented as a device such as a button, a touch pad, a mouse, and a keyboard, or as a touch screen capable of performing the aforementioned display and operation input functions. Here, the button may be a mechanical button, a touch pad, a wheel, or any other type of button formed on any area of the front, side, or back of the main body of the electronic device (100).
[0065] The microphone (140) is a component for receiving a user's voice or other sounds and converting them into audio data. The microphone (140) can receive the user's voice in an activated state. For example, the microphone (140) can be formed integrally on the upper side, the front side, the side side, etc. of the electronic device (100). The microphone (140) can include various components such as a microphone for collecting the user's voice in analog form, an amplifier circuit for amplifying the collected user's voice, an A / D conversion circuit for sampling the amplified user's voice and converting it into a digital signal, and a filter circuit for removing noise components from the converted digital signal.
[0066] And, the electronic device (100) can obtain the user's voice through the microphone (140) included in the electronic device (100). Alternatively, the electronic device (100) can obtain the user's voice from an external device equipped with a microphone. Specifically, the microphone can be provided in a separate external device, such as a remote control, a smartphone, a speaker, etc., that transmits a signal to the electronic device (100). Here, the microphone provided in the external device can digitize an analog voice signal, and the electronic device (100) can perform a communication connection with the external device through a communication interface (120) to receive the digitized voice signal.
[0067] According to one or more embodiments of the present disclosure, the microphone (140) can obtain a first audio signal including an audio signal corresponding to a first audio source and an audio signal corresponding to a second audio source.
[0068] The processor (150) can control the overall operation and function of the electronic device (100). Specifically, the processor (150) is connected to the configuration of the electronic device (100) including the memory (110), and can control the overall operation of the electronic device (100) by executing at least one command stored in the memory (110) as described above.
[0069] The processor (150) may be implemented in various ways. For example, the processor (150) may be implemented as at least one of an application specific integrated circuit (ASIC), a logic integrated circuit, an embedded processor, a microcomputer (Micom), a microprocessor, hardware control logic, a hardware finite state machine (FSM), and a digital signal processor (150).
[0070] In particular, the processor (150) may include one or more processors. Specifically, the one or more processors may include one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), an Accelerated Processing Unit (APU), a Many Integrated Core (MIC), a Digital Signal Processor (DSP), a Neural Processing Unit (NPU), a Main Processing Unit (MPU), a hardware accelerator, or a machine learning accelerator. The one or more processors may control one or any combination of other components of the electronic device and perform operations related to communication or data processing. The one or more processors may execute one or more programs or instructions stored in a memory. For example, the one or more processors may perform a method according to one or more embodiments of the present disclosure by executing one or more instructions stored in a memory.
[0071] When a method according to one or more embodiments of the present disclosure includes multiple operations, the multiple operations may be performed by one processor or by multiple processors. That is, when a first operation, a second operation, and a third operation are performed by a method according to one or more embodiments, the first operation, the second operation, and the third operation may all be performed by the first processor, or the first operation and the second operation may be performed by the first processor (150) and the third operation may be performed by the second processor (150).
[0072] One or more processors may be implemented as a single-core processor (150) including one core, or may be implemented as one or more multi-core processors (150) including multiple cores (e.g., homogeneous multi-cores or heterogeneous multi-cores). When one or more processors are implemented as a multi-core processor, each of the multiple cores included in the multi-core processor may include internal processor memory, such as cache memory or on-chip memory, and a common cache shared by the multiple cores may be included in the multi-core processor. In addition, each of the multiple cores (or some of the multiple cores) included in the multi-core processor may independently read and execute a program instruction for implementing a method according to one or more embodiments of the present disclosure, or all (or some) of the multiple cores may be linked to read and execute a program instruction for implementing a method according to one or more embodiments of the present disclosure.
[0073] When a method according to one or more embodiments of the present disclosure includes a plurality of operations, the plurality of operations may be performed by one core among the plurality of cores included in a multi-core processor, or may be performed by the plurality of cores. For example, when a first operation, a second operation, and a third operation are performed by a method according to one or more embodiments, the first operation, the second operation, and the third operation may all be performed by a first core included in the multi-core processor, or the first operation and the second operation may be performed by a first core included in the multi-core processor, and the third operation may be performed by a second core included in the multi-core processor.
[0074] In one or more embodiments of the present disclosure, the processor (150) may mean a system on a chip (SoC) in which one or more processors and other electronic components are integrated, a single-core processor, a multi-core processor, or a core included in a single-core processor or a multi-core processor, wherein the core may be implemented as a CPU, a GPU, an APU, a MIC, a DSP, an NPU, a hardware accelerator, or a machine learning accelerator, but embodiments of the present disclosure are not limited thereto.
[0075] The operation of the processor (150) for implementing various embodiments of the present disclosure may be implemented through a plurality of modules.
[0076] Specifically, data for a plurality of modules according to the present disclosure may be stored in a memory (110), and the processor (150) may access the memory (110) to load the data for the plurality of modules into a memory or buffer within the processor (150), and then implement various embodiments according to the present disclosure using the plurality of modules. At this time, the plurality of modules may include a downsampling module (111), a voice separation module (112), a high-band generation module (113), a high-band restoration module (114), and a high-band separation module (115).
[0077] However, at least one of the plurality of modules according to the present disclosure may be implemented in hardware and included in the processor (150) in the form of a system on chip.
[0078] Alternatively, at least one of the plurality of modules according to the present disclosure may be implemented as a separate external device, and the electronic device (100) and each module may communicate and perform operations according to the present disclosure.
[0079] Hereinafter, the operation of the processor (150) according to the present disclosure will be described in detail with reference to the attached drawings.
[0080] FIG. 2 is a diagram illustrating the operation of a plurality of modules according to one or more embodiments of the present disclosure.
[0081] Referring to FIG. 2, the electronic device (100) may obtain a first audio signal including an audio signal corresponding to a first audio source and an audio signal corresponding to a second audio source. That is, the first audio signal may be a signal including an audio signal corresponding to the first audio source and an audio signal corresponding to the second audio source. Here, the first audio source may refer to a speech of a first user, and the second audio source may refer to a speech of a second user.
[0082] In other words, the electronic device (100) can obtain a first audio signal including the voice of a first user and the voice of a second user.
[0083] The electronic device (100) of the present disclosure can acquire a first audio signal through a microphone (140) while a first user and a second user speak. Alternatively, the electronic device (100) can receive a first audio signal from an external device through a communication interface (120).
[0084] The first audio signal may include components of a first frequency band. For example, the first frequency band may be 0 kHz to 48 kHz.
[0085] Referring to FIG. 3, the first audio signal (300) can be expressed in the form of a spectrogram as illustrated in FIG. 3.
[0086] The electronic device (100) can obtain a second audio signal by separating a signal corresponding to the first audio source in a band below a preset frequency from the first audio signal.
[0087] Specifically, the electronic device (100) can downsample the first audio signal by inputting the first audio signal into a downsampling module (111).
[0088] FIG. 4 is a flowchart illustrating a method for a downsampling module to downsample a first audio signal according to one or more embodiments of the present disclosure.
[0089] Referring to FIG. 4, the downsampling module can input the first audio signal into a low pass filter to remove components in a band above a preset frequency from the first audio signal (S410). That is, the electronic device (100) can input the first audio signal into a low pass filter to obtain an audio signal including components in a band below the preset frequency from the first audio signal.
[0090] In the present disclosure, a band below a preset frequency may be referred to as a low-bandwidth band. And, a band above a preset frequency may be referred to as a high-bandwidth band.
[0091] For example, the preset frequency may be 16 kHz. In this case, the band below the preset frequency (low band) may be 0 kHz to 16 kHz. The band above the preset frequency (high band) may be 16 kHz to 48 kHz.
[0092] That is, the electronic device (100) can obtain an audio signal in which the high-band component of the first audio signal is removed and includes the low-band component of the first audio signal.
[0093] For example, the electronic device (100) can obtain a first audio signal from which a component in a frequency band of 8 kHz to 48 kHz is removed from a first audio signal including a component in a frequency band of 0 kHz to 48 kHz.
[0094] And, the downsampling module (111) can downsample the first audio signal from which high-band components have been removed.
[0095] At this time, the downsampling module (111) can downsample the first audio signal from which components of a band (i.e., high band) higher than a preset frequency are removed at a sampling rate corresponding to a preset frequency (S420).
[0096] Specifically, the electronic device (100) can downsample the first audio signal from which high-band components are removed at a ratio between the maximum frequency of the first audio signal and a preset frequency.
[0097] In other words, the electronic device (100) can downsample the first audio signal with the high-band component removed at a ratio between the maximum frequency of the high-band and the maximum frequency of the low-band (i.e., a preset frequency).
[0098] For example, the high band may be 16 kHz to 48 kHz, and the low band may be 0 kHz to 16 kHz. At this time, the maximum frequency of the high band may be 48 kHz, and the maximum frequency of the low band may be 16 kHz. At this time, the electronic device (100) may downsample the first audio signal with the high band component removed at a ratio of 3:1, which is 48 kHz: 16 kHz.
[0099] Referring to FIG. 5, the electronic device (100) can obtain a first audio signal (400) from which a low-band component (410) is maintained and a high-band component (420) is removed from a first audio signal (300).
[0100] Referring again to FIG. 2, the electronic device (100) can input a first audio signal downsampled by the downsampling module (111) to the voice separation module (112).
[0101] The voice separation module (112) can input a down-sampled first audio signal into a neural network model to obtain a second audio signal including an audio signal corresponding to the first audio source.
[0102] In the present disclosure, a neural network model can be trained to output audio signals corresponding to each of the plurality of audio sources by separating the audio signals, when an audio signal including audio signals corresponding to a plurality of audio sources is input.
[0103] That is, when an audio signal including an audio signal corresponding to a first audio source and an audio signal corresponding to a second audio source is input, the neural network model can be trained to output an audio signal corresponding to the first audio source and an audio signal corresponding to the second audio source.
[0104] In the present disclosure, the neural network model can be implemented in the form of a Depp Neural Network including an input layer, a hidden layer, and an output layer.
[0105] The neural network model may be stored in the memory (110). Alternatively, the neural network model may be stored in an external device. In this case, the voice separation module (112) may transmit the downsampled first audio signal to the external device and receive the second audio signal generated by the neural network model stored in the external device from the external device.
[0106] Referring again to FIG. 2, the electronic device (100) can input a first audio signal to a high-band generation module (113) to obtain an audio signal including components of a band (i.e., a high-band) that is higher than a preset frequency of the first audio signal.
[0107] FIG. 6 is a flowchart illustrating a method for a high-bandwidth generation module (113) to obtain a third audio signal according to one or more embodiments of the present disclosure.
[0108] Referring to FIG. 6, the high-band generation module (113) can input the first audio signal into a high-pass filter to remove components having a frequency lower than a preset frequency from the first audio signal (S610). That is, the high-band generation module (113) can input the first audio signal into a high-pass filter to obtain an audio signal including components having a frequency higher than a preset frequency from the first audio signal.
[0109] In other words, the high-band generation module (113) can obtain an audio signal in which the low-band component of the first audio signal is removed and includes the high-band component of the first audio signal.
[0110] In addition, the high-bandwidth generation module (113) can extract features of an audio signal from which components of a band below a preset frequency are removed from the first audio signal, and generate a third audio signal using the extracted features (S620). At this time, the third audio signal can include both an audio signal corresponding to the first audio source and an audio signal corresponding to the second audio source.
[0111] Specifically, a third audio signal can be generated by comparing a second audio signal corresponding to a first audio source and including an audio signal of a low-band component with an audio signal from which a low-band component has been removed from the first audio signal.
[0112] At this time, the high-band generation module (113) can obtain the characteristics of an audio signal from which low-band components have been removed based on the second audio signal.
[0113] At this time, the high-band generation module (113) can obtain characteristics of the energy of the audio signal from which the low-band component has been removed based on the energy of the second audio signal. Specifically, the high-band generation module (113) can obtain information about the difference between the energy of the second audio signal and the energy of the audio signal from which the low-band component has been removed.
[0114] Additionally, the high-band generation module (113) can obtain characteristics of the timbre of an audio signal from which low-band components have been removed based on the timbre of the second audio signal. Specifically, the high-band generation module (113) can obtain information about the difference between the timbre of the second audio signal and the timbre of an audio signal from which low-band components have been removed.
[0115] Additionally, the high-band generation module (113) can obtain characteristics of the harmonicity of an audio signal from which low-band components have been removed based on the harmonicity of a second audio signal. Specifically, the high-band generation module (113) can obtain information about the difference between the harmonicity of the second audio signal and the harmonicity of an audio signal from which low-band components have been removed.
[0116] In other words, the high-band generation module (113) can extract features of an audio signal from which low-band components have been removed, and parameterize the audio signal from which low-band components have been removed. In addition, the high-band generation module (113) can generate a third audio signal based on the parameters of the audio signal from which low-band components have been removed.
[0117] Meanwhile, according to one or more embodiments of the present disclosure, the operation of step S620 may be omitted. In this case, the third audio signal may be an audio signal from which components in a band below a preset frequency are removed from the first audio signal obtained in step S610.
[0118] Referring again to FIG. 2, the electronic device (100) can input the second audio signal and the third audio signal to the high-band restoration module (114). Then, the high-band restoration module (114) can combine the second audio signal and the third audio signal to obtain a fourth audio signal.
[0119] Referring to FIG. 7, the high-band restoration module (114) can obtain a fourth audio signal (710) by combining a second audio signal (400) corresponding to a first audio source and including a low-band component from a first audio signal (300) and a third audio signal (700) obtained by separating a component of a band higher than a preset frequency from the first audio signal (300).
[0120] At this time, a component in a band (low band) below a preset frequency in the fourth audio signal (710) may include an audio signal corresponding to the first audio source. In addition, a component in a band (high band) above a preset frequency in the fourth audio signal may include an audio signal corresponding to the first audio source and an audio signal corresponding to the second audio source. Therefore, since the audio sources that the low band component and the high band component of the fourth audio signal include are different, the high band component of the fourth audio signal may include noise. Here, the noise may be an audio signal corresponding to the second audio source in the high band component of the fourth audio signal. In other words, the high band component of the fourth audio signal may be a distorted signal.
[0121] Referring back to FIG. 2, the electronic device (100) can input the fourth audio signal to the high-band restoration module (114) to remove the component corresponding to the second audio source from the high-band components of the fourth audio signal. Accordingly, the high-band restoration module (114) can obtain a fifth audio signal from which the component corresponding to the second audio source is removed from the high-band components of the fourth audio signal.
[0122] Specifically, the high-band restoration module (114) can frequency-analyze each of the plurality of frames included in the fourth audio signal to identify whether to remove high-band components from each of the plurality of frames. At this time, the high-band restoration module (114) can frequency-analyze each of the plurality of frames of the fourth audio signal by performing a Fourier transform on each of the plurality of frames.
[0123] For example, referring to FIG. 8, the audio signal (810) in the first frame (711) among the multiple frames included in the fourth audio signal (710) may be as shown in FIG. 8.
[0124] For example, referring to FIG. 9, the audio signal (910) in the second frame (712) among the multiple frames included in the fourth audio signal (710) may be as illustrated in FIG. 9.
[0125] According to one or more embodiments of the present disclosure, the high-band restoration module (114) can remove distortion of the high-band by comparing the energy of the low-band and the energy of the high-band in the fourth audio signal.
[0126] Specifically, the electronic device (100) can obtain a fifth audio signal by removing a component of a band having a frequency higher than or equal to a preset frequency, if the energy of a component of a band having a frequency lower than or equal to a preset frequency is lower than the energy of a component of a band having a frequency higher than or equal to a preset frequency, in each of a plurality of frames constituting the fourth audio signal.
[0127] That is, a frame in which the energy of a component of a band below a preset frequency is less than the energy of a component of a band above a preset frequency may be a frame in which there is no or little audio signal corresponding to a first audio source and an audio signal corresponding to a second audio source exists in a high band. At this time, the high band restoration module (114) may remove an audio signal corresponding to the second audio source from a frame in which there is no or little audio signal corresponding to the first audio source and an audio signal corresponding to the second audio source exists in a high band.
[0128] Here, the band below the preset frequency can be from 0 kHz to the preset frequency. For example, the band below the preset frequency can be from 0 kHz to 16 kHz.
[0129] For example, referring to FIG. 10, the high-band restoration module (114) may compare the first energy of a component included in a frequency band of 0 kHz to 16 kHz, which is less than a preset frequency of 16 kHz, in a first frame among a plurality of frames constituting a fourth audio signal, with the second energy of a component included in a frequency band of 16 kHz to 48 kHz, which is greater than or equal to a preset frequency of 16 kHz. At this time, the first energy may be less than the second energy.
[0130] At this time, if the first energy is less than the second energy, the high-band restoration module (114) can remove components of a band greater than 8 kHz in the first frame. That is, an audio signal corresponding to a second audio source included in the high-band in the first frame can be removed.
[0131] Accordingly, referring to FIG. 11, the audio signal (1110) in the first frame can be converted as shown in FIG. 11.
[0132] Meanwhile, a band below a preset frequency may refer to a band from which a specific frequency band is excluded among the frequency bands below the preset frequency. The preset frequency as described above may be referred to as a preset first frequency. In this case, the band below the preset frequency may be from a preset second frequency to a preset first frequency. For example, the band below the preset frequency may be from 8 kHz to 16 kHz.
[0133] For example, referring to FIG. 12, the high-band restoration module (114) can compare the first energy of the component included in the 8 kHz to 16 kHz frequency band and the second energy of the component included in the 8 kHz to 48 kHz frequency band in the first frame constituting the fourth audio signal.
[0134] At this time, if the first energy is less than the second energy, the high-band restoration module (114) can remove components of a band greater than 8 kHz in the first frame. That is, an audio signal corresponding to a second audio source included in the high-band in the first frame can be removed.
[0135] Accordingly, referring to FIG. 13, the audio signal (1310) in the first frame can be converted as illustrated in FIG. 13.
[0136] Meanwhile, if the first energy is greater than the second energy in the second frame among the multiple frames included in the fourth audio signal, the high-band restoration module (114) can maintain the components included in the high-band in the second frame without removing them.
[0137] For example, referring to FIG. 14, the high-band restoration module (114) may compare the first energy of a component included in a frequency band of 0 kHz to 16 kHz, which is less than a preset frequency of 16 kHz, in a second frame among a plurality of frames constituting a fourth audio signal, with the second energy of a component included in a frequency band of 16 kHz to 48 kHz, which is greater than a preset frequency of 16 kHz. At this time, the first energy may be greater than the second energy.
[0138] If the second energy is greater than the first energy, the high-band restoration module (114) can maintain the components included in the high band in the second frame without removing them. That is, a frame in which the first energy is greater than the second energy may be a frame in which the signal corresponding to the first audio source is included in both the low band and the high band. Accordingly, the high-band restoration module (114) can maintain the signal corresponding to the first audio source included in the high band.
[0139] Likewise, referring to FIG. 15, the high-band restoration module (114) can compare the first energy of the component included in the 8 kHz to 16 kHz frequency band with the second energy of the component included in the 8 kHz to 48 kHz frequency band in the first frame constituting the fourth audio signal. At this time, if the first energy is greater than the second energy, the high-band restoration module (114) can maintain the component included in the high band without removing it.
[0140] Meanwhile, according to one or more embodiments of the present disclosure, in addition to the energy comparison method described above, the electronic device (100) may also analyze a pattern of an audio signal graph to remove an audio signal corresponding to a second audio source.
[0141] Specifically, when a preset pattern is identified in each of a plurality of frames constituting the fourth audio signal, the high-band restoration module (114) can obtain a fifth audio signal by removing components included in a band higher than a preset frequency.
[0142] For example, referring to FIG. 16, if the value indicating the similarity between the shape of a component included in a band (low band) below a preset frequency and the shape of a quadrant (1610) is greater than or equal to a preset value, the high band restoration module (114) can obtain a fifth audio signal by removing the component included in a band above the preset frequency. Meanwhile, the shape to be compared with the shape of the graph in the component included in the low band can be implemented in various shapes such as a triangle or a semicircle in addition to the quadrant (1610).
[0143] At this time, if the value indicating the similarity between the shape of the graph and the shape of the quadrant (1610) in the components included in the band below the preset frequency is below the preset value, the high-band restoration module (114) can obtain the fifth audio signal by maintaining the components included in the band above the preset frequency without removing them.
[0144] Alternatively, referring to FIG. 16, if there is a component (spectrum null) whose amplitude value is 0 in a component included in a band below a preset frequency, the high-band restoration module (114) can obtain a fifth audio signal by removing the component included in a band above the preset frequency.
[0145] At this time, if there is no point where the amplitude value becomes 0 in the component included in the band below the preset frequency, the high-band restoration module (114) can obtain the fifth audio signal by maintaining the component included in the band above the preset frequency without removing it.
[0146] Meanwhile, the first method of comparing energy between the low and high bands described above to identify whether to remove components included in the high band and the second method of analyzing the pattern of the audio signal graph can be used together.
[0147] For example, the high-band restoration module (114) may obtain a fifth audio signal by removing the audio signal of the component included in the high-band when the energy of the component included in the high-band is greater than the energy of the component included in the low-band and a preset pattern is identified together.
[0148] FIG. 17 is a flowchart illustrating a method for controlling an electronic device (100) according to one or more embodiments of the present disclosure.
[0149] The electronic device (100) can obtain a first audio signal including an audio signal corresponding to a first audio source and an audio signal corresponding to a second audio source (S1710).
[0150] The electronic device (100) can obtain a second audio signal by separating an audio signal corresponding to the first audio source in a band below a preset frequency from the first audio signal (S1720).
[0151] Specifically, the electronic device (100) can downsample a first audio signal at a sampling rate corresponding to a preset frequency, input the downsampled first audio signal into a neural network model, and separate the audio signal corresponding to the first audio source to obtain a second audio signal.
[0152] The electronic device (100) can obtain a third audio signal by separating an audio signal of a band higher than a preset frequency from the first audio signal (S1730).
[0153] Specifically, the electronic device (100) acquires a feature of a band that is higher than a preset frequency in the first audio signal based on the second audio signal, and acquires a third audio signal using the acquired feature.
[0154] The electronic device (100) can obtain a fourth audio signal by combining the second audio signal and the third audio signal (S1740).
[0155] The electronic device (100) can obtain a fifth audio signal by removing a component included in a band having a preset frequency or higher, if the energy of the component included in a band having a preset frequency or higher is lower than the energy of the component included in a band having a preset frequency or higher, in each of the plurality of frames constituting the fourth audio signal (S1750).
[0156] At this time, the band below the preset frequency may be a band below the preset frequency and above a specific frequency.
[0157] At this time, if the energy of a component below a preset frequency is greater than the energy of a component above a preset frequency, the electronic device (100) can obtain a fifth audio signal by maintaining the component above a preset frequency.
[0158] Meanwhile, when a preset pattern is identified in each of the plurality of frames constituting the fourth audio signal, the electronic device (100) can obtain a fifth audio signal by removing components included in a band higher than a preset frequency.
[0159] Specifically, if a value indicating a similarity between the shape of a component included in a band below a preset frequency and a quadrant shape is greater than or equal to a preset value, the electronic device (100) can obtain a fifth audio signal by removing a component included in a band above a preset frequency.
[0160] Alternatively, if there is a component whose value is 0 in a band included in a frequency lower than a preset frequency, the electronic device (100) can obtain a fifth audio signal by removing a component included in a band higher than a preset frequency.
[0161] Although various embodiments have been described above, each embodiment is not necessarily implemented individually, and may be implemented together in a single product by being combined in whole or in part with at least one other embodiment.
[0162] Meanwhile, the terms "part" or "module" used in the present disclosure include units composed of hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A "part" or "module" may be an integrally composed component, a minimum unit performing one or more functions, or a portion thereof. For example, a module may be composed of an application-specific integrated circuit (ASIC).
[0163] Various embodiments of the present disclosure may be implemented as software including instructions stored in a machine-readable storage medium that can be read by a machine (e.g., a computer). The device, which is a device capable of calling instructions stored in the storage medium and operating according to the called instructions, may include an electronic device (100) according to the disclosed embodiments. When the instructions are executed by a processor, the processor may directly or under the control of the processor perform a function corresponding to the instructions using other components. The instructions may include code generated or executed by a compiler or interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, "non-transitory" means that the storage medium does not contain signals and is tangible, but does not distinguish between data being stored semi-permanently or temporarily in the storage medium.
[0164] According to one or more embodiments, the methods according to the various embodiments disclosed herein may be provided as a computer program product. The computer program product may be traded as a commodity between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or online through an application store (e.g., Play Store™). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
[0165] Each component (e.g., a module or a program) according to various embodiments may be composed of one or more entities, and some of the aforementioned sub-components may be omitted, or other sub-components may be further included in various embodiments. Alternatively or additionally, some components (e.g., a module or a program) may be integrated into a single entity, which may perform the same or similar functions as those performed by each of the respective components prior to integration. Operations performed by a module, program, or other component according to various embodiments may be executed sequentially, in parallel, iteratively, or heuristically, or at least some operations may be executed in a different order, omitted, or other operations may be added.
[0166] While exemplary embodiments have been illustrated and described above, it will be apparent to those skilled in the art that modifications and variations may be made therein without departing from the scope of the present disclosure as defined by the appended claims.
Claims
1. In a method for controlling an electronic device, A step of obtaining a first audio signal including an audio signal corresponding to a first audio source and an audio signal corresponding to a second audio source; A step of obtaining a second audio signal by separating an audio signal corresponding to the first audio source in a band below a preset frequency from the first audio signal; A step of obtaining a third audio signal by separating an audio signal of a band higher than the preset frequency from the first audio signal; and A step of combining the second audio signal and the third audio signal to obtain a fourth audio signal; A control method, comprising: a step of obtaining a fifth audio signal by removing a component higher than or equal to the preset frequency if the energy of the component lower than the preset frequency is lower than the energy of the component higher than or equal to the preset frequency in each of the plurality of frames constituting the fourth audio signal.
2. In paragraph 1, The step of obtaining the fifth audio signal is: A control method for obtaining the fifth audio signal by maintaining the component above the preset frequency if the energy of the component below the preset frequency is greater than the energy of the component above the preset frequency.
3. In paragraph 1, The step of obtaining the second audio signal comprises: Downsampling the first audio signal at a sampling rate corresponding to the above preset frequency, A control method for inputting the downsampled first audio signal into a neural network model to separate the audio signal corresponding to the first audio source and obtain the second audio signal.
4. In paragraph 1, The step of obtaining the third audio signal is: Obtaining the characteristics of a band above the preset frequency in the first audio signal based on the second audio signal, A control method for obtaining the third audio signal by using the above features.
5. In paragraph 1, A control method wherein a band below the preset frequency is below the preset frequency and above a specific frequency.
6. In paragraph 1, The step of obtaining the fifth audio signal is: A control method further comprising: a step of obtaining a fifth audio signal by removing a component having a frequency higher than the preset frequency when a preset pattern is identified in each of a plurality of frames constituting the fourth audio signal.
7. In paragraph 6, The step of obtaining the fifth audio signal is: A control method for obtaining a fifth audio signal by removing a component having a frequency higher than the preset frequency, if a value representing the similarity between the shape of a component having a frequency lower than the preset frequency and the quadrant shape is greater than or equal to a preset value.
8. In paragraph 6, The above control method is, A control method for obtaining a fifth audio signal by removing a component having a value of 0 in components having a frequency lower than the preset frequency.
9. In electronic devices, At least one memory for storing instructions; and At least one processor operatively coupled with at least one memory; At least one processor executes the instructions, Obtaining a first audio signal including an audio signal corresponding to a first audio source and an audio signal corresponding to a second audio source, A second audio signal is obtained by separating an audio signal corresponding to the first audio source in a band below a preset frequency from the first audio signal, A third audio signal is obtained by separating an audio signal of a band higher than the preset frequency from the first audio signal, By combining the second audio signal and the third audio signal, a fourth audio signal is obtained, An electronic device that obtains a fifth audio signal by removing a component that is equal to or greater than the preset frequency if the energy of the component that is equal to or less than the preset frequency is less than the energy of the component that is equal to or greater than the preset frequency in each of the plurality of frames constituting the fourth audio signal.
10. In paragraph 9, At least one processor executes the instructions, An electronic device that obtains the fifth audio signal by maintaining the component above the preset frequency if the energy of the component below the preset frequency is greater than the energy of the component above the preset frequency.
11. In paragraph 9, At least one processor executes the instructions, Downsampling the first audio signal at a sampling rate corresponding to the above preset frequency, An electronic device that inputs the downsampled first audio signal into a neural network model to separate an audio signal corresponding to the first audio source and obtains the second audio signal.
12. In paragraph 9, The step of obtaining the third audio signal is: Obtaining the characteristics of a band above the preset frequency in the first audio signal based on the second audio signal, An electronic device that obtains the third audio signal by using the above-mentioned acquired features.
13. In paragraph 9, An electronic device wherein the band below the preset frequency is a band below the preset frequency and above a specific frequency.
14. In paragraph 9, At least one processor executes the instructions, An electronic device that, when a preset pattern is identified in each of a plurality of frames constituting the fourth audio signal, obtains a fifth audio signal by removing components having a frequency higher than the preset frequency.
15. In paragraph 14, At least one processor executes the instructions, An electronic device that obtains a fifth audio signal by removing components above the preset frequency when the value representing the similarity between the shape of the component below the preset frequency and the quadrant shape is equal to or greater than the preset value.
Citation Information
Patent Citations
Method for enhancing audio signal of low frequency and medium frequency and apparatus therefor
KR1020080063647A
Systems and methods for reconstructing decomposed audio signals
KR1020110111409A
Methods and systems for efficient recovery of high frequency audio content
KR1020140116520A
Method and apparatus for removing of harmonics component of synthesized sound
KR1020160053582A
Processing Audio Signals
US20170111737A1
