Sound effect calibration method, device and system of audio playing system and storage medium

By detecting and testing audio, the time delay and volume difference between the subwoofer and the main speaker are calculated, and the frequency response curve is used to calibrate, which solves the problem of low sound calibration accuracy of the subwoofer and main speakers in the existing technology, and improves the User listening experience.

CN119316774AActive Publication Date: 2025-01-14LINKPLAY TECHNOLOGY INC NANJING

Patent Information

Application Number
CN202411552373.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-01-14
Estimated Expiration
2044-11-01

AI Technical Summary

Technical Problem

The sound calibration accuracy between the subwoofer and the main speaker in the prior art is low, resulting in poor user listening experience and no ambient acoustic characteristics are considered.

Method used

By detecting the connection status of the subwoofer and the main speaker and the working status of the audio acquisition device, the test audio is used to perform delay tests on scene acoustic characteristics and main listening position, and the transmission time delay and sound generation time delay are calculated, combining the frequency response curve and volume Parameter differences, calibrate the parameters of subwoofer equipment.

Benefits of technology

It improves the sound calibration accuracy between the subwoofer and the main speaker, improves the user's listening experience, ensures the balance of sound quality and volume, and adapts to the acoustic characteristics of different ambients.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119316774A_ABST
    Figure CN119316774A_ABST
Patent Text Reader

Abstract

The invention provides a sound effect calibration method, device and system of an audio playing system and a storage medium. In the mode, a subwoofer and a main sound box are controlled to play test audio, an audio acquisition device is utilized to acquire transmission audio at a main sound listening position, sound time delay and volume parameter difference are analyzed, and the subwoofer is calibrated in combination with an audio response curve of a scene. Therefore, the problem that in the prior art, the accuracy of sound effect calibration between the subwoofer and the main loudspeaker box is low, and consequently the hearing experience of a user is low is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of audio processing, and in particular to a sound effect calibration method, device, system and storage medium for an audio playback system. Background Art

[0002] In modern home theater and high-fidelity audio systems, the subwoofer is a device specifically responsible for low-frequency reproduction, and its performance has a vital impact on the overall sound quality. However, since the subwoofer is usually installed separately from the main speakers, it is necessary to balance and calibrate the two.

[0003] In the prior art, the balance calibration of the subwoofer and the main speaker is mainly achieved by calibrating the transmission time delay of the audio signal between the two to achieve audio synchronization calibration, and the balance of sound quality and volume is achieved through manual calibration. In other words, the current balance calibration method does not take into account factors such as the acoustic characteristics of the environment, resulting in inaccurate calibration. Summary of the invention

[0004] In view of this, the purpose of the present disclosure is to provide a sound effect calibration method, device, system and storage medium for an audio playback system, so as to solve the problem of low accuracy of sound effect calibration between a subwoofer and a main speaker in the prior art, resulting in low user listening experience.

[0005] In a first aspect, an embodiment of the present disclosure provides a sound effect calibration method for an audio playback system, wherein the audio playback system includes at least a subwoofer, a main speaker, and an audio acquisition device, and the method includes: detecting a connection state between the subwoofer and the main speaker, and a working state of the audio acquisition device, and determining whether the connection state and the working state are normal; if normal, using a first test audio to test the acoustic characteristics of a scene where the audio playback system is located and the delay of a main listening position, to obtain a frequency response curve and a transmission time delay of the scene, wherein the transmission time delay is a time difference for the first test audio to be transmitted from the positions where the subwoofer and the main speaker are located to the main listening position; controlling the subwoofer and the main speaker to play a second test audio respectively, collecting the transmission audio at the main listening position through the audio acquisition device, and calculating the sound emission time delay between the subwoofer and the main speaker using a cross-correlation method; calculating a volume parameter difference between the subwoofer and the main speaker based on the transmission audio of the subwoofer and the transmission audio of the main speaker; and calibrating the device parameters of the subwoofer based on the sound emission time delay, the volume parameter difference, and the frequency response curve.

[0006] Optionally, the use of a first test audio to test the acoustic characteristics of the scene where the audio playback system is located and the delay of a main listening position to obtain a frequency response curve and a transmission time delay of the scene includes: playing a first test audio at the positions of the subwoofer and the main speaker, respectively, and adjusting the audio acquisition device to use the test audio at the main listening position in the scene; calculating, based on the reception time of the test audio and the transmission time of each of the first test audios, the time difference in which the first test audio is transmitted from the positions of the subwoofer and the main speaker to the main listening position, respectively, to obtain a transmission time difference; using a fast Fourier transform algorithm to analyze the spectra of the test audio and the first test audio, and calculating the corresponding frequency response based on the two analyzed spectra to obtain a frequency response curve of the scene.

[0007] Optionally, the subwoofer and the main speaker are respectively controlled to play a second test audio, the transmission audio at the main listening position is collected by the audio acquisition device, and the sound time delay between the subwoofer and the main speaker is calculated by using a cross-correlation method, including: based on the second test audio, the subwoofer is stimulated to emit a first sound signal, and the first sound signal at the main listening position is collected by the audio acquisition device; based on the second test audio, the main speaker is stimulated to emit a second sound signal, and the second sound signal at the main listening position is collected by the audio acquisition device; and the sound time delay between the subwoofer and the main speaker is obtained by using a cross-correlation method to analyze the time difference between the collected first sound signal and the second sound signal.

[0008] Optionally, the method of calculating the volume parameter difference of the subwoofer relative to the main speaker based on the transmitted audio of the subwoofer and the transmitted audio of the main speaker includes: analyzing sound pressure level data corresponding to the first sound signal and the second sound signal; determining whether the two sound pressure level data match; if they do not match, calculating the difference between the two sound pressure level data, and based on the difference, querying the configuration parameters of the subwoofer from a preset correspondence table of sound pressure and volume parameters; and calculating the volume parameter difference of the subwoofer relative to the main speaker based on the configuration parameters.

[0009] Optionally, the calibrating the device parameters of the subwoofer based on the sound time delay, the volume parameter difference and the frequency response curve includes: judging whether the transmission time delay is greater than a preset delay threshold; based on the judgment result, compensating for the sound time of the subwoofer by using the sound time delay or the transmission time delay and the sound time delay; calculating the compensation device parameters of the subwoofer based on the volume parameter difference and the frequency response curve, and calibrating based on the compensation device parameters.

[0010] Optionally, according to the result of the judgment, the sounding time of the subwoofer is compensated by using the sounding time delay or the transmission time delay and the sounding time delay, including: judging whether the sounding time delay is greater than zero; if the transmission time delay is greater than a preset delay threshold and the sounding time delay is greater than zero, delaying the subwoofer based on the transmission time delay and the sounding time delay; if the transmission time delay is greater than the preset delay threshold and the sounding time delay is less than zero, advancing the subwoofer based on the transmission time delay and the sounding time delay; if the transmission time delay is less than the preset delay threshold and the sounding time delay is greater than zero, delaying the subwoofer based on the sounding time delay; if the transmission time delay is less than the preset delay threshold and the sounding time delay is greater than zero, advancing the subwoofer based on the sounding time delay.

[0011] Optionally, the sounding time of the subwoofer is compensated by utilizing the sounding time delay or the transmission time delay and the sounding time delay according to the result of the judgment, and also includes: analyzing the phase responses of the main speaker and the subwoofer near the crossover point based on the transmitted audio; calculating the difference in phase response between the main speaker and the subwoofer, and delaying the sounding time of the subwoofer to a preset fine-tuning amplitude based on the difference, so as to achieve phase consistency between the subwoofer and the main speaker in the same frequency range.

[0012] Optionally, calculating compensation device parameters of the subwoofer according to the volume parameter difference and the frequency response curve, and calibrating based on the compensation device parameters, includes: calculating an audio gain value of the subwoofer using a dichotomy method based on the volume parameter difference; The frequency response curve and the transmitted audio of the subwoofer are fitted by using the least square method to obtain the actual frequency response of the subwoofer; based on the audio gain value and the actual frequency response, the compensation device parameters of the subwoofer are calculated and calibrated.

[0013] Optionally, after calibrating the device parameters of the subwoofer based on the sound time delay, the volume parameter difference and the frequency response curve, it also includes: adjusting the audio acquisition device to transmit audio of multiple secondary listening positions at other locations, and calculating the corresponding sound time delay and volume parameter difference; using the weighted average method, fusing the sound time delay and volume parameter difference of each secondary listening position to obtain the fused compensation parameter, and calibrating the subwoofer.

[0014] Optionally, the method of using a weighted average method to fuse the sound time delays and volume parameter differences of each secondary listening position to obtain a fused compensation parameter, and calibrating the subwoofer includes: measuring the distance between each secondary listening position and the main listening position, and assigning a corresponding weight value to each distance by using a weighted average method; fusing the sound time delays and volume parameter differences of each secondary listening position based on each weight value to obtain a fused compensation parameter, and calibrating the subwoofer.

[0015] Optionally, after measuring the distance between each of the secondary listening positions and the main listening position, it also includes: obtaining the frequency response curve of each of the secondary listening positions, and calculating the standard deviation between each of the secondary listening positions and the main listening position; and determining the spatial balance of the scene based on each of the standard deviations.

[0016] It can be found that the method of assigning a corresponding weight value to each distance by using a weighted average method includes: using a weighted average method to calculate a weight value of each secondary listening position based on the spatial balance and each distance.

[0017] In a second aspect, an embodiment of the present disclosure provides a sound effect calibration device for an audio playback system, wherein the audio playback system includes at least a subwoofer, a main speaker, and an audio acquisition device, and the device includes: a detection module for detecting the connection status of the subwoofer and the main speaker, and the working status of the audio acquisition device, and determining whether the connection status and the working status are normal; a first test module for testing the acoustic characteristics of the scene in which the audio playback system is located and the delay of the main listening position using a first test audio when the detection is normal, to obtain a frequency response curve and a transmission time delay of the scene, wherein the transmission time delay is the first test audio and the transmission time delay is the transmission time delay of the first test audio. a time difference transmitted from the positions of the subwoofer and the main speaker to the main listening position; a second test module, used to control the subwoofer and the main speaker to play a second test audio respectively, collect the transmitted audio located at the main listening position through the audio acquisition device, and calculate the sound time delay between the subwoofer and the main speaker by using the cross-correlation method; a calculation module, used to calculate the volume parameter difference of the subwoofer relative to the main speaker based on the transmitted audio of the subwoofer and the transmitted audio of the main speaker; a calibration module, used to calibrate the device parameters of the subwoofer based on the sound time delay, the volume parameter difference and the frequency response curve.

[0018] In a third aspect, an embodiment of the present disclosure provides an audio playback system, which includes at least a subwoofer, a main speaker, an audio acquisition device, a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the processor executes the above-mentioned sound effect calibration method of the audio playback system.

[0019] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned sound effect calibration method of the audio playback system.

[0020] The embodiments of the present disclosure bring the following beneficial effects: The sound effect calibration method, device, system and storage medium of the audio playback system described above detect the connection status of the subwoofer and the main speaker, and the working status of the audio acquisition device, and determine whether the connection status and the working status are normal; if normal, use the first test audio to test the acoustic characteristics of the scene where the audio playback system is located and the delay of the main listening position to obtain the frequency response curve and transmission time delay of the scene, wherein the transmission time delay is the time difference of the first test audio being transmitted from the location of the subwoofer and the main speaker to the main listening position respectively; control the subwoofer and the main speaker to play the second test audio respectively, collect the transmission audio at the main listening position through the audio acquisition device, and calculate the sound time delay between the subwoofer and the main speaker by using the cross-correlation method; calculate the volume parameter difference of the subwoofer relative to the main speaker based on the transmission audio of the subwoofer and the transmission audio of the main speaker; calibrate the device parameters of the subwoofer based on the sound time delay, the volume parameter difference and the frequency response curve. By controlling the subwoofer and main speakers to play test audio, using audio acquisition equipment to collect the transmitted audio at the main listening position, analyzing the sound time delay and volume parameter differences, and calibrating the subwoofer based on the audio response curve of the scene, the problem of low accuracy of sound calibration between the subwoofer and the main speakers in the prior art is solved, which leads to low user listening experience.

[0021] Other features and advantages of the present disclosure will be described in the following description, and partly become apparent from the description, or understood by practicing the present disclosure. The purpose and other advantages of the present disclosure are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0022] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0024] Figure 1 A flowchart of an embodiment of a sound effect calibration method of an audio playback system in an embodiment of the present disclosure; Figure 2 It is a flow chart of another embodiment of the sound effect calibration method of the audio playback system in the embodiment of the present disclosure; Figure 3 A schematic diagram of an embodiment of a sound effect calibration device for an audio playback system in an embodiment of the present disclosure; Figure 4 Schematic diagram of an audio playback system in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0026] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] For ease of understanding, the specific process of the embodiment of the present disclosure is described below. Figure 1 The embodiment of the present disclosure is applied to an audio playback system including at least a subwoofer, a main speaker, and an audio acquisition device. An embodiment of a sound effect calibration method of the audio playback system in the embodiment of the present disclosure includes: Step S10: Detect the connection status between the subwoofer and the main speaker, and the working status of the audio acquisition device, and determine whether the connection status and the working status are normal.

[0028] It can be understood that the sound calibration method in the embodiment of the present disclosure is triggered and executed by the terminal. The terminal provides a graphical user interface, and the graphical user interface displays trigger controls for sound collection instructions and communication test instructions. The user triggers the communication test instruction by operating the trigger control. After the terminal responds to the instruction, it will detect the communication link between the subwoofer and the main speaker, and send a test signal to test whether the audio collection device can collect information.

[0029] Similarly, the sound collection instruction can be triggered by operating the trigger control. The terminal responds to the sound collection instruction and starts playing at least one test signal while collecting ambient sound, thereby obtaining audio collected at different locations in the environment where the system is located.

[0030] In this embodiment, the connection status of the subwoofer and the main speaker can be detected by a signal voltage detection method and an audio signal detection method. For the signal voltage detection method, a program is written to periodically read the input port voltages of the subwoofer and the main speaker; a voltage threshold (such as 1V-10V) is set. If the voltage is within this range and there is an audio signal output, it is determined that the connection is normal.

[0031] For the audio signal detection method, an analog signal acquisition module is specifically used to detect the frequency and strength of the audio signal; if the signal frequency is within a preset range (such as 20Hz-20kHz), it is determined to be a normal connection.

[0032] For the working status detection of the audio acquisition device, its implementation methods include input signal strength monitoring method and frequency response detection method; among them, the input signal strength monitoring method specifically reads the input signal strength of the audio acquisition device through ADC (analog-to-digital converter); sets a reasonable strength threshold to determine whether the input signal is within the normal range.

[0033] For the frequency response detection method, the FFT (Fast Fourier Transform) algorithm is used to analyze the frequency components of the input signal; ensure that the input signal is between 20Hz and 20kHz to determine whether the device is working properly.

[0034] Step S20: If normal, the acoustic characteristics of the scene where the audio playback system is located and the delay of the main listening position are tested using the first test audio to obtain the frequency response curve and transmission time delay of the scene.

[0035] It should be noted that the transmission time delay is the time difference between the first test audio being transmitted from the locations of the subwoofer and the main speaker to the main listening position. This step is mainly to implement self-checking of the subwoofer, main speaker and audio acquisition device in the system to determine the audio response parameters before the hardware, that is, the frequency response curve and transmission time delay here. The frequency response curve refers to the reflection and refraction loss or delay curve of the audio sound in the current environment. This curve can provide a compensation basis for the subsequent volume calibration and can be used to extract the acoustic characteristics of the current scene.

[0036] Specifically, a wideband test signal (such as a logarithmic sweep signal or an MLS sequence) is sent, and the room response is collected by a measuring microphone. The collected signal is analyzed using a fast Fourier transform (FFT) algorithm to obtain the frequency response curve of the room. The audio acquisition device is placed at the main listening position, and the arrival time difference of the sound from different speakers is analyzed. At the same time, the position of the listener relative to each speaker can also be estimated based on the arrival time difference. The arrival time difference is the transmission time delay between the sound source and the main listening position. The calculation of the transmission time delay can be achieved specifically by the cross-correlation method.

[0037] Step S30, respectively control the subwoofer and the main speaker to play the second test audio, collect the transmission audio at the main listening position through the audio collection device, and use the cross-correlation method to calculate the sound time delay between the subwoofer and the main speaker.

[0038] In one embodiment, the subwoofer and the main speaker are controlled to emit sound respectively by triggering controls on the user interface, so as to collect audio for an audio collection device (such as a microphone) set at the main listening position, and then the sound time delay is calculated using the cross-correlation method.

[0039] Specifically, the audio playback system stimulates the main speaker and subwoofer respectively, and collects sound signals through the measurement microphone. The cross-correlation method is used to calculate the sound arrival time: R_ms(τ) = Σ[m(n)s(n+τ)] τ_ms = argmax(R_ms(τ)) Among them, m(n) is the signal of the main speaker, s(n) is the signal of the subwoofer, and τ_ms is the sound time delay between the two.

[0040] It should be noted that the main listening position in step S30 is different from the main listening position in step S20. The main listening position in step S30 can be said to be the surface or the sound outlet position of the subwoofer and the main speaker. This sampling method can better ensure that only the signal processing delay of the device itself is calculated, and the transmission delay is not included.

[0041] In another embodiment, the subwoofer and the main speaker can be tested sequentially or simultaneously. For sequential testing, the same second test audio can be used. For parallel testing, sound signals of different frequencies or frequency bands need to be constructed based on the second test audio and output to the subwoofer and the main speaker for playback. Specifically, the calculation of the time delay can also be calculated using a cross-correlation method.

[0042] Step S40: Calculate the volume parameter difference of the subwoofer relative to the main speaker based on the transmitted audio of the subwoofer and the transmitted audio of the main speaker.

[0043] It should be noted that the volume parameter difference is the sound pressure difference between the subwoofer and the main speaker. The frequency spectrum of the subwoofer's transmitted audio and the main speaker's transmitted audio are analyzed respectively, the frequency and amplitude information are extracted, and the corresponding sound pressure is calculated based on the frequency and amplitude information. Finally, the sound pressure difference between the subwoofer and the main speaker is calculated to obtain the volume parameter difference.

[0044] In this embodiment, the fast Fourier transform (FFT) algorithm can be used to analyze the spectrum of the transmitted audio, obtain the audio amplitude curve of the subwoofer and the audio amplitude curve of the main speaker, calculate the standard deviation of the two curves, obtain the amplitude difference, and finally use the relationship function between sound pressure, amplitude and device parameters to calculate the volume parameter difference.

[0045] Step S50: calibrate the device parameters of the subwoofer based on the sound emission time delay, the volume parameter difference and the frequency response curve.

[0046] It should be noted that the calibration is classified into two independent steps, namely time delay calibration and volume calibration. The time delay calibration is achieved by using the occurrence time delay. If there is a transmission time delay, it is also necessary to calibrate in combination with the transmission time delay. Specifically, the delay between the subwoofer and the main speaker is determined based on the occurrence time delay, such as the subwoofer first and the main speaker later, or the main speaker first and the subwoofer later. Based on the delay, the time adjustment direction is determined, and then the subwoofer is compensated in time in combination with the transmission time delay. It can be understood as adjusting the length of time the subwoofer generates audio or adjusting the triggering time node. No matter which one it is, it actually needs to construct the corresponding audio generation program to seal the subwoofer's sound generation program.

[0047] The sound calibration method provided in the above embodiment controls the subwoofer and the main speaker to play the test audio, uses the audio acquisition device to collect the transmitted audio of the main listening position, analyzes the sound onset time delay and volume parameter differences, and calibrates the subwoofer in combination with the audio response curve of the scene, thereby solving the problem of low accuracy of the sound calibration between the subwoofer and the main speaker in the prior art, resulting in low user listening experience.

[0048] See also Figure 2 Another embodiment of the sound effect calibration method of the audio playback system in the embodiment of the present disclosure includes: Step S201, detecting the connection status between the subwoofer and the main speaker, and the working status of the audio acquisition device, and determining whether the connection status and the working status are normal.

[0049] Step S202: If normal, the acoustic characteristics of the scene where the audio playback system is located and the delay of the main listening position are tested using the first test audio to obtain a frequency response curve and a transmission time delay of the scene.

[0050] In one embodiment, the system plays a first test audio at the positions of the subwoofer and the main speaker, respectively, and adjusts the audio acquisition device to use the test audio at the main listening position in the scene; based on the reception time of the test audio and the transmission time of each of the first test audios, calculates the time difference of the first test audio being transmitted from the positions of the subwoofer and the main speaker to the main listening position, respectively, to obtain the transmission time difference; uses a fast Fourier transform algorithm to analyze the frequency spectra of the test audio and the first test audio, and calculates the corresponding frequency response based on the two analyzed frequency spectra to obtain a frequency response curve of the scene.

[0051] The calculation of the frequency response can be specifically achieved by the following formula: H(f)=Y(f) / X(f), Among them, Y(f) is the spectrum of the signal collected by the measurement microphone, and X(f) is the spectrum of the sent test signal.

[0052] The method of analyzing the frequency spectra of the test audio and the first test audio by using a fast Fourier transform algorithm, and calculating the corresponding frequency response based on the two analyzed frequency spectra to obtain the frequency response curve of the scene includes: Performing denoising processing on the test audio and the first test audio to remove background noise; Processing the denoised test audio and the first test audio in segments to obtain a plurality of signal segments; Performing a fast Fourier transform (FFT) on each signal segment to convert the time domain signal into a frequency domain signal, obtaining FFT results corresponding to the test audio and the first test audio, and extracting frequency and amplitude information therefrom; Based on the extracted frequency and amplitude information, a frequency response curve of the scene is calculated, wherein the frequency response curve represents the relationship between the amplitude response and the frequency.

[0053] It can be understood that this step is the initialization operation of each hardware in the audio playback system. First, the connection status of the subwoofer and the main speaker and the working status of the audio capture device are initialized to make them in a normal state. If the detection is abnormal after initialization, the user needs to be prompted to troubleshoot. Otherwise, continue to test the relevant parameters of the capture environment for audio transmission, such as the refraction and reflection of the audio, and the transmission delay of the audio at each location in the environment.

[0054] Specifically, the audio playback system sends a wideband test signal (such as a logarithmic sweep signal or an MLS sequence) and collects the scene (i.e., room) response through an audio acquisition device. The collected signal is analyzed using a fast Fourier transform (FFT) algorithm to obtain a frequency response curve of the room, wherein the frequency response curve includes multiple frequency responses, and the calculation corresponding to each frequency response is implemented using the above formula.

[0055] Furthermore, the audio playback system prompts the user to place the audio acquisition device at the main listening position. By analyzing the arrival time difference of the sound from different speakers (i.e., the transmission time delay), the audio playback system can estimate the position of the listener relative to each speaker. Here, the cross-correlation method can be used to calculate the transmission time delay, and the calculation formula is: Rxy(τ)=Σ[x(n)y(n+τ)] τ_max=argmax(Rxy(τ)), Among them, x(n) and y(n) are test signals emitted from two different speakers, and τ_max is the time delay between the two signals.

[0056] Step S203: based on the second test audio, stimulate the subwoofer to emit a first sound signal, and use an audio acquisition device to acquire the first sound signal at the main listening position.

[0057] Step S204: based on the second test audio, stimulate the main speaker to emit a second sound signal, and use the audio acquisition device to acquire the second sound signal at the main listening position.

[0058] For steps S203 and S204, the subwoofer and the main speaker equipment are tested in parallel by controlling the subwoofer and the main speaker equipment, wherein the signal excitation for the main speaker is specifically generated by a signal generator and a test signal (such as a pulse signal) is sent to the main speaker, ensuring that the setting parameters (such as frequency and amplitude) of the signal generator meet the experimental requirements. For the signal excitation of the subwoofer, the signal generator is specifically generated and a test signal is sent to the subwoofer, and the signal should be synchronized with the signal of the main speaker, but the frequency range is different to cover the low frequency range. Further, the audio acquisition device is used to record the sound signal at the main listening position, that is, the sound signals emitted from the main speaker and the subwoofer are respectively collected, and then the collected sound signals are denoised and de-averaged to improve the analysis accuracy. At the same time, the window function is applied to the signal to reduce spectrum leakage and boundary effects. Finally, the sound signals of the main speaker and the subwoofer are cross-correlated, and their cross-correlation functions are calculated, and the sound onset time delay is calculated based on the cross-correlation function.

[0059] Step S205: Using a cross-correlation method to obtain the time difference between the collected first sound signal and the second sound signal, obtain the sound time delay between the subwoofer and the main speaker.

[0060] In one embodiment, denoising and averaging are performed on the collected first sound signal and the second sound signal respectively; Apply a window function to the processed signal; Calculating the cross-correlation function of the signals, including performing Fourier transform on the collected first sound signal and the second sound signal, calculating the cross-correlation function of the signals, and obtaining the cross-correlation function through inverse fast Fourier transform (IFFT); The peak position is extracted from the cross-correlation function, and the arrival time difference of the two signals is calculated to obtain the sound emission time delay between the subwoofer and the main speaker.

[0061] Specifically, the cross-correlation calculation can be performed using the following steps: Step 1: Perform Fourier transform on the signals of the main speaker and the subwoofer to obtain their spectra.

[0062] Step 2: Calculate the cross-correlation function of the two signals. FFT is usually used to implement cross-correlation calculation. The formula is:

[0063] Among them, x(t) and y(t) are the signals of the main speaker and subwoofer respectively, and τ is the time delay.

[0064] Step 3, use Fast Fourier Transform (FFT) to calculate the cross-correlation function:

[0065] Where x(t) and y(t) are the signals of the main speaker and subwoofer respectively, τ is the sound time delay, FFT is the fast Fourier transform, IFFT is the inverse fast Fourier transform, and ∗ represents the complex conjugate.

[0066] Step S206: Analyze the sound pressure level data corresponding to the first sound signal and the second sound signal.

[0067] Step S207: Determine whether the two sound pressure level data match.

[0068] Step S208: If there is no match, the difference between the two sound pressure level data is calculated, and based on the difference, the configuration parameters of the subwoofer are queried from a preset corresponding relationship table of sound pressure and volume parameters.

[0069] Step S209: Calculate the volume parameter difference of the subwoofer relative to the main speaker based on the configuration parameters.

[0070] In actual applications, when controlling the main speaker to emit the second sound signal, it also includes setting a reference sound pressure level (usually 85dB SPL) for the second sound signal, using a pink noise signal to construct the second sound signal for testing, and collecting the sound pressure level data of the second sound signal through an audio acquisition device. At the same time, the sound pressure level data of the first sound signal is also collected in real time, and then paired to determine the difference between the two.

[0071] Step S210, calibrating the delay of the sound emission time of the subwoofer based on the sound emission time delay.

[0072] In one embodiment, it is determined whether the transmission time delay is greater than a preset delay threshold; based on the result of the determination, the sound time of the subwoofer is compensated using the sound time delay or the transmission time delay and the sound time delay; based on the volume parameter difference and the frequency response curve, the compensation device parameters of the subwoofer are calculated, and calibration is performed based on the compensation device parameters.

[0073] The method of compensating the sounding time of the subwoofer by using the sounding time delay or the transmission time delay and the sounding time delay according to the result of the judgment includes: Determining whether the utterance time delay is greater than zero; If the transmission time delay is greater than a preset delay threshold and the sound emission time delay is greater than zero, delay processing is performed on the subwoofer based on the transmission time delay and the sound emission time delay; If the transmission time delay is greater than a preset delay threshold and the sound emission time delay is less than zero, the subwoofer is processed in advance based on the transmission time delay and the sound emission time delay; If the transmission time delay is less than a preset delay threshold and the sound emission time delay is greater than zero, delay processing is performed on the subwoofer based on the sound emission time delay; If the transmission time delay is less than a preset delay threshold and the sound emission time delay is less than zero, the subwoofer is processed in advance based on the sound emission time delay.

[0074] Furthermore, the method of compensating the sounding time of the subwoofer by using the sounding time delay or the transmission time delay and the sounding time delay according to the result of the judgment also includes: Analyzing the phase responses of the main speaker and the subwoofer near the crossover frequency based on the transmitted audio; The difference in phase response between the main speaker and the subwoofer is calculated, and based on the difference, the sound emission time of the subwoofer is delayed to a preset fine-tuning amplitude, so as to achieve phase consistency between the subwoofer and the main speaker in the same frequency range.

[0075] Step S211, calibrating the device parameters of the subwoofer based on the volume parameter difference and the frequency response curve.

[0076] In one implementation, based on the volume parameter difference, the audio gain value of the subwoofer is calculated using a dichotomy method; Using the least square method, the frequency response curve and the transmitted audio of the subwoofer are fitted to obtain the actual frequency response of the subwoofer; Based on the audio gain value and the actual frequency response, compensation device parameters of the subwoofer are calculated and calibrated.

[0077] It should be noted that the volume calibration here can be understood as including the main speaker reference level device (that is, the sound pressure level data setting of the second sound signal), subwoofer level matching and frequency response curve smoothing, among which: The reference level of the main speaker is set as follows: First, set the main speaker to a reference sound pressure level (usually 85dB SPL). Use a pink noise signal for testing and collect sound pressure level data through a measurement microphone.

[0078] Subwoofer level matching is: gradually adjust the gain of the subwoofer so that its sound pressure level near the crossover point matches that of the main speaker. Here you can use the binary method to quickly find the appropriate gain value, and the calculation formula is: gain_sub = binary_search(gain_min, gain_max, tolerance) Among them, the binary_search function implements the binary search algorithm, gain_min and gain_max are the gain search range, and tolerance is the allowable error range.

[0079] The frequency response curve is smoothed as follows: In order to make the low-frequency response smoother, the system can use parametric equalization (PEQ) to fine-tune the subwoofer's frequency response. Here, the least squares method can be used to fit the target curve, and the calculation formula is: H_target(f) = a_0 + a_1f + a_2f^2 + ... + a_nf^n [a_0, a_1, ..., a_n] = argmin(Σ[H_measured(f) - H_target(f)]^2) According to the fitting results, the audio playback system can automatically set the PEQ parameters to achieve the calculation of the actual frequency response.

[0080] In another embodiment, after calibrating the device parameters of the subwoofer based on the sound emission time delay, the volume parameter difference and the frequency response curve, the method further includes: The audio acquisition device is adjusted to transmit audio of multiple secondary listening positions at other locations, and the corresponding sound emission time delay and volume parameter difference are calculated; that is, a set of time delay and volume calibration data is obtained: {(delay_1, gain_1), (delay_2, gain_2), ..., (delay_n, gain_n)}.

[0081] The sound emission time delay and volume parameter differences of each of the secondary listening positions are fused by using a weighted average method to obtain fusion compensation parameters, and the subwoofer is calibrated.

[0082] It is understandable that the scene where the system is located is actually a space with a certain area, which can be used for users to listen to sounds at different positions. In order to make the calibrated system have the same sound effect at each position, a multi-point acquisition calibration method is adopted here, and its implementation steps include: Step 1: Place measurement microphones at different listening positions to measure the delay and gain of the subwoofer respectively. The measurement performs a time delay and volume calibration step at each position.

[0083] Step 2: Perform weighted averaging on the calibration data of different listening positions. The weight is set according to the distance between the secondary listening position and the primary listening position to optimize the overall delay and gain setting of the subwoofer. The weight calculation formula is: delay_opt = Σ(w_i * delay_i) / Σw_i gain_opt = Σ(w_i * gain_i) / Σw_i Among them, w_i is the weight of the i-th listening position.

[0084] Step 3: Calculate the standard deviation of the frequency response curve at each measurement point, evaluate the spatial balance of the entire listening area, and optimize the sound distribution of the subwoofer.

[0085] Furthermore, the weighted average method is used to fuse the sound time delay and volume parameter differences of each of the secondary listening positions to obtain a fusion compensation parameter, and the subwoofer is calibrated, including: The distance between each secondary listening position and the main listening position is measured, and a corresponding weight value is assigned to each distance using a weighted average method; based on each weight value, the sound time delay and volume parameter difference of each secondary listening position are fused to obtain a fusion compensation parameter, and the subwoofer is calibrated.

[0086] After measuring the distance between each of the secondary listening positions and the primary listening position, the method further includes: Obtain the frequency response curve of each secondary listening position, and calculate the standard deviation between each secondary listening position and the primary listening position; determine the spatial balance of the scene based on each standard deviation; the calculation formula is: σ(f) =sqrt(Σ[H_i(f) - H_avg(f)]^2 / N) Where H_i(f) is the frequency response of the ith listening position, H_avg(f) is the average frequency response, and N is the number of listening positions.

[0087] The step of assigning a corresponding weight value to each distance by using a weighted average method includes: The weight value of each of the secondary listening positions is calculated based on the spatial balance and each of the distances by using a weighted average method.

[0088] In practical applications, as the scene set by the audio playback system changes over time, the layout or devices and objects in the scene will increase, and the impact on the audio will also change, especially the change of the frequency response curve and the transmission time delay, which will cause the subwoofer and the main speaker to be out of sync again. In this regard, the embodiment of the present disclosure also provides a solution for adaptive optimization calibration, and the adaptive optimization calibration steps include: The system continuously monitors audio playback, including ambient noise levels, volume changes, and different types of audio content; Using the monitoring data to train a machine learning model, the model is used to predict optimal subwoofer calibration parameters for different usage scenarios; The system dynamically adjusts the delay and gain parameters of the subwoofer according to the prediction results of the machine learning model, so that the subwoofer adapts to different environmental changes and audio content and optimizes the user's auditory experience. The machine learning model can be trained by using the collected data to train a machine learning model, such as a support vector machine (SVM) or a neural network, to predict the optimal calibration parameters in different situations: [delay_pred,gain_pred]=ML_model(audio_type,volume, noise_level, ...) Furthermore, there are multiple subwoofers and main speakers in the scene. The calibration process also includes obtaining the volume parameter difference of each subwoofer for collaborative calibration. The steps of the multi-subwoofer collaborative calibration include: In a multi-subwoofer system, measure the delay and gain parameters of each subwoofer separately, considering the mutual influence between multiple subwoofers; Optimizing the relative delay and gain settings of multiple subwoofers based on said measurements to ensure consistent sound blending across all subwoofers; Automatic crossover frequency point adjustment, the adjustment automatically selects the best crossover frequency point by analyzing the frequency response curves of the main speaker and subwoofer.

[0089] Furthermore, in the phase response adjustment of the crossover point, it can also be set to automatic adjustment, specifically by testing the frequency response data of the main speaker and the subwoofer, determining the frequency at which the low-frequency response of the main speaker begins to attenuate and the flat range of the low-frequency response of the subwoofer; automatically determining the optimal crossover point of the main speaker and the subwoofer, the determination of the crossover point is based on the superposition effect of the frequency response, so that the low-frequency response is naturally connected, and its expression is: f_crossover = find_optimal_crossover(H_main(f), H_sub(f)) The find_optimal_crossover function here implements a heuristic algorithm to find the frequency point where the low-frequency response of the main speaker begins to decay and the subwoofer response is flat.

[0090] In another embodiment, for calibration, it can be a range adjustment. Specifically, through the above-mentioned adaptive optimization, by monitoring the dynamic range characteristics of the audio content of the subwoofer and the main speaker, the dynamic range includes the difference between the minimum and maximum values ​​of the audio; the compression ratio and compression threshold of the subwoofer are automatically adjusted according to the dynamic range to avoid overload when playing at high volume and ensure the stability and sound quality of the bass output.

[0091] Furthermore, after the calibration is completed, it also includes parameter optimization based on user feedback on the user interface, specifically collecting users' ratings or adjustment opinions on the sound effects through the user interface; using the user feedback data to update the machine learning model, and the update of the model further optimizes the calibration parameters of the subwoofer.

[0092] In another embodiment, in order to facilitate user calibration control, the present disclosure also designs a user-friendly interface to guide the user to complete the initial calibration process. The interface prompts the user of the microphone placement position and calibration progress through animation or graphic feedback; a one-key automatic calibration function is provided, while retaining a manual adjustment function for advanced users to perform fine-tuning.

[0093] The user interface also includes a scene preset function, and the preset function includes: Provides sound effect presets for different usage scenarios such as movies, music, and games, and users can quickly switch; The system automatically loads the corresponding subwoofer calibration parameters according to the selected scene.

[0094] In another embodiment, when the subwoofer, main speaker and audio acquisition device are detected, the system hardware and software are periodically self-checked to ensure that the subwoofer, main speaker and other devices are working in a normal state; a self-check report is generated, and if an abnormality is detected, the user is prompted to perform maintenance or recalibration.

[0095] During the calibration process, abnormalities in the frequency response curve or calibration parameters are detected in real time; the system automatically identifies abnormalities and gives warnings or automatically adjusts to restore normal calibration status.

[0096] Furthermore, for the hardware support of the subwoofer and main speakers of the audio playback system, a firmware update mechanism is also provided, and the firmware update mechanism includes the following steps: Regularly check for new firmware versions that include algorithm improvements and feature enhancements; Prevent unexpected interruptions during system updates and ensure that systems continue to operate normally after updates.

[0097] The sound effect calibration method of the audio playback system provided by the above implementation method realizes comprehensive and accurate low-frequency optimization by combining time delay and volume calibration. The method first performs system initialization and environmental detection, and comprehensively analyzes the acoustic characteristics of the room and the listener's position. Subsequently, the subwoofer is perfectly synchronized with the main speaker through precise time delay calculation and phase alignment optimization. In the volume calibration stage, the dichotomy method is used to quickly match the level, and the frequency response is smoothed by parameter equalization. The multi-point optimization technology integrates the data of multiple positions by weighted average method, which greatly improves the spatial balance. It is particularly worth mentioning that this method introduces an adaptive optimization mechanism based on machine learning, which can dynamically adjust parameters according to different audio content and environmental noise, and continuously optimize the listening experience. In addition, this method also includes advanced functions such as multi-subwoofer collaborative calibration and automatic crossover point adjustment, which further enhances the flexibility and adaptability of the system. The user-friendly interface design and operation process make the complex calibration process simple and easy, while retaining the possibility of professional adjustment. Finally, the perfect abnormality detection and self-diagnosis mechanism ensures the long-term stability and reliability of the system. Overall, this comprehensive, intelligent and adaptive calibration method not only solves the limitations of traditional technology, but also provides users with unprecedented high-quality low-frequency experience, and has important application value in the fields of home theater and high-fidelity audio systems.

[0098] The above describes the sound effect calibration method of the audio playback system in the embodiment of the present disclosure. The following describes the sound effect calibration device of the audio playback system in the embodiment of the present disclosure. Figure 3 , a sound effect calibration device for an audio playback system in an embodiment of the present disclosure, wherein the audio playback system at least includes a subwoofer, a main speaker, and an audio acquisition device, and the device includes: The detection module 310 is used to detect the connection status between the subwoofer and the main speaker, and the working status of the audio acquisition device, and determine whether the connection status and the working status are normal; A first test module 320 is used to test the acoustic characteristics of the scene where the audio playback system is located and the delay of the main listening position using a first test audio when the detection is normal, so as to obtain a frequency response curve and a transmission time delay of the scene, wherein the transmission time delay is a time difference for the first test audio to be transmitted from the locations where the subwoofer and the main speaker are located to the main listening position respectively; The second test module 330 is used to control the subwoofer and the main speaker to play a second test audio, collect the transmission audio at the main listening position through the audio collection device, and calculate the sound time delay between the subwoofer and the main speaker by using a cross-correlation method; A calculation module 340, configured to calculate a volume parameter difference of the subwoofer relative to the main speaker based on the transmitted audio of the subwoofer and the transmitted audio of the main speaker; The calibration module 350 is used to calibrate the device parameters of the subwoofer based on the sound emission time delay, the volume parameter difference and the frequency response curve.

[0099] Optionally, the first testing module 320 is specifically used for: Playing a first test audio at the positions of the subwoofer and the main speaker respectively, and adjusting the audio acquisition device to the main listening position in the scene to use the test audio; Based on the reception time of the test audio and the sending time of each of the first test audios, the time difference of the first test audio being transmitted from the positions of the subwoofer and the main speaker to the main listening position is calculated to obtain the transmission time difference; The test audio and the first test audio are analyzed by using a fast Fourier transform algorithm for spectrum analysis, and corresponding frequency responses are calculated based on the two analyzed spectrums to obtain a frequency response curve of the scene.

[0100] Optionally, the second testing module 330 is specifically used for: Based on the second test audio, the subwoofer is stimulated to emit a first sound signal, and the first sound signal is collected at the main listening position by using the audio collection device; Based on the second test audio, the main speaker is stimulated to emit a second sound signal, and the second sound signal is collected at the main listening position by using the audio collection device; The time difference between the collected first sound signal and the second sound signal is analyzed by cross-correlation method to obtain the sound emission time delay between the subwoofer and the main speaker.

[0101] Optionally, the calculation module 340 is specifically used for: analyzing sound pressure level data corresponding to the first sound signal and the second sound signal; Determining whether the two sound pressure level data match; If they do not match, the difference between the two sound pressure level data is calculated, and based on the difference, the configuration parameters of the subwoofer are searched from a preset correspondence table of sound pressure and volume parameters; The volume parameter difference of the subwoofer relative to the main speaker is calculated based on the configuration parameters.

[0102] Optionally, the calibration module 350 is specifically used for: Determining whether the transmission time delay is greater than a preset delay threshold; According to the result of the determination, the sounding time of the subwoofer is compensated by using the sounding time delay or the transmission time delay and the sounding time delay; Compensation device parameters of the subwoofer are calculated according to the volume parameter difference and the frequency response curve, and calibration is performed based on the compensation device parameters.

[0103] Optionally, the calibration module 350 is specifically used for: Determining whether the utterance time delay is greater than zero; If the transmission time delay is greater than a preset delay threshold and the sound emission time delay is greater than zero, delay processing is performed on the subwoofer based on the transmission time delay and the sound emission time delay; If the transmission time delay is greater than a preset delay threshold and the sound emission time delay is less than zero, the subwoofer is processed in advance based on the transmission time delay and the sound emission time delay; If the transmission time delay is less than a preset delay threshold and the sound emission time delay is greater than zero, delay processing is performed on the subwoofer based on the sound emission time delay; If the transmission time delay is less than a preset delay threshold and the sound emission time delay is less than zero, the subwoofer is processed in advance based on the sound emission time delay.

[0104] Optionally, the calibration module 350 is further used for: Analyzing the phase responses of the main speaker and the subwoofer near the crossover frequency based on the transmitted audio; The difference in phase response between the main speaker and the subwoofer is calculated, and based on the difference, the sound emission time of the subwoofer is delayed to a preset fine-tuning amplitude, so as to achieve phase consistency between the subwoofer and the main speaker in the same frequency range.

[0105] Optionally, the calibration module 350 is specifically used for: Based on the volume parameter difference, the audio gain value of the subwoofer is calculated using a dichotomy method; Using the least square method, the frequency response curve and the transmitted audio of the subwoofer are fitted to obtain the actual frequency response of the subwoofer; Based on the audio gain value and the actual frequency response, compensation device parameters of the subwoofer are calculated and calibrated.

[0106] Optionally, the sound effect calibration device further includes an optimization module 360, which is used to: The audio acquisition device is adjusted to transmit audio of multiple secondary listening positions at other positions, and the corresponding sound emission time delay and volume parameter difference are calculated; The sound emission time delay and volume parameter differences of each of the secondary listening positions are fused by using a weighted average method to obtain fusion compensation parameters, and the subwoofer is calibrated.

[0107] Optionally, the optimization module 360 ​​is specifically used for: Measuring the distance between each of the secondary listening positions and the primary listening position, and assigning a corresponding weight value to each of the distances using a weighted average method; The sound emission time delay and volume parameter differences of the secondary listening positions are fused based on the weight values ​​to obtain fusion compensation parameters, and the subwoofer is calibrated.

[0108] Optionally, the optimization module 360 ​​is further used for: Obtaining a frequency response curve of each of the secondary listening positions, and calculating a standard deviation between each of the secondary listening positions and the primary listening position; The spatial balance of the scene is determined based on the standard deviations.

[0109] Optionally, the optimization module 360 ​​is specifically used for: The weight value of each of the secondary listening positions is calculated based on the spatial balance and each of the distances by using a weighted average method.

[0110] By implementing the above-provided device, the connection status of the subwoofer and the main speaker, and the working status of the audio acquisition device are detected, and it is determined whether the connection status and the working status are normal; if normal, the acoustic characteristics of the scene where the audio playback system is located and the delay of the main listening position are tested by using the first test audio to obtain the frequency response curve and transmission time delay of the scene, wherein the transmission time delay is the time difference of the first test audio being transmitted from the location of the subwoofer and the main speaker to the main listening position respectively; the subwoofer and the main speaker are controlled to play the second test audio respectively, the transmission audio at the main listening position is collected by the audio acquisition device, and the sound time delay between the subwoofer and the main speaker is calculated by the cross-correlation method; based on the transmission audio of the subwoofer and the transmission audio of the main speaker, the volume parameter difference of the subwoofer relative to the main speaker is calculated; and the device parameters of the subwoofer are calibrated based on the sound time delay, the volume parameter difference and the frequency response curve. By controlling the subwoofer and main speakers to play test audio, using audio acquisition equipment to collect the transmitted audio at the main listening position, analyzing the sound time delay and volume parameter differences, and calibrating the subwoofer based on the audio response curve of the scene, the problem of low accuracy of sound calibration between the subwoofer and the main speakers in the prior art is solved, which leads to low user listening experience.

[0111] above Figure 3The sound effect calibration device in the embodiment of the present disclosure is described in detail from the perspective of modular functional entities, and the audio playback system in the embodiment of the present disclosure is described in detail from the perspective of hardware processing.

[0112] See also Figure 4 As shown, the audio playback system includes a subwoofer, a main speaker, an audio acquisition device, a processor 400 and a memory 401. The memory 401 stores machine executable instructions that can be executed by the processor 400. The processor 400 executes the machine executable instructions to implement the above-mentioned sound effect calibration method.

[0113] Further, Figure 4 The audio playback system shown further includes a bus 402 and a communication interface 403 , and the processor 400 , the communication interface 403 and the memory 401 are connected via the bus 402 .

[0114] Among them, the memory 401 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), for example, at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 403 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 402 can be an ISA bus, a PCI bus or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0115] The processor 400 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 400. The above processor 400 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor to be executed, or a combination of hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 401 , and the processor 400 reads the information in the memory 401 and completes the method steps of the above-mentioned embodiment in combination with its hardware.

[0116] The present disclosure also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the steps of the sound effect calibration method of the audio playback system.

[0117] The computer program product of the sound effect calibration method, device, system and storage medium of the audio playback system provided in the embodiments of the present disclosure includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be found in the method embodiments, which will not be repeated here.

[0118] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0119] In addition, in the description of the embodiments of the present disclosure, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.

[0120] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.

[0121] In the description of the present disclosure, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present disclosure. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0122] Finally, it should be noted that the above embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above embodiments, those skilled in the art should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A sound effect calibration method for an audio playback system, characterized in that: The audio playback system at least includes a subwoofer, a main speaker and an audio acquisition device, and the method includes: Detecting the connection status between the subwoofer and the main speaker, and the working status of the audio acquisition device, and determining whether the connection status and the working status are normal; If normal, the acoustic characteristics of the scene where the audio playback system is located and the delay of the main listening position are tested using the first test audio to obtain a frequency response curve and a transmission time delay of the scene, wherein the transmission time delay is the time difference between the first test audio being transmitted from the positions where the subwoofer and the main speaker are located to the main listening position; Controlling the subwoofer and the main speaker to play a second test audio respectively, collecting the transmission audio at the main listening position through the audio collection device, and calculating the sound time delay between the subwoofer and the main speaker by using a cross-correlation method; Calculating a volume parameter difference of the subwoofer relative to the main speaker based on the transmitted audio of the subwoofer and the transmitted audio of the main speaker; The device parameters of the subwoofer are calibrated based on the sound emission time delay, the volume parameter difference and the frequency response curve.

2. The sound effect calibration method of the audio playback system according to claim 1, characterized in that: The step of testing the acoustic characteristics of the scene where the audio playback system is located and the delay of the main listening position by using the first test audio to obtain the frequency response curve and transmission time delay of the scene includes: Playing a first test audio at the positions of the subwoofer and the main speaker respectively, and adjusting the audio acquisition device to the main listening position in the scene to use the test audio; Based on the reception time of the test audio and the sending time of each of the first test audios, the time difference of the first test audio being transmitted from the positions of the subwoofer and the main speaker to the main listening position is calculated to obtain the transmission time difference; The test audio and the first test audio are analyzed by using a fast Fourier transform algorithm for spectrum analysis, and corresponding frequency responses are calculated based on the two analyzed spectrums to obtain a frequency response curve of the scene.

3. The sound effect calibration method of the audio playback system according to claim 1, characterized in that: The method of respectively controlling the subwoofer and the main speaker to play the second test audio, collecting the transmission audio at the main listening position by the audio collection device, and calculating the sound emission time delay between the subwoofer and the main speaker by using the cross-correlation method includes: Based on the second test audio, the subwoofer is stimulated to emit a first sound signal, and the first sound signal is collected at the main listening position by using the audio collection device; Based on the second test audio, the main speaker is stimulated to emit a second sound signal, and the second sound signal is collected at the main listening position by using the audio collection device; The time difference between the collected first sound signal and the second sound signal is analyzed by cross-correlation method to obtain the sound emission time delay between the subwoofer and the main speaker.

4. The sound effect calibration method of the audio playback system according to claim 3, characterized in that: The calculating, based on the transmitted audio of the subwoofer and the transmitted audio of the main speaker, a volume parameter difference of the subwoofer relative to the main speaker, comprises: analyzing sound pressure level data corresponding to the first sound signal and the second sound signal; Determining whether the two sound pressure level data match; If they do not match, the difference between the two sound pressure level data is calculated, and based on the difference, the configuration parameters of the subwoofer are searched from a preset correspondence table of sound pressure and volume parameters; The volume parameter difference of the subwoofer relative to the main speaker is calculated based on the configuration parameters.

5. The sound effect calibration method of an audio playback system according to any one of claims 1 to 4, characterized in that: The step of calibrating the device parameters of the subwoofer based on the sound emission time delay, the volume parameter difference and the frequency response curve comprises: Determining whether the transmission time delay is greater than a preset delay threshold; According to the result of the determination, the sounding time of the subwoofer is compensated by using the sounding time delay or the transmission time delay and the sounding time delay; Compensation device parameters of the subwoofer are calculated according to the volume parameter difference and the frequency response curve, and calibration is performed based on the compensation device parameters.

6. The sound effect calibration method of the audio playback system according to claim 5, characterized in that: The method of compensating the sounding time of the subwoofer by using the sounding time delay or the transmission time delay and the sounding time delay according to the result of the judgment comprises: Determining whether the utterance time delay is greater than zero; If the transmission time delay is greater than a preset delay threshold and the sound emission time delay is greater than zero, delay processing is performed on the subwoofer based on the transmission time delay and the sound emission time delay; If the transmission time delay is greater than a preset delay threshold and the sound emission time delay is less than zero, the subwoofer is processed in advance based on the transmission time delay and the sound emission time delay; If the transmission time delay is less than a preset delay threshold and the sound emission time delay is greater than zero, delay processing is performed on the subwoofer based on the sound emission time delay; If the transmission time delay is less than a preset delay threshold and the sound emission time delay is less than zero, the subwoofer is processed in advance based on the sound emission time delay.

7. The sound effect calibration method of the audio playback system according to claim 5, characterized in that: The method further comprises: compensating the sounding time of the subwoofer by using the sounding time delay or the transmission time delay and the sounding time delay according to the result of the judgment, and further comprising: Analyzing the phase responses of the main speaker and the subwoofer near the crossover frequency based on the transmitted audio; The difference in phase response between the main speaker and the subwoofer is calculated, and based on the difference, the sound emission time of the subwoofer is delayed to a preset fine-tuning amplitude, so as to achieve phase consistency between the subwoofer and the main speaker in the same frequency range.

8. The sound effect calibration method of the audio playback system according to claim 5, characterized in that: The calculating the compensation device parameters of the subwoofer according to the volume parameter difference and the frequency response curve, and calibrating based on the compensation device parameters, comprises: Based on the volume parameter difference, the audio gain value of the subwoofer is calculated using a dichotomy method; Using the least square method, the frequency response curve and the transmitted audio of the subwoofer are fitted to obtain the actual frequency response of the subwoofer; Based on the audio gain value and the actual frequency response, compensation device parameters of the subwoofer are calculated and calibrated.

9. The sound effect calibration method of the audio playback system according to claim 1, characterized in that: After calibrating the device parameters of the subwoofer based on the sound emission time delay, the volume parameter difference and the frequency response curve, the method further includes: The audio acquisition device is adjusted to transmit audio of multiple secondary listening positions at other positions, and the corresponding sound emission time delay and volume parameter difference are calculated; The sound emission time delay and volume parameter differences of each of the secondary listening positions are fused by using a weighted average method to obtain fusion compensation parameters, and the subwoofer is calibrated.

10. The sound effect calibration method of the audio playback system according to claim 9, characterized in that: The method of using a weighted average method to fuse the sound time delay and volume parameter differences of each of the secondary listening positions to obtain a fusion compensation parameter and calibrate the subwoofer includes: Measuring the distance between each of the secondary listening positions and the primary listening position, and assigning a corresponding weight value to each of the distances using a weighted average method; The sound emission time delay and volume parameter differences of the secondary listening positions are fused based on the weight values ​​to obtain fusion compensation parameters, and the subwoofer is calibrated.

11. The sound effect calibration method of the audio playback system according to claim 10, characterized in that: After measuring the distance between each of the secondary listening positions and the primary listening position, the method further includes: Obtaining a frequency response curve of each of the secondary listening positions, and calculating a standard deviation between each of the secondary listening positions and the primary listening position; The spatial balance of the scene is determined based on the standard deviations.

12. The sound effect calibration method of the audio playback system according to claim 11, characterized in that: The step of assigning a corresponding weight value to each distance by using a weighted average method includes: The weight value of each of the secondary listening positions is calculated based on the spatial balance and each of the distances by using a weighted average method.

13. A sound effect calibration device for an audio playback system, characterized in that: The audio playback system at least includes a subwoofer, a main speaker and an audio acquisition device, and the device includes: A detection module, used to detect the connection status between the subwoofer and the main speaker, and the working status of the audio acquisition device, and determine whether the connection status and the working status are normal; A first test module is used to test the acoustic characteristics of the scene where the audio playback system is located and the delay of the main listening position by using the first test audio when the detection is normal, so as to obtain the frequency response curve and transmission time delay of the scene, wherein the transmission time delay is the time difference of the first test audio being transmitted from the positions where the subwoofer and the main speaker are located to the main listening position respectively; A second test module is used to control the subwoofer and the main speaker to play a second test audio, collect the transmission audio at the main listening position through the audio collection device, and calculate the sound time delay between the subwoofer and the main speaker by using a cross-correlation method; A calculation module, configured to calculate a volume parameter difference of the subwoofer relative to the main speaker based on the transmitted audio of the subwoofer and the transmitted audio of the main speaker; A calibration module is used to calibrate the device parameters of the subwoofer based on the sound emission time delay, the volume parameter difference and the frequency response curve.

14. An audio playback system, characterized in that: The audio playback system at least includes a subwoofer, a main speaker, an audio acquisition device, a memory and at least one processor, wherein the memory stores instructions; The at least one processor calls the instruction in the memory so that the processor executes the sound effect calibration method for the audio playback system according to any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by the processor, the computer-executable instructions prompt the processor to implement the sound effect calibration method for the audio playback system according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Audio track configuration method, intelligent terminal and corresponding system

    CN104185132A

  • Indoor sound field self-adaptation method and combined speaker system

    CN108174337A

  • Sound leakage detection method and device of earphone, equipment and storage medium

    CN116456237A

  • Method for receiving broadcasting signals carrying audio signals of program for radio in-built in car, involves selecting retransmission channel to generate audio signals corresponding to electromagnetic signals towards audio output

    FR2993733A1

  • System for setting delay time

    JP2001211493A

Cited By

  • Subwoofer equipment delay synchronization method, device, equipment and storage medium

    CN120751474A

  • Multi-channel audio calibration method, system and device and storage medium

    CN121418729A

  • Playing calibration method of audio playing system and related device thereof

    CN121985261A

  • Computer-implemented method for sound effect calibration, system, and storage medium

    WO2026091355A1