Audio signal processing method and terminal
By performing correlation detection and processing on the audio signals of multiple pickup terminals in remote conferences, high-quality target audio signals are generated, which solves the problem of poor audio quality and improves user experience.
Patent Information
- Application Number
- CN202211604438.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-13
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-12-13
AI Technical Summary
In remote meetings, the audio signals collected by multiple pickup terminals have poor audio quality due to differences in location and distance, affecting the listening experience.
By receiving multi-channel audio signals sent by multiple pickup terminals, correlation detection is performed to determine the correlation and delay difference of the audio signals, time alignment or superposition processing is performed, the target audio signal is generated, and automatic gain adjustment is performed to ensure audio signal quality.
It improves the quality of the audio signal, improves the user's listening experience, reduces the 'comb filter effect', and ensures the consistency of voice clarity and volume.
Smart Images

Figure CN116015993B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to an audio signal processing method and a terminal. Background Art
[0002] Currently, with the development of the Internet and communication technology, more people will choose to work remotely, and colleagues in different areas of the company will also choose remote meetings.
[0003] With the increasing popularity of remote work, multiple pickup terminals can be configured in a certain access point where there are multiple participants in a meeting, so as to collect the speech of each participant, and then transmit it to the terminal on the aggregation side through a wireless or wired link. The terminal on the voice aggregation side then aggregates the audio and transmits it to each access point for playback. At this time, the different volume of the participants, the different distances and directions to different pickup terminals, and the placement of the pickup terminals will affect the audio quality collected by the terminal on the voice aggregation side, giving participants in other meeting places an unsatisfactory auditory experience. Summary of the invention
[0004] The purpose of the present invention is to address the deficiencies in the above-mentioned prior art and provide an audio signal processing method and terminal to solve the problems of poor conference audio quality in the prior art.
[0005] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0006] In a first aspect, an embodiment of the present application provides an audio signal processing method, which is applied to a collection terminal in any conference place in an access conference system, and the method includes:
[0007] Receive multi-channel audio signals sent by multiple pickup terminals;
[0008] Performing correlation detection on the multi-channel audio signals to obtain a correlation detection result;
[0009] According to the correlation detection result, the multi-channel audio signals are aggregated to obtain a target audio signal;
[0010] The target audio signal is transmitted to audio playback terminals in other conference places connected to the conference system.
[0011] Optionally, the correlation detection result includes: a plurality of groups of correlation parameters; and the aggregating and processing the multiple audio signals according to the correlation detection result to obtain the target audio signal includes:
[0012] If the multiple groups of correlation parameters meet the preset correlation conditions, determining that the multiple audio signals are correlated;
[0013] Determining the time delay difference of the multiple-channel related audio signals according to the time points of the corresponding positions of the multiple-channel related audio signals;
[0014] According to the time delay difference of the multiple-channel related audio signals, the multiple-channel related audio signals are time-aligned and then combined to obtain the target audio signal.
[0015] Optionally, determining the time delay difference of the multiple-channel related audio signals according to the time points of the corresponding positions of the multiple-channel related audio signals includes:
[0016] Determine the time delay differences of the multiple-channel related audio signals according to the time points corresponding to the peak values of the multiple-channel related audio signals.
[0017] Optionally, the correlation detection result includes: a plurality of groups of correlation parameters; and the aggregating and processing the multiple audio signals according to the correlation detection result to obtain the target audio signal includes:
[0018] If the multiple groups of correlation parameters do not meet the preset correlation condition, the multi-channel audio signals are superimposed to obtain the target audio signal.
[0019] Optionally, before transmitting the target audio signal to an audio playback terminal in another conference place connected to the conference system, the method further includes:
[0020] Automatically adjusting the gain of the target audio signal;
[0021] The step of transmitting the target audio signal to an audio playback terminal in another conference place connected to the conference system includes:
[0022] The adjusted target audio signal is transmitted to the audio playback terminals in the other conference places.
[0023] In a second aspect, an embodiment of the present application provides an audio signal processing method, which is applied to any sound pickup terminal in any conference place in a conference system, and the method includes:
[0024] Calculate the spectrum energy of the collected audio signal;
[0025] According to the spectrum energy, determining whether the sound pickup terminal meets a preset activation condition;
[0026] If the sound pickup terminal meets the preset activation condition, controlling the sound pickup terminal to be in a speaking state to continue collecting audio signals;
[0027] The audio signal is transmitted to a collection terminal in any of the conference venues, so that the collection terminal performs correlation detection on the received multi-channel audio signals, and collects and processes the multi-channel audio signals according to the correlation detection results to obtain a target audio signal, and then transmits the target audio signal to audio playback terminals in other conference venues connected to the conference system.
[0028] Optionally, calculating the spectrum energy of the collected audio signal includes:
[0029] Splitting the audio signal into the audio sub-signals of the multiple sub-bands according to the multiple sub-bands of the preset frequency spectrum;
[0030] Calculate the energies of the multiple sub-bands respectively according to the audio sub-signals of the multiple sub-bands;
[0031] Calculating the total energy of the preset spectrum according to the energies of the multiple sub-bands;
[0032] Correspondingly, judging whether the sound pickup terminal meets a preset activation condition according to the spectrum energy includes:
[0033] If the energy of at least one of the multiple sub-bands is greater than or equal to a preset energy threshold of the corresponding sub-band, or the total energy is greater than or equal to a preset total spectrum energy threshold, it is determined that the pickup terminal meets the preset activation condition;
[0034] If the energies of the multiple sub-bands are all smaller than the preset energy thresholds of the corresponding sub-bands, and the total energy is smaller than the preset total spectrum energy threshold, it is determined that the pickup terminal does not meet the preset activation condition.
[0035] Optionally, the method further comprises:
[0036] If the sound pickup terminal does not meet the preset activation condition, the sound pickup terminal is controlled to switch into a silent state to stop collecting audio signals.
[0037] In the third aspect, an embodiment of the present application provides a collection terminal, including: a first processor, a first transmitter, and a receiver; the first processor is connected to the first transmitter and the receiver through a bus communication; the receiver is used to receive signals sent by other terminal devices and transmit them to the first processor; the first processor is used to execute the audio signal processing method as described in any one of the first aspects; the first transmitter is used to send the processing results obtained by the first processor to other terminal devices.
[0038] In a fourth aspect, an embodiment of the present application provides a sound pickup terminal, comprising: a second processor, a second transmitter, and a second receiver; the second processor is connected to the second transmitter and the second receiver through a bus communication; the second receiver is used to collect audio signals and transmit them to the second processor; the second processor is used to execute the audio signal processing method as described in any one of the second aspects; the second transmitter is used to send the processing results obtained by the second processor to other terminal devices.
[0039] Compared with the prior art, this application has the following beneficial effects:
[0040] The present application provides an audio signal processing method and terminal, which receives multi-channel audio signals sent by multiple sound pickup terminals; performs correlation detection on the multi-channel audio signals to obtain correlation detection results; according to the correlation detection results, the multi-channel audio signals are aggregated and processed to obtain a target audio signal; and the target audio signal is transmitted to an audio playback terminal in other conference places connected to the conference system. Thus, by aggregating and processing the multi-channel audio signals, the quality of the target audio signal is improved, and the user's auditory experience is enhanced. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0042] Figure 1 A schematic diagram of a conference system provided in an embodiment of the present application;
[0043] Figure 2 A flowchart of an audio signal processing method provided in an embodiment of the present application;
[0044] Figure 3 A schematic diagram of a flow chart of a method for collecting multi-channel audio signals provided in an embodiment of the present application;
[0045] Figure 4 A schematic diagram of a flow chart of a method for adjusting a target audio signal provided in an embodiment of the present application;
[0046] Figure 5 A flowchart of another audio signal processing method provided in an embodiment of the present application;
[0047] Figure 6 A flowchart of a method for determining an activation condition provided in an embodiment of the present application;
[0048] Figure 7 A schematic diagram of an audio signal processing device provided in an embodiment of the present application;
[0049] Figure 8 A schematic diagram of another audio signal processing device provided in an embodiment of the present application;
[0050] Fig. 9 A schematic diagram of a collection terminal provided in an embodiment of the present application;
[0051] Fig.10 A schematic diagram of another sound pickup terminal provided in an embodiment of the present application.
[0052] Icons: 100-collection terminal, 200-pickup terminal, 701-receiving module, 702-detection module, 703-collection module, 704-sending module, 801-calculation module, 802-judgment module, 803-control module, 804-transmission module, 901-first processor, 902-first transmitter, 903-first receiver, 1001-second processor, 1002-second transmitter, 1003-second receiver. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0054] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for protection, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0055] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0056] In addition, the terms “first”, “second”, etc., if used, are merely used to distinguish between the descriptions and should not be understood as indicating or implying relative importance.
[0057] It should be noted that, in the absence of conflict, the features in the embodiments of the present invention may be combined with each other.
[0058] In order to improve the processing quality of multi-channel voice signals in a conference system and enhance the auditory experience of the audience, the present application provides an audio signal processing method and terminal.
[0059] Before explaining an audio signal processing method provided in an embodiment of the present application, a conference system to which the audio signal processing method is applied is first explained. Figure 1 A schematic diagram of a conference system provided in an embodiment of the present application. Figure 1 As shown, the conference system includes: a collection terminal 100 and a sound collection terminal 200 , and the collection terminal 100 is communicatively connected with a plurality of sound collection terminals 200 .
[0060] It should be noted that Figure 1 The structure shown represents the connection relationship between a collection terminal 100 and multiple sound pickup terminals 200. In the conference system, there may be multiple other collection terminals 100, and each collection terminal 100 is communicatively connected with multiple sound pickup terminals 200. The conference system can be an online multi-person conference or an offline multi-person conference. The actual scenario is that multiple sound pickup terminals 200 are set up in the same conference venue, and multiple sound pickup terminals 200 collect audio signals. The multi-channel audio signals are transmitted to the collection terminal 100, and the collection terminal 100 collects and processes the multi-channel audio signals. It should be noted that Figure 1 The arrangement of the aggregation terminal 100 and the sound pickup terminal 200 in the conference room is only for illustrating the connection relationship between the two and is only an example. The aggregation terminal 100 can also be placed or integrated outside the conference table.
[0061] For example, the aggregation terminal 100 is connected to the audio playback terminals in other conference places connected to the conference system to transmit the target audio signal to the audio playback terminals in other conference places connected to the conference system, so that the audio playback terminals play the target audio signal.
[0062] The following is an explanation of an audio signal processing method provided in an embodiment of the present application through a specific example. Figure 2 The present invention provides a flowchart of an audio signal processing method, the execution subject of which is a collection terminal in any conference place connected to the conference system, and the collection terminal can be a device with sending, receiving and processing functions. Figure 2 As shown, the method includes:
[0063] S101: receiving multi-channel audio signals sent by multiple sound pickup terminals.
[0064] If multiple audio signals sent by multiple sound pickup terminals are received in the same time period, the multiple sound pickup terminals may be sound pickup terminals in the same conference place, and several of the multiple audio signals may be audio signals generated by the same sound source.
[0065] S102: Perform correlation detection on multiple audio signals to obtain correlation detection results.
[0066] When the audio signals of the same sound source are picked up by the pickup terminals at different positions and then mixed into one channel, phase cancellation may occur and continuous depressions may appear on the spectrum. This is the result of the inversion of the center frequency of the sound wave. This phenomenon is called the "comb filter effect".
[0067] In order to reduce the influence of the "comb filter effect" on the audio signal, it is necessary to analyze the multi-channel audio signal to determine whether there are multiple audio signals generated by the same sound source in the multi-channel audio signal.
[0068] A correlation test is performed on each two audio signals in the multi-channel audio signals to obtain a correlation test result of each two audio signals. The correlation test result indicates whether the two audio signals are audio signals generated by the same sound source.
[0069] For example, a generalized cross-correlation delay estimation algorithm may be used to calculate the correlation value of two audio signals. The correlation value is the correlation detection result. The specific calculation method is shown in the following formula (1):
[0070]
[0071] Among them, R 12 is the correlation value of the first and second audio signals, W(f) is the weight function, G(f) is the cross-power spectrum of the first and second audio signals, and f is the audio sampling frequency. When the generalized cross-correlation delay estimation algorithm is used for calculation, different weight functions will be used to obtain multiple different correlation values, and the largest value among the multiple correlation values is used as the correlation value of the two audio signals.
[0072] It should be noted that the generalized cross-correlation delay estimation algorithm calculates the correlation value of two audio signals, which is only an example of obtaining the correlation detection result. If the correlation detection result is obtained by other methods, it is also within the protection scope of this application.
[0073] S103: According to the correlation detection result, the multi-channel audio signals are aggregated to obtain a target audio signal.
[0074] The correlation detection result indicates whether every two audio signals in the multi-channel audio signals are audio signals generated by the same sound source. According to the correlation detection result, it can be determined which audio signals in the multi-channel audio signals are audio signals generated by the same sound source and which audio signals are not audio signals generated by the same sound source.
[0075] Furthermore, the same aggregation process can be performed on multi-channel audio signals generated by the same sound source, and the same aggregation process can be performed on multi-channel audio signals generated by different sound sources to obtain the target audio signal. In this way, multi-channel audio signals generated by the same sound source can be identified, and the multi-channel audio signals generated by the same sound source can be uniformly aggregated and processed, thereby reducing the influence of the "comb filter effect" on the audio signal and improving the quality of the target audio signal.
[0076] S104: Transmit the target audio signal to audio playback terminals in other conference places connected to the conference system.
[0077] The target audio signal is transmitted to the audio playback terminal in other conference places connected to the conference system, so that the audio playback terminal plays the target audio signal. Through the aggregation process, the quality of the target audio signal has been improved. Furthermore, when the audio playback terminal plays the target audio signal, the user's auditory experience is improved.
[0078] In summary, in this embodiment, multiple audio signals sent by multiple sound pickup terminals are received; correlation detection is performed on the multiple audio signals to obtain correlation detection results; according to the correlation detection results, the multiple audio signals are aggregated and processed to obtain target audio signals; the target audio signals are transmitted to audio playback terminals in other conference places connected to the conference system. Thus, by aggregating and processing the multiple audio signals, the quality of the target audio signals is improved, and the user's auditory experience is enhanced.
[0079] In the above Figure 2 On the basis of the corresponding embodiments, the embodiments of the present application also provide a method for aggregating multiple audio signals. Figure 3 A flowchart of a method for collecting multi-channel audio signals provided in an embodiment of the present application is shown below. Figure 3 As shown, the correlation detection result includes: multiple groups of correlation parameters; in S103, according to the correlation detection result, the multiple audio signals are aggregated and processed to obtain the target audio signal, including:
[0080] S201: If multiple groups of correlation parameters meet preset correlation conditions, determine that multiple audio signals are correlated.
[0081] Each group of correlation parameters characterizes the correlation between two audio signals. If the group of correlation parameters meets the preset correlation condition, it is determined that the two audio signals are correlated. If multiple groups of correlation parameters meet the preset correlation condition, it is determined that the multiple audio signals corresponding to the multiple groups of correlation parameters are all correlated.
[0082] The multiple audio signals are related and can be identified as audio signals generated by the same sound source.
[0083] For example, the correlation parameter may be a correlation value, and the preset correlation condition may be: greater than or equal to a preset correlation value, for example, the preset correlation value is 0.95.
[0084] S202: Determine the time delay difference of the multiple-channel related audio signals according to the time points of the corresponding positions of the multiple-channel related audio signals.
[0085] Although the multiple related audio signals are generated by the same sound source, they are collected by multiple sound pickup terminals. The distances between the multiple sound pickup terminals and the sound source are different, resulting in different times of collecting the audio signals, which in turn leads to time delay differences between the multiple related audio signals.
[0086] One of the multiple related audio signals may be used as a reference audio signal, and the time delay differences between the other related audio signals in the multiple related audio signals and the reference audio signal may be calculated.
[0087] The time delay difference between the other related audio signals and the reference audio signal may be determined by calculating the time point difference between the other related audio signals and the reference audio signal, wherein the audio signal contents at the corresponding positions of the audio signals are the same.
[0088] S203: According to the time delay difference of the multiple-channel related audio signals, the multiple-channel related audio signals are time-aligned and then combined to obtain a target audio signal.
[0089] Taking the reference audio signal as the standard, using the time delay difference between other related audio signals and the reference audio signal, the other related audio signals are sequentially time-aligned. The time points of the aligned multiple related audio signals are the same as the time points of the reference audio signal.
[0090] The aligned multi-channel related audio signals have the same phase, and can be directly merged to obtain the target audio signal. This not only eliminates the "comb filter effect", but also prevents phase cancellation and continuous depressions in the spectrum. It also integrates the effects of multi-channel related audio signals, enhances the audio effect of the target audio signal, improves the quality of the audio signal, and thus ensures voice clarity.
[0091] In summary, in this embodiment, the correlation detection result includes: multiple groups of correlation parameters; if the multiple groups of correlation parameters meet the preset correlation conditions, it is determined that the multiple audio signals are correlated; according to the time points of the corresponding positions of the multiple related audio signals, the delay difference of the multiple related audio signals is determined; according to the delay difference of the multiple related audio signals, the multiple related audio signals are time-aligned and then merged to obtain the target audio signal. Thus, the "comb filter effect" is eliminated, the audio effect of the target audio signal is enhanced, the audio signal quality is improved, and the voice clarity is guaranteed.
[0092] In the above Figure 3 On the basis of the corresponding embodiment, S202 in the embodiment of the present application determines the delay difference of the multiple-channel related audio signals according to the time points of the corresponding positions of the multiple-channel related audio signals, including:
[0093] Determine the time delay difference of the peak values of the multiple-channel related audio signals according to the time points corresponding to the peak values of the multiple-channel related audio signals.
[0094] In multiple positions of the audio signal image, the peak value of the audio signal and the time point corresponding to the peak value are relatively easy to identify. Therefore, one of the multiple related audio signals can be used as a reference audio signal, and the difference between the time point corresponding to the peak value of other related audio signals and the reference audio signal is calculated to determine the time delay difference between the other related audio signals and the reference audio signal. Among them, the audio signal content of the peak value of the audio signal is the same.
[0095] In summary, in this embodiment, the delay difference of the multi-channel audio signals is determined according to the time points of multiple maximum correlation parameters in multiple groups of correlation parameters, thereby improving the delay calculation efficiency.
[0096] In the above Figure 2 On the basis of the corresponding embodiment, the correlation detection result includes: a plurality of groups of correlation parameters; in S103, according to the correlation detection result, the multi-channel audio signals are aggregated and processed to obtain the target audio signal, including:
[0097] If the multiple groups of correlation parameters do not meet the preset correlation conditions, the multiple audio signals are superimposed to obtain the target audio signal.
[0098] Each group of correlation parameters characterizes the correlation between two audio signals. If the group of correlation parameters does not meet the preset correlation condition, it is determined that the two audio signals are not correlated. If multiple groups of correlation parameters do not meet the preset correlation condition, it is determined that the multiple audio signals corresponding to the multiple groups of correlation parameters are not correlated.
[0099] The multiple audio signals are unrelated and can be considered to be audio signals generated by multiple different audio sources.
[0100] For audio signals generated by different sound sources, there will be no "comb filter effect". Multiple audio signals can be directly superimposed to obtain the target audio signal. The target audio signal played by the final audio playback device is also the effect of multiple audio signals mixed together, for example, multiple people talking at the same time.
[0101] In summary, in this embodiment, if multiple groups of correlation parameters do not meet the preset correlation conditions, the multiple audio signals are superimposed to obtain the target audio signal. Thus, by setting the correlation conditions, the audio signals are processed according to different situations, thereby improving the processing accuracy of the audio signals.
[0102] In the above Figure 2 On the basis of the corresponding embodiment, the embodiment of the present application further provides a method for adjusting a target audio signal. Figure 4 The flowchart of a method for adjusting a target audio signal provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, before transmitting the target audio signal to the audio playback terminals in other conference places connected to the conference system in S104, the method further includes:
[0103] S301: Automatically adjust the gain of a target audio signal.
[0104] In order to avoid the sound of the target audio signal fluctuating when playing, the target audio signal can be automatically adjusted for gain.
[0105] The maximum volume and minimum volume can be preset. When the target audio signal amplitude exceeds the maximum volume, the signal is limited by the amplifier circuit. Limiting means that the output volume no longer changes with the input signal, and the maximum output volume is limited to a horizontal line. Conversely, when the target audio signal amplitude is lower than the minimum volume, the gain will be automatically increased to increase the output volume.
[0106] Amplify or reduce the target audio signal to always keep it within the volume range between the maximum and minimum volumes.
[0107] For example, an automatic gain control algorithm may be used to automatically adjust the gain of the target audio signal.
[0108] Furthermore, the step of transmitting the target audio signal to the audio playback terminals in other conference places connected to the conference system in S104 includes:
[0109] S302: Transmit the adjusted target audio signal to audio playback terminals in other conference locations.
[0110] The adjusted target audio signal always remains within the volume range between the maximum volume and the minimum volume. The target audio signal adjusted by the audio playback terminal will be particularly clear to the listener. This avoids the listener having difficulty listening to the sound due to the volume collected by the pickup terminal being too low, and avoids the sound popping due to the volume collected being too high.
[0111] In summary, in this embodiment, the target audio signal is automatically gain adjusted, and the adjusted target audio signal is transmitted to the audio playback terminal in other conference places, thereby improving the quality of audio data and enhancing the auditory experience of the audience.
[0112] Another audio signal processing method provided in an embodiment of the present application is explained below through a specific example. Figure 5 This is a flow chart of another audio signal processing method provided by an embodiment of the present application. The execution subject of this method is a sound pickup terminal in any conference place connected to the conference system. The sound pickup terminal can be a device with sending, receiving and processing functions. Figure 5 As shown, the method includes:
[0113] S401: Calculate the spectrum energy of the collected audio signal.
[0114] Spectral energy can represent the size of the audio signal. If the audio signal is collected at a high volume, the spectral energy is high, such as the speech of the participants collected; if the audio signal is collected at a low volume, the spectral energy is low, such as the environmental noise collected. If the audio source is close to the sound pickup terminal, the spectral energy is high; if the audio source is close to the sound pickup terminal, the spectral energy is low.
[0115] S402: Determine whether the sound pickup terminal meets a preset activation condition according to the spectrum energy.
[0116] According to the spectrum energy, it can be determined whether the currently collected audio signal is the audio signal that needs to be collected. According to whether the currently collected audio signal is the audio signal that needs to be collected, it can be determined whether the sound pickup terminal meets the preset activation condition.
[0117] S403: If the sound pickup terminal meets the preset activation condition, the sound pickup terminal is controlled to be in a speaking state to continue collecting audio signals.
[0118] If the pickup terminal meets the preset activation conditions, it indicates that the currently collected audio signal is the audio signal that needs to be collected, for example, the audio signal of one or more participants speaking closest to the pickup terminal. Then the pickup terminal is controlled to be in the speaking state to continue collecting audio signals to ensure the integrity of important audio signals.
[0119] Optionally, within the continuous preset frames, if the sound pickup terminal meets the preset activation condition, the sound pickup terminal is controlled to be in a speaking state to continue collecting audio signals, so as to improve the accuracy of determining whether the preset activation condition is met.
[0120] S404, transmitting the audio signal to a collection terminal in any conference venue, so that the collection terminal performs correlation detection on the received multi-channel audio signals, and collects and processes the multi-channel audio signals according to the correlation detection results to obtain the target audio signal, and then transmits the target audio signal to the audio playback terminals in other conference venues connected to the conference system.
[0121] Through audio screening and collection, it is possible to prevent the transmission of tiny sounds such as whispers and environmental noise in the environment, reduce the power consumption of line transmission and the computing and processing pressure of the collection terminal, and improve the efficiency of audio signal processing.
[0122] In summary, in this embodiment, the spectrum energy of the collected audio signal is calculated; based on the spectrum energy, it is determined whether the sound pickup terminal meets the preset activation conditions; if the sound pickup terminal meets the preset activation conditions, the sound pickup terminal is controlled to be in a speaking state to continue collecting audio signals; the audio signal is transmitted to a collection terminal in any conference venue, so that the collection terminal performs a correlation detection on the received multi-channel audio signals, and based on the correlation detection results, the multi-channel audio signals are collected and processed to obtain the target audio signal, and then the target audio signal is transmitted to the audio playback terminals in other conference venues connected to the conference system. Thus, the audio signals are screened and collected, and the audio signal processing efficiency is improved.
[0123] In the above Figure 5 On the basis of the corresponding embodiments, the embodiments of the present application also provide a method for determining an activation condition. Figure 6 The following is a flow chart of a method for determining an activation condition provided in an embodiment of the present application. Figure 6 As shown, the calculation of the spectrum energy of the collected audio signal in S401 includes:
[0124] S501: Split an audio signal into multiple sub-bands of audio sub-signals according to multiple sub-bands of a preset frequency spectrum.
[0125] For example, taking the sampling frequency of the audio signal as 8KHz, the spectrum of the audio signal can be divided into 6 sub-bands: 80Hz~250Hz, 250Hz~500Hz, 500Hz~1KHz, 1KHz~2KHz, 2KHz~3KHz, and 3K~4KHz.
[0126] S502: Calculate the energies of the multiple sub-bands respectively according to the audio sub-signals of the multiple sub-bands.
[0127] S503: Calculate the total energy of a preset spectrum according to the energies of the multiple sub-bands.
[0128] The energies of multiple sub-bands are added together to obtain the total energy of the preset spectrum.
[0129] Correspondingly, judging whether the sound pickup terminal meets the preset activation condition according to the spectrum energy in S401 includes:
[0130] S504: If the energy of at least one of the multiple sub-bands is greater than or equal to a preset energy threshold of the corresponding sub-band, or the total energy is greater than or equal to a preset spectrum total energy threshold, it is determined that the sound pickup terminal meets a preset activation condition.
[0131] Each sub-band can represent the size of the audio signal. Therefore, if the energy of any sub-band or any energy value in the total energy meets the corresponding energy threshold, it can be determined that the sound pickup terminal meets the preset activation condition.
[0132] For example, the preset energy thresholds of the subbands are: 650, 550, 700, 700, 750, 750, and the preset total spectrum energy threshold is 3150. There are two situations that meet the preset activation conditions. If the subband energies are: 645, 524, 748, 324, 305, 274, and the total energy is 2820, the total energy does not exceed the preset total spectrum energy threshold, but the third subband exceeds the corresponding preset energy threshold, then the preset activation condition is met. If the subband energies are: 578, 444, 528, 563, 566, 492, the total energy is: 3171, and the total energy exceeds the preset total spectrum energy threshold, then the preset activation condition is met.
[0133] S505: If the energies of the multiple sub-bands are all smaller than the preset energy thresholds of the corresponding sub-bands, and the total energy is smaller than the preset total spectrum energy threshold, it is determined that the sound pickup terminal does not meet the preset activation condition.
[0134] In summary, in this embodiment, the audio signal is split into multiple audio sub-signals of the sub-bands according to the multiple sub-bands of the preset spectrum; the energy of the multiple sub-bands is calculated according to the audio sub-signals of the multiple sub-bands; the total energy of the preset spectrum is calculated according to the energy of the multiple sub-bands; if the energy of at least one of the multiple sub-bands is greater than or equal to the preset energy threshold of the corresponding sub-band, or the total energy is greater than or equal to the preset total energy threshold of the spectrum, it is determined that the pickup terminal meets the preset activation condition; if the energy of the multiple sub-bands is less than the preset energy threshold of the corresponding sub-band, and the total energy is less than the preset total energy threshold of the spectrum, it is determined that the pickup terminal does not meet the preset activation condition. Thus, the audio signal is accurately judged by the spectrum energy, and the efficiency of audio signal processing is improved.
[0135] In the above Figure 5On the basis of the corresponding embodiment, the method in the embodiment of the present application further includes:
[0136] If the sound pickup terminal does not meet the preset activation conditions, the sound pickup terminal is controlled to switch into a silent state to stop collecting audio signals.
[0137] If the sound pickup terminal does not meet the preset activation condition, it indicates that the currently collected audio signal is an audio signal that does not need to be collected, for example, an audio signal of ambient noise. Then the sound pickup terminal is controlled to switch into a silent state to stop collecting audio signals.
[0138] Optionally, within a preset time period, if the sound pickup terminal does not meet the preset activation condition, the sound pickup terminal is controlled to switch to a silent state to stop collecting audio signals, so as to improve the judgment accuracy of the preset activation condition and avoid misjudgment. For example, the preset time period is 2 minutes.
[0139] In summary, in this embodiment, if the sound pickup terminal does not meet the preset activation condition, the sound pickup terminal is controlled to switch into a silent state to stop collecting audio signals. Thus, the audio signals are screened and collected, and the audio signal processing efficiency is improved.
[0140] The following describes an audio signal processing device, equipment, storage medium, etc. provided by the present application for execution. The specific implementation process and technical effects are described above and will not be repeated below.
[0141] Figure 7 A schematic diagram of an audio signal processing device provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the device is applied to a collection terminal in any conference place in a conference system, and includes:
[0142] The receiving module 701 is used to receive multi-channel audio signals sent by multiple sound pickup terminals.
[0143] The detection module 702 is used to perform correlation detection on the multi-channel audio signals to obtain a correlation detection result.
[0144] The aggregation module 703 is used to aggregate the multi-channel audio signals according to the correlation detection result to obtain the target audio signal.
[0145] The sending module 704 is used to transmit the target audio signal to the audio playback terminals in other conference places connected to the conference system.
[0146] Furthermore, the aggregation module 703 is specifically used for correlation detection results including: multiple groups of correlation parameters; if the multiple groups of correlation parameters meet the preset correlation conditions, it is determined that the multiple audio signals are correlated; according to the time points of the corresponding positions of the multiple related audio signals, the delay difference of the multiple related audio signals is determined; according to the delay difference of the multiple related audio signals, the multiple related audio signals are time-aligned and then merged to obtain the target audio signal.
[0147] Furthermore, the aggregation module 703 is further configured to determine the time delay difference of the multiple-channel related audio signals according to the time points corresponding to the peak values of the multiple-channel related audio signals.
[0148] Furthermore, the aggregation module 703 is specifically used for the correlation detection result including: multiple groups of correlation parameters; if the multiple groups of correlation parameters do not meet the preset correlation conditions, then superimposing the multiple audio signals to obtain the target audio signal.
[0149] Furthermore, the sending module 704 is specifically configured to automatically adjust the gain of the target audio signal; and transmit the adjusted target audio signal to audio playback terminals in other conference locations.
[0150] Figure 8 A schematic diagram of another audio signal processing device provided in an embodiment of the present application, such as Figure 8 As shown, the device is applied to any sound pickup terminal in any conference place in the conference system, and includes:
[0151] The calculation module 801 is used to calculate the spectrum energy of the collected audio signal.
[0152] The judgment module 802 is used to judge whether the sound pickup terminal meets the preset activation condition according to the spectrum energy.
[0153] The control module 803 is used to control the sound pickup terminal to be in a speaking state to continue collecting audio signals if the sound pickup terminal meets a preset activation condition.
[0154] The transmission module 804 is used to transmit the audio signal to the aggregation terminal in any conference venue, so that the aggregation terminal can perform correlation detection on the received multi-channel audio signals, and according to the correlation detection result, aggregate and process the multi-channel audio signals to obtain the target audio signal, and then transmit the target audio signal to the audio playback terminals in other conference venues connected to the conference system.
[0155] Further, the calculation module 801 is specifically used to split the audio signal into multiple audio sub-signals of the sub-bands according to the multiple sub-bands of the preset spectrum; calculate the energy of the multiple sub-bands according to the audio sub-signals of the multiple sub-bands; and calculate the total energy of the preset spectrum according to the energy of the multiple sub-bands;
[0156] Furthermore, the judgment module 802 is specifically used to determine that the pickup terminal meets the preset activation conditions if the energy of at least one of the multiple sub-bands is greater than or equal to the preset energy threshold of the corresponding sub-band, or the total energy is greater than or equal to the preset total spectrum energy threshold; if the energies of the multiple sub-bands are all less than the preset energy threshold of the corresponding sub-band, and the total energy is less than the preset total spectrum energy threshold, it is determined that the pickup terminal does not meet the preset activation conditions.
[0157] Furthermore, the control module 803 is also used to control the sound pickup terminal to switch into a silent state to stop collecting audio signals if the sound pickup terminal does not meet a preset activation condition.
[0158] Fig. 9 This is a schematic diagram of a collection terminal provided in an embodiment of the present application. The collection terminal may be a device with processing, sending, and receiving functions. Fig. 9 As shown:
[0159] The aggregation terminal includes: a first processor 901, a first transmitter 902, and a first receiver 903. The first processor 901 is connected to the first transmitter 902 and the first receiver 903 through a bus communication.
[0160] The first receiver 903 is used to receive signals sent by other terminal devices and transmit them to the first processor 901. The first processor 901 is used to execute the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here. The first transmitter 902 is used to send the processing result of the first processor 901 to other terminal devices.
[0161] Fig.10 This is a schematic diagram of another sound pickup terminal provided in an embodiment of the present application. The sound pickup terminal may be a device with processing, sending, and receiving functions. Fig.10 As shown:
[0162] The sound pickup terminal includes: a second processor 1001, a second transmitter 1002, and a second receiver 1003. The second processor 1001 is connected to the second transmitter 1002 and the second receiver 1003 through a bus communication.
[0163] The second receiver 1003 is used to collect audio signals and transmit them to the second processor 1001. The second processor 1001 is used to execute the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here. The second transmitter 1002 is used to send the processing result of the second processor 1001 to other terminal devices.
[0164] Optionally, the present invention also provides a program product, such as a computer-readable storage medium, comprising a program, which is used to execute the above method embodiment when executed by a processor.
[0165] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0166] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0167] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0168] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.
Claims
1. An audio signal processing method, characterized in that: Applied to a collection terminal in any conference place in an access conference system, the method includes: Receive multi-channel audio signals sent by multiple sound pickup terminals; Performing correlation detection on the multi-channel audio signals to obtain a correlation detection result; According to the correlation detection result, the multi-channel audio signals are aggregated to obtain a target audio signal; Transmitting the target audio signal to audio playback terminals in other conference places connected to the conference system; The correlation detection result includes: a plurality of groups of correlation parameters; and the multi-channel audio signals are aggregated and processed according to the correlation detection result to obtain a target audio signal, including: If the multiple groups of correlation parameters meet the preset correlation conditions, determining that the multiple audio signals are correlated; Determining the time delay difference of the multiple-channel related audio signals according to the time points of the corresponding positions of the multiple-channel related audio signals; According to the time delay difference of the multiple-channel related audio signals, the multiple-channel related audio signals are time-aligned and then combined to obtain the target audio signal.
2. The method according to claim 1, characterized in that: The step of determining the time delay difference of the multiple-channel related audio signals according to the time points of the corresponding positions of the multiple-channel related audio signals comprises: Determine the time delay differences of the multiple-channel related audio signals according to the time points corresponding to the peak values of the multiple-channel related audio signals.
3. The method according to claim 1, characterized in that The correlation detection result includes: a plurality of groups of correlation parameters; and the multi-channel audio signals are aggregated and processed according to the correlation detection result to obtain a target audio signal, including: If the multiple groups of correlation parameters do not meet the preset correlation condition, the multi-channel audio signals are superimposed to obtain the target audio signal.
4. The method according to claim 1, characterized in that: Before transmitting the target audio signal to audio playback terminals in other conference places connected to the conference system, the method further includes: Automatically adjusting the gain of the target audio signal; The step of transmitting the target audio signal to an audio playback terminal in another conference place connected to the conference system includes: The adjusted target audio signal is transmitted to the audio playback terminals in the other conference places.
5. An audio signal processing method, characterized in that: Applied to any sound pickup terminal in any conference place in the access conference system, the method includes: Calculate the spectrum energy of the collected audio signal; According to the spectrum energy, determining whether the sound pickup terminal meets a preset activation condition; If the sound pickup terminal meets the preset activation condition, controlling the sound pickup terminal to be in a speaking state to continue collecting audio signals; The audio signal is transmitted to a collection terminal in any of the conference venues, so that the collection terminal performs a correlation detection on the received multi-channel audio signals. If multiple groups of correlation parameters meet preset correlation conditions, it is determined that the multi-channel audio signals are correlated. According to the time points of the corresponding positions of the multi-channel correlated audio signals, the time delay difference of the multi-channel correlated audio signals is determined. According to the time delay difference of the multi-channel correlated audio signals, the multi-channel correlated audio signals are time-aligned and then merged to obtain the target audio signal. The target audio signal is then transmitted to the audio playback terminals in other conference venues connected to the conference system.
6. The method according to claim 5, characterized in that The calculating the spectrum energy of the collected audio signal includes: Splitting the audio signal according to multiple sub-bands of a preset frequency spectrum to obtain audio sub-signals of the multiple sub-bands; Calculate the energies of the multiple sub-bands respectively according to the audio sub-signals of the multiple sub-bands; Calculating the total energy of the preset spectrum according to the energies of the multiple sub-bands; Correspondingly, judging whether the sound pickup terminal meets a preset activation condition according to the spectrum energy includes: If the energy of at least one of the multiple sub-bands is greater than or equal to a preset energy threshold of the corresponding sub-band, or the total energy is greater than or equal to a preset total spectrum energy threshold, it is determined that the pickup terminal meets the preset activation condition; If the energies of the multiple sub-bands are all smaller than the preset energy thresholds of the corresponding sub-bands, and the total energy is smaller than the preset total spectrum energy threshold, it is determined that the pickup terminal does not meet the preset activation condition.
7. The method according to claim 5, characterized in that The method further comprises: If the sound pickup terminal does not meet the preset activation condition, the sound pickup terminal is controlled to switch into a silent state to stop collecting audio signals.
8. A collection terminal, characterized in that: include: a first processor, a first transmitter, and a first receiver; The first processor is communicatively connected with the first transmitter and the first receiver via a bus; The receiver is used to receive signals sent by other terminal devices and transmit the signals to the first processor; The first processor is used to execute the audio signal processing method according to any one of claims 1 to 4; the first transmitter is used to send the processing result obtained by the first processor to other terminal devices.
9. A sound pickup terminal, characterized in that: include: a second processor, a second transmitter, and a second receiver; The second processor is connected to the second transmitter and the second receiver via a bus; the second receiver is used to collect audio signals and transmit them to the second processor; The second processor is used to execute the audio signal processing method as described in any one of claims 5 to 7; the second transmitter is used to send the processing result obtained by the second processor to other terminal devices.
