Audio analysis noise reduction method, system and storage medium based on artificial intelligence

Through the audio analysis and noise reduction method based on artificial intelligence, the dominant noise spectrum characteristics are identified and the model is dynamically constructed, which solves the problems of low audio noise reduction efficiency and poor quality in the existing technology, achieves fast and accurate noise processing, and improves the efficiency of audio noise reduction. Overall efficiency and quality of audio noise reduction.

CN118471246BActive Publication Date: 2024-10-11HANGZHOU ZHILIAO INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410910676.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-11
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

Existing audio noise reduction systems have low efficiency and poor quality when processing instantaneous noise and hidden noise. Especially when there is no adaptation model in the database, additional models need to be generated, which increases the processing time and reduces the audio noise reduction quality.

Method used

Using the audio analysis and noise reduction method based on artificial intelligence, the noise reduction model is quickly constructed by identifying the dominant noise spectrum characteristics, and the model parameters are dynamically corrected. The location and type of the noise are located based on image recognition technology, and sub-audio is formed by segmented sampling, and the or Generate filter models for noise reduction processing.

Benefits of technology

Significantly improves the speed and quality of audio noise reduction, shortens the noise reduction processing time by quickly identifying and processing dominant noise, and improves the recognition accuracy and filtering efficiency of recessive noise.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118471246B_ABST
    Figure CN118471246B_ABST
Patent Text Reader

Abstract

The present invention discloses an audio analysis and noise reduction method, system and storage medium based on artificial intelligence, belonging to the field of audio processing technology, the method comprising: identifying dominant noise spectrum segments and their arrangement from input audio spectrum, presetting audio scenes and sampling input audio segments according to corresponding segment sampling rules, forming multiple sub-audio segments and marking the positioning tags of each sub-audio segment; parsing the noise spectrum contained in each sub-audio segment, calling or newly generating a filter model to form a sub-noise reduction model; arranging and combining each sub-noise reduction model according to the positioning tags of each sub-audio segment, forming a main noise reduction model to reduce the noise of the input audio and output it. By judging the dominant noise spectrum and its arrangement in the audio spectrum, quickly confirming the audio scene and calling the relevant audio segment sampling rules, each sub-audio segment and its corresponding filter model or sub-noise reduction model is obtained, the speed and accuracy of noise reduction model generation are improved, which is conducive to improving the efficiency of audio noise reduction processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of audio processing technology, and more specifically, to an audio analysis and noise reduction method, system and storage medium based on artificial intelligence. Background Art

[0002] In audio editing or restoration, it is often necessary to filter the noise contained in the audio to obtain the pure target audio. The mixed noise in the audio can be divided into steady-state noise and non-steady-state noise. Steady-state noise is such as the continuous low-volatility background noise in the audio, while non-steady-state noise includes instantaneous noise with violent sound pressure fluctuations.

[0003] When performing audio noise reduction processing, it is easy to identify continuous background noise in the audio. Compared with instantaneous noise or other noise similar to the target audio spectrum, this type of background noise is more obvious in the audio spectrum, especially in the frequency domain diagram that can characterize the spectral energy distribution, and can be defined as dominant noise (such as Figure 1 As shown in the frequency domain diagram, the higher the brightness, the more concentrated the energy). For the above-mentioned explicit noise, it is only necessary to set a targeted basic noise reduction model to filter it out, such as using a linear filter with fixed parameters to achieve noise filtering. As for the instantaneous noise that suddenly appears in the audio, the difficulty in processing it lies in the suddenness of the noise; at the same time, for the noise in the audio that is close to the target audio spectrum, that is, the implicit noise, the difficulty in processing it lies in the concealment of the noise, and the above-mentioned noise processing is easy to damage the target audio.

[0004] Although the current noise reduction system built based on big data has integrated a large number of noise reduction models, it can only call up the relevant noise reduction model to filter out instantaneous noise during the audio processing process. In addition to being difficult to identify, implicit noise also requires real-time retrieval of the corresponding noise reduction model. For some instantaneous noises for which there is no adapted noise reduction model in some databases, the system needs to spend extra time to generate the corresponding noise reduction model in real time. These undoubtedly increase the processing time of audio noise reduction and reduce the quality of audio noise reduction. Summary of the invention

[0005] In order to solve the problem of slow audio noise reduction speed and poor noise reduction quality in actual application, the first purpose of this application is to propose an audio analysis noise reduction method based on artificial intelligence, which is based on historical noise reduction big data and artificial intelligence related technologies, and quickly builds a targeted noise reduction model according to the spectral characteristics of the explicit noise in the input audio, and dynamically corrects the parameters of the noise reduction model during the noise reduction process, thereby improving the noise reduction efficiency and the noise reduction quality; to realize the above audio analysis noise reduction method, the second purpose of this application is to provide an audio analysis noise reduction system based on artificial intelligence; the third purpose of this application is to protect a computer-readable storage medium. The specific plan is as follows:

[0006] An audio analysis and noise reduction method based on artificial intelligence, comprising:

[0007] Associate and store each type of noise spectrum and its corresponding filtering model;

[0008] Associate and store each audio scene and its corresponding noise spectrum segments and arrangement methods;

[0009] Associatively storing the segmented sampling rules of the input audio in each audio scene;

[0010] Identify dominant noise spectrum segments and their arrangement from the input audio spectrum, determine the categories of each dominant noise, and preset the audio scene corresponding to the input audio;

[0011] According to the audio scene and the segmented sampling rule, the input audio is segmented and sampled to form multiple sub-audio segments and mark the location label of each sub-audio spectrum in the audio spectrum;

[0012] Analyze the noise spectrum contained in each audio segment, and retrieve or newly generate a filter model to form a sub-noise reduction model;

[0013] Arrange and combine the sub-noise reduction models according to the positioning tags of the sub-audios to form a main noise reduction model to reduce the noise of the input audio and output it; and / or

[0014] After denoising each sub-audio segment based on each sub-denoising model, the denoised pure audio segments are integrated and output according to the positioning tags associated with each sub-audio segment.

[0015] Through the above technical scheme, the method of performing noise reduction along the audio time axis in the traditional noise reduction method is abandoned, and the noise reduction method of performing audio segmentation processing according to fixed time periods or frequency bands is also changed. By judging the easily identifiable dominant noise spectrum in the audio spectrum, the audio scene is quickly obtained and the relevant audio segmentation sampling rules are retrieved from the database, thereby obtaining the filtering model or sub-noise reduction model corresponding to each sub-audio, and finally making each sub-audio after segmentation sampling have a faster noise reduction processing efficiency.

[0016] Furthermore, the identifying of dominant noise spectrum segments and their arrangement from the input audio spectrum includes:

[0017] Acquire and analyze the time domain data and frequency domain data of the input audio and generate a time domain graph and a frequency domain graph of the input audio accordingly, and display the energy distribution of each spectrum segment in the frequency domain graph with different brightness according to the energy size of each spectrum segment;

[0018] Based on the above frequency domain diagram, a two-dimensional coordinate system is established with time as the horizontal axis and frequency as the vertical axis;

[0019] Based on the image recognition technology, the energy distribution of each spectrum segment in the frequency domain diagram is identified, the spectrum segment to which the dominant noise belongs is confirmed, and the category of the dominant noise is identified using the spectrum in the spectrum segment, and the arrangement of each dominant noise spectrum segment is obtained according to the position of the above spectrum segment in the two-dimensional coordinate system.

[0020] Through the above technical solution, by utilizing the differences in spectral energy and frequency between explicit noise and pure audio, combined with image recognition technology, the position of explicit noise and the positional relationship between different types of explicit noise can be quickly located, and the above features can be used as the basis for defining the audio scene, so as to facilitate the subsequent rapid identification of the audio scene of the input audio, and finally quickly match the relevant filtering model or noise reduction model.

[0021] Furthermore, the segmented sampling rules include:

[0022] Obtain the distribution area of ​​the horizontal axis and the vertical axis of each dominant noise spectrum in the two-dimensional coordinate system, and based on the distribution area, extend a set length in the horizontal direction and the vertical direction in the two-dimensional coordinate system to form a sampling area to generate the sub-audio; or

[0023] The start and end time of each dominant noise spectrum on the horizontal axis of the two-dimensional coordinate system is obtained, and the start and end time nodes are used as segmentation nodes to sample and form the sub-audio.

[0024] The types of explicit noise in different audio scenes are different. Through the above technical solution, the segmented sub-audio includes at least one section of explicit noise. The corresponding filter model can be quickly called to reduce the noise of the sub-audio or form a sub-noise reduction model, which helps to improve the speed of noise reduction.

[0025] Furthermore, the method further comprises:

[0026] Obtain historical noise reduction data corresponding to each specific audio scene;

[0027] Compare the difference between the noisy frequency spectrum and the pure audio spectrum to obtain the position coordinates of each explicit noise spectrum segment and implicit noise spectrum segment in the audio spectrum;

[0028] A coordinate mapping function is generated based on the position coordinates and stored in the specific audio scene to characterize the relative position relationship between each explicit noise spectrum segment and each implicit noise spectrum segment;

[0029] Get the position coordinates of each dominant noise spectrum segment in the current input audio in the audio spectrum;

[0030] Based on the audio scene corresponding to the current input audio, the corresponding coordinate mapping function is retrieved to estimate the position coordinates of each implicit noise spectrum segment in the audio spectrum;

[0031] Based on each explicit noise spectrum segment and the estimated position coordinates of each implicit noise spectrum segment, a noise reduction model is generated to perform noise reduction processing on the input speech.

[0032] Through the above technical solution, for audio scenes containing periodic noise, the relative position relationship of each category of noise spectrum segments in the entire audio spectrum can be known through analysis of historical noise reduction data. Therefore, when processing the input audio in such audio scenes, it is only necessary to obtain a few explicit noise spectrum segments and their position coordinates in advance to accurately expand the possible position coordinates of the remaining noise spectrum segments. In this way, a noise reduction model for the input audio can be generated quickly and accurately, shortening the noise reduction processing time and improving the accuracy of the noise reduction processing.

[0033] Furthermore, the step of analyzing the noise spectrum contained in each audio segment and retrieving or newly generating a filter model to form a sub-noise reduction model includes:

[0034] Identify and collect the spectrum segments contained in each sub-audio, analyze the noise spectrum features contained in each spectrum segment and compare them with the noise spectrum features stored in the database:

[0035] If the noise spectrum characteristics are known, the corresponding filter model is directly retrieved;

[0036] If the noise spectrum feature is unknown, at least one filter model of an approximate spectrum is retrieved, and the setting parameters of the filter model are modified to generate a target filter model.

[0037] Through the above technical solution, the existing filtering models in the current database can be extended to generate diversified filtering models to adapt to the noise filtering needs with similar spectra, which can effectively improve the efficiency of noise reduction filtering.

[0038] Furthermore, the step of marking the location label of each sub-audio spectrum in the audio spectrum includes:

[0039] Get the segment start and end time of each sub-audio and the frequency band range of each sub-audio;

[0040] The time coordinates of the start and end time of each sub-audio and the frequency start and end coordinates of each sub-audio are obtained in the two-dimensional coordinate system to form a positioning tag of the sub-audio.

[0041] Through the above technical solution, the accuracy of the position calibration of each sub-audio can be effectively improved, making it convenient to splice and combine the processed sub-audio to form a noise-reduced audio in the later stage.

[0042] Furthermore, the method further comprises:

[0043] If the dominant noise spectrum segment and its arrangement contained in the input audio have no corresponding audio scene;

[0044] The input audio is retrieved and a dominant noise with a specific time domain and frequency domain distribution pattern is mixed into it to generate an intermediate band noise frequency;

[0045] Analyze the intermediate noise spectrum to obtain the arrangement of the current dominant noise spectrum segment, and search the database for similar spectrum segments and their arrangements:

[0046] If there is an approximate frequency spectrum segment and arrangement mode, the audio scene corresponding to the approximate frequency spectrum segment and arrangement mode is preset as the audio scene of the current input audio;

[0047] If there is no similar spectrum band and arrangement, then the dominant noise with specific time domain and frequency domain distribution rules is re-mixed into the input audio to generate an intermediate band noise frequency.

[0048] When a certain dominant noise in the audio scene is missing, it may interfere with the determination of the audio scene. Through the above technical solution, the audio scene of the input audio can be quickly confirmed, which facilitates the subsequent generation or retrieval of the corresponding noise reduction model to reduce the noise of the input audio.

[0049] An audio analysis and noise reduction system based on artificial intelligence, comprising:

[0050] The first database is configured to store various types of noise spectra and their corresponding filtering models in an associated manner.

[0051] A second database is configured to store each audio scene and its corresponding noise spectrum segments and arrangement methods in association;

[0052] A third database is configured to store segmented sampling rules of input audio in each audio scene in an associated manner;

[0053] The dominant noise identification unit is configured to identify the dominant noise spectrum segments and their arrangement from the input audio spectrum, determine the categories of each dominant noise, and preset the audio scene corresponding to the input audio;

[0054] A segment sampling unit is configured to perform segment sampling on the input audio according to the segment sampling rule according to the audio scene, to form multiple sub-audio segments and mark the location label of each sub-audio spectrum in the audio spectrum;

[0055] A sub-noise reduction model generation unit is configured to analyze the noise spectrum contained in each sub-audio segment, and retrieve or newly generate a filter model to form a sub-noise reduction model;

[0056] A main noise reduction model generating unit is configured to arrange and combine the sub-noise reduction models according to the positioning tags of the sub-audios to form a main noise reduction model;

[0057] A sub-noise reduction unit, configured to reduce noise on each sub-audio segment;

[0058] a main noise reduction unit configured to reduce noise on input audio;

[0059] The speech synthesis unit is configured to integrate and output the pure audios after noise reduction of each sub-audio according to the positioning tags associated with each sub-audio.

[0060] Furthermore, the system also includes:

[0061] A coordinate mapping unit configured to generate a coordinate mapping function for characterizing a relative position relationship between each explicit noise spectrum segment and each implicit noise spectrum segment in a specific audio scene based on the position coordinates of each explicit noise spectrum segment and each implicit noise spectrum segment;

[0062] a fourth database configured to store the coordinate mapping function;

[0063] The specific noise reduction model generation unit is configured to obtain the position coordinates of each explicit noise spectrum segment in the current input audio in the audio spectrum; based on the audio scene corresponding to the current input audio, call the corresponding coordinate mapping function, estimate the position coordinates of each implicit noise spectrum segment in the audio spectrum, and generate a noise reduction model for noise reduction processing on the input speech based on each explicit noise spectrum segment and the estimated position coordinates of each implicit noise spectrum segment.

[0064] A computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the audio analysis and noise reduction method based on artificial intelligence as described above.

[0065] Compared with the prior art, the present invention has the following beneficial effects:

[0066] By judging the easily identifiable dominant noise spectrum and its arrangement in the audio spectrum, the audio scene is quickly obtained and the relevant audio segmentation sampling rules are retrieved from the database, thereby obtaining multiple easy-to-process sub-audios. Then, the corresponding filtering model or sub-denoising model is retrieved from the database to process each sub-audio. This can improve the speed and accuracy of denoising model generation, which is beneficial to improving the efficiency of audio denoising processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 It is a schematic diagram of the time domain and frequency domain of the noisy frequency;

[0068] Figure 2 This is an overall schematic diagram of the audio analysis and noise reduction method of this application;

[0069] Figure 3a This is a schematic diagram of the segmented sampling rule method for this application (I);

[0070] Figure 3b Schematic diagram of the segmented sampling rule method for this application (II);

[0071] Figure 4 A schematic diagram of a method for quickly generating a noise reduction model for this application;

[0072] Figure 5 This is a schematic diagram of the functional modules of the system of this application.

[0073] Figure numerals: 1. first database; 2. second database; 3. third database; 4. explicit noise recognition unit; 5. segmented sampling unit; 6. sub-noise reduction model generation unit; 7. main denoise model generation unit; 8. sub-noise reduction unit; 9. main denoise reduction unit; 10. speech synthesis unit. DETAILED DESCRIPTION

[0074] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the attached Figure 1-5 Shown in.

[0075] In the description of this specification, the description with reference to the terms "certain embodiments", "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0076] In the prior art, filtering and denoising of uploaded or input audio is usually carried out in chronological order, that is, from the front end to the end of the input audio, different filtering models are called in the middle to perform noise reduction. The shortcomings of the above method are very obvious, that is, the noise reduction speed is slow and the noise reduction effect is poor; in subsequent improvements, the audio is also segmented before noise reduction processing. The advantage of this is that after segmentation, non-steady-state noise can be converted into steady-state noise for processing, but the location and method of segmentation are mostly fixed, and the noise reduction effect is not ideal for audio recorded in different scenarios. To this end, the present application proposes an audio analysis and noise reduction method, system and storage medium based on artificial intelligence, which can significantly improve the efficiency of audio noise reduction processing and improve the quality of audio noise reduction.

[0077] like Figure 1 The figure shows the time domain diagram and frequency domain diagram with noise frequency. For the convenience of comparative analysis, the above time domain diagram and frequency domain diagram are integrated on the horizontal axis coordinate. The horizontal axis is the time axis, and the unit is set to milliseconds (ms). Figure 1 The top part is a time domain graph, with the vertical axis representing the sound intensity, and the unit is set in decibels (dB); Figure 1 The lower part is the frequency domain graph, the vertical axis is the sound frequency, and the unit is set to Hertz (Hz); the initial sound frequency at the bottom of the frequency domain graph is set to 0Hz and gradually increases upward according to the set gradient, such as 1KHz. Figure 1 The amplitude of the noise can be seen in the upper part, from Figure 1 The frequency distribution can be seen in the lower part. The location of the audio spectrum energy point can be determined from the brightness display in the frequency domain graph, that is, the energy distribution of different frequencies. It can also be used to determine the location of a certain noise audio spectrum segment. For example, the frequency band below 20Hz at the bottom of the frequency domain graph has higher energy and can be determined as stable background noise.

[0078] The implementation mode of the present application proposes an audio analysis and noise reduction method based on artificial intelligence. First, each category of noise spectrum and its corresponding filtering model are associated and stored to form a first database. Then, each audio scene and its corresponding noise spectrum segment and arrangement method are associated and stored to form a second database. The above-mentioned audio scene includes the environment in which the microphone is located when the audio is picked up, such as a subway station, a park in the suburbs or a game room. Different audio scenes will contain different noise spectrum segments. For example, in addition to human voices, the station also includes vehicle horns, noise generated between vehicles and the road surface, etc.

[0079] In addition to the first and second databases mentioned above, the present application also associates and stores the segmented sampling rules of the input audio in each audio scene to form a third database, that is, different segmented sampling rules will be used for sampling the audio collected in different audio scenes, thereby ensuring the accuracy and universality of the sampled samples.

[0080] The above-mentioned filter model is a digital filter with specific filter parameters. In specific practice, digital filters for different noises can be obtained based on noise audio big data and deep learning algorithms. Each noise spectrum segment and arrangement method refers to the position coordinates of each noise spectrum segment in the frequency domain diagram and the relative position relationship between each noise spectrum segment. In practical applications, the above-mentioned databases and filter models can be configured in the cloud for easy storage and retrieval, as well as data processing.

[0081] Detailed description, based on the aforementioned databases, such as Figure 2 As shown, the method described in this application includes:

[0082] S100, identifying dominant noise spectrum segments and their arrangement from the input audio spectrum, and using them to determine the dominant noise categories and the audio scene corresponding to the preset input audio;

[0083] S200, performing segmented sampling on the input audio according to the audio scene and the corresponding segmented sampling rule to form multiple sub-audio segments and marking the location label of each sub-audio spectrum in the audio spectrum;

[0084] S300, analyzing the noise spectrum contained in each sub-audio segment, and retrieving or newly generating a filter model to form a sub-noise reduction model;

[0085] S410, arranging and combining the sub-noise reduction models according to the positioning tags of the sub-audios to form a main noise reduction model to reduce the noise of the input audio and output it;

[0086] S420: After performing noise reduction on each sub-audio segment based on each sub-noise reduction model, the noise-reduced pure audio segments are integrated and output according to the positioning tags associated with each sub-audio segment.

[0087] In the above step S100, dominant noise refers to an audio segment that can be clearly distinguished from the target audio spectrum in the spectrum graph of the input audio. For example, if the target audio is a pure human voice, its normal frequency range should be 85Hz to 1100Hz, which means that the spectrum segment in the spectrum graph whose frequency is not in the above range and whose energy distribution is relatively concentrated can be regarded as a dominant noise spectrum segment. In practical applications, the above dominant noise spectrum segment can also be quickly determined by the position and distribution of the spectrum energy points.

[0088] The specific method of identifying the dominant noise spectrum segments and their arrangement from the input audio spectrum includes:

[0089] S110, obtaining and parsing the time domain data and frequency domain data of the input audio and generating a time domain graph and a frequency domain graph of the input audio accordingly, see Figure 1 As shown, in the frequency domain diagram, the energy distribution of each spectrum segment in the frequency domain diagram is displayed with different brightness according to the energy size contained in each spectrum segment. In specific practice, existing audio analysis and editing software, such as AdobeAudition software, can be used to obtain the above Figure 1 The time domain and frequency domain diagrams are shown.

[0090] S120: Establish a two-dimensional coordinate system with time as the horizontal axis and frequency as the vertical axis based on the frequency domain diagram.

[0091] S130, based on the image recognition technology, identify the energy distribution of each spectrum segment in the frequency domain image, confirm the spectrum segment to which the dominant noise belongs and identify the dominant noise category based on the spectrum in this spectrum segment, and obtain the arrangement of each dominant noise spectrum segment according to the position of the above spectrum segment in the two-dimensional coordinate system. In order to reduce the error in the image recognition process, before step S130, it is necessary to intercept the frequency domain image, and then adjust the gray value of the already obtained frequency domain image so that the energy distribution of its spectrum segment, that is, the highlight position can be accurately and quickly located.

[0092] The above technical solution utilizes the difference between dominant noise and pure audio in spectral energy distribution and frequency distribution interval, combined with image recognition technology, to quickly locate the position of dominant noise and the positional relationship between various types of dominant noise, and then the above features can be used as the basis for defining the audio scene, so as to facilitate the subsequent rapid identification of the audio scene of the input audio, and finally quickly match the relevant filtering model or noise reduction model. In the above image recognition process, there is no need for precise judgment, only the distribution of bright spots in the grayscale image needs to be identified and determined, and the processing speed can be efficient and fast.

[0093] Based on the above settings, since the types of explicit noise in different audio scenes are different, for example, the audio collected in the subway station hall, in addition to human voices, also includes background broadcast voices, incoming noise with gradually increasing frequency and amplitude when the subway train arrives at the station, and outgoing noise with gradually decreasing frequency and amplitude when the subway train leaves the station; and the audio collected in the factory workshop, in addition to human voices, also includes low-frequency continuous machine noise. Obviously, the latter is more suitable for equal difference segmented sampling, such as collecting a sub-audio segment of 1s every 5s, while the former is more suitable for specific segmented sampling rules, such as when the noise spectrum segment when the subway train enters the station is obtained, it is concentrated in the subsequent time period of the set length.

[0094] In one embodiment, the segmented sampling rule described in step S200 is as follows: Figure 3a As shown, including:

[0095] The distribution area of ​​each dominant noise spectrum in the two-dimensional coordinate system on the horizontal axis and the vertical axis is obtained, and based on the distribution area, a sampling area is formed by extending a set length in the horizontal direction and the vertical direction in the two-dimensional coordinate system to generate the sub-audio. Figure 3b As shown, the start and end time of each dominant noise spectrum on the horizontal axis of the two-dimensional coordinate system is obtained, and the start and end time nodes are used as segmentation nodes to sample and form the sub-audio.

[0096] The sub-audio obtained by segmenting through the above technical solution includes at least one section of dominant noise, and the corresponding filter model can be quickly retrieved. Since the filter model associated with the above filter model is stored in the second database, the relevant filter model can be quickly found to reduce the noise of the sub-audio or form a sub-noise reduction model, which helps to improve the speed of noise reduction. Compared with the traditional method of segmenting the input audio at fixed intervals, the above method has higher processing efficiency and better later noise reduction effect.

[0097] In step S200, marking the location label of each sub-audio spectrum in the audio spectrum includes:

[0098] S210, obtaining the segment start and end time of each sub-audio and the frequency range of each sub-audio;

[0099] S220, obtaining the time coordinates of the start and end time of each sub-audio in the two-dimensional coordinate system, and the frequency start and end coordinates of each sub-audio to form a positioning tag of the sub-audio.

[0100] The above technical solution can effectively improve the accuracy of the position calibration of each sub-audio, making it convenient to later splice and combine the processed sub-audio to form a pure audio after noise reduction.

[0101] Specifically, in step S300, the noise spectrum contained in each audio segment is analyzed, and a filter model is retrieved or newly generated to form a sub-noise reduction model, including:

[0102] S310, identifying and collecting the spectrum segments contained in each sub-audio, analyzing the noise spectrum features contained in each spectrum segment and comparing them with the noise spectrum features stored in the database:

[0103] S311, if the noise spectrum characteristics are known, directly call the corresponding filtering model;

[0104] S312, if the noise spectrum feature is unknown, call at least one filter model of the approximate spectrum, modify the setting parameters of the filter model to generate a target filter model. In this sub-step, the target filter model can be generated by using a convolutional neural network combined with a filter model based on the approximate spectrum combined with historical filtering noise reduction data.

[0105] The above scheme can quickly obtain the elements required to build a noise reduction model, that is, the corresponding filter model, and can make adaptive adjustments to different noise spectra in the input audio, which is conducive to improving the efficiency of noise reduction.

[0106] In the practice of processing noisy audio in various audio scenes, it is found that the positions of the explicit noise spectrum segments and the implicit noise spectrum segments are actually related. For example, when conducting voice communication while driving, there is a relatively fixed correlation between the driver's voice and the vehicle wind noise, and between the driver's voice and the rear passenger's voice in the spectrum diagram. The frequency bands of the former two audios are not the same, and the spectrum energy distribution of the latter two is not the same, but there is a relatively fixed corresponding relationship. For this reason, Figure 4 As shown, the audio analysis and noise reduction method described in the present application also includes:

[0107] A100 obtains the historical noise reduction data corresponding to each specific audio scene. In actual applications, the above historical noise reduction data can be associated with user ID information and stored in the cloud.

[0108] A200 compares the difference between the noisy frequency spectrum and the pure audio spectrum to obtain the position coordinates of each explicit noise spectrum segment and implicit noise spectrum segment in the audio spectrum.

[0109] A300, based on the position coordinates, a coordinate mapping function is generated and stored in the specific audio scene to characterize the relative position relationship between each explicit noise spectrum segment and each implicit noise spectrum segment. In actual application, the coordinate mapping function is stored in a fourth database.

[0110] A400, obtains the position coordinates of each dominant noise spectrum segment in the current input audio in the audio spectrum.

[0111] A500, based on the audio scene corresponding to the current input audio, calls the corresponding coordinate mapping function to estimate the position coordinates of each implicit noise spectrum segment in the audio spectrum.

[0112] A600 generates a noise reduction model based on each explicit noise spectrum segment and the estimated position coordinates of each implicit noise spectrum segment to perform noise reduction processing on the input speech.

[0113] For audio scenes containing periodic noise, the relative position relationship of each category of noise spectrum segments in the entire audio spectrum can be known through analysis of historical noise reduction data. The above relative position relationship will not change due to the addition of new noise spectrum segments in the input audio. Therefore, when processing the input audio in such audio scenes, it is only necessary to obtain a few explicit noise spectrum segments and their position coordinates in advance to accurately expand the possible position coordinates of the remaining noise spectrum segments. In this way, a noise reduction model for the input audio can be generated quickly and accurately, shortening the noise reduction processing time and improving the accuracy of the noise reduction processing.

[0114] In practical applications, when a certain dominant noise in the audio scene is missing, it may interfere with the determination of the audio scene. In order to quickly confirm the audio scene of the input audio and facilitate the subsequent generation or retrieval of the corresponding noise reduction model to reduce the noise of the input audio, the audio analysis and noise reduction method described in this application also includes:

[0115] B100, if the dominant noise spectrum segment and its arrangement contained in the input audio have no corresponding audio scene;

[0116] B110, takes the input audio and mixes it with dominant noise having specific time domain and frequency domain distribution rules to generate a mid-band noise frequency;

[0117] B200, analyzing the intermediate noise spectrum to obtain the arrangement of the current dominant noise spectrum segment, and searching the second database for similar spectrum segments and their arrangement:

[0118] B210, if there is an approximate frequency spectrum segment and arrangement mode, presetting the audio scene corresponding to the approximate frequency spectrum segment and arrangement mode as the audio scene of the current input audio;

[0119] B220, if there is no similar spectrum segment and arrangement, repeat steps B110-B200 for a set number of times, or until a similar dominant noise spectrum segment and arrangement is found. In order to take into account both noise reduction accuracy and timeliness, the number of repeated optimizations is preferably no more than 3 times.

[0120] In order to implement the audio analysis and noise reduction method described in the embodiment of this application, this application also proposes an audio analysis and noise reduction system based on artificial intelligence. The system can be configured in a cloud server or as a local server. Each user terminal uploads the noisy audio to be processed to the cloud via a communication network, and then downloads the processed target audio from the cloud. Figure 5 As shown, the audio analysis and noise reduction system mainly includes a first database 1, a second database 2, a third database 3, an explicit noise identification unit 4, a segmented sampling unit 5, a sub-noise reduction model generation unit 6, a main noise reduction model generation unit 7, a sub-noise reduction unit 8, a main noise reduction unit 9 and a speech synthesis unit 10.

[0121] Among them, the first database 1 is configured to be used for associative storage of various categories of noise spectra and their corresponding filtering models, the second database 2 is configured to be used for associative storage of various audio scenes and their corresponding noise spectrum segments and arrangement methods, and the third database 3 is configured to be used for associative storage of segmented sampling rules of input audio in each audio scene.

[0122] The dominant noise identification unit 4 is configured to identify dominant noise spectrum segments and their arrangement from the input audio spectrum. In specific practice, the above-mentioned dominant noise identification unit 4 is actually configured as an image conversion and recognition algorithm. In order to quickly identify the dominant noise, the above-mentioned algorithm first converts the frequency domain image into a grayscale image, and then uses the recognition algorithm to lock the grayscale value of each pixel in the image. It only needs to set a grayscale threshold for comparison, and there is no need for precise identification, thereby greatly improving the recognition efficiency of the early dominant noise spectrum segment.

[0123] Based on the second database 2, each dominant noise category is determined and combined with the data in the second database 2, the audio scene corresponding to the input audio is preset, such as the location of the audio collection is a station or a park, indoors or outdoors, etc. The segmented sampling unit 5 is configured to perform segmented sampling on the input audio according to the segmented sampling rule according to the audio scene, to form multiple sub-audios and mark the location label of each sub-audio spectrum in the audio spectrum.

[0124] The sub-noise reduction model generation unit 6 is configured to analyze the noise spectrum contained in each sub-audio segment, retrieve or newly generate a filter model to form a sub-noise reduction model and temporarily store it. The main noise reduction model generation unit 7 is configured to arrange and combine the sub-noise reduction models according to the positioning tags of each sub-audio segment to form a main noise reduction model. Figure 1As shown in FIG3 , the main denoising model can be formed by combining and splicing the sub-denoising models according to the segmented denoising regions corresponding to the sub-denoising models.

[0125] Unlike the main noise reduction unit 9, the sub-noise reduction unit 8 is configured to directly reduce the noise of each sub-audio segment and output the clean audio after noise reduction. The main noise reduction unit 9 is configured to first combine to form a main noise reduction model, and then directly use it to reduce the noise of the input audio, and the speech synthesis unit 10 is configured to integrate and output the clean audio after noise reduction of each sub-audio according to the positioning tags associated with each sub-audio.

[0126] In order to quickly generate an accurate noise reduction model, in the implementation manner of the present application, the audio analysis noise reduction system described in the present application also includes: a coordinate mapping unit, a fourth database and a specific noise reduction model generation unit.

[0127] The coordinate mapping unit is configured to generate a coordinate mapping function for characterizing the relative position relationship between each explicit noise spectrum segment and each implicit noise spectrum segment in a specific audio scene based on the position coordinates of each explicit noise spectrum segment and each implicit noise spectrum segment. The above functional formula is a relative position function based on a two-dimensional coordinate system. In a simple example, it can be expressed as y=kx+b. The coordinate mapping function in each specific audio scene can be obtained through a deep learning algorithm. The fourth database is configured to store the coordinate mapping function, and the specific noise reduction model generation unit is configured to obtain the position coordinates of each explicit noise spectrum segment in the current input audio in the audio spectrum. Based on the audio scene corresponding to the current input audio, the corresponding coordinate mapping function is retrieved to estimate the position coordinates of each implicit noise spectrum segment in the audio spectrum, and based on each explicit noise spectrum segment and the estimated position coordinates of each implicit noise spectrum segment, a noise reduction model for noise reduction processing of the input speech is generated.

[0128] In the embodiment of the present application, a computer-readable storage medium is also provided, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the audio analysis and noise reduction method based on artificial intelligence as described above. The computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0129] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. An audio analysis and noise reduction method based on artificial intelligence, characterized in that: include: Associate and store each type of noise spectrum and its corresponding filtering model; Associate and store each audio scene and its corresponding noise spectrum segments and arrangement methods; Associatively storing the segmented sampling rules of the input audio in each audio scene; Identify dominant noise spectrum segments and their arrangement from the input audio spectrum, determine the categories of each dominant noise, and preset the audio scene corresponding to the input audio; Segmentally sample the input audio according to the audio scene and the corresponding segment sampling rule to form multiple sub-audio segments and mark the location label of each sub-audio spectrum in the audio spectrum; Analyze the noise spectrum contained in each audio segment, and retrieve or newly generate a filter model to form a sub-noise reduction model; Arrange and combine the sub-noise reduction models according to the positioning labels of the sub-audios to form a main noise reduction model to reduce the noise of the input audio and output it; and / or After denoising each sub-audio segment based on each sub-noise reduction model, the denoised pure audio segments are integrated and output according to the positioning tags associated with each sub-audio segment; The step of identifying the dominant noise spectrum segments and their arrangement from the input audio spectrum includes: Acquire and analyze the time domain data and frequency domain data of the input audio and generate a time domain graph and a frequency domain graph of the input audio accordingly, and display the energy distribution of each spectrum segment in the frequency domain graph with different brightness according to the energy size of each spectrum segment; Based on the above frequency domain diagram, a two-dimensional coordinate system is established with time as the horizontal axis and frequency as the vertical axis; Based on the image recognition technology, the energy distribution of each spectrum segment in the frequency domain diagram is identified, the spectrum segment to which the dominant noise belongs is confirmed, and the category of the dominant noise is identified based on the spectrum in the spectrum segment, and the arrangement of each dominant noise spectrum segment is obtained according to the position of the spectrum segment in the two-dimensional coordinate system; The segmented sampling rules include: Obtain the distribution area of ​​the horizontal axis and the vertical axis of each dominant noise spectrum in the two-dimensional coordinate system, and based on the distribution area, extend a set length in the horizontal direction and the vertical direction in the two-dimensional coordinate system to form a sampling area to generate the sub-audio; or Obtaining the start and end time of each dominant noise spectrum on the horizontal axis of the two-dimensional coordinate system, taking the start and end time nodes as segmentation nodes, and sampling to form the sub-audio; The step of analyzing the noise spectrum contained in each audio segment and retrieving or newly generating a filter model to form a sub-noise reduction model includes: Identify and collect the spectrum segments contained in each sub-audio, analyze the noise spectrum features contained in each spectrum segment and compare them with the noise spectrum features stored in the database: If the noise spectrum characteristics are known, the corresponding filter model is directly retrieved; If the noise spectrum feature is unknown, calling at least one filter model of an approximate spectrum, modifying the set parameters of the filter model to generate a target filter model; The audio analysis and noise reduction method based on artificial intelligence also includes: Obtain historical noise reduction data corresponding to each specific audio scene; Compare the difference between the noisy frequency spectrum and the pure audio spectrum to obtain the position coordinates of each explicit noise spectrum segment and implicit noise spectrum segment in the audio spectrum; A coordinate mapping function is generated based on the position coordinates and stored in the specific audio scene to characterize the relative position relationship between each explicit noise spectrum segment and each implicit noise spectrum segment; Get the position coordinates of each dominant noise spectrum segment in the current input audio in the audio spectrum; Based on the audio scene corresponding to the current input audio, the corresponding coordinate mapping function is retrieved to estimate the position coordinates of each implicit noise spectrum segment in the audio spectrum; Based on each explicit noise spectrum segment and the estimated position coordinates of each implicit noise spectrum segment, a noise reduction model is generated to perform noise reduction processing on the input speech.

2. The audio analysis and noise reduction method according to claim 1, characterized in that: The step of marking the location tags of each sub-audio spectrum in the audio spectrum includes: Get the segment start and end time of each sub-audio and the frequency band range of each sub-audio; The time coordinates of the start and end time of each sub-audio and the frequency start and end coordinates of each sub-audio are obtained in the two-dimensional coordinate system to form a positioning tag of the sub-audio.

3. The audio analysis and noise reduction method according to claim 1, characterized in that: The method further comprises: If the dominant noise spectrum segment and its arrangement contained in the input audio have no corresponding audio scene; The input audio is retrieved and a dominant noise with a specific time domain and frequency domain distribution pattern is mixed into it to generate an intermediate band noise frequency; Analyze the intermediate noise spectrum to obtain the arrangement of the current dominant noise spectrum segment, and search the database for similar spectrum segments and their arrangements: If there is an approximate frequency spectrum segment and arrangement mode, the audio scene corresponding to the approximate frequency spectrum segment and arrangement mode is preset as the audio scene of the current input audio; If there is no similar spectrum band and arrangement, then the dominant noise with specific time domain and frequency domain distribution rules is re-mixed into the input audio to generate an intermediate band noise frequency.

4. An audio analysis and noise reduction system based on artificial intelligence, characterized in that: include: The first database (1) is configured to store various types of noise spectra and their corresponding filtering models in an associated manner. A second database (2) is configured to store each audio scene and its corresponding noise spectrum segments and arrangement methods in association; A third database (3) is configured to store segmented sampling rules of input audio in each audio scene in an associated manner; The dominant noise identification unit (4) is configured to identify dominant noise spectrum segments and their arrangement from the input audio spectrum, determine the categories of each dominant noise, and preset the audio scene corresponding to the input audio; A segmented sampling unit (5) is configured to perform segmented sampling on the input audio according to the audio scene and the corresponding segmented sampling rule to form a plurality of sub-audio segments and mark a location label of each sub-audio spectrum in the audio spectrum; A sub-noise reduction model generation unit (6) is configured to analyze the noise spectrum contained in each sub-audio segment, and retrieve or newly generate a filter model to form a sub-noise reduction model; The step of identifying the dominant noise spectrum segments and their arrangement from the input audio spectrum includes: Acquire and analyze the time domain data and frequency domain data of the input audio and generate a time domain graph and a frequency domain graph of the input audio accordingly, and display the energy distribution of each spectrum segment in the frequency domain graph with different brightness according to the energy size of each spectrum segment; Based on the above frequency domain diagram, a two-dimensional coordinate system is established with time as the horizontal axis and frequency as the vertical axis; Based on the image recognition technology, the energy distribution of each spectrum segment in the frequency domain diagram is identified, the spectrum segment to which the dominant noise belongs is confirmed, and the category of the dominant noise is identified based on the spectrum in the spectrum segment, and the arrangement of each dominant noise spectrum segment is obtained according to the position of the spectrum segment in the two-dimensional coordinate system; The segmented sampling rules include: Obtain the distribution area of ​​the horizontal axis and the vertical axis of each dominant noise spectrum in the two-dimensional coordinate system, and based on the distribution area, extend a set length in the horizontal direction and the vertical direction in the two-dimensional coordinate system to form a sampling area to generate the sub-audio; or Obtaining the start and end time of each dominant noise spectrum on the horizontal axis of the two-dimensional coordinate system, taking the start and end time nodes as segmentation nodes, and sampling to form the sub-audio; The step of analyzing the noise spectrum contained in each audio segment and retrieving or newly generating a filter model to form a sub-noise reduction model includes: Identify and collect the spectrum segments contained in each sub-audio, analyze the noise spectrum features contained in each spectrum segment and compare them with the noise spectrum features stored in the database: If the noise spectrum characteristics are known, the corresponding filter model is directly retrieved; If the noise spectrum feature is unknown, calling at least one filter model of an approximate spectrum, modifying the set parameters of the filter model to generate a target filter model; A main noise reduction model generating unit (7) is configured to arrange and combine the sub-noise reduction models according to the positioning tags of the sub-audios to form a main noise reduction model; A sub-noise reduction unit (8) is configured to reduce the noise of each sub-audio segment; A main noise reduction unit (9) configured to reduce noise on input audio; A speech synthesis unit (10) is configured to integrate and output each pure audio after noise reduction of each sub-audio according to the positioning tags associated with each sub-audio; Wherein, the system further comprises: A coordinate mapping unit configured to generate a coordinate mapping function for characterizing a relative position relationship between each explicit noise spectrum segment and each implicit noise spectrum segment in a specific audio scene based on the position coordinates of each explicit noise spectrum segment and each implicit noise spectrum segment; a fourth database configured to store the coordinate mapping function; The specific noise reduction model generation unit is configured to obtain the position coordinates of each explicit noise spectrum segment in the current input audio in the audio spectrum; based on the audio scene corresponding to the current input audio, call the corresponding coordinate mapping function, estimate the position coordinates of each implicit noise spectrum segment in the audio spectrum, and generate a noise reduction model for noise reduction processing on the input speech based on each explicit noise spectrum segment and the estimated position coordinates of each implicit noise spectrum segment.

5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the audio analysis and noise reduction method based on artificial intelligence as described in any one of claims 1 to 3.