Audio signal processing method and device

By converting and combining pre-recorded audio signals to simulate the audio signals recorded by smart speakers from different sound source locations, it solves the problem of low efficiency in training smart speaker wake-up models in the existing technology, and achieves a faster training process and more efficient training. Accurate identification capabilities.

CN112489667BActive Publication Date: 2024-09-06SOUNDAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910777904.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-22
Publication Date
2024-09-06
Estimated Expiration
2039-08-22

AI Technical Summary

Technical Problem

The existing smart speaker training wake-up model method is inefficient and requires frequent changes in the position of the sound source and repeated recording of audio signals, resulting in long training time.

Method used

By obtaining the pre-recorded source audio signal and the preset target sound source position, the audio signal is converted, and the audio signals recorded by the simulated microphone array from different sound source positions are combined into the target audio signal for training the arousal model.

Benefits of technology

It reduces the time required to train the smart speaker wake-up model, improves training efficiency, and can accurately identify audio signals from any location.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112489667B
    Figure CN112489667B
Patent Text Reader

Abstract

The present invention provides a method and device for processing an audio signal, which obtains a pre-recorded source audio signal and a preset target sound source position; converts the source audio signal according to the target sound source position to obtain an audio signal corresponding to a microphone; wherein the microphone is each microphone in a microphone array; and combines the audio signals corresponding to each microphone to obtain a target audio signal of the microphone array. The target audio signal processed according to the target sound source position is equivalent to the audio signal recorded by the microphone array and emitted from the target sound source position. Therefore, this solution can use the pre-recorded audio signal to simulate the audio signal recorded by the microphone array from any sound source position, without having to frequently change the sound source position and repeatedly record the audio signal for each sound source position, thereby reducing the time required to obtain the audio samples required for training the smart speaker, thereby reducing the time required to train the wake-up model of the smart speaker.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal processing, and in particular to a method and device for processing an audio signal. Background Art

[0002] With the rapid development of artificial intelligence technology, smart speakers are becoming more and more popular among the public. Current smart speakers generally use microphone arrays to obtain audio signals. When the microphone array is actually used, the position of the microphone array is used as a reference. The audio signals recorded by the microphone array are different for sounds emitted from different sound source positions. In other words, the audio signals recorded by the microphone array will change as the position of the sound source changes.

[0003] Therefore, in the prior art, when optimizing a wake-up model of a new type of smart speaker, it is generally necessary to use the microphone array of the smart speaker to record sounds emitted from multiple different sound source positions, thereby obtaining multiple audio signals at different sound source positions, and then use these audio signals to train the wake-up model. This ensures that when the smart speaker is actually used, the wake-up model can accurately identify the audio signals recorded by the microphone array from different sound source positions, thereby obtaining a better wake-up effect.

[0004] However, the process of frequently changing the sound source position and repeatedly recording the audio signal at each sound source position takes a long time, resulting in low efficiency of the existing method of training the wake-up model of the smart speaker. Summary of the invention

[0005] Based on the above-mentioned shortcomings of the prior art, the present invention provides a method and device for processing an audio signal to improve the efficiency of training a wake-up model of a smart speaker.

[0006] A first aspect of the present invention provides a method for processing an audio signal, comprising:

[0007] Obtaining a pre-recorded source audio signal and a preset target sound source position;

[0008] The source audio signal is converted according to the target sound source position to obtain an audio signal corresponding to a microphone; wherein the microphone is each microphone in a microphone array;

[0009] The audio signals corresponding to each of the microphones are combined to obtain a target audio signal of the microphone array.

[0010] Optionally, after combining the audio signals corresponding to each of the microphones to obtain the target audio signal of the microphone array, the method further includes:

[0011] The target audio signal is used to train a wake-up model of a smart speaker equipped with the microphone array.

[0012] Optionally, converting the source audio signal according to the target sound source position to obtain an audio signal corresponding to a microphone includes:

[0013] Acquiring an impulse response of the microphone; wherein the impulse response is pre-generated according to the target sound source position;

[0014] The source audio signal is calculated according to the impulse response corresponding to the target sound source position to obtain an audio signal corresponding to the microphone.

[0015] Optionally, before converting the source audio signal according to the target sound source position to obtain the audio signal corresponding to the microphone, the method further includes:

[0016] Acquiring a preset sound absorption amount of a target scene and noise data of the target scene;

[0017] The converting of the source audio signal according to the target sound source position to obtain an audio signal corresponding to the microphone includes:

[0018] The source audio signal is converted according to the target sound source position, the sound absorption amount of the target scene, and the noise data of the target scene to obtain an audio signal corresponding to the microphone.

[0019] Optionally, after combining the audio signals corresponding to each of the microphones to obtain the target audio signal of the microphone array, the method further includes:

[0020] Copying the target audio signal to obtain multiple copies of the target audio signal;

[0021] According to the pre-collected user pitch data, adjusting the pitch of each copy of the target audio signal to obtain a plurality of adjusted audio signals;

[0022] The tone of each adjusted audio signal is unique.

[0023] Optionally, after combining the audio signals corresponding to each of the microphones to obtain the target audio signal of the microphone array, the method further includes:

[0024] Copying the target audio signal to obtain multiple copies of the target audio signal;

[0025] According to the pre-collected user speech rate data, adjusting the speech rate of each copy of the target audio signal to obtain a plurality of adjusted audio signals;

[0026] The speech rate of each of the adjusted audio signals is unique.

[0027] A second aspect of the present invention provides an audio signal processing device, comprising:

[0028] An acquisition unit, used to acquire a pre-recorded source audio signal and a preset target sound source position;

[0029] A conversion unit, configured to convert the source audio signal according to the target sound source position to obtain an audio signal corresponding to a microphone; wherein the microphone is each microphone in a microphone array;

[0030] The combining unit is used to combine the audio signals corresponding to each of the microphones to obtain the target audio signal of the microphone array.

[0031] Optionally, the conversion unit includes:

[0032] A sub-acquisition unit, configured to acquire an impulse response of the microphone; wherein the impulse response of the microphone is pre-generated according to the target sound source position;

[0033] The calculation unit is used to calculate the source audio signal according to the impulse response corresponding to the target sound source position to obtain the audio signal corresponding to the microphone.

[0034] Optionally, the acquisition unit is further used for:

[0035] Acquiring a preset sound absorption amount of a target scene and noise data of the target scene;

[0036] The conversion unit is used for:

[0037] The source audio signal is converted according to the target sound source position, the sound absorption amount of the target scene, and the noise data of the target scene to obtain an audio signal corresponding to the microphone.

[0038] Optionally, the processing device further includes:

[0039] A simulation unit, used for replicating the target audio signal to obtain multiple copies of the target audio signal;

[0040] According to the pre-collected user pitch data, adjusting the pitch of each copy of the target audio signal to obtain a plurality of adjusted audio signals;

[0041] The tone of each adjusted audio signal is unique.

[0042] The present invention provides a method and device for processing an audio signal, which obtains a pre-recorded source audio signal and a preset target sound source position; converts the source audio signal according to the target sound source position to obtain an audio signal corresponding to a microphone; wherein the microphone is each microphone in a microphone array; and combines the audio signals corresponding to each microphone to obtain a target audio signal of the microphone array. The target audio signal processed according to the target sound source position is equivalent to the audio signal recorded by the microphone array and emitted from the target sound source position. Therefore, this solution can use the pre-recorded audio signal to simulate the audio signal recorded by the microphone array from any sound source position, without having to frequently change the sound source position and repeatedly record the audio signal for each sound source position, thereby reducing the time required to obtain the audio samples required for training the smart speaker, thereby reducing the time required to train the wake-up model of the smart speaker. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0044] Figure 1 A flowchart of a method for processing an audio signal provided by an embodiment of the present invention;

[0045] Figure 2 A flowchart of a method for processing an audio signal provided by another embodiment of the present invention;

[0046] Figure 3 A flowchart of a method for processing an audio signal provided by another embodiment of the present invention;

[0047] Figure 4 A flowchart of a method for processing an audio signal provided by yet another embodiment of the present invention;

[0048] Figure 5 A schematic diagram of the structure of an audio signal processing device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] Smart speakers are a type of electronic device that is currently widely used. When users use smart speakers, they can wake up the dormant smart speakers by saying specific wake-up words, making the smart speakers enter an activated state. This is the wake-up process of smart speakers.

[0051] During the wake-up process of the smart speaker, after receiving the audio signal, the smart speaker will use its own wake-up model to perform speech recognition on the audio signal. If the wake-up model recognizes the wake-up word from the audio signal, the smart speaker enters the activated state.

[0052] Therefore, the recognition ability of the wake-up model is directly related to the wake-up effect of the smart speaker (which can be considered as whether the smart speaker can respond to the user's wake-up command effectively and promptly).

[0053] At present, in order to obtain a wake-up model with strong recognition ability, it is generally necessary to use a microphone array to record the voices emitted from multiple locations of the sound source, obtain multiple audio signals corresponding to different sound source locations, and then use these audio signals recorded from multiple sound source locations to train the wake-up model. The wake-up model trained based on this method can accurately recognize the far-field voice emitted by the user from any location during the actual use of the smart speaker, thereby effectively responding to the user's wake-up command.

[0054] However, this existing method requires frequent changes in the position of the sound source, and each time the sound source position is changed, the microphone array is used to record the sound emitted from the current sound source position, so as to obtain an audio signal corresponding to the current sound source position. The sound source position refers to the position of the sound source relative to the microphone array. Specifically, the sound source position can be expressed as the coordinates of the sound source in a three-dimensional coordinate system, and the three-dimensional coordinate system is a coordinate system established with the position of the microphone array as a reference.

[0055] That is to say, in the existing method of using sample data to train the wake-up model, in order to ensure that the sample data includes audio signals recorded from multiple sound source positions, it is necessary to spend a long time repeatedly recording the audio signals during the stage of obtaining the sample data. This results in a long time required to train a wake-up model, reducing the efficiency of training the wake-up model.

[0056] In view of the above problems of the prior art, the present application provides a method for processing an audio signal. Figure 1 , the method comprises the following steps:

[0057] S101: Acquire a pre-recorded source audio signal and a preset target sound source position.

[0058] The source audio signal is a near-field audio signal pre-recorded and stored in the database before the training. The recording device used to record the source audio signal can be a microphone array composed of multiple microphones, or a single microphone.

[0059] Generally, a user holds a microphone and speaks to the microphone, and the audio signal recorded by the microphone can be used as a source audio signal. Obviously, by changing the speaker and the content of the sentence, multiple source audio signals can be obtained.

[0060] For ease of understanding, the audio signal processing method provided in any embodiment of the present application is introduced taking a source audio signal as an example. Based on the processing method for a source audio signal introduced in the embodiment, a person skilled in the art can use the method for multiple source audio signals respectively, thereby realizing the processing of multiple source audio signals.

[0061] As mentioned above, before training the wake-up model of the smart speaker, it is necessary to obtain audio signals generated from multiple pre-specified different sound source positions as sample data. Among them, each pre-specified sound source position from which the corresponding audio signal needs to be obtained is a target sound source position. Generally, the target sound source position is relative to the far-field position of the smart speaker, that is, the distance between the target sound source position and the smart speaker is generally greater than 1 meter, or close to 1 meter.

[0062] For example, in a coordinate system established with the location of the target smart speaker (i.e., the smart speaker configured with the wake-up model that needs to be trained) as a reference, if the sample acquisition stage needs to obtain the audio signal recorded by the target smart speaker when the sound source is at point A, then point A is a target sound source position.

[0063] S102: Convert the source audio signal according to the target sound source position to obtain an audio signal corresponding to the microphone.

[0064] The above-mentioned microphone refers to each microphone in the microphone array installed on the target smart speaker.

[0065] Therefore, it can be understood that step S102 means that for each microphone in the microphone array of the target smart speaker, the conversion described in step S102 is performed to obtain the audio signal corresponding to the microphone. In other words, through the processing of step S102, the audio signal corresponding to each microphone in the microphone array of the target smart speaker can be obtained.

[0066] When using a microphone to collect audio signals, even if the same sound is emitted by the same sound source, the audio signal recorded by the microphone will change as the positional relationship between the sound source and the microphone changes.

[0067] The target sound source position can be considered as information describing the relative position relationship between the sound source and the microphone array. The position of each microphone in the microphone array is fixed. Therefore, for a specific microphone array, the position relationship between the sound source and each microphone in the microphone array can be directly determined based on the target sound source position, so as to convert the source audio signal to obtain the audio signal corresponding to each microphone in the microphone array. Moreover, these converted audio signals can simulate the audio signals generated from the target sound source position by directly recording with a microphone.

[0068] S103: Combine the audio signals corresponding to each microphone to obtain a target audio signal of the microphone array.

[0069] Among them, the target audio signal is an audio signal obtained by recording the target sound by the microphone array, which is used to train the wake-up model of the smart speaker equipped with the microphone array; the target sound refers to the sound emitted from the target sound source position.

[0070] The audio signal recorded by a microphone array is actually multi-channel data composed of multiple single-channel audio signals recorded by each microphone of the microphone array.

[0071] The audio signals corresponding to the microphones converted in step S102 are equivalent to the audio signals recorded directly from the target sound source position by the microphones, and the target audio signal obtained by combining these audio signals is equivalent to the audio signal recorded directly from the target sound source position by the target microphone array composed of the microphones. The method provided in the embodiment of the present application is equivalent to simulating the audio signal recorded by the target microphone array by processing the pre-recorded source audio signal with the processed audio signal.

[0072] Therefore, the wake-up model trained with the target audio signal output in step S103 can also accurately identify the audio signal recorded by the microphone array of the target smart speaker from any sound source position when the target smart speaker is used. In other words, the wake-up model trained with the target audio signal processed by the embodiment of the present application has the same recognition capability as the wake-up model trained with the audio signal recorded directly from the target sound source position using the microphone array.

[0073] To facilitate understanding of the audio signal processing method provided by this embodiment, the following briefly describes the execution process of this embodiment in combination with actual scenarios:

[0074] For example, user A makes a voice "XXX" into a handheld microphone, and what is recorded by the handheld microphone is a source audio signal. When training the wake-up model of the target smart speaker, it is necessary to obtain the audio signal corresponding to the voice "XXX" made by user A from position B, which is recorded by the microphone array of the target smart speaker. Here, position B is a target sound source position. Based on the audio signal processing method introduced in the above embodiment, to obtain such an audio signal, the positional relationship between each microphone in the microphone array and position B can be determined according to the target sound source position, and then the source audio signal can be converted into an audio signal corresponding to each microphone in the microphone array according to the positional relationship between each microphone and position B. The audio signals corresponding to these microphones are combined to obtain the target audio signal of the microphone array of the target smart speaker. This target audio signal is equivalent to the audio signal corresponding to the voice "XXX" made by user A from position B, which is recorded directly using the microphone array of the target smart speaker.

[0075] It can be understood that the process of converting a source audio signal into a target audio signal, which is described in this embodiment using a source audio signal and a target sound source position as an example, can be directly applied to any pre-recorded audio signal and any sound source position. Therefore, as long as multiple source audio signals are pre-recorded and multiple sound source positions are set, the method provided in this embodiment can be used to convert each audio signal and each sound source position to obtain multiple target audio signals that can meet the sample quantity requirements for training the wake-up model.

[0076] For example, in the above example, if it is necessary to obtain three audio signals corresponding to the voice "XXX" emitted by user A from position B, position C and position D respectively, which are recorded by the microphone array of the target smart speaker, then position B can be used as the target sound source position, and the target audio signal corresponding to position B can be obtained by conversion based on the method provided in this embodiment. Then, position C and position D can be used as the target sound source positions in turn, so as to obtain the target audio signal corresponding to position C and the target audio signal corresponding to position D by conversion based on the method provided in this embodiment.

[0077] The present invention provides a method and device for processing an audio signal, which obtains a pre-recorded source audio signal and a preset target sound source position; converts the source audio signal according to the target sound source position to obtain an audio signal corresponding to a microphone; wherein the microphone is each microphone in a microphone array; combines the audio signals corresponding to each microphone to obtain a target audio signal of the microphone array; wherein the target audio signal is used as an audio signal obtained by recording a target sound by the microphone array, and is used to train a wake-up model of an intelligent speaker equipped with a microphone array; the target sound refers to the sound emitted from the target sound source position. This solution can use a pre-recorded audio signal to simulate an audio signal recorded by a microphone array from any sound source position, without having to frequently change the sound source position and repeatedly record the audio signal at each sound source position, thereby effectively reducing the time required to train the wake-up model of the intelligent speaker.

[0078] Another embodiment of the present application also provides an audio signal processing method for processing a source audio signal in combination with a target sound source position and environmental parameters to simulate an audio signal recorded by a microphone array in various scenarios. Figure 2 , the method comprising:

[0079] S201: Acquire a pre-recorded source audio signal, a preset target sound source position, and preset environmental parameters.

[0080] The environmental parameters include the sound absorption of the target scene and the noise data of the target scene.

[0081] Each set of environmental parameters corresponds to a specific target scene. For any target scene, the sound absorption in the scene can be calculated based on the shape, size, and acoustic properties (e.g., the sound absorption coefficient of the object) of each object in the scene.

[0082] For example, the bedroom environment includes carpet, cabinet, glass, wall and bed. The sound absorption coefficient is: 0.9 for carpet, 0.3 for cabinet, 0.1 for glass and 0.8 for bed. Assuming that the bedroom is a rectangular space, the surface areas of the four walls are a1 to a4 respectively, and the sound absorption coefficients are S 1 To S 4 , the ceiling surface area is a5, and the sound absorption coefficient is S 5 , the floor surface area is a6, and the sound absorption coefficient is S 6 , then the sound absorption Sa in the target bedroom scene can be calculated according to the following formula (1):

[0083]

[0084] Among them, A j Indicates the sound absorption of the object in the target scene. Specifically, in the above bedroom environment, the sound absorption of the carpet is A.1 , the sound absorption of the cabinet is A 2 , the sound absorption of glass is A 3 , the sound absorption of the bed is A 4 The sound absorption of each object can be calculated based on the object's sound absorption coefficient and the object's shape, size and other information.

[0085] The sound absorption coefficients of walls, ceilings and floors vary according to the building structure and surface coating. Generally, S 1 To S 6 They are all set to a value close to 0.4, for example, they can be set between 0.3 and 0.5.

[0086] In addition, the sound absorption coefficients of the above objects can also be adjusted within a certain range according to the materials of the objects. For example, the sound absorption coefficient of a carpet can be set between 0.8 and 0.95, the sound absorption coefficient of a cabinet can be set between 0.2 and 0.4, the sound absorption coefficient of glass can be set between 0.05 and 0.2, and the sound absorption coefficient of a bed can be set between 0.7 and 0.9.

[0087] The following are some optional value ranges of objects and their sound absorption coefficients in several environments for reference:

[0088] The living room environment includes the TV sofa, balcony, coffee table, etc. The sound absorption coefficient of the balcony is 0.1 to 0.3, and the other walls (including walls, ceiling and floor) are 0.3 to 0.5. The sound absorption coefficient of the sofa is 0.6 to 0.8, and the sound absorption coefficient of the coffee table is 0.2 to 0.4.

[0089] The kitchen environment includes cabinets and walls. The cabinet sound absorption coefficient is 0.2 to 0.4, and the wall sound absorption coefficient is 0.3 to 0.5.

[0090] The cafe environment includes columns and tables, the sound absorption coefficient of the columns is 0.2 to 0.4, and the sound absorption coefficient of the tables is 0.1 to 0.3.

[0091] In any of the above target scenes, the sound absorption coefficient of each object in the target scene can be determined from the value range of the above sound absorption coefficient, and then the sound absorption of the objects and walls in the target scene can be calculated, so as to calculate the sound absorption of the target scene based on formula (1).

[0092] The noise data of the target scene refers to the noise in the target scene. The noise can be collected in the actual scene or simulated for a specific scene. The noise conditions in each scene include but are not limited to:

[0093] In a bedroom environment, there is 40-60 decibels of car noise outside the window, and noise generated by 1 to 5 people moving or communicating in different directions.

[0094] In the living room environment, there is 40-60 decibels of car noise outside the window, noise generated by 2 to 10 people moving or communicating in different directions, 40-50 decibels of air conditioning operation noise, and 40-70 decibels of TV program noise.

[0095] In the kitchen environment, there are noises such as the sound of water at 40-60 decibels, the sound of electrical appliances such as microwave ovens running, and the noise generated by 1 to 5 people moving or communicating in different directions.

[0096] In a coffee shop environment, the noise generated by 10 to 60 people moving or communicating in different directions (intensity is about 40-70 decibels), as well as the noise generated by the operation of machines and equipment at 40-50 decibels.

[0097] Of course, the above noise signal can be obtained by recording or simulation.

[0098] Optionally, the environmental parameters may also include background music being played, so as to simulate an audio signal recorded in a scene where background music is played.

[0099] S202: convert the source audio signal according to the target sound source position, the sound absorption amount of the target scene, and the noise data of the target scene to obtain an audio signal corresponding to the microphone.

[0100] The same sound collected by the microphone in different scenes will produce different audio signals. The impact of the scene on the audio signal is mainly reflected in the sound absorption of the scene and the noise in the scene. Therefore, the converted audio signal obtained by converting the source audio signal in step S202 in combination with the target sound source position, the sound absorption of the target scene, and the noise data of the target scene can be used to simulate the audio signal generated from the target sound source position by the microphone in the target scene.

[0101] For example, assuming that it is currently necessary to obtain the audio signal recorded by the smart speaker in a bedroom environment when the distance between the sound source position and the smart speaker is 2 meters, then the target scene sound absorption in step S202 is the sound absorption in the aforementioned bedroom environment, and the noise data of the target scene is the noise in the aforementioned bedroom environment. The audio signal corresponding to the microphone obtained by converting the source audio signal according to the sound absorption and noise of the bedroom environment and the target sound source position is equivalent to the audio signal actually recorded by the microphone under the above conditions. The audio signal corresponding to each microphone in the microphone array of the smart speaker is combined in the following step S203, which is equivalent to the audio signal actually recorded by the smart speaker under the above conditions.

[0102] S203: Combine the audio signals corresponding to each microphone to obtain a target audio signal of the microphone array.

[0103] The audio signal processing method provided in this embodiment can convert the source audio signal according to the environmental parameters and the target sound source position to obtain the converted audio signal, and the converted audio signal can be used to simulate the audio signal recorded from the target sound source position by the smart speaker in the scene corresponding to the environmental parameters. Therefore, using the audio signal generated by the audio signal processing method provided in this embodiment to train the wake-up model can effectively expand the recognition range of the trained wake-up model, so that the wake-up model can accurately recognize the audio signals recorded in various scenes, and further improve the recognition ability of the wake-up model.

[0104] The method provided in the embodiment of the present application mainly involves processing the source audio signal using specific parameters (mainly the target sound source position, and may also include environmental parameters), and using the processed audio signal to simulate the audio signal directly recorded by the smart speaker under actual circumstances. Through this method, multiple samples matching different sound source positions and different scenes can be obtained without repeatedly recording in multiple situations. Among them, the source audio signal is converted according to the target sound source position (optionally, it also includes environmental parameters), which is mainly realized by calculating the source audio signal using the impulse response corresponding to the target sound source position (and environmental parameters), refer to Figure 3 , the specific process is as follows:

[0105] S301 : Obtain a target impulse response of a microphone.

[0106] The above-mentioned microphone is any microphone in the microphone array of the smart speaker.

[0107] The target impulse response is the impulse response of the microphone pre-simulated based on the target sound source position and environmental parameters. For each microphone in a microphone array, given a target sound source position and a set of environmental parameters, an impulse response of each microphone can be simulated. For a microphone, different target sound source positions and environmental parameters will result in different corresponding impulse responses.

[0108] Optionally, in other embodiments of the present application, if it is only necessary to simulate the audio signals recorded by the smart speaker at different sound source positions without involving simulation of audio signals in different scenes, then the environmental parameters in step S301 can be fixedly set to the environmental parameters corresponding to an empty room.

[0109] An impulse response refers to the response of a system under the stimulation of an impulse function. Specifically, in this application, each microphone of the microphone array of the smart speaker is equivalent to a system. The sound produced by puncturing a balloon at a certain position is equivalent to the sound of an impulse response. The sound produced by puncturing a balloon is collected by a microphone to obtain an audio signal. This audio signal is the sound of puncturing a balloon at the sound source position received by this microphone in the current scene.

[0110] Correspondingly, simulating the impulse response of a microphone for a given target sound source position and a set of environmental parameters is equivalent to simulating the audio signal recorded by the microphone after puncturing a balloon at the target sound source position in the scene corresponding to this set of environmental parameters.

[0111] S302: Calculate the convolution of the source audio signal and the target impulse response to obtain a convolution result.

[0112] The specific implementation process of step S302 is to perform Fourier transform on the source audio signal and the target impulse response respectively to obtain the transformed source audio signal and the transformed target impulse response, multiply the transformed source audio signal and the transformed target impulse response, and then perform inverse Fourier transform on the obtained product. The result obtained after the inverse Fourier transform is the convolution result.

[0113] The source audio signal and the target impulse response can be considered as two functions in the time domain. The convolution of these two functions is calculated, and the convolution result obtained is also a function in the time domain. This convolution result is equivalent to the audio signal recorded by the microphone mentioned in step S301 from the target sound source position in the scene corresponding to the environmental parameters.

[0114] The method provided in this embodiment can calculate the source audio signal for any microphone in the microphone array using the impulse response of the microphone under specific target sound source position and environmental parameters to obtain the audio signal corresponding to the microphone. After the audio signal corresponding to each microphone in the microphone array is calculated using this method, these audio signals can be combined into the target audio signal corresponding to the microphone array.

[0115] Another embodiment of the present application also provides an audio signal processing method, which is used to further process the target audio signal based on the processed target audio signal in combination with pre-collected user tone data and user speech rate data, simulate the audio signal obtained by the microphone array recording the voices of different users in different environments, increase the types of audio signals in the training samples of the wake-up model, and further improve the recognition ability of the trained wake-up model.

[0116] Please refer to Figure 4 , this embodiment includes the following steps:

[0117] S401: Obtain source audio signals, target sound source positions and environmental parameters.

[0118] S402: Convert the source audio signal according to the target sound source position and environmental parameters to obtain an audio signal corresponding to the microphone.

[0119] The above-mentioned microphone is each microphone in the microphone array.

[0120] S403: Combine the audio signals corresponding to each microphone to obtain a target audio signal of the microphone array.

[0121] S404: Copy the target audio signal to obtain an audio signal set.

[0122] The audio signal set includes multiple copies of the target audio signal obtained by copying the target audio signal. In other words, the audio signal set includes multiple audio signals, each of which is consistent with the target audio signal output in step S403.

[0123] The number of audio signals in the audio signal set is consistent with the number of types of pre-collected user tone data. If M user tone data are pre-collected, the target audio signal is copied into M copies in step S404, so that the audio signal set consists of M audio signals.

[0124] The types of user tone data are classified according to corresponding tones, and one tone corresponds to one type of user tone data.

[0125] S405: Adjust each audio signal in the audio signal set according to the pre-collected user tone data to obtain a first audio signal set.

[0126] Step S405 means that for each audio signal in the audio signal set, one user tone data is used to adjust the audio signal, so that the adjusted audio signal is expressed as the tone corresponding to the user tone data. Moreover, each user tone data is only used to adjust one audio signal, and each audio signal is only adjusted by one user tone data. All the adjusted audio signals constitute the first audio signal set.

[0127] The user tone data is the frequency spectrum characteristics of the audio obtained by analyzing multiple audio signals of a pre-recorded specific tone. To adjust an audio signal using a user tone data means to adjust the frequency spectrum of the audio signal according to the frequency spectrum characteristics recorded by the user tone data so that the tone of the audio signal is converted to the tone corresponding to the user tone data.

[0128] S406: Adjust each audio signal in the first audio signal set according to the pre-collected user speech rate data to obtain a second audio signal set.

[0129] There are several types of user speech rate data collected in advance, and each type corresponds to a speech rate.

[0130] Step S406 specifically includes:

[0131] Assume that there are X types of user speech rate data, each of which is used to adjust the speech rate of each audio signal in the first audio signal set, and obtain M adjusted audio signals after the user speech rate data is adjusted. After all user speech rate data are adjusted, M×X adjusted audio signals are obtained, and these adjusted audio signals constitute the second audio signal set. Each adjusted audio signal is expressed as the speech rate corresponding to the user speech rate data used for adjustment.

[0132] It can be found that any two audio signals in the second audio signal set must have at least one feature that is different (speech speed and pitch are two features of an audio signal).

[0133] The process of adjusting the speech rate of the audio signal using the user speech rate data is similar to the process of adjusting the pitch in step S405, and both involve pre-analyzing the spectrum features and then adjusting the spectrum of the audio signal according to the spectrum features recorded in the user speech rate data.

[0134] Optionally, the above steps S405 and S406 can be selected and combined according to actual use needs. In addition, the execution order of the above steps is not limited to the order introduced in this embodiment, but can be adjusted arbitrarily.

[0135] Optionally, in order to improve the quality of the audio signal used to train the wake-up model, each audio signal in the second audio signal set may be processed according to the following process:

[0136] First, the signal gain of the audio signal is adjusted, and then the adjusted audio signal is subjected to acoustic echo cancellation (AEC), and then beamforming is performed on the audio signal after echo cancellation. After noise suppression and automatic gain processing are performed on the audio signal after beamforming, the obtained audio signal is input into the wake-up model.

[0137] In combination with the audio signal processing method provided in any embodiment of the present application, the present application embodiment also provides an audio signal processing device, please refer to Figure 5 , the device comprises the following units:

[0138] The acquisition unit 501 is used to acquire a pre-recorded source audio signal and a preset target sound source position.

[0139] The conversion unit 502 is used to convert the source audio signal according to the target sound source position to obtain an audio signal corresponding to a microphone; wherein the microphone is each microphone in a microphone array.

[0140] The combining unit 503 is used to combine the audio signals corresponding to each of the microphones to obtain the target audio signal of the microphone array; wherein the target audio signal is an audio signal obtained by recording the target sound by the microphone array, and is used to train the wake-up model of the smart speaker equipped with the microphone array; the target sound refers to the sound emitted from the target sound source position.

[0141] Specifically, the conversion unit 502 includes:

[0142] The sub-acquisition unit is used to acquire the impulse response corresponding to the target sound source position; wherein the impulse response corresponding to the target sound source position is pre-generated according to the target sound source position.

[0143] The calculation unit is used to calculate the source audio signal according to the impulse response corresponding to the target sound source position to obtain the audio signal corresponding to the microphone.

[0144] The process of calculating the audio signal corresponding to the microphone based on the impulse response and the source audio signal can be referred to Figure 3 The corresponding embodiments.

[0145] Optionally, when it is necessary to simulate audio signals in different scenes, the impulse response acquired by the sub-acquisition unit may be an impulse response simulated according to a given target sound source position and environmental parameters, wherein the environmental parameters include the sound absorption of the target scene and the noise data of the target scene.

[0146] Optionally, the acquiring unit 501 is further configured to:

[0147] Acquiring a preset sound absorption amount of a target scene and noise data of the target scene;

[0148] The conversion unit 502 is used for:

[0149] Convert the source audio signal according to the target sound source position, the sound absorption amount of the target scene, and the noise data of the target scene to obtain an audio signal corresponding to the microphone;

[0150] The target audio signal is an audio signal obtained by the microphone array recording the target sound in the target scene, and is used to train a wake-up model of the smart speaker equipped with the microphone array.

[0151] Optionally, the processing device further includes a simulation unit 504, configured to:

[0152] Copying the target audio signal to obtain multiple copies of the target audio signal;

[0153] According to the pre-collected user pitch data, adjusting the pitch of each copy of the target audio signal to obtain a plurality of adjusted audio signals;

[0154] Among them, the tone of each of the adjusted audio signals is unique, and the multiple adjusted audio signals are used as the microphone array, and the audio signals recorded for multiple users are respectively used to train the wake-up model of the smart speaker equipped with the microphone array.

[0155] Optionally, the simulation unit 504 is further configured to:

[0156] Copying the target audio signal to obtain multiple copies of the target audio signal;

[0157] According to the pre-collected user speech rate data, adjusting the speech rate of each copy of the target audio signal to obtain a plurality of adjusted audio signals;

[0158] Among them, the speaking speed of each of the adjusted audio signals is unique, and the multiple adjusted audio signals are used as the microphone array, and the audio signals recorded for multiple users are respectively used to train the wake-up model of the smart speaker equipped with the microphone array.

[0159] It should be noted that the adjustment of the target audio signal by the simulation unit 504, as described in the audio signal processing method provided in the embodiment of the present application, can be arbitrarily combined as needed.

[0160] The specific working principle of the audio signal processing device provided in the embodiment of the present application is referred to the audio signal processing method in the embodiment of the present application, which will not be repeated here.

[0161] The present invention provides a device for processing audio signals, wherein an acquisition unit 501 acquires a pre-recorded source audio signal and a preset target sound source position; a conversion unit 502 converts the source audio signal according to the target sound source position to obtain an audio signal corresponding to a microphone; wherein the microphone is each microphone in a microphone array; a combination unit 503 combines the audio signals corresponding to each microphone to obtain a target audio signal of the microphone array; wherein the target audio signal is an audio signal obtained by recording a target sound by the microphone array, and is used to train a wake-up model of an intelligent speaker equipped with a microphone array; the target sound refers to the sound emitted from the target sound source position. This solution can use a pre-recorded audio signal to simulate an audio signal recorded by a microphone array from any sound source position, without having to frequently change the sound source position and repeatedly record the audio signal at each sound source position, thereby effectively reducing the time required to train the wake-up model of the intelligent speaker.

[0162] The present application can be implemented or used by professionals and technicians. Various modifications to these embodiments will be apparent to professionals and technicians in the field, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for processing an audio signal, It is characterized in that include: Obtaining a pre-recorded source audio signal and a preset target sound source position; The source audio signal is converted according to the target sound source position to obtain an audio signal corresponding to a microphone; wherein the microphone is each microphone in a microphone array; Combining the audio signals corresponding to each of the microphones to obtain a target audio signal of the microphone array; Before converting the source audio signal according to the target sound source position to obtain the audio signal corresponding to the microphone, the method further includes: Acquire a preset sound absorption amount of a target scene and noise data of the target scene, wherein the sound absorption amount of the target scene is calculated based on the sound absorption coefficient, shape and size of each object in the target scene; The converting of the source audio signal according to the target sound source position to obtain an audio signal corresponding to the microphone includes: Convert the source audio signal according to the target sound source position, the sound absorption amount of the target scene, and the noise data of the target scene to obtain an audio signal corresponding to the microphone; The converting the source audio signal according to the target sound source position, the sound absorption amount of the target scene, and the noise data of the target scene to obtain an audio signal corresponding to the microphone includes: Acquire a target impulse response of the microphone; wherein the target impulse response is pre-generated according to the target sound source position, the sound absorption amount of the target scene, and the noise data of the target scene; Performing Fourier transform on the source audio signal and the target impulse response respectively to obtain a transformed source audio signal and a transformed target impulse response; multiplying the transformed source audio signal and the transformed target impulse response to obtain a product; Perform an inverse Fourier transform on the obtained product to obtain a convolution result, where the convolution result is the audio signal corresponding to the microphone.

2. The processing method according to claim 1, It is characterized in that After combining the audio signals corresponding to each of the microphones to obtain the target audio signal of the microphone array, the method further includes: The target audio signal is used to train a wake-up model of a smart speaker equipped with the microphone array.

3. The processing method according to any one of claims 1 to 2, It is characterized in that After combining the audio signals corresponding to each of the microphones to obtain the target audio signal of the microphone array, the method further includes: Copying the target audio signal to obtain multiple copies of the target audio signal; According to the pre-collected user pitch data, adjusting the pitch of each copy of the target audio signal to obtain a plurality of adjusted audio signals; The tone of each adjusted audio signal is unique.

4. The processing method according to any one of claims 1 to 2, It is characterized in that After combining the audio signals corresponding to each of the microphones to obtain the target audio signal of the microphone array, the method further includes: Copying the target audio signal to obtain multiple copies of the target audio signal; According to the pre-collected user speech rate data, adjusting the speech rate of each copy of the target audio signal to obtain a plurality of adjusted audio signals; The speech rate of each of the adjusted audio signals is unique.

5. An audio signal processing device, It is characterized in that include: An acquisition unit, used to acquire a pre-recorded source audio signal and a preset target sound source position; A conversion unit, configured to convert the source audio signal according to the target sound source position to obtain an audio signal corresponding to a microphone; wherein the microphone is each microphone in a microphone array; A combining unit, used for combining the audio signals corresponding to each of the microphones to obtain a target audio signal of the microphone array; The acquisition unit is further used to: acquire the sound absorption amount of a preset target scene and the noise data of the target scene; the sound absorption amount of the target scene is calculated based on the sound absorption coefficient, shape and size of each object in the target scene; The conversion unit is used to: convert the source audio signal according to the target sound source position, the sound absorption amount of the target scene, and the noise data of the target scene to obtain an audio signal corresponding to the microphone; The conversion unit is used to convert the source audio signal according to the target sound source position, the sound absorption amount of the target scene, and the noise data of the target scene to obtain an audio signal corresponding to the microphone, including: Acquire a target impulse response of the microphone; wherein the target impulse response is pre-generated according to the target sound source position, the sound absorption amount of the target scene, and the noise data of the target scene; Performing Fourier transform on the source audio signal and the target impulse response respectively to obtain a transformed source audio signal and a transformed target impulse response; multiplying the transformed source audio signal and the transformed target impulse response to obtain a product; Perform an inverse Fourier transform on the obtained product to obtain a convolution result, where the convolution result is the audio signal corresponding to the microphone.

6. The processing device according to claim 5, It is characterized in that The processing device further comprises: A simulation unit, used for replicating the target audio signal to obtain multiple copies of the target audio signal; According to the pre-collected user pitch data, adjusting the pitch of each copy of the target audio signal to obtain a plurality of adjusted audio signals; The tone of each adjusted audio signal is unique.