Mixed audio signal separation method and system based on deep learning
Through the mixed audio signal separation method based on deep learning, using time domain complexity and sound source diversity analysis, combined with the deep learning model, the problem of unsatisfactory separation effect of complex mixed audio signals in the existing technology is solved, and high precision and low noise are achieved. Complexity of signal separation effects.
Patent Information
- Application Number
- CN202411016667.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-29
AI Technical Summary
The existing technology has unsatisfactory separation effects when processing complex mixed audio signals. It is especially difficult to process nonlinear and non-Gaussian signals, has high computational complexity, and is difficult to meet the requirements of real-time and accurate separation.
Using a mixed audio signal separation method based on deep learning, through time domain complexity calculation, audio source diversity analysis, interference component expected interference intensity calculation and noise interference compensation, combined with Gaussian filtering processing and deep learning model for signal separation, to improve separation accuracy and accuracy.
It achieves accurate separation of complex mixed audio signals, improves separation precision and accuracy, reduces computational complexity, and is suitable for real-time application scenarios.
Smart Images

Figure CN118553263B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of audio processing technology, and in particular to a mixed audio signal separation method and system based on deep learning. Background Art
[0002] In the field of modern communication and audio processing, there is an increasing demand for processing mixed audio signals. Mixed audio signals refer to mixed audio data containing multiple sources (such as different speakers, musical instruments, etc.). In many scenarios, such as teleconferencing, speech recognition, music production, etc., these mixed signals need to be separated into individual signals from each source for further analysis and processing.
[0003] Traditional audio signal separation methods are based on signal processing techniques and feature engineering, such as independent component analysis and blind source separation methods. However, these methods often rely on strict signal models and manually extracted features, and have limited effects on complex mixed audio signal processing.
[0004] In the process of separating mixed audio signals, the existing technology has unsatisfactory separation effect due to the coupling effect between different signal sources, and traditional methods are difficult to process signals with nonlinear and non-Gaussian distributions. For real-time applications, the computational complexity of existing methods is high and it is difficult to meet the requirements of instant and accurate separation. Summary of the invention
[0005] In view of the above problems, the present application provides a mixed audio signal separation method and system based on deep learning, which can accurately and effectively separate different source speech signals in mixed audio based on deep learning, has good generalization ability, and can process mixed audio signals of various types and complexities.
[0006] In a first aspect, an embodiment of the present application provides a mixed audio signal separation method based on deep learning, comprising:
[0007] Acquire first mixed audio data;
[0008] Preprocessing the first mixed audio data to obtain second mixed audio data;
[0009] Performing time domain complexity calculation on the second mixed audio data to obtain waveform complexity of the second mixed audio data in the time domain;
[0010] Calculating the sound source diversity of the second mixed audio data according to the waveform complexity and the spectrum diagram of the second mixed audio data in the time domain to obtain the sound source diversity of the second mixed audio data;
[0011] Performing independence and partial expectation analysis on each audio signal in the second mixed audio data to obtain an expected interference intensity value of the interference component in the second mixed audio data;
[0012] Calculating a noise interference compensation value of the second mixed audio data according to the sound source diversity of the second mixed audio data and the expected interference intensity value of the interference component in the second mixed audio data;
[0013] Using the noise interference compensation value as the filtering strength of the Gaussian filter to perform smoothing filtering on the second mixed audio data to obtain third mixed audio data;
[0014] The third mixed audio data is input into a pre-trained deep learning model to obtain an audio data separation result corresponding to the first mixed audio data.
[0015] In a possible implementation, preprocessing the first mixed audio data to obtain the second mixed audio data includes:
[0016] The sampling rate and amplitude range of the first mixed audio data are adjusted to obtain second mixed audio data.
[0017] In a possible implementation, performing time domain complexity calculation on the second mixed audio data to obtain waveform complexity of the second mixed audio data in the time domain includes: a calculation formula for the waveform complexity of the second mixed audio data in the time domain is:
[0018] ,
[0019] in, Represents the waveform complexity of mixed audio data in the time domain; and They represent the slope of two adjacent data points in the waveform curve of the mixed audio data in the time domain. Group and Slope value of the group; The total number of groups representing the absolute value of the difference between any two slope values; Indicates The absolute value of the difference between the group slope values.
[0020] In a possible implementation, performing sound source diversity calculation on the second mixed audio data according to the waveform complexity and the spectrum diagram of the second mixed audio data in the time domain to obtain the sound source diversity of the second mixed audio data includes:
[0021] Performing Fourier transform processing on the second mixed audio data to obtain a frequency spectrum corresponding to the second mixed audio data;
[0022] According to the slope value between two adjacent data points in the spectrum graph, the fluctuation variance of the slope value of the waveform curve in the spectrum graph is calculated;
[0023] The spectrum graph is detected using a peak point detection algorithm to obtain the number of peak points in the spectrum graph;
[0024] The sound source diversity calculation is performed based on the waveform complexity of the second mixed audio data in the time domain, the fluctuation variance of the slope value of the waveform curve in the spectrum graph, and the number of peak points in the spectrum graph to obtain the sound source diversity of the second mixed audio data.
[0025] In a possible implementation, the method further includes: a calculation formula for the sound source diversity of the second mixed audio data is:
[0026] ,
[0027] in, Represents the diversity of sound sources in mixed audio data; Representing the time-domain complexity of mixed audio data; The fluctuation variance of the slope value of the waveform curve in the frequency spectrum of the mixed audio data; Represents the number of peak points in the frequency spectrum of the mixed audio data.
[0028] In a possible implementation, performing independence and partial expectation analysis on each audio signal in the second mixed audio data to obtain an expected interference intensity value of an interference component in the second mixed audio data includes:
[0029] Using an independent component analysis method to separate and process the second mixed audio data to obtain multiple audio signals in the second mixed audio data;
[0030] Calculate the partial expectancy of each audio signal in the multiple audio signals according to the kurtosis value of each audio signal in the multiple audio signals, the kurtosis value of the standard Gaussian distribution and the distribution probability of the data;
[0031] According to the partial expectation of each audio signal, the expected interference intensity value of the interference component in the second mixed audio data is calculated.
[0032] In a possible implementation, the method further includes: a calculation formula for the partial expectancy of each audio signal in the plurality of audio signals is:
[0033] ,
[0034] in, Indicates The expected nature of an audio signal; and Respectively represent the separated audio signals Middle data points and The distribution probability of data points; The total number of groups representing the absolute value of the difference between the distribution probabilities of any two data points, Represents the absolute value of a set of differences; Represents a single audio signal The absolute value of the difference between the kurtosis value in and the kurtosis value of the standard Gaussian distribution, Represents a constant that is not 0. .
[0035] In a possible implementation, according to the partial expectation of each audio signal, the expected interference intensity value of the interference component in the second mixed audio data is calculated, including: the calculation formula of the expected interference intensity value of the interference component in the second mixed audio data is:
[0036] ,
[0037] in, Represents the expected interference intensity value of the interference component in the mixed audio data; and Respectively represent and The partial expectation of an audio signal; The total number of groups representing the difference between the partial expectations of any two audio signals, represents one of the sets of differences; Represents the average of the partial expectedness of all individual audio signals.
[0038] In a possible implementation, according to the sound source diversity of the second mixed audio data and the expected interference intensity value of the interference component in the second mixed audio data, the noise interference compensation value of the second mixed audio data is calculated, including: the calculation formula of the noise interference compensation value of the second mixed audio data is:
[0039] ,
[0040] in, A noise interference compensation value representing mixed audio data; Indicates the source diversity of the mixed audio signal. Represents the expected interference intensity value of the interference component in the mixed audio data. represents the exponential normalization function.
[0041] In a second aspect, an embodiment of the present application provides a mixed audio signal separation system based on deep learning, comprising a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, it implements the various possible embodiments of the first aspect.
[0042] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed in a computer, the computer is caused to execute various possible implementation embodiments of the first aspect.
[0043] The beneficial effect of the present application is that in the process of audio signal data processing, the present application needs to arbitrarily combine different audio sources in the audio signal to output a new audio data, provided that the different sound sources in the mixed audio need to be accurately identified and separated. First, the diversity of sound sources in the mixed audio signal data is obtained according to the performance of the mixed audio data in the time domain and the frequency domain, and then the different sound source components in the mixed audio signal are predicted according to the method of blind source separation, and the noise interference intensity in the mixed audio signal data is obtained according to the diversity of sound sources and the deviation of blind source separation, and then the mixed audio signal is purified to obtain clean audio data. The deep learning model is improved and adjusted according to the separation of the mixed audio signal, which improves the generalization ability of the deep learning model, makes the mixed audio signal separation method and system based on deep learning more stable and accurate, and effectively improves the precision and accuracy of the separation of mixed audio signals. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a schematic diagram of an implementation environment for separation of mixed audio signals based on deep learning provided in an embodiment of the present application;
[0045] Figure 2 It is a flowchart of a mixed audio signal separation method based on deep learning provided in an embodiment of the present application;
[0046] Figure 3 It is a structural block diagram of a mixed audio signal separation system based on deep learning provided in an embodiment of the present application;
[0047] Figure 4 It is a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.
[0049] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.
[0050] It should be noted that the modifications of "one" and "plurality" mentioned in the present application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0051] The technical solution of the embodiment of the present application is suitable for mixed audio separation application scenarios. By adopting the technical solution of the embodiment of the present application, the audio signal of a specific sound source collected by a microphone array can be separated into a specific audio channel, thereby realizing the separation of each signal component in the mixed audio signal into each audio channel, which can improve the purity of audio separation.
[0052] Blind source separation technology is a technology that studies the separation of independent source signals from mixed signals measured by a group of sensors, using only the weak known condition that the source signals are independent of each other, when the transfer function of the system, the mixing coefficient of the source signal and its probability distribution are unknown. Using blind source separation technology to separate the sound source signals of mixed audio signals collected by microphone arrays is a relatively common audio separation technology.
[0053] However, in actual applications, it is found that traditional audio signal separation methods are based on signal processing technology and features, such as independent component analysis and blind source separation methods. However, these methods often rely on strict signal models and manually extracted features, and have limited processing effects on complex mixed audio signals. They cannot separate different sound source signals into different audio channels well, and audio mixing often occurs.
[0054] Based on the above-mentioned technical status, the embodiment of the present application proposes a new audio separation solution. This solution uses a deep learning model to learn complex audio features and patterns. Compared with traditional methods such as methods based on independent component analysis, it provides higher separation quality and accuracy. After being trained on a large number of data sets, the deep learning model usually has good generalization ability and can process mixed audio signals of various types and degrees of complexity. It can avoid mixing of audio signals separated from different audio channels, which is beneficial to improving the purity of audio separation.
[0055] The embodiments of the present application are described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0056] See also Figure 1 As shown, a schematic diagram of an implementation environment for separation of mixed audio signals in an embodiment of the present application is shown, wherein the implementation environment mainly includes one or more microphone arrays 11, and a mixed audio signal separation processing device 12 respectively connected to each microphone array 11.
[0057] The microphone array 11 may be a microphone array of any type and any number of microphones in any formation, for example, a linear microphone array composed of two or more microphones, or a circular or rectangular microphone array composed of three or more microphones. The microphone array 11 may be a microphone array set in any space, for example, a microphone array set in a specific position in a room, studio, carriage, etc. Alternatively, the microphone array 11 may also be integrated on a terminal device, which may be placed in any space. The terminal device may be, for example, an intelligent terminal device (such as a portable handheld device), a computer (personal computer or laptop computer, etc.), a self-service terminal, an intelligent robot, a vehicle-mounted terminal, and a wearable device. The intelligent terminal device may include a smart phone, a tablet computer, a personal digital assistant, etc.; the self-service terminal may include a self-service inquiry terminal, a self-service terminal, etc.; the intelligent robot may include a service robot, etc.; the wearable device may include a head-mounted display, a smart watch, a smart bracelet, and other devices.
[0058] The mixed audio signal separation processing device 12 is used to process the audio signal collected by the microphone array 11 , specifically to separate the mixed audio signal collected by the microphone array 11 .
[0059] One or more services or applications capable of performing audio signal separation processing are running on the mixed audio signal separation processing device 12. As an optional implementation, the mixed audio signal separation processing device 12 can be a device with audio data processing function, such as a computer or a server.
[0060] The microphone array 11 and the mixed audio signal separation processing device 12 can be connected via a wired or wireless communication link. When the two are connected via a wired communication link, they can be connected via any type of audio signal line such as a coaxial signal line, a digital signal line, an optical cable signal line, a balanced signal line, etc. Figure 1As shown, when the two are connected via a wireless communication link, they can be connected to each other via network 13. Network 13 can be any type of network. For example, network 13 can be a network that can be subdivided into multiple subnetworks. The network 13 or the multiple subnetworks included in network 13 can be a local area network, Ethernet, token ring, wide area network, Internet, virtual network, virtual private network, intranet, extranet, public switched telephone network, infrared network, wireless network (such as Bluetooth, WIFI), mobile network (such as 4G, 5G), Internet of Things and / or any combination of these and / or other networks.
[0061] Furthermore, the mixed audio signal separation processing device 12 may also include a memory for storing the original audio signal collected by the microphone array 11 , or storing the audio signal processed by the mixed audio signal separation processing device 12 .
[0062] See also Figure 2 As shown, the embodiment of the present application discloses a mixed audio signal separation method based on deep learning, including:
[0063] Step S11, obtaining first mixed audio data;
[0064] Step S12, preprocessing the first mixed audio data to obtain second mixed audio data;
[0065] Step S13, performing time domain complexity calculation on the second mixed audio data to obtain the waveform complexity of the second mixed audio data in the time domain;
[0066] Step S14, performing sound source diversity calculation on the second mixed audio data according to the waveform complexity and the spectrum diagram of the second mixed audio data in the time domain to obtain the sound source diversity of the second mixed audio data;
[0067] Step S15, performing independence and partial expectation analysis on each audio signal in the second mixed audio data to obtain an expected interference intensity value of the interference component in the second mixed audio data;
[0068] Step S16, calculating a noise interference compensation value of the second mixed audio data according to the sound source diversity of the second mixed audio data and the expected interference intensity value of the interference component in the second mixed audio data;
[0069] Step S17, using the noise interference compensation value as the filtering strength of the Gaussian filter to perform smoothing filtering on the second mixed audio data to obtain third mixed audio data;
[0070] Step S18: input the third mixed audio data into a pre-trained deep learning model to obtain an audio data separation result corresponding to the first mixed audio data.
[0071] First, the original audio signals are obtained from the audio input device (such as a microphone array). These signals can be mono or multi-channel, depending on the system configuration and requirements. At the same time, it should be noted that the mixed audio signal separation processing device needs to process real-time audio data streams and needs to use appropriate audio interfaces and data stream processing technologies, which may involve real-time data sampling, buffering and transmission technologies to ensure the stability and timeliness of the audio data.
[0072] In the steps of the above embodiment, firstly, mixed audio data is obtained, and the diversity of sound sources in the mixed audio signal data is obtained according to the performance of the mixed audio data in the time domain and the frequency domain, and then the independence and partial expectation of different sound source components in the mixed audio signal are analyzed according to the blind source separation method, and the noise interference intensity in the mixed audio signal data is obtained according to the diversity of sound sources and the partial expectation of blind source separation, and finally the noise interference compensation value of the mixed audio data is obtained, and then the mixed audio signal is purified to obtain clean mixed audio data, and the clean mixed audio data is input into a pre-trained deep learning model to obtain the audio data separation result corresponding to the first mixed audio data. The deep learning model is improved and adjusted according to the separation of the mixed audio signal, so as to improve the generalization ability of the deep learning model, so that the mixed audio signal separation method and system based on deep learning are more stable and accurate, and the precision and accuracy of the separation of mixed audio signals are effectively improved.
[0073] In an optional embodiment of the present application, preprocessing the first mixed audio data to obtain the second mixed audio data includes:
[0074] The sampling rate and amplitude range of the first mixed audio data are adjusted to obtain second mixed audio data.
[0075] It should be noted that after obtaining the original mixed audio data, the mixed audio data needs to be preprocessed. The preprocessing includes re-adjusting the sampling rate of the mixed audio data. The common sampling rate is 44.1kHz or 48kHz, and the bit depth is usually 16 bits or 24 bits; adjusting the amplitude range of the audio signal to ensure that all signals are processed at the same volume level.
[0076] In the process of separating mixed audio signals, since audio signals from different sources of the mixed audio may overlap in time and frequency, it is difficult to accurately separate each individual audio source; and mixed audio often contains environmental noise and reverberation effects, which will interfere with the deep learning model's accurate separation of audio signals, resulting in poor audio quality after separation or unclear source signals.
[0077] In the process of using the independent component analysis method to separate the obtained mixed audio signal data, the abnormal behavior that does not meet the decomposition rules does not entirely come from the interference of noise. There may also be coupling effects between different audio source signals. In order to ensure that the noise in the mixed audio signal data is effectively removed and thereby improve the generalization ability of the deep learning model, it is necessary to accurately locate the interference in the separation process.
[0078] In an optional embodiment of the present application, a time domain complexity calculation is performed on the second mixed audio data to obtain the waveform complexity of the second mixed audio data in the time domain, including: a calculation formula for the waveform complexity of the second mixed audio data in the time domain is:
[0079] ,
[0080] in, Represents the waveform complexity of mixed audio data in the time domain; and They represent the slope of two adjacent data points in the waveform curve of the mixed audio data in the time domain. Group and Slope value of the group; The total number of groups representing the absolute value of the difference between any two slope values; Indicates The difference between the slope values of a group (there is a group difference between any two slope values, Represents a set of differences, which exist group difference).
[0081] It should be noted that in the mixed audio signal separation method based on deep learning, it is necessary to extract the state features of the mixed audio from multiple aspects, including the extraction of time domain waveform and spectrum features. The extracted features can be used alone or in combination. The purpose is to provide supporting data for the deep learning model and the accurate separation of mixed audio signals.
[0082] Specifically, a mixed audio signal within a period of time is obtained, and the mixed audio signal presents certain waveform characteristics and energy distribution characteristics in time sequence; according to the mixed audio signal curve in the time domain, there is a set of slope values between two adjacent data points , and then calculate the waveform complexity of the mixed audio data in the time domain according to the above formula.
[0083] In the above-mentioned embodiment steps, It indicates the waveform complexity of the mixed audio signal in the time domain. The more complex the waveform is, the more audio with different intensities there are in the mixed audio signal, that is, there may be more sound sources. The larger the average value is, the higher the time domain complexity of the mixed audio signal is, which provides data support for calculating the diversity of sound sources in the mixed audio signal.
[0084] In an optional embodiment of the present application, performing sound source diversity calculation on the second mixed audio data according to the waveform complexity and the spectrum diagram of the second mixed audio data in the time domain to obtain the sound source diversity of the second mixed audio data includes:
[0085] Performing Fourier transform processing on the second mixed audio data to obtain a frequency spectrum corresponding to the second mixed audio data;
[0086] According to the slope value between two adjacent data points in the spectrum graph, the fluctuation variance of the slope value of the waveform curve in the spectrum graph is calculated;
[0087] The spectrum graph is detected using a peak point detection algorithm to obtain the number of peak points in the spectrum graph;
[0088] The sound source diversity calculation is performed based on the waveform complexity of the second mixed audio data in the time domain, the fluctuation variance of the slope value of the waveform curve in the spectrum graph, and the number of peak points in the spectrum graph to obtain the sound source diversity of the second mixed audio data.
[0089] Furthermore, the calculation formula for the sound source diversity of the second mixed audio data is:
[0090] ,
[0091] in, Represents the diversity of sound sources in mixed audio data; Representing the time complexity of mixed audio data; The fluctuation variance of the slope value of the waveform curve in the frequency spectrum of the mixed audio data; Represents the number of peak points in the frequency spectrum of the mixed audio data.
[0092] It should be noted that the obtained mixed audio signal data is converted into the frequency domain through Fourier transform to obtain the spectrum of the mixed audio signal data; two adjacent data points in the spectrum form a set of slope values, which are recorded as ; At the same time, the peak point detection algorithm (such as APMD algorithm) is used to detect the number of peak points in the spectrum diagram of the mixed audio signal, which is recorded as , and then calculate the sound source diversity in the mixed audio data according to the above formula.
[0093] In the above-mentioned embodiment steps, It indicates the diversity of sound sources in the mixed audio signal. The larger the product, the more complex the time domain waveform of the mixed audio signal is, and there are multiple significant peaks and uneven energy distribution in the spectrum, that is, there may be more sound source signals in the mixed audio signal. Since the components of the mixed audio signal are relatively complex, it may have a greater impact on the subsequent separation process, that is, the steps of this embodiment compensate for the subsequent blind source separation and improve the separation accuracy.
[0094] In an optional embodiment of the present application, performing independence and partial expectation analysis on each audio signal in the second mixed audio data to obtain an expected interference intensity value of the interference component in the second mixed audio data includes:
[0095] Using an independent component analysis method to separate and process the second mixed audio data to obtain multiple audio signals in the second mixed audio data;
[0096] Calculate the partial expectancy of each audio signal in the multiple audio signals according to the kurtosis value of each audio signal in the multiple audio signals, the kurtosis value of the standard Gaussian distribution and the distribution probability of the data;
[0097] According to the partial expectation of each audio signal, the expected interference intensity value of the interference component in the second mixed audio data is calculated.
[0098] It should be noted that the independent component analysis method is used in the process of separating the mixed audio signal. Since the principle of the independent component analysis method is consistent with the expectation of separating the mixed audio signal, both methods separate the mixed signal of different components into the real signal source, that is, separate the different components in the mixed audio signal. According to the independent component analysis of the mixed audio signal, multiple independent components are obtained, and the multiple independent components are expected to be multiple audio source signals in the mixed audio signal; the kurtosis value of a single independent component in the independent component analysis result of the mixed audio signal is obtained, which is recorded as ; The kurtosis value of the standard Gaussian distribution is recorded as ; Then the kurtosis value of the audio component separated in real time is subtracted from the kurtosis value of the standard Gaussian distribution, that is, , and record the difference as Finally, according to the kurtosis value of each audio signal in the multiple audio signals, the kurtosis value of the standard Gaussian distribution and the distribution probability of the data, the partial expectancy of each audio signal in the multiple audio signals is calculated.
[0099] In an optional embodiment of the present application, a calculation formula for the partial expectedness of each audio signal in the multiple audio signals is:
[0100] ,
[0101] in, Indicates The partial expectation of an audio signal; and Respectively represent the separated audio signals Middle data points and The distribution probability of data points; The total number of groups representing the absolute value of the difference between the distribution probabilities of any two data points (there is a group of differences between the distribution probabilities of any two data points, Represents a set of differences, which exist group difference); Represents a single audio signal The absolute value of the difference between the kurtosis value in and the kurtosis value of the standard Gaussian distribution, Indicates a constant that is not 0. In order to prevent the denominator from being 0, .
[0102] In the above-mentioned embodiment steps, Indicates that in the process of blind source separation of mixed audio signals, a single audio source signal The larger the product, the weaker the periodicity of the independent component and the smaller the difference from the Gaussian distribution. The rule of blind source separation is that the independent component has the maximum non-Gaussianity, that is, the independent component has a stronger periodicity, that is, the higher the partial expectation of the sound source signal.
[0103] It should be further explained that, the higher the deviation of a single independent component from the separation rule, the more interference components may exist in the mixed audio signal, which mainly provides supporting data for the subsequent evaluation of the interference intensity in the mixed audio signal.
[0104] In the process of separating mixed audio signals, since we do not know how many specific sound sources exist in the mixed audio signal, we need to use the blind source separation method to separate the different components of the mixed audio. However, there may be situations in the separation process that do not meet the blind source separation rules. This may be due to the presence of multiple sound sources in the mixed audio, resulting in coupling effects between the sound sources during the separation process; it may also be due to the presence of more interference in the mixed audio.
[0105] According to the independent components of multiple different sound sources in the blind source separation results of the obtained mixed audio signal, the default separation rule is that the different independent components have the maximum non-Gaussianity and are independent of each other. The interference intensity of the interference components in the mixed audio signal is evaluated according to the differences between all independent components.
[0106] Specifically, in an optional embodiment of the present application, according to the partial expectation of each audio signal, the expected interference intensity value of the interference component in the second mixed audio data is calculated, including: the calculation formula of the expected interference intensity value of the interference component in the second mixed audio data is:
[0107] ,
[0108] in, Represents the expected interference intensity value of the interference component in the mixed audio data; and Respectively represent and The partial expectation of an audio signal; The total number of groups representing the difference between the expected characteristics of any two audio signals (there is a group of differences between the expected characteristics of any two independent components, and there are group difference), represents one of the sets of differences; Represents the average of the partial expectedness of all individual audio signals.
[0109] In the above-mentioned embodiment steps, It represents the average difference between all independent components. The smaller the average value, the smaller the difference between independent components, which does not conform to the decomposition rules of the independent component analysis method. It represents the expected interference intensity value in the mixed audio signal. The larger the product, the poorer the independence between all independent components and the stronger the deviation from the expected value of all independent components, that is, there may be a greater degree of interference in the mixed audio signal, that is, the expected interference intensity is greater. The process of separating the mixed audio signal is provided with data support for compensation according to the expected interference intensity value of the interference component in the mixed audio data.
[0110] In the mixed audio signal separation method based on deep learning, in order to improve the generalization ability of the deep learning model, it is necessary to accurately distinguish different audio sources in the mixed audio signal in the deep learning model in different environments and scenarios, thereby improving the learning ability of the deep learning model and the accuracy of mixed audio signal separation. On this basis, it is necessary to ensure that the data set input into the deep learning model training and the data quality of the mixed audio signal to be separated are high.
[0111] In an optional embodiment of the present application, according to the sound source diversity of the second mixed audio data and the expected interference intensity value of the interference component in the second mixed audio data, the noise interference compensation value of the second mixed audio data is calculated, including: the calculation formula of the noise interference compensation value of the second mixed audio data is:
[0112] ,
[0113] in, A noise interference compensation value representing mixed audio data; Indicates the source diversity of the mixed audio signal. Represents the expected interference intensity value of the interference component in the mixed audio data. represents the exponential normalization function.
[0114] It should be noted that As a penalty item for the expected interference intensity, the specific penalty principle is as follows: if the sound source diversity in the mixed audio signal is stronger, it means that there are more sound source signals in the mixed audio signal (that is, there are multiple components); then there will be more interference in the process of separating the mixed audio signal, which cannot be explained by the higher noise interference intensity in the mixed audio signal, that is, the expected value of the interference intensity obtained according to the blind source separation result will not be too large.
[0115] It is further necessary to explain that It represents the compensation result of interference intensity extraction during the separation of mixed audio, which is the real noise interference in the separation process.
[0116] In the steps of the embodiment of the present application, The filtering strength of the Gaussian filter (i.e., the standard deviation of the Gaussian function) determines the degree of filtering. The greater the filtering strength, the stronger the filtering effect. The mixed audio signal is then smoothed and filtered to remove the interference components in the mixed audio signal to obtain clean mixed audio signal data. The deep learning model is then improved and adjusted. At the same time, the mixed audio signal to be separated is also processed and input into the improved and adjusted deep learning model.
[0117] Furthermore, in the mixed audio signal separation method based on deep learning, it is necessary to pre-train the deep learning model. Based on the compensation results obtained above, the interference components in the mixed audio signal in the training data set are effectively removed to obtain a mixed audio signal training data set with high data quality. The clean mixed audio signal training data set can be used as the input of the deep learning model to train the deep learning model. Specifically, the deep learning model can be a LeNet-5 or AlexNet convolutional neural network model. After the deep learning model is trained, a clean test data set can be used for testing and verification. If the separated signal is significantly different from the actual signal, it is necessary to adjust the training parameters of the deep learning model until the accuracy requirements are met and a trained deep learning model is obtained.
[0118] See also Figure 3As shown, an embodiment of the present application discloses a mixed audio signal separation system 20 based on deep learning, including a processor 21 and a memory 22; wherein the memory 22 is used to store a computer program; the processor 21 is used to implement the mixed audio signal separation method based on deep learning provided by the aforementioned method embodiment by executing the computer program.
[0119] For the specific process of the above-mentioned mixed audio signal separation method based on deep learning, reference may be made to the corresponding content disclosed in the aforementioned embodiments, which will not be repeated here.
[0120] Furthermore, the memory 22, as a carrier for storing resources, may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the storage method may be temporary storage or permanent storage.
[0121] In addition, the electronic device 20 also includes a power supply 23, a communication interface 24, an input / output interface 25 and a communication bus 26; wherein the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input / output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
[0122] Furthermore, the present application also discloses a computer-readable storage medium. Figure 4 As shown, it is used to save a computer program 31, wherein when the computer program is executed by a processor, the mixed audio signal separation method based on deep learning provided by the aforementioned method embodiment is implemented.
[0123] For the specific process of the above-mentioned mixed audio signal separation method based on deep learning, reference may be made to the corresponding content disclosed in the aforementioned embodiments, which will not be repeated here.
[0124] An embodiment of the present application also provides a computer program product comprising instructions. When the computer program product is run on a computer, the computer is enabled to execute the mixed audio signal separation method based on deep learning shown in the method embodiment of the present application.
[0125] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0126] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory, a memory, a read-only memory, an electrically programmable, an electrically erasable programmable, a register, a hard disk, a removable disk, or any other form of storage medium known in the art.
[0127] The above is a detailed introduction to a mixed audio signal separation method and system based on deep learning provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A mixed audio signal separation method based on deep learning, It is characterized in that include: Acquire first mixed audio data; Preprocessing the first mixed audio data to obtain second mixed audio data; Performing time domain complexity calculation on the second mixed audio data to obtain waveform complexity of the second mixed audio data in the time domain; Performing sound source diversity calculation on the second mixed audio data according to the waveform complexity and the spectrum diagram of the second mixed audio data in the time domain to obtain the sound source diversity of the second mixed audio data; Performing independence and partial expectancy analysis on each audio signal in the second mixed audio data to obtain an expected interference intensity value of an interference component in the second mixed audio data; Calculating a noise interference compensation value of the second mixed audio data according to the sound source diversity of the second mixed audio data and an expected interference intensity value of an interference component in the second mixed audio data; Using the noise interference compensation value as the filtering strength of the Gaussian filter to perform smoothing filtering on the second mixed audio data to obtain third mixed audio data; The third mixed audio data is input into a pre-trained deep learning model to obtain an audio data separation result corresponding to the first mixed audio data.
2. The mixed audio signal separation method based on deep learning according to claim 1, It is characterized in that Preprocessing the first mixed audio data to obtain second mixed audio data includes: The sampling rate and amplitude range of the first mixed audio data are adjusted to obtain second mixed audio data.
3. The mixed audio signal separation method based on deep learning according to claim 1, It is characterized in that Performing time domain complexity calculation on the second mixed audio data to obtain waveform complexity of the second mixed audio data in the time domain includes: a calculation formula for the waveform complexity of the second mixed audio data in the time domain is: , in, Represents the waveform complexity of mixed audio data in the time domain; and They represent the slope of two adjacent data points in the waveform curve of the mixed audio data in the time domain. Group and Slope value of the group; The total number of groups representing the absolute value of the difference between any two slope values; Indicates The absolute value of the difference between the group slope values.
4. The mixed audio signal separation method based on deep learning according to claim 3, It is characterized in that The method of calculating the sound source diversity of the second mixed audio data according to the waveform complexity and the spectrum diagram of the second mixed audio data in the time domain to obtain the sound source diversity of the second mixed audio data includes: Performing Fourier transform processing on the second mixed audio data to obtain a frequency spectrum corresponding to the second mixed audio data; Calculating the fluctuation variance of the slope value of the waveform curve in the spectrum graph according to the slope value between two adjacent data points in the spectrum graph; Detecting the spectrum graph using a peak point detection algorithm to obtain the number of peak points in the spectrum graph; The sound source diversity calculation is performed based on the waveform complexity of the second mixed audio data in the time domain, the fluctuation variance of the slope value of the waveform curve in the spectrum graph, and the number of peak points in the spectrum graph to obtain the sound source diversity of the second mixed audio data.
5. The mixed audio signal separation method based on deep learning according to claim 4, It is characterized in that Further including: The calculation formula for the sound source diversity of the second mixed audio data is: , in, Represents the diversity of sound sources in mixed audio data; Represents the waveform complexity of mixed audio data in the time domain; The fluctuation variance of the slope value of the waveform curve in the frequency spectrum of the mixed audio data; Represents the number of peak points in the frequency spectrum of the mixed audio data.
6. The mixed audio signal separation method based on deep learning according to claim 1, It is characterized in that Performing independence and partial expectation analysis on each audio signal in the second mixed audio data to obtain an expected interference intensity value of an interference component in the second mixed audio data includes: Using an independent component analysis method to separate the second mixed audio data to obtain a plurality of audio signals in the second mixed audio data; Calculating the partial expectancy of each audio signal in the multiple audio signals according to the kurtosis value of each audio signal in the multiple audio signals, the kurtosis value of the standard Gaussian distribution and the distribution probability of the data; According to the partial expectation of each audio signal, the expected interference intensity value of the interference component in the second mixed audio data is calculated.
7. The mixed audio signal separation method based on deep learning according to claim 6, It is characterized in that Further including: The calculation formula of the partial expectancy of each audio signal in the multiple audio signals is: , in, Indicates The expected nature of an audio signal; and Respectively represent the separated audio signals Middle data points and The distribution probability of data points; The total number of groups representing the absolute value of the difference between the distribution probabilities of any two data points, Represents the absolute value of a set of differences; Represents a single audio signal The absolute value of the difference between the kurtosis value in and the kurtosis value of the standard Gaussian distribution, Represents a constant that is not 0. .
8. The mixed audio signal separation method based on deep learning according to claim 6, It is characterized in that Calculating the expected interference intensity value of the interference component in the second mixed audio data according to the partial expectation of each audio signal includes: the calculation formula of the expected interference intensity value of the interference component in the second mixed audio data is: , in, Represents the expected interference intensity value of the interference component in the mixed audio data; and Respectively represent and The expected nature of an audio signal; The total number of groups representing the difference between the partial expectations of any two audio signals, represents one of the sets of differences; Represents the average of the partial expectedness of all individual audio signals.
9. The mixed audio signal separation method based on deep learning according to claim 1, It is characterized in that Calculating the noise interference compensation value of the second mixed audio data according to the sound source diversity of the second mixed audio data and the expected interference intensity value of the interference component in the second mixed audio data includes: a calculation formula for the noise interference compensation value of the second mixed audio data is: , in, A noise interference compensation value representing mixed audio data; Indicates the source diversity of the mixed audio signal. Represents the expected interference intensity value of the interference component in the mixed audio data. Represents an exponential function with a natural constant as base.
10. A mixed audio signal separation system based on deep learning, It is characterized in that include: A memory and a processor, wherein the memory stores an executable code, and when the processor executes the executable code, the mixed audio signal separation method based on deep learning as described in any one of claims 1 to 9 is implemented.
