Microphone balance adaptive adjustment method, device and equipment
By performing time-frequency conversion and real-time spectrum analysis on the singer's audio signal, and real-time adjustment of the microphone equalizer gain in real-time, the problem of the existing technology being unable to adapt to the range changes and sound quality differences is solved, and more efficient sound quality optimization and recording effects are achieved.
Patent Information
- Application Number
- CN202411209383.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-08-30
AI Technical Summary
The existing microphone equalization adjustment technology cannot adapt to singer range changes and sound quality differences in real time, making it difficult to meet requirements in complex acoustic environments or high-quality recordings.
By collecting and analyzing the singer's audio signals, performing time-frequency conversion to generate a real-time spectrum diagram, comparing the difference with the reference spectrum, and adjusting the equalizer gain in real time, so that the microphone can automatically adjust the frequency response according to the singer's voice characteristics, and continue to monitor and feedback optimization balanced settings.
It improves the accuracy and flexibility of microphone balance adjustment, which can better capture and present the singer's voice characteristics and improve recording and performance effects.
Smart Images

Figure CN119094934A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of microphones, and in particular to a method, device and equipment for adaptively adjusting microphone equalization. Background Art
[0002] In modern music recording and live performances, the selection and setting of microphones are crucial to the presentation of sound quality. Since singers have different vocal ranges, vocalization methods, and musical styles, the equalization adjustment of the microphone must be able to adapt to these differences to ensure the best sound effects during recording and performance. Traditional microphone equalization settings usually rely on manual adjustment, requiring audio engineers to have a high degree of professional skills. However, this method is not only time-consuming and labor-intensive, but also unable to adapt in real time to the changes in vocal range and differences in sound quality that may occur during the singer's singing.
[0003] At present, in order to improve the efficiency and accuracy of microphone equalization, some automatic equalization technologies have emerged. These technologies can automatically adjust the microphone's equalization settings based on the singer's voice characteristics. However, existing automatic equalization technologies usually rely on preset parameters and cannot fully consider the individual vocal characteristics of the singer and the overtone structure in a specific music clip. This results in the accuracy and flexibility of microphone equalization being limited, especially when facing complex acoustic environments or professional recordings that require high sound quality, the existing technologies often fail to meet the requirements. Summary of the invention
[0004] The main purpose of the present invention is to provide a method, device and equipment for adaptively adjusting microphone equalization, aiming to improve the accuracy and flexibility of microphone equalization adjustment and enhance the recording and performance effects.
[0005] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions.
[0006] In a first aspect, the present invention provides a method for adaptively adjusting microphone equalization, comprising:
[0007] Collect and analyze the singer's audio signal;
[0008] Perform time-frequency conversion on the collected audio signal to generate a real-time spectrum graph;
[0009] Compare the real-time spectrum with the reference spectrum, and calculate the difference between each frequency band and the reference spectrum, wherein the reference spectrum is a pre-recorded ideal sound or a target spectrum set in the system;
[0010] According to the difference in each frequency band, the gain setting of the equalizer is adjusted in real time, so that the microphone can automatically adjust the frequency response in real time according to the vocal characteristics of the singer.
[0011] In a possible implementation manner, after the step of adjusting the gain setting of the equalizer in real time according to the difference of each frequency band, the step further includes:
[0012] Continue to monitor the adjusted audio output to check the effect of the equalization adjustment;
[0013] Gather feedback from the singer and adjust the gain settings on the equalizer.
[0014] In a possible implementation manner, the step of continuously monitoring the adjusted audio output and checking the effect of the equalization adjustment further includes:
[0015] Filters out ambient noise, ensuring equalization adjustments focus on the desired signal.
[0016] In a possible implementation, the step of collecting and analyzing the singer's audio signal includes:
[0017] Collect and analyze the singer's vocal range, marking the lowest and highest frequency ranges that the singer can accurately produce;
[0018] Collect and analyze the singer's overtone characteristics, which refer to frequency components other than the fundamental frequency and are used to determine the timbre and texture of the sound.
[0019] In a possible implementation, the step of performing time-frequency conversion on the collected audio signal to generate a real-time spectrogram includes:
[0020] Divide the audio signal into small windows, each window lasting 20ms-50ms;
[0021] Apply Fourier transform to each window to get the spectrum information.
[0022] In a possible implementation, in the step of adjusting the gain setting of the equalizer in real time according to the difference in each frequency band, the frequency band interpolation calculation method is D(f,t)=T(f)-|X(f,t)|, wherein D(f,t) represents the spectrum difference at frequency f at the current time t, and |X(f,t)| is the amplitude of the input signal spectrum.
[0023] In a possible implementation, the gain setting method is G(f, t) = αD(f, t) + Gprev(f, t), where α is an adjustment coefficient that controls the rate of gain adjustment, and Gprev(f, t) is the gain at the previous moment, which is used for smooth transition.
[0024] In a second aspect, the present invention provides a device for adaptively adjusting microphone balance, comprising:
[0025] An acquisition module, used for acquiring and analyzing the singer's audio signal;
[0026] A conversion module, used to perform time-frequency conversion on the collected audio signal and generate a real-time spectrum graph;
[0027] The gain calculation module is used to compare the difference between the current audio spectrum and the reference spectrum and calculate the frequency band that needs to be adjusted;
[0028] Adjust gain module, used to adjust the gain setting of the equalizer in real time.
[0029] In a third aspect, the present invention provides a device comprising: a processor and a memory, wherein the memory is coupled to the processor, the memory is used to store computer program code, and the computer program code includes computer instructions. When the processor reads the computer instructions from the memory, the electronic device executes the microphone equalization adaptive adjustment method as described in the first aspect or any possible implementation method of the first aspect.
[0030] The technical solution of the present invention generates a real-time spectrum diagram by performing time-frequency conversion on the collected audio signal; the real-time spectrum is compared with the reference spectrum to calculate the difference between each frequency band and the reference spectrum, and the reference spectrum is a pre-recorded ideal sound or a target spectrum set in the system; according to the difference of each frequency band, the gain setting of the equalizer is adjusted in real time, so that the microphone can automatically adjust the frequency response in real time according to the vocal characteristics of the singer. By analyzing the singer's vocal range and overtone characteristics in detail, combining the reference audio, and dynamically adjusting the microphone's equalization settings, adaptive sound quality optimization is achieved; through such fine adjustment, the microphone can better capture and present the vocal characteristics of the singer. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] 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 some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0032] Figure 1 Flow chart of an embodiment of a method for adaptively adjusting microphone equalization according to the present invention.
[0033] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0035] In response to the problems in the background technology, the embodiments of the present application adopt the following technical solutions.
[0036] First, in conjunction with reference Figure 1 As shown, the present invention provides a method for adaptively adjusting microphone equalization, comprising the following steps:
[0037] S10, collecting and analyzing the singer's audio signal.
[0038] In this step, first, the singer sings "do, re, mi, fa, so, la, si, do..." in the specified scale order, covering all pitches in his range. During the collection process, the singer's voice is recorded using high-quality microphones and recording equipment to ensure the clarity and accuracy of the recording. The recorded sound is analyzed in time and frequency, usually using Fourier transform (FFT) or short-time Fourier transform (STFT) to convert the audio signal into the frequency domain; the frequency components of each scale are analyzed to determine the upper and lower limits of the singer's range, and the width of the singer's range is calculated. According to the frequency analysis results, the lowest and highest frequency ranges that the singer can accurately sound are marked to determine the width of his range. These data will provide a basis for the subsequent adaptive adjustment of the equalizer.
[0039] Secondly, collect a representative music clip sung by the singer and record it with high-quality recording equipment. Perform time-frequency conversion analysis on the recorded music, pay attention to the main frequency and overtone components in the spectrum, and record the distribution and intensity of overtones in each frequency band (bass, midrange, treble). Overtones refer to other frequency components besides the fundamental frequency, which determine the timbre and texture of the sound. By analyzing overtones, you can understand the unique characteristics of the singer's voice.
[0040] S20: Perform time-frequency conversion on the collected audio signal to generate a real-time spectrum graph.
[0041] In this step, time-frequency conversion is to convert the audio signal in the time domain to the frequency domain in order to analyze its frequency components. It is very important for audio processing, especially in applications such as equalization and noise reduction. Generating a real-time spectrogram is to display this frequency information in a graphical way. Since the audio signal is usually continuous and cannot be directly processed as a whole, the audio signal is divided into shorter frames (usually 20 milliseconds-40 milliseconds). These frames overlap slightly during processing to reduce the boundary effect and enable intuitive observation of the energy distribution of the audio signal at different frequencies. A window function (such as a Hanning window or a Hamming window) is applied to each frame to reduce the spectrum leakage effect and ensure the clarity of the spectrum. A fast Fourier transform (FFT) is applied to each frame to convert the time domain signal to the frequency domain to obtain the spectrum information of the frame. These spectrum information represent the energy distribution of the audio signal at different frequencies. The spectrogram is a two-dimensional image with time on the horizontal axis and frequency on the vertical axis. The color or brightness represents the energy intensity at that time point and frequency. As the audio signal is continuously collected and processed, the spectrogram will be dynamically updated to display the current frequency component changes in real time.
[0042] Through the spectrogram, you can intuitively see the different frequency components in the audio signal. For example, the low-frequency area (such as below 100Hz) may represent the bass part, while the high-frequency area (such as several thousand Hz) may represent the treble or noise; the spectrogram can help identify noise or interference in the audio. For example, if a specific frequency band is abnormally prominent in the spectrogram, it may indicate the presence of an interfering signal; by observing the spectrogram, you can adjust the equalizer parameters in real time. For example, if the low-frequency part is too strong, you can reduce the gain of the low-frequency band; if the high-frequency part is insufficient, you can increase the gain of the high-frequency band; during audio recording or transmission, the spectrogram can be used to diagnose audio problems, such as the absence or abnormal enhancement of certain frequency bands.
[0043] S30, comparing the real-time spectrum with the reference spectrum, and calculating the difference between each frequency band and the reference spectrum, wherein the reference spectrum is a pre-recorded ideal sound or a target spectrum set in the system.
[0044] In this step, the spectrum of the singer's bass, middle and treble obtained by analysis is compared with the reference audio (which may be a standard sound or a target sound), and the difference (difference) between the frequency components of each frequency band and the reference audio is calculated. The reference spectrum here is a pre-recorded ideal sound or a target spectrum set in the system. The reference spectrum is an ideal frequency distribution diagram used to compare and adjust the spectrum of the actual audio signal to achieve the desired sound quality effect. The reference spectrum can come from a variety of sources, depending on the application scenario and goal. For example, the standardized spectrum is usually set according to a certain standard or specification; the ideal spectrum is the ideal spectrum shape set according to the ideal sound quality in a specific application scenario; the spectrum of the reference audio uses high-quality audio as the reference audio and uses its spectrum as a reference. The reference spectrum provides a clear goal for audio processing, making the equalization adjustment more scientific and systematic, reducing the error of subjective adjustment, and by comparing with the reference spectrum, it is possible to identify and correct deficiencies in the audio signal, such as the absence or over-emphasis of certain frequency bands, thereby optimizing the overall sound quality.
[0045] S40, according to the difference of each frequency band, the gain setting of the equalizer is adjusted in real time, so that the microphone can automatically adjust the frequency response in real time according to the vocal characteristics of the singer.
[0046] In this step, adjust the gain setting of the automatic equalizer according to the difference in each frequency band. For example, if the singer has a weak frequency response in the bass band, increase the gain of that band, and vice versa. Apply these adjustments to the microphone's equalizer, so that the microphone can automatically adjust the frequency response in real time according to the singer's voice characteristics. Through continuous monitoring and adjustment, you can ensure that the microphone always provides the best sound quality in different singing environments.
[0047] In a possible implementation manner, after the step of adjusting the gain setting of the equalizer in real time according to the difference of each frequency band, the following steps are further included:
[0048] S401. Continuously monitor the adjusted audio output to check the effect of the equalization adjustment.
[0049] In this step, audio analysis tools (such as spectrum analyzers, RMS level detectors, etc.) are used to continuously monitor the audio output signal to extract key features of the adjusted audio, such as spectral distribution, volume level, signal-to-noise ratio (SNR), etc. These features can be used to evaluate the effect of the equalization adjustment. The adjusted audio spectrum is compared with the pre-defined reference spectrum in real time; each frequency band is checked to see if it matches the expected value of the reference spectrum, with special attention paid to the energy distribution of the low, medium and high frequencies; if the actual spectrum deviates from the reference spectrum, these deviations are recorded as a basis for further adjustments. An automatic feedback mechanism can also be established in the audio processing system to enable the system to automatically adjust the equalization parameters based on the real-time monitoring results. For example, the system can set a threshold: if the energy of a certain frequency band continuously deviates from the reference value by more than the set threshold, the system will automatically adjust the equalizer to reduce or increase the gain of the frequency band. After each automatic adjustment, the system will monitor the audio output again to verify whether the new equalization settings have improved the sound quality. Through continuous monitoring, the equalizer can dynamically adapt to the changing audio input and environment, thereby maintaining a stable sound quality effect.
[0050] S402, collecting feedback from singers and adjusting the gain setting of the equalizer.
[0051] In this step, you can provide a physical control panel or foot switch through which the singer can quickly submit feedback; or design a simple application or use a tablet to allow the singer to submit feedback through the touch screen; or integrate voice recognition function in the recording software to allow the singer to submit feedback by voice (such as "increase low frequency" or "reduce high frequency"). While collecting singer feedback, record the current equalizer settings and audio output to associate with the feedback. Categorize the collected feedback to determine which frequency bands need to adjust the gain. For example, if the singer reports "insufficient bass", the gain of the low frequency band needs to be increased. Verify the singer's feedback with audio monitoring data (such as real-time spectrogram) to ensure that the feedback is consistent with the actual audio performance. Finally, adjust the gain setting of the equalizer based on the feedback. And loop the feedback and optimization process until the ideal effect is achieved.
[0052] In a possible implementation manner, the step of continuously monitoring the adjusted audio output and checking the effect of the equalization adjustment further includes:
[0053] Filters out ambient noise, ensuring equalization adjustments focus on the desired signal.
[0054] In this step, noise cancellation techniques, such as adaptive filters, are combined to filter out ambient noise, ensuring that the adaptive equalization focuses on the useful signal.
[0055] In a possible implementation, the step of collecting and analyzing the singer's audio signal includes:
[0056] S101, collecting and analyzing the singer's vocal range width, marking the lowest and highest frequency ranges that the singer can accurately sound.
[0057] In this step, the singer is collected to sing "do, re, mi, fa, so, la, si, do..." in the specified scale order, covering all the pitches in his / her vocal range. During the collection process, the singer's voice is recorded using high-quality microphones and recording equipment to ensure the clarity and accuracy of the recording. The recorded sound is subjected to time-frequency analysis, usually using Fourier transform (FFT) or short-time Fourier transform (STFT) to convert the audio signal into the frequency domain; the frequency components of each scale are analyzed to determine the upper and lower limits of the singer's vocal range, and the width of the singer's vocal range is calculated. Based on the results of the frequency analysis, the lowest and highest frequency ranges that the singer can accurately sound are marked to determine the width of his / her vocal range.
[0058] S102. Collect and analyze the overtone characteristics of the singer, where the overtone characteristics refer to other frequency components except the fundamental frequency and are used to determine the timbre and texture of the sound.
[0059] In this step, a representative music clip of the singer is collected and recorded using high-quality recording equipment. The recorded music is analyzed by time-frequency conversion, focusing on the main frequency and overtone components in the spectrum, and recording the distribution and intensity of overtones in each frequency band (bass, midrange, and treble). Overtones refer to other frequency components besides the fundamental frequency, which determine the timbre and texture of the sound. By analyzing overtones, the unique characteristics of the singer's voice can be understood.
[0060] In a possible implementation, the step of performing time-frequency conversion on the collected audio signal to generate a real-time spectrogram includes:
[0061] Divide the audio signal into small windows, each window lasting 20ms-50ms;
[0062] Apply Fourier transform to each window to get the spectrum information.
[0063] In this step, first, the time length of each window is determined, usually 20ms to 50ms. This range is short enough to capture fast changes in the audio signal and long enough to obtain good resolution in the frequency domain. For example, if the sampling rate is 44.1kHz (common in audio processing), 20ms corresponds to 882 sample points and 50ms corresponds to 2205 sample points. Then, the audio signal is divided into multiple small blocks according to the set window size. For each window, the corresponding sample data is extracted. The overlapping window technique is usually used, that is, there is a certain degree of overlap between each window (for example, 50% overlap) to reduce the window boundary effect and better capture transient changes. Before Fourier transforming each window, a window function (such as Hanning window, Hamming window or Blackman window) is applied to reduce spectral leakage. The window function smoothes the signal at the boundary and reduces the pseudo-spectral components caused by truncation. The signal of each window is multiplied by the selected window function to generate smoothed signal data. A fast Fourier transform (FFT) is performed on the signal data after the window function is applied to convert the time domain signal into a frequency domain signal. For each window, extract and store spectrum information, usually including the amplitude and phase of the frequency component. This spectrum information can be further processed or visualized (such as drawing a spectrogram) to analyze the frequency characteristics and changes of the audio signal. Arrange the spectrum information of each window into a time series to generate a spectrogram (Spectrogram), with the vertical axis being frequency and the horizontal axis being time. The color or brightness represents the energy intensity of each frequency component. By observing the spectrogram, analyze the changes in the frequency components of the audio signal over time, and identify specific audio features or events (such as notes, noise, speech passages, etc.).
[0064] In a possible implementation, in the step of adjusting the gain setting of the equalizer in real time according to the difference in each frequency band, the frequency band interpolation calculation method is D(f,t)=T(f)-|X(f,t)|, wherein D(f,t) represents the spectrum difference at frequency f at the current time t, and |X(f,t)| is the amplitude of the input signal spectrum.
[0065] In a possible implementation, the gain setting method is G(f, t) = αD(f, t) + Gprev(f, t), where α is an adjustment coefficient that controls the rate of gain adjustment, and Gprev(f, t) is the gain at the previous moment, which is used for smooth transition.
[0066] It can be understood that for the input audio signal x(t), time-frequency conversion is first required to convert it to frequency domain representation. The commonly used method is short-time Fourier transform (STFT), X(f,t) = STFT{x(t)}, X(f,t) is the spectrum at time t, and f is the frequency. Then calculate the spectrum difference and set a target spectrum T(f) (which may be a preset ideal spectrum or a reference spectrum calculated based on historical data). For the current moment t, calculate the difference between the input signal spectrum and the target spectrum: D(f,t) = T(f)-|X(f,t)|, where D(f,t) represents the spectrum difference at frequency f at the current moment t, and |X(f,t)| is the amplitude of the input signal spectrum; then calculate the gain adjustment, and calculate the gain adjustment amount G(f,t) for each frequency band based on the difference D(f,t). The gain adjustment is usually determined based on the size of the difference: G(f,t) = αD(f,t) + Gprev(f,t), where α is the adjustment coefficient that controls the rate of gain adjustment, and Gprev(f,t) is the gain at the previous moment, which is used to smooth the transition; then, the gain adjustment is applied to equalize the original audio signal, usually through a filter. A digital filter (such as an IIR or FIR filter) can be used to implement the gain adjustment for each frequency band: Y(f,t) = G(f,t) × X(f,t), where Y(f,t) is the spectrum after the gain is applied; then the adjusted spectrum Y(f,t) is converted back to the time domain signal through the inverse short-time Fourier transform (ISTFT): y(t) = ISTFT{Y(f,t)}. Finally, feedback is given based on the adjusted output signal y(t), and the above steps are repeated to continuously adjust the gain G(f,t) so that the output signal gradually approaches the reference spectrum T(f).
[0067] For example, suppose we are processing an audio signal where the sampling frequency is 44.1kHz at a certain moment and the goal is to achieve adaptive equalization. For simplicity, we only focus on three frequency bands: low frequency band (100Hz), mid-frequency band (1kHz) and high frequency band (10kHz). Suppose we have performed a short-time Fourier transform (STFT) on the audio signal and obtained the following spectrum amplitudes: |X(100Hz,t)|=0.8; |X(1kHz,t)|=0.5; |X(10kHz,t)|=0.2; Suppose the amplitude of the target spectrum (ideal spectrum) at these frequencies is: T(1 00Hz)=1.0;T(1kHz)=0.7;T(10kHz)=0.5;According to the formula, calculate the difference D(f,t) of each frequency band: for low frequency band (100Hz): D(100Hz,t)=1.0-0.8=0.2;for middle frequency band (1kHz): D(1kHz,t)=0.7-0.5=0.2;for high frequency band (10kHz): D(10kHz,t)=0.5-0.2=0.3. Assume that the adjustment coefficient α=0.5, and the gain Gprev(f,t) at the previous moment is all 1.0 (that is, there is no adjustment). Then, the gain adjustment G(f,t) at the current moment is: for the low frequency band (100Hz): G(100Hz,t) = 0.5×0.2+1.0 = 1.1; for the middle frequency band (1kHz): G(1kHz,t) = 0.5×0.2+1.0 = 1.1; for the high frequency band (10kHz): G(10kHz,t) = 0.5×0.3+1.0 = 1.15; apply the calculated gain to the original spectrum: for the low frequency band (100Hz): Y(100Hz,t) = 1.1×0.8 = 0.88; for the middle frequency band (1kHz): Y(1kHz,t) = 1.1×0.5 = 0.55;
[0068] For the high frequency band (10kHz): Y(10kHz,t) = 1.15 × 0.2 = 0.23; Finally, the adjusted spectrum Y(f,t) is converted back to the time domain signal y(t) through the inverse short-time Fourier transform (ISTFT). Assume that in this simplified example, we have the adjusted time domain signal: y(t) = ISTFT{Y(f,t)}. In this example, by applying gain adjustment, we make the output signal have a small gain increase in the low frequency band (100Hz) and the mid-frequency band (1kHz), and a large gain increase in the high frequency band (10kHz). Such an adjustment can make the audio signal more balanced and close to the target spectrum, thereby improving the sound quality.
[0069] In a second aspect, the present invention provides a device for adaptively adjusting microphone balance, comprising:
[0070] An acquisition module, used for acquiring and analyzing the singer's audio signal;
[0071] A conversion module, used to perform time-frequency conversion on the collected audio signal and generate a real-time spectrum graph;
[0072] The gain calculation module is used to compare the difference between the current audio spectrum and the reference spectrum and calculate the frequency band that needs to be adjusted;
[0073] Adjust gain module, used to adjust the gain setting of the equalizer in real time.
[0074] Those skilled in the art should understand that the division of the various modules in the embodiment is merely a division of logical functions, and in actual application, all or part of them can be integrated into one or more actual carriers, and these modules can be implemented entirely in the form of software called by a processing unit, or entirely in the form of hardware, or in the form of a combination of software and hardware. It should be noted that each module in the microphone equalization adaptive adjustment device in this embodiment corresponds one-to-one to each step in the microphone equalization adaptive adjustment method in the aforementioned embodiment. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned microphone equalization adaptive adjustment method, which will not be repeated here.
[0075] In a third aspect, the present invention provides a device comprising: a processor and a memory, wherein the memory is coupled to the processor, the memory is used to store computer program code, and the computer program code includes computer instructions. When the processor reads the computer instructions from the memory, the electronic device executes the microphone equalization adaptive adjustment method as described in the first aspect or any possible implementation method of the first aspect.
[0076] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.
[0077] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0078] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0079] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0080] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for adaptively adjusting microphone equalization, characterized in that: include: Collect and analyze the singer's audio signal; Perform time-frequency conversion on the collected audio signal to generate a real-time spectrum graph; Compare the real-time spectrum with the reference spectrum, and calculate the difference between each frequency band and the reference spectrum, wherein the reference spectrum is a pre-recorded ideal sound or a target spectrum set in the system; According to the difference in each frequency band, the gain setting of the equalizer is adjusted in real time, so that the microphone can automatically adjust the frequency response in real time according to the vocal characteristics of the singer.
2. The method for adaptively adjusting microphone equalization according to claim 1, characterized in that: After the step of adjusting the gain setting of the equalizer in real time according to the difference of each frequency band, the method further includes: Continue to monitor the adjusted audio output to check the effect of the equalization adjustment; Gather feedback from the singer and adjust the gain settings on the equalizer.
3. The microphone equalization adaptive adjustment method according to claim 2, characterized in that: The step of continuously monitoring the adjusted audio output and checking the effect of the equalization adjustment further includes: Filters out ambient noise, ensuring equalization adjustments focus on the desired signal.
4. The microphone equalization adaptive adjustment method according to any one of claims 1 to 3, characterized in that: The step of collecting and analyzing the singer's audio signal includes: Collect and analyze the singer's vocal range, marking the lowest and highest frequency ranges that the singer can accurately produce; Collect and analyze the singer's overtone characteristics, which refer to frequency components other than the fundamental frequency and are used to determine the timbre and texture of the sound.
5. The microphone equalization adaptive adjustment method according to claim 1, characterized in that: The step of performing time-frequency conversion on the collected audio signal to generate a real-time spectrogram comprises: Divide the audio signal into small windows, each window lasting 20ms-50ms; Apply Fourier transform to each window to get the spectrum information.
6. The microphone equalization adaptive adjustment method according to claim 1, characterized in that: In the step of adjusting the gain setting of the equalizer in real time according to the difference of each frequency band, the calculation method of the frequency band interpolation is D(f,t)=T(f)-|X(f,t)|, wherein D(f,t) represents the spectrum difference at frequency f at the current time t, and |X(f,t)| is the amplitude of the input signal spectrum.
7. The method for adaptively adjusting microphone equalization according to claim 6, characterized in that: The gain setting method is G(f, t) = αD(f, t) + Gprev(f, t), where α is an adjustment coefficient that controls the rate of gain adjustment, and Gprev(f, t) is the gain at the previous moment, which is used for smooth transition.
8. A microphone equalization adaptive adjustment device, characterized in that: include: An acquisition module, used for acquiring and analyzing the singer's audio signal; A conversion module, used to perform time-frequency conversion on the collected audio signal and generate a real-time spectrum graph; The gain calculation module is used to compare the difference between the current audio spectrum and the reference spectrum and calculate the frequency band that needs to be adjusted; Adjust gain module, used to adjust the gain setting of the equalizer in real time.
9. A device, characterized in that: include: A processor and a memory, wherein the memory is coupled to the processor, and the memory is used to store computer program code, wherein the computer program code includes computer instructions. When the processor reads the computer instructions from the memory, the electronic device executes the microphone equalization adaptive adjustment method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Computer real-time analysis system for singing and playing
CN101645268A
Method of compensating for a processed audio signal
CN111354368A
Sound effect compensation method and device, earphone and storage medium
CN114157965A
Digital signal linear equalization method and system, electronic equipment and storage medium
CN114978346A
Progressive filter parameter adjustment Chirp signal equalization optimization method
CN118509772A
