CN117979207A - Frequency response correction method, device, equipment and storage medium - Google Patents

Frequency response correction method, device, equipment and storage medium Download PDF

Info

Publication number
CN117979207A
CN117979207A CN202311582368.9A CN202311582368A CN117979207A CN 117979207 A CN117979207 A CN 117979207A CN 202311582368 A CN202311582368 A CN 202311582368A CN 117979207 A CN117979207 A CN 117979207A
Authority
CN
China
Prior art keywords
frequency
frequency response
data
equalizer
response curve
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311582368.9A
Other languages
Chinese (zh)
Inventor
宋绍钦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN202311582368.9A priority Critical patent/CN117979207A/en
Publication of CN117979207A publication Critical patent/CN117979207A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/03Synergistic effects of band splitting and sub-band processing

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Tone Control, Compression And Expansion, Limiting Amplitude (AREA)

Abstract

The application discloses a frequency response correction method, device, equipment and storage medium, and belongs to the technical field of audio processing. The method comprises the following steps: acquiring first frequency response data, wherein the first frequency response data is used for representing a frequency response curve to be corrected, and the frequency response curve is used for reflecting the trend of loudness along with frequency change; performing time-frequency conversion on the first frequency response data to obtain first frequency spectrum data, wherein the first frequency spectrum data is used for reflecting the attribute of a frequency response curve to be corrected in the frequency direction; and determining parameters of an equalizer according to the first frequency spectrum data and the second frequency spectrum data, wherein the second frequency spectrum data is obtained by performing time-frequency conversion on the second frequency response data, the second frequency response data is used for representing a reference frequency response curve used for frequency response correction, and the equalizer is used for controlling the frequency response curve to be corrected to be close to the reference frequency response curve based on the parameters. The embodiment of the application realizes automatic determination of the parameters of the equalizer, and is beneficial to improving the efficiency of correcting the frequency response curve of the sound system, thereby improving the audio playing effect of the sound system.

Description

Frequency response correction method, device, equipment and storage medium
Technical Field
The present application relates to the field of audio processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for correcting a frequency response.
Background
The equalizer is able to change the frequency response curve of the sound system. Under the action of the equalizer, the audio playing effect of the sound system can be changed, so that the purpose of tuning is achieved.
The parameter differences of the equalizer may cause the audio playing effect of the sound system to have different stitching. In order for the equalizer to be able to change the audio playback effect of the playback device to the audio playback effect intended by the user, it is necessary to accurately determine the parameters of the equalizer. In the related art, a user manually adjusts parameters of an equalizer. And judging whether the audio playing effect of the playing device reaches the expected value or not by manually and repeatedly debugging parameters of the equalizer and listening to the change of the audio playing effect of the playing device.
However, manually adjusting the equalizer parameters makes the frequency response correction process for the playback device time consuming and inefficient.
Disclosure of Invention
The application provides a frequency response correction method, a device, equipment and a storage medium. The technical scheme is as follows:
According to an aspect of an embodiment of the present application, there is provided a frequency response correction method, the method including:
Acquiring first frequency response data, wherein the first frequency response data is used for representing a frequency response curve to be corrected, and the frequency response curve is used for reflecting the trend of loudness along with frequency change;
Obtaining first frequency spectrum data according to the first frequency response data, wherein the first frequency spectrum data is used for reflecting the attribute of the frequency response curve to be corrected in the frequency direction;
And determining parameters of an equalizer according to the first frequency spectrum data and the second frequency spectrum data, wherein the second frequency spectrum data is determined according to second frequency response data, the second frequency response data is used for representing a reference frequency response curve used for frequency response correction, and the equalizer is used for controlling the frequency response curve to be corrected to be close to the reference frequency response curve based on the parameters.
According to an aspect of an embodiment of the present application, there is provided a frequency response correction apparatus including:
The data acquisition module is used for acquiring first frequency response data, wherein the first frequency response data is used for representing a frequency response curve to be corrected, and the frequency response curve is used for reflecting the trend of loudness along with frequency change;
The frequency spectrum determining module is used for generating first frequency spectrum data according to the first frequency response data, wherein the first frequency spectrum data is used for reflecting the attribute of the frequency response curve to be corrected in the frequency direction;
And the parameter determining module is used for determining parameters of an equalizer according to the first frequency spectrum data and the second frequency spectrum data, the second frequency spectrum data is determined according to second frequency response data, the second frequency response data is used for representing a reference frequency response curve used for frequency response correction, and the equalizer is used for controlling the frequency response curve to be corrected to be close to the reference frequency response curve based on the parameters.
According to an aspect of an embodiment of the present application, there is provided a computer apparatus including a processor and a memory, the processor loading and executing the computer instructions from the memory to implement the above-mentioned frequency response correction method.
According to an aspect of an embodiment of the present application, there is provided a computer-readable storage medium having stored therein computer instructions that are loaded and executed by a processor from the storage medium to implement the above-described frequency response correction method.
According to an aspect of an embodiment of the present application, there is provided a computer program product including computer instructions stored in a computer-readable storage medium, the computer instructions being loaded and executed by a processor from the computer-readable storage medium to implement the above-described frequency response correction method.
The technical scheme provided by the embodiment of the application has the beneficial effects that at least:
In the implementation process of the embodiment of the application, the parameters of the equalizer can be determined by only providing the source frequency response data and the target frequency response data, and the frequency response data of the playing device when playing the audio is close to the target frequency response data by means of the parameters of the equalizer. By the method, the threshold of the frequency response correction process to the user is reduced, automatic correction of the frequency response is realized, efficiency of frequency response correction is improved, and labor cost is reduced.
Meanwhile, in the process of frequency response correction, frequency response data are converted into frequency spectrum data, and the calculation amount involved in determining parameters of the equalizer according to the frequency spectrum data is small. On one hand, the time consumption for determining equalizer parameters is shortened, and the frequency response correction speed is increased; on the other hand, the smaller calculated amount makes the requirement on the equipment performance of the frequency response correction method lower, is beneficial to improving the application scene of the frequency response correction method, and has better universality.
Drawings
FIG. 1 is a schematic illustration of an implementation environment for an embodiment of the present application;
FIG. 2 is a schematic diagram of the inventive concept;
FIG. 3 is a flow chart of a method of frequency response correction provided by an exemplary embodiment of the present application;
FIG. 4 is a flow chart of a method for frequency response correction provided by another exemplary embodiment of the present application;
FIG. 5 is a schematic diagram of a frequency response correction method according to an exemplary embodiment of the present application;
fig. 6 is a block diagram of a frequency response correction apparatus provided by an exemplary embodiment of the present application;
fig. 7 is a block diagram of a computer device according to an exemplary embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
First, the nouns involved in the embodiments of the present application will be described:
1. An acoustic system: the system is characterized in that a microphone is used for converting an acoustic wave signal of an original sound field into an electric signal, the electric signal is processed by some electronic equipment according to certain requirements, and finally, the electric signal is converted into the acoustic wave signal again by using playing equipment such as a loudspeaker and the like for playback.
In an embodiment of the present application, the sound system includes at least an electronic device for converting an electrical signal into an acoustic signal and playing the acoustic signal. Optionally, the sound system includes a playback device and an equalizer, and the playback device includes a speaker. The equalizer is used for adjusting the frequency response curve of the sound system so as to change the audio playing effect of the sound system and achieve the purpose of tuning.
2. And (3) equalizer: for making up for the deficiency of the playback device or for tone according to user preference. The equalizer adjusts the gain of some frequency bands in the audio signal to make the sound of the frequency bands become larger or smaller, thereby adjusting the frequency response curve of the sound system and changing the audio playing effect of the playing device.
Depending on the location of action, the equalizer includes at least two types: an equalizer at the power amplifier end and an equalizer at the sound source end. The equalizer at the sound source end comprises a hardware equalizer and a software equalizer.
Ft (Fourier Transform ): is a method that can convert a signal in the time domain (i.e., instant domain) into a signal in the frequency domain (i.e., frequency domain). The conversion of the time domain signal into a frequency domain signal causes some problems in the time domain that are not well handled, which can be handled in a relatively simple manner in the frequency domain.
Fft fast fourier transform (Fast Fourier Transform ): is an efficient time-frequency conversion algorithm for fast computation of the fourier transform and its inverse. The FFT takes advantage of some mathematical properties of the fourier transform, so that its computational efficiency is greatly improved. Although FFT is mathematically equivalent to fourier transform, FFT has become a major tool in actually computing fourier transform due to its computational efficiency advantage.
FIG. 1 is a schematic diagram of an implementation environment for an embodiment of the present application. The implementation environment of the scheme can comprise: computer device 10 and sound system 20.
The computer device 10 may be an electronic device such as a PC (Personal Computer ), tablet, cell phone, wearable device, smart home appliance, in-vehicle terminal, aircraft, etc. The computer device 10 has at least arithmetic and memory functions. The computer device 10 is used to implement a frequency response correction function. For example, a target application is running in the computer device 10. The target application is used to complete the frequency response correction for sound system 20. The computer device 10 may also be a server, that is, the frequency response correction procedure provided by the embodiment of the present application is remotely completed by the server.
Sound system 20 is used to convert audio sources in audio files or video files into electrical signals and play corresponding sounds. The sound system includes at least a playing device 22 and an equalizer 24, the equalizer 24 is used to adjust the audio playing effect of the sound system 20, and the playing device 22 is used to play sound. Equalizer 24 may be in software or hardware.
There is a wired or wireless connection between the computer device 10 and the sound system 20. Alternatively, computer device 10 exists independently of sound system 20, or computer device 10 is integrated in sound system 20.
In one example, computer device 10 and sound system 20 are independent of each other. When the frequency response correction is required, the computer device 10 acquires the source frequency response data and the target frequency response data of the sound system 20; the parameters of the equalizer are determined from the source frequency response data (corresponding to the first frequency response parameter in the claim) and the target frequency response data (corresponding to the second frequency response parameter in the claim), and the parameters of the equalizer are fed back to equalizer 24 in sound system 20. So that after the frequency response correction, equalizer 24 uses the parameters of the equalizer to adjust the frequency response curve of sound system 20, thereby achieving the purpose of changing the audio playing effect of sound system 20.
In the process of performing the frequency response correction, the sound system 20 may be placed in a recording studio, so as to collect source frequency response data of the sound system under the condition of less interference, reduce environmental errors introduced in the process of performing the frequency response correction, and be helpful to improve the correction effect of the frequency response correction.
Sound system 20 may also be placed in an actual use environment (e.g., outdoors, indoors, at a performance site, etc.) during the frequency response correction process so that the frequency response correction process can determine parameters of the equalizer that are appropriate for the use environment. For specific procedures regarding this method, reference is made to the examples below.
The application scenario of the frequency response correction method provided by the application comprises, but is not limited to, at least one of the following:
(1) Before the sound system leaves the factory, the frequency response curve of the sound system is adjusted.
(2) In the use process of the sound system, the frequency response curve of the sound system is adjusted. For an audio system capable of accessing to the internet of things, the parameters of an equalizer in the audio system can be updated periodically by the frequency response correction method, so that the audio playing effect of the audio system can be optimized periodically. Illustratively, the user determines parameters of an equalizer in the sound system by the present frequency response correction method according to tuning needs.
It should be noted that the application scenario mentioned above represents only an example of the application scenario of the frequency response correction method, and is not limited to the application scenario of the frequency response correction method.
Fig. 2 is a schematic diagram of the inventive concept provided by an exemplary embodiment of the present application.
As shown in fig. 2, the loudness corresponding to different frequency points in a source frequency response curve used for representing source frequency response data is limited by component elements, sounding principles and the like of a playing device in a sound system, which may affect the playing effect of the sound system on audio files in certain styles, and the audio playing effect of the sound system needs to be improved.
The embodiment of the application can automatically determine the parameters of the equalizer according to the source frequency response data and the target frequency response data. The equalizer is used for gaining the source frequency response curve according to the equalizer parameters, and the corrected frequency response curve is close to the target frequency response curve, so that the aim of automatic tuning is fulfilled.
In addition, the frequency response correction method provided by the embodiment of the application has lower requirements on the technical threshold of the user in the tuning process, realizes automatic correction of the frequency response curve, and is beneficial to shortening the period of frequency response correction.
Fig. 3 is a flowchart of a frequency response correction method according to an exemplary embodiment of the present application. By way of example, the subject of execution of the method may be the computer device 10 in the implementation environment of the scheme shown in fig. 1. As shown in fig. 3, the method may include at least one of the following steps (310-330):
in step 310, first frequency response data is obtained, where the first frequency response data is used to represent a frequency response curve to be corrected, and the frequency response curve is used to reflect a trend of loudness along with frequency variation.
In some embodiments, the first frequency response data is used to reflect a frequency response curve of the sound system when playing audio. The frequency response curve is also referred to as a frequency response curve. The frequency response curve can be understood as: the sound system radiates a curved representation of the energy distribution in space of sounds of different frequencies. That is, the first frequency response data is used to characterize the performance capabilities of the sound system for sounds of different frequencies.
Optionally, the frequency response curve is a two-dimensional curve; wherein the positive x-axis direction represents the frequency from low to high and the positive y-axis direction represents the fluctuation amplitude from low to high. Illustratively, the frequencies correspond to timbres in the hearing of the human ear; the higher the frequency, the brighter the tone; the higher the frequency, the lower the timbre. The amplitude of the fluctuation corresponds to the loudness in the sense of hearing of the human ear, the greater the loudness corresponding to a certain frequency in the frequency response curve, the greater the sound at that frequency. Different frequency response curves can bring different auditory experiences to the user.
Optionally, the frequency response curve to be corrected is used to reflect the playing loudness of the sound system at different frequencies. The loudness corresponding to different frequencies in the frequency response curve to be corrected may be different due to the limitation of elements, structures and other factors of the playing device, and in order to improve the playing effect, tuning needs to be performed on the frequency response curve to be corrected.
In some embodiments, the type of first frequency response data includes, but is not limited to, at least one of: spectrum TXT (Text File), system scan test PCM (Pulse Code Modulation ) File, etc. The first frequency response data is also referred to as a first frequency response profile.
In one example, the first frequency response data is a derived frequency spectrum TXT by the electroacoustic device. In another example, the first frequency response data is a PCM file collected by the sound receiving device, and the computing device treats the PCM file as the first frequency response data. For example, in the process of needing to perform frequency response correction, test audio is transmitted into the sound system, and the test audio played by the sound system is collected through the radio equipment to obtain a PCM file; the PCM file is then imported to the computer device such that the computer device obtains the first frequency response data. Illustratively, the test audio comprises sine waves of different frequencies.
Step 320, determining first spectrum data according to the first frequency response data, where the first spectrum data is used to reflect the attribute of the frequency response curve to be corrected in the frequency direction.
Optionally, the first spectral data comprises frequency information and amplitude information of the first frequency response data. Illustratively, the first spectral data is a spectrogram (spectrogram) corresponding to the first frequency response data. The spectrogram comprises at least one amplitude spectrum, and the amplitude spectrum is used for representing the mapping relation between the amplitude and the frequency when the sound system plays the audio. The spectrogram may also include a phase spectrum, which is not limited herein.
In some embodiments, the manner in which the computer device determines the first spectral data from the first frequency response data is related to the type of the first frequency response data.
For example, in case the type of the first frequency response data is the frequency spectrum TXT, the computer device reads the first frequency response data from the first frequency response data, since the frequency information and the amplitude information are included in the frequency spectrum TXT. The method can accelerate the speed of acquiring the frequency response data, and is beneficial to shortening the time consumption for performing the frequency response correction process.
In an exemplary case, where the type of the first frequency response data is a PCM file, the computer device performs spectrum extraction on the first frequency response data to obtain first spectrum data. For details of this step, reference is made to the following.
Step 330, determining parameters of the equalizer according to the first frequency spectrum data and the second frequency spectrum data, wherein the second frequency spectrum data is determined according to the second frequency response data, the second frequency response data is used for representing a reference frequency response curve used for frequency response correction, and the equalizer is used for controlling the frequency response curve to be corrected to be close to the reference frequency response curve based on the parameters.
In some embodiments, the second frequency response data is used to represent a target frequency response curve characterizing the frequency response correction. This target frequency response curve is also referred to as a reference frequency response curve. I.e. the second frequency response data is used to provide a correction criterion for the frequency response correction procedure. The targets at the frequency response correction are: after the frequency response correction, the frequency response curve of the sound system approaches the target frequency response curve or the frequency response curve of the sound system coincides with the target frequency response curve.
Optionally, the source of the second frequency response data includes, but is not limited to, at least one of: presetting and designating by a user. The second frequency response data is illustratively preset. For example, the preset second frequency response data is used to characterize a smooth reference frequency response curve. That is, in the reference frequency response curve, the loudness corresponding to each of the different frequencies is the same, or the difference between the loudness corresponding to each of the different frequencies is less than or corresponds to the first threshold. The first threshold may be a preset positive number.
Illustratively, the second frequency response data is user-specified. That is, the user-specified second frequency response data may be set based on the listening habits of the user. In this case, the loudness corresponding to the different frequency bands in the reference frequency response curve may be the same or different.
In one example, the user may record test audio played by the reference sound system to obtain second frequency response data. And performing frequency response correction through the second frequency response data, so that the audio playing effect of the corrected sound system can be close to that of the reference sound system. In this embodiment, the user is supported to indicate the reference frequency response curve by itself, so that after the source frequency response curve is corrected based on the reference frequency response curve, the audio playing effect of the sound system can conform to the listening habit of the user after the frequency response is corrected, and the user is supported to perform custom setting on the audio playing effect of the sound system, so that the flexibility of the frequency response correction method is improved.
In some embodiments, the type of second frequency response data includes, but is not limited to, at least one of: spectrum TXT, PCM files, etc. For details on the types of the two types of frequency response data, please refer to the above description.
In some embodiments, parameters of the equalizer are used to indicate the frequency response curve of the equalizer. That is, the equalizer generates a frequency response curve of the equalizer according to parameters of the equalizer, and the frequency response curve of the equalizer and the frequency response curve to be corrected are overlapped, so that the frequency response curve of the sound system approaches to the reference frequency response curve, thereby achieving the tuning function. The parameters of the equalizer can be understood as parameters that need to be used in the process of the equalizer performing gain on the source frequency response curve, where gain refers to changing the loudness of at least one frequency band in the source frequency response curve, such as increasing the loudness of frequency band 1, decreasing the loudness of frequency band 2, etc.
Optionally, the parameters of the equalizer include at least one of: center frequency, gain amount and quality factor; wherein, the center frequency is also called center frequency point, and the quality factor is also called Q value. For a detailed description of the equalizer parameters, please refer to the following examples.
Illustratively, the equalizer is configured to gain the loudness of at least one frequency band in the source frequency response curve. In at least one frequency band, equalizer parameters respectively corresponding to different frequency bands can be the same or different. The at least one frequency band is a frequency band with a larger difference between the first frequency response curve and the second frequency response curve.
Optionally, in determining the equalizer parameters, parameters of the equalizer corresponding to the at least one frequency band need to be determined separately. So that the frequency response curve of the sound system can be close to the reference frequency response curve in the at least one frequency band after the frequency response correction, the following examples are given for details of this procedure.
In summary, the embodiment of the application can automatically determine the parameters of the equalizer by only acquiring the source frequency response data and the target frequency response data, and the frequency response data of the audio system when playing the audio is close to the target frequency response data by means of the parameters of the equalizer. Through the mode, the threshold of the tuning process for the user is reduced, the automatic correction of the frequency response curve is realized, the frequency response correction efficiency is improved, and the labor cost is reduced.
Meanwhile, in the process of frequency response correction, frequency response data are converted into frequency spectrum data, and the calculation amount involved in determining parameters of the equalizer according to the frequency spectrum data is small. On one hand, the method is beneficial to shortening the time consumption for determining equalizer parameters, accelerating the frequency response correction speed and shortening the correction period of a frequency response curve; on the other hand, the smaller calculated amount makes the requirement on the equipment performance of the frequency response correction method lower, is beneficial to improving the application scene of the frequency response correction method, and has better universality.
The method of determining the first spectral data is described in the following by means of several embodiments. The method is performed by a computer device.
In some embodiments, step 320, determining first spectrum data according to first frequency response data, where the first spectrum data is used to reflect properties of a frequency response curve to be corrected in a frequency direction, includes the following sub-steps: a substep 322 of fourier transforming the first frequency response data to determine initial frequency response data; a substep 324 of smoothing the initial spectrum data to determine flat spectrum data; in a substep 326, interpolation processing is performed on the flat spectrum data based on the second spectrum data to determine the first spectrum data.
In some embodiments, for a first frequency response number belonging to the PCM file type, the computer device performs a spectral data extraction process on the first frequency response data to obtain first spectral data. Illustratively, the computer device performs a fast fourier transform on the first frequency response data to obtain initial spectral data. The computer device performs a spectral data extraction process on the first frequency response data using kissfft to obtain initial spectral data.
Alternatively, the processing of the spectral data mainly involves smoothing processing of the spectral data, for example: octive 1/3, octive 1/6, etc. The smoothing process is used for generating k×c frequency points based on c frequency points included in the initial spectrum data, and k is a positive integer.
Optionally, interpolation processing of the frequency spectrum data is used for the frequency values and the points of the frequency response curve to be corrected and the target frequency response curve are consistent. The interpolation processing is used for adding a new frequency point between two adjacent frequency points included in the gentle frequency spectrum data, and determining the amplitude value of the new frequency point according to the amplitude values respectively corresponding to the two adjacent frequency points.
The computer device determines the total number of frequency points in the second frequency spectrum data, and determines the number of frequency points to be interpolated according to the total number of frequency points in the second frequency spectrum data; determining at least one interpolation frequency point and amplitude values corresponding to each interpolation frequency point respectively according to the number of frequency points to be interpolated and the gentle frequency spectrum data; and adding at least one interpolation frequency point and the amplitude value corresponding to each interpolation frequency point into the slow spectrum data to obtain first spectrum data.
For example, the computer device determines, according to the total number of frequency points in the second spectrum data, the number of frequency points to be interpolated, including: and determining the total number of frequency points in the flat frequency spectrum data, and subtracting the total number of frequency points in the flat frequency spectrum data from the total number of frequency points in the second frequency spectrum data to obtain the number of frequency points to be interpolated.
For example, the computer device determines at least one interpolation frequency point and an amplitude value corresponding to each interpolation frequency point according to the number of frequency points to be interpolated and the flat spectrum data, including: the computer equipment selects a plurality of frequency point pairs of the frequency point number to be interpolated from the frequency points included in the gentle frequency spectrum data, and determines the amplitude of the frequency point to be processed according to the amplitude of two frequency points included in the frequency point pairs; the frequency point pair comprises two adjacent frequency points, and the frequency point to be processed is located in a frequency interval between the two frequency points in the frequency point pair.
For another example, the computer device determines at least one interpolation frequency point and an amplitude value corresponding to each interpolation frequency point according to the number of frequency points to be interpolated and the flat spectrum data, including: determining a number of frequency points to be processed of the frequency points to be interpolated according to the gentle spectrum data and the second spectrum data, wherein the frequency points to be processed refer to frequency points which are included in the second spectrum data and are not included in the gentle spectrum data; for each frequency point to be processed in at least one frequency point to be processed, finding two frequency points closest to the frequency point to be processed from the gentle frequency spectrum data, and determining the amplitude of the frequency point to be processed according to the amplitude of the two frequency points.
By the method, the total number of frequency points of the first frequency spectrum data and the second frequency spectrum data can be aligned, and accuracy of parameters of the equalizer determined later can be improved.
In some embodiments, the number of points of the spectral data refers to the number of sampling points in a 0-2 pi period during the fast Fourier transform. The number of points of the spectrum data can be understood as the number of sampling points in the spectrum conversion process, that is, the total number of frequency points in the obtained spectrum data after fourier transform. Illustratively, if the number of points of the spectrum data is equal to 64, it means that 64 spectrums are included in the spectrum data, that is, 64 frequency points and magnitudes corresponding to the 64 frequency points are included in the spectrum data.
The method for determining the parameters of the equalizer is described in several embodiments, and the method is implemented by a computer device.
In some embodiments, the first spectral data includes n bins and a first amplitude value for each bin, and the second spectral data includes n bins and a second amplitude value for each bin, n being a positive integer.
Optionally, the first spectrum data includes m frequency points and first amplitude values of the m frequency points, and the second spectrum data includes p frequency points and second amplitude values of each p frequency points, where m and p are positive integers greater than or equal to n.
The frequency point refers to an absolute frequency value. The total number of frequency bins included in the first spectral data and the second spectral data may be related to the number of sampling points in the spectral conversion process. The application does not limit the total number of frequency points respectively included in the first frequency spectrum data and the second frequency spectrum data.
Illustratively, at least n identical frequency points are included between the m frequency points and the p frequency points. E.g. n refers to the smaller of m and p.
In one example, in view of improving the utilization efficiency of each frequency point included in the spectrum data and improving the accuracy of the frequency response correction process, n=m=p, that is, the number of frequency points included in the first spectrum data and the second spectrum data are the same, and all the frequency points participate in the process of determining the parameters of the equalizer.
In another example, in determining parameters of the equalizer, the computer device picks n common frequency points from the first spectral data and the second spectral data and determines parameters of the equalizer based on the n frequency points. Illustratively, the computer device determines, from the frequency bin intervals, n frequency bins that the first spectral data and the second spectral data collectively include. For example, for any two frequency points in the n frequency points, the frequency span between the two frequency points is greater than or equal to the second threshold. The second threshold is used to characterize the minimum frequency span between two frequency bins. Optionally, the second threshold is preset.
By controlling the frequency span among n frequency points, the influence on other frequency bands in the process of gaining the frequency band where a certain frequency point is located can be reduced. The method has the advantages that the gain of the frequency band where a certain frequency point is located is avoided, the loudness of other frequency bands is caused to fluctuate greatly, the gain of other frequency bands is required to be adjusted, the efficiency of frequency response correction is improved, and the degree that the corrected frequency response curve is close to the reference frequency response curve is improved.
In some embodiments, step 330, determining parameters of the equalizer from the first spectral data and the second spectral data, may include the following sub-steps.
In step 332, for each of the n frequency points, a difference between the first amplitude value of the frequency point and the second amplitude value of the frequency point is calculated, so as to obtain an amplitude difference of the frequency point.
In some embodiments, the first spectrum data includes at least one spectrum, each spectrum corresponding to a frequency amplitude, the frequency amplitude being a first amplitude difference of the frequency bin. Illustratively, the amplitude difference of the frequency bins is equal to the second amplitude value minus the first amplitude value. The amplitude difference of the frequency points is used for representing the amplitude difference of the first frequency response curve at the frequency points of the second frequency response curve, and the amplitude difference is a rational number. The computer device can sequentially calculate the amplitude differences of n frequency points, or can calculate the amplitude differences of a plurality of frequency points in parallel at a time.
In step 334, a target frequency point is determined from the n frequency points according to the amplitude differences of the n frequency points, where the target frequency point is a frequency point with the amplitude difference greater than or equal to the correction error.
Optionally, the absolute value of the amplitude difference of the target frequency point is greater than or equal to the amplitude difference of at least one frequency point except the target frequency point in the n frequency points. For example, the absolute value of the amplitude difference of the target frequency point is the largest of the amplitude differences of the n frequency bands. For example, n=4, and the amplitude differences of the 4 frequency points are respectively: -10, 15, 10, -20, the computer device takes as target frequency points the frequency points with an amplitude difference of-20.
The amplitude difference of the frequency points has positive and negative, and therefore, the amplitude difference of the target frequency point being greater than or equal to the correction error means that the absolute value of the amplitude difference of the target frequency point is greater than or equal to the correction error. For example, if the difference in amplitude of a certain frequency point is equal to-5 and the correction error is equal to 3, it means that the difference in amplitude of the frequency point is greater than or equal to the correction error, that is, the frequency point may be regarded as the target frequency point.
Optionally, the computer device determines the target frequency point from the n frequency points according to a quantitative relationship between the amplitude difference and the correction error. Illustratively, the computer apparatus selects, as the target frequency point, a frequency point having the largest absolute value of the amplitude difference from the n frequency points.
The correction error may be preset, e.g., the correction error is equal to a decibels (dB), a being a positive number. For example, the correction error is any one value between 1-3 dB. Illustratively, the correction error affects how close the corrected frequency response curve is to the reference frequency response curve. The smaller the correction error is, the closer the corrected frequency response curve is to the reference frequency response curve; the larger the correction error, the larger the difference between the corrected frequency response curve and the reference frequency response curve.
The correction error may be set by the user according to actual needs, for example. For example, when the frequency response correction needs to be completed quickly, the user may set a larger correction error, such as setting the correction error to 3dB. For example, when an accurate frequency response correction is required, the user may set a smaller correction error, such as setting the correction error to 1dB. The correction error is set according to actual needs, and the present application is not limited herein.
In some embodiments, the computer device determines a target frequency bin from the n frequency bins according to the amplitude differences of the n frequency bins, comprising: the computer equipment selects the amplitude difference with the largest absolute value from the amplitude differences of the n frequency points, and if the absolute value of the amplitude difference is larger than or equal to the correction error, the frequency point with the amplitude difference in the n frequency points is taken as the target frequency point. If the absolute value of the amplitude difference is smaller than the correction error, the absolute values of the amplitude differences of the n frequency points are smaller than the correction error, namely the frequency response curve of the sound system is close to the reference frequency response curve, and correction of the frequency response curve is not needed. In other words, in the case where the target frequency point does not exist among the n frequency points, the frequency response correction process ends. The computer equipment determines the parameters of the equalizer corresponding to each target frequency point determined in the frequency response correction process as the parameters of the equalizer.
In a substep 336, parameters of the equalizer are determined based on the target frequency bin.
Optionally, in the case that one target frequency point exists in the n frequency points, the computer device determines the parameters of the equalizer according to the one target frequency point. And according to the parameters of the equalizer determined by the target frequency point, adjusting the loudness of the corresponding frequency band of the target frequency point in the frequency response curve to be corrected. For example, the computer device determines, as the target frequency point, a frequency point in which the absolute value of the amplitude difference is largest among the n frequency points and the absolute value of the amplitude difference is greater than or equal to the correction error; the computer device then determines parameters of the equalizer based on the target frequency point.
Optionally, under the condition that a plurality of target frequency points are determined from n frequency points, the computer equipment determines parameters of equalizers corresponding to the f target frequency points respectively at one time, and f is a positive integer smaller than the total number of the target frequency points. Illustratively, the computer device determines f target bins from the plurality of target bins according to a third threshold, in which case the value of f is associated with the third threshold and the value of f is associated with the plurality of target bins. For example, a frequency span between any two of the f target frequency bins is greater than or equal to a third threshold. The computer device then determines parameters of the equalizer based on the f target frequency points. In this case, parameters of the equalizer include parameters corresponding to each of the f target frequency points.
For unselected target frequency points in the plurality of target frequency points, the computer device needs to generate updated first frequency response data according to the equalizer parameters determined at this time, and determine whether the unselected target frequency points can be used as target frequency points according to the updated first frequency response data, and for specific content of the process, please refer to the following embodiments.
Because the equalizer can influence the frequency band including the target frequency point when the equalizer gains the target frequency point, the target frequency point with larger frequency span is selected, on one hand, the method is beneficial to avoiding that the determined equalizer parameter repeatedly gains the frequency band including a certain target frequency point, so that the frequency response curve of the frequency band including the target frequency point cannot be close to the reference curve after the frequency response correction, and the method is beneficial to improving the accuracy of the frequency response correction process. On the other hand, for two target frequency points with smaller frequency span, the parameters of the equalizer are determined according to one frequency point of the two target frequency points, so that the determined parameters of the equalizer can also influence the frequency response curve of the other target frequency point of the two frequency points, and the frequency response curve of the frequency band where the other target frequency point is positioned can be close to the reference frequency response curve, thereby reducing the times of determining the parameters of the equalizer and being beneficial to improving the efficiency of frequency response correction.
Optionally, in the case that a plurality of target frequency points are determined from the n frequency points, the computer device selects one target frequency point from the plurality of target frequency points, and determines the parameters of the equalizer according to the target frequency point. The computer device uses the determined equalizer parameters to adjust the frequency response curve to be corrected to obtain a corrected frequency response curve, and re-executes from step 320 based on the updated first frequency response data corresponding to the corrected frequency response curve until the target frequency point cannot be determined in sub-step 324, for details of this step, please refer to the following embodiments.
According to the method, based on the frequency points with the amplitude difference larger than or equal to the correction error, the parameters of the equalizer are determined, so that the frequency response curve of the frequency band corresponding to the frequency points can be corrected through the equalizer, the corrected frequency response curve of the frequency band is close to the curve part corresponding to the frequency band in the reference frequency response curve, and automatic frequency response correction is realized. No complex calculations are involved in this embodiment, and the determination helps to efficiently accomplish the frequency response correction.
The process of determining parameters of the equalizer based on the target frequency point is described in several embodiments.
In some embodiments, the parameters of the equalizer include: the center frequency is a frequency center point to be corrected, the gain quantity is amplitude variation at the center frequency after frequency response correction, and the quality factor is used for representing the influence bandwidth of the gain quantity on surrounding frequencies of the center frequency.
In a substep 336, determining parameters of the equalizer according to the target frequency point, including: determining a center frequency according to the target frequency point; determining gain according to the amplitude difference of the target frequency point; the quality factor is determined from the center frequency and the bandwidth of the frequency response curve, which is used to characterize the frequency span in which the amplitude value of the center frequency decays to half in the frequency response curve to be corrected.
Alternatively, the center frequency is also referred to as a center frequency point. Illustratively, the computer device determines the target frequency point as the center frequency.
Optionally, the gain is used to adjust the amplitude value of the center frequency, and the adjusted amplitude value of the center frequency is equal to the adjusted amplitude value of the center frequency plus the gain. The gain amount and the amplitude difference of the target frequency point are in positive correlation. That is, the larger the amplitude difference of the target frequency point is, the larger the gain amount is; the smaller the amplitude difference of the target frequency point, the smaller the gain amount. Illustratively, the computer device takes the difference in the magnitudes of the target frequency points as the gain amount.
In some embodiments, the bandwidth of the frequency response curve refers to a frequency band of the frequency response curve to be corrected that includes the center frequency. The bandwidth of the frequency response curve corresponds to the passband frequency band of the center frequency in the frequency response curve to be corrected. The passband band of the center frequency refers to: a frequency span between the lower cutoff frequency and the upper cutoff frequency; the cut-off frequency is the signal frequency that is attenuated by half in the loudness of the center frequency in the frequency response curve to be corrected.
In some embodiments, the figure of merit is positively correlated with the center frequency and the figure of merit is negatively correlated with the bandwidth of the frequency response curve. Optionally, the quality factor is equal to the ratio of the center frequency to the bandwidth of the frequency response curve. Illustratively, the larger the figure of merit, the smaller the impact of the gain amount on the frequency band around the center frequency; the smaller the value of the quality factor, the greater the effect of the gain amount on the frequency band around the center frequency.
In the embodiment of the application, the parameters of the equalizer of the passband frequency band to which the target frequency belongs can be rapidly determined in a simpler mode, so that the equalizer corrects the frequency response curve of the sound system according to the parameters, and the corrected frequency response curve is beneficial to reducing the difference between the corrected frequency response curve and the partial frequency response curve of the passband frequency band corresponding to the reference frequency response curve.
The method for determining the bandwidth of the frequency response curve is described in the following by means of several embodiments. The method is implemented by computer equipment.
In some embodiments, the frequency response correction method further comprises: determining a first frequency and a second frequency corresponding to the center frequency, wherein the first frequency refers to a frequency point corresponding to half of the amplitude value of the center frequency in the frequency decreasing direction, and the second frequency refers to a frequency point corresponding to half of the amplitude value of the center frequency in the frequency increasing direction; calculating a first frequency bandwidth between the center frequency and the first frequency, and calculating a second frequency bandwidth between the second frequency and the center frequency; the bandwidth of the frequency response curve is determined from the target frequency bandwidth, which is a smaller value of the first frequency bandwidth and the second frequency bandwidth.
Optionally, the first frequency refers to a lower cut-off frequency, the second frequency refers to an upper cut-off frequency, the first frequency is less than the center frequency, and the second frequency is greater than the center frequency.
In some embodiments, the computer device determines the bandwidth of the frequency response curve from the first frequency and/or the second frequency. Optionally, the computer device determines the difference between the second frequency and the first frequency as the bandwidth of the frequency response curve. In this case, the bandwidth of the frequency response curve w=f h-fl, where f l represents the first frequency and f h represents the second frequency.
Since the frequency response curve to be corrected may not be symmetrical on both sides of the center frequency, in order to improve accuracy of the bandwidth of the determined frequency response curve, the computer device determines the bandwidth of the frequency response curve according to the frequency bandwidth. The computer device may determine the bandwidth of the frequency response curve based on the first frequency bandwidth and the second frequency bandwidth.
Optionally, the computer device selects a target frequency bandwidth from the first frequency bandwidth and the second frequency bandwidth, and calculates the bandwidth of the frequency response curve according to the target frequency. The computer device determines the target frequency bandwidth from a smaller value of the first frequency bandwidth and the second frequency bandwidth, and the computer device determines twice the target frequency bandwidth as the bandwidth of the frequency response curve.
In this case, the bandwidth of the frequency response curve is calculated as: w=2×min (f h-fc,fc-fl); where w represents the bandwidth of the frequency response curve, min (f h-fc,fc-fl) represents the smaller value determined from f h-fc,fc-fl, f l represents the first frequency, f h represents the second frequency, and f c represents the center frequency.
The smaller frequency bandwidth of the cut-off frequency and the center frequency is selected as the target bandwidth, so that the frequency band width corresponding to the determined frequency response curve bandwidth is facilitated, and the influence of other frequency bands except the passband frequency band of the center frequency in the frequency response curve to be corrected of the equalizer parameter is facilitated to be reduced. This approach helps to reduce repetitive correction for certain passband bands and helps to speed up the efficiency of frequency response correction.
The following describes, by way of an example, a process of determining parameters of an equalizer corresponding to a target frequency point. The execution main body of the embodiment is a computer device, and the embodiment mainly includes the following steps:
And step A10, acquiring first frequency response data. Optionally, the computer device obtains first frequency response data recorded by the sound system in the process of playing the test audio through the radio device. The radio reception device transmits the first frequency response data to the computer device via a wired or wireless network. The type of the first frequency response data may be a PCM file.
Optionally, after the frequency response correction is started, the computer device also needs to acquire second frequency response data. The second frequency response data may be user-defined or preset. For example, the second frequency response data is used to characterize a smooth frequency response curve. The second frequency response data may be of the same type as the first frequency response data or of a different type from the first frequency response data.
For example, in the case that the type of the second frequency response data is a PCM file, the computer device needs to perform spectrum extraction processing on the second frequency response data to obtain second spectrum data. The processing method in this step is similar to the first spectrum data acquisition method, and will not be described here.
For example, in case the second spectral data is preset, the second spectral data may be stored in the computer device to reduce unnecessary computation.
And step A20, carrying out Fourier transform on the first frequency response data to obtain initial frequency spectrum data.
Optionally, the computer device performs a fast fourier transform on the first frequency response data based on the kissfft open source program to obtain the initial spectrum data. The initial frequency spectrum data comprises at least one frequency point and amplitude values corresponding to the frequency points respectively.
And step A30, performing smoothing processing on the initial spectrum data to obtain gentle spectrum data.
And step A40, carrying out interpolation processing on the gentle spectrum data based on the second spectrum data to obtain the first spectrum data.
It should be noted that, the step a30 and the step a40 are optional execution steps. For example, after the computer device performs step a20, the initial spectrum data may be directly taken as the first spectrum data. For another example, in the case where the number of points of the initial spectrum data and the second spectrum data is the same, the computer device may not perform step a40. I.e. the flat spectral data determined in step a30 is taken as first spectral data.
For another example, the computer device may not perform step a30. That is, after step a20 is performed, step a40 is directly performed, and interpolation processing is performed on the initial spectrum data based on the second spectrum data, to obtain the first spectrum data.
Alternatively, the execution order between the step a30 and the step a40 may be exchanged, and the present application is not limited to the execution order of the step a30 and the step a 40.
Step A50, for each frequency point in the n frequency points, calculating a difference value between a first amplitude value of the frequency point and a second amplitude value of the frequency point to obtain an amplitude difference of the frequency point; and determining a target frequency point from the n frequency points according to the amplitude differences of the n frequency points.
Optionally, the n frequency points refer to all frequency points included in the first spectrum data, or the computer device selects n frequency points from m frequency points included in the first spectrum data.
Illustratively, the amplitude difference of the frequency bins is equal to the first amplitude value minus the second amplitude value.
Step A60, determining the center frequency according to the target frequency point; and determining the gain according to the amplitude difference of the target frequency point. The computer device determines the target frequency point as a center frequency, and the amplitude difference of the target frequency point as a gain amount.
Step A70, determining a first frequency and a second frequency corresponding to the center frequency; calculating a first frequency bandwidth between the center frequency and the first frequency, and calculating a second frequency bandwidth between the second frequency and the center frequency; and determining the bandwidth of the frequency response curve according to the target frequency bandwidth.
Optionally, the bandwidth calculation formula of the frequency response curve is: w=2×min (f h-fc,fc-fl). For the explanation of each parameter in the formula, please refer to the above embodiment, and the description is omitted here.
Step A80, determining the quality factor according to the center frequency and the bandwidth of the frequency response curve.
Optionally, the figure of merit is calculated as: q=f c/w; where q represents the quality factor, f c represents the center frequency, and w represents the bandwidth of the frequency response curve.
The embodiment of the application can automatically determine the parameters of the equalizer, even users who do not know tuning can quickly correct the frequency response curve of the sound system, greatly reduce the labor cost and the debugging period, and is beneficial to improving the production efficiency.
Fig. 4 is a schematic diagram of a frequency response correction method according to another embodiment of the application. By way of example, the subject of execution of the method may be the computer device 10 in the implementation environment of the scheme shown in fig. 1. As shown in fig. 4, the method may include at least one of the following steps (310-370):
in step 310, first frequency response data is obtained, where the first frequency response data is used to characterize a frequency response curve to be corrected.
Step 320, performing time-frequency conversion on the first frequency response data to obtain first frequency spectrum data.
Step 330, determining parameters of the equalizer according to the first spectrum data and the second spectrum data.
For details of steps 310, 320 and 330, please refer to the above embodiments, and the details are not described here. In the case of a large difference between the source frequency response curve and the reference frequency response curve, equalizer parameters corresponding to the frequency bands respectively need to be determined so that the corrected frequency response curve can approach the reference frequency response curve in each frequency band. In one possible embodiment, this is achieved by performing at least steps 320 and 330 in a loop.
The execution and stop conditions of the cyclic process are described in the following by several examples.
Step 340, generating third frequency response data according to the parameters of the equalizer, wherein the third frequency response data is used for reflecting the frequency response curve of the equalizer.
In some embodiments, the third frequency response data is generated by a computer device based on a simulation of parameters of the equalizer. Compared with directly acting the parameters of the equalizer on the equalizer in the sound system, re-recording and acquiring updated first audio data, the frequency response curve of the equalizer is simulated in the computer equipment, so that the efficiency of frequency response correction is improved.
Optionally, the frequency response curve of the equalizer is used to adjust the frequency response curve to be corrected. The third frequency response data refers to data for characterizing a frequency response curve of the equalizer, and as can be seen from the foregoing, the types of the third frequency response data include, but are not limited to, at least one of the following: spectrum TXT files, PCM files, etc.
For the generation process of generating the third frequency response data, please refer to the following embodiments.
And 350, superposing the third frequency response data and the first frequency response data to generate updated first frequency response data.
Since the third frequency response data is used for characterizing the frequency response curve of the equalizer, and the first frequency response data is used for characterizing the frequency response curve to be corrected, step 350 is used for adding the frequency response curve to be corrected and the frequency response curve of the equalizer, so as to obtain the updated frequency response curve to be corrected.
The computer device, for example, superimposes the third frequency response data and the first frequency response data to generate updated first frequency response data, including: for any frequency band, the computer equipment acquires a first sub-frequency response curve of the frequency band from the first frequency response data, acquires a second sub-frequency response curve of the frequency band from the third frequency response data, and superimposes the first sub-frequency response curve and the second sub-frequency response curve in the loudness direction to obtain an updated sub-frequency response curve of the frequency band. And splicing the sub-frequency response curves according to the frequency direction to obtain an updated frequency response curve to be corrected, namely obtaining updated first frequency response data.
That is, in this step, the computer device superimposes the frequency response curve of the equalizer and the frequency response curve to be corrected, resulting in an updated frequency response curve to be corrected.
Step 360, determining updated first frequency spectrum data according to the updated first frequency spectrum data.
This step is similar to step 320, and please refer to the above embodiment, and detailed description is omitted here.
And step 370, in the case that the amplitude difference between the updated first spectrum data and the second spectrum data satisfies the correction condition, the step of determining the parameters of the equalizer according to the first spectrum data and the second spectrum data is performed again with the updated first spectrum data as the first spectrum data.
The correction condition is used to determine whether to continue the frequency response correction process. Optionally, the correction condition is related to a difference between the updated first spectral data and the second spectral data.
The updated first spectrum data and the second spectrum data each include n frequency points and n frequency points corresponding to amplitude values respectively, and the correction condition is that at least one frequency point to be corrected exists in the n frequency points, and an absolute value of a difference between the first amplitude value and the second amplitude value corresponding to the frequency point to be corrected is greater than or equal to a correction error. For the correction error, the first amplitude value and the second amplitude value, please refer to the above embodiments, and the description thereof is omitted.
After determining the updated first spectral data, the computer device determines parameters of the equalizer based on the updated first spectral data and the second spectral data. Optionally, the equalizer parameters determined in step 330 and step 370 are used to gain different frequency bands.
In some embodiments, the computer device again performs the step of determining parameters of the equalizer from the first spectral data and the second spectral data, comprising: for each frequency point in the n frequency points, calculating a difference value between a first amplitude value of the frequency point and a second amplitude value of the frequency point to obtain an amplitude difference of the frequency point; and determining a target frequency point from the n frequency points according to the amplitude differences of the n frequency points. For the specific process of this step, please refer to the above embodiment, and a detailed description is omitted here.
And determining parameters of the equalizer according to the target frequency point. Alternatively, in the case where the target frequency point is not included in the n frequency points, it is indicated that the frequency response correction is not necessary. That is, the current cyclic process has not satisfied the correction condition. In this case, the equalizer parameters determined according to the target frequency point in each cycle completed by the computer device are summarized to obtain the parameters of the total equalizer. The computer device transmits the parameters of the total equalizer to the equalizer, so that the equalizer generates a gain curve of the equalizer according to the parameters of the total equalizer before the parameters are played by the playing device, the frequency response curve of the sound system is changed, and the effect of improving the tone of the sound system is obtained.
Next, description will be made of a method for generating third frequency response data by several embodiments, and an execution subject of this embodiment is a computer device.
In some embodiments, the parameters of the equalizer include: the center frequency is a frequency center point to be corrected, the gain quantity is amplitude variation at the center frequency after frequency response correction, and the quality factor is used for representing the influence bandwidth of the gain quantity on surrounding frequencies of the center frequency. For details of the equalizer parameters, please refer to the above embodiments, and detailed descriptions thereof are omitted herein.
In some embodiments, step 340, generating third frequency response data according to parameters of the equalizer, may include the following sub-steps.
In a sub-step 342, ratio processing is performed according to the center frequency and the sampling frequency, and the first parameter is determined, where the sampling frequency is related to the number of frequency points included in the first spectrum data.
In a substep 344, the first constant is exponentially processed according to the gain to determine the second parameter.
In a substep 346, a ratio process is performed based on the first parameter and the figure of merit to determine a third parameter.
In a substep 348, third frequency response data is generated based on the first parameter, the second parameter, and the third parameter.
Optionally, the first parameter has a positive correlation with the center frequency, and the first parameter has a negative correlation with the sampling frequency. Illustratively, the first parameter is calculated as follows: w0=2.0 pi×fc/fs; where W0 represents the first parameter, fc represents the center frequency, and fs represents the sampling frequency.
Optionally, the second parameter has a positive correlation with the gain amount. Illustratively, the second parameter is calculated as follows: a=pow (10.0, gain/40.0); where A represents a second parameter, gain represents the gain amount, and pow (10.0, gain/40.0) represents the gain/40.0 power of 10.
Optionally, the third parameter has a positive correlation with the first parameter, and the third parameter has a negative correlation with the quality factor. Illustratively, the calculation formula of the first parameter is as follows: alpha=sin (w 0)/(2.0×q); where alpha represents the third parameter, w0 represents the first parameter, and q represents the figure of merit.
In some embodiments, sub-step 348, generating third frequency response data from the first parameter, the second parameter, and the third parameter, includes: the computer equipment generates filter coefficients of the equalizer according to the first parameter, the second parameter and the third parameter, wherein the filter coefficients are used for controlling a filter in the equalizer to influence a frequency response curve to be corrected; the computer device performs frequency response processing based on the filter coefficients to obtain third frequency response data.
In some embodiments, the equalizer includes a plurality of filters, different filters being used to gain the frequency response curves for different frequency bands. That is, during the actual operation of the equalizer, the filter in the equalizer generates the frequency response curves of the equalizer corresponding to different frequency bands, so as to gain the source frequency response curve of the playback device, thereby changing the audio playback effect of the sound system.
Exemplary types of filters include, but are not limited to, at least one of: FIR (Finite Impulse Respond, finite impulse response) digital filters, IIR (Infinite Impulse Response ) filters, etc. The type of filter included in the equalizer is related to the actual situation of the sound system, and the present application is not limited herein.
The method of generating the third frequency response data from the parametric simulation of the equalizer is not exactly the same for different types of filters. Next, a method of generating third frequency response data will be described taking as an example an IIR digital filter as an example a filter included in the equalizer.
Optionally, the filter coefficients include a first filter coefficient, a second filter coefficient, a third filter coefficient, a fourth filter coefficient, a fifth filter coefficient, and a sixth filter coefficient.
Wherein the first filter coefficient has positive correlation with the first parameter and negative correlation with the second parameter; the second filter coefficient has positive correlation with the first parameter and positive correlation with the second parameter; the fifth filter coefficient has a negative correlation with the first parameter and has a positive correlation with the second parameter; the sixth filter coefficient has a negative correlation with the first parameter and a negative correlation with the second parameter.
Illustratively, the first filter coefficient is calculated as follows: a0 =1.0+alpha/a; where a0 represents a first filter coefficient, alpha represents a first parameter, and A represents a second parameter.
The second filter coefficient is calculated by the following formula: b0 =1.0+alpha×a; wherein b0 represents the second filter coefficient, and other parameters are referred to in the above embodiments.
The calculation formula of the third filter coefficient is as follows: a1 -2.0 x cos (w 0); where a1 represents a third filter coefficient and w0 represents a third parameter.
Illustratively, the fourth filter coefficient is calculated as follows: b1 -2.0 x cos (w 0); wherein b1 represents the fourth filter coefficient, and other parameters are referred to in the above embodiments.
Illustratively, the calculation formula of the fifth filter coefficient is as follows: a2 =1.0-alpha/a; wherein a2 represents the fifth filter coefficient, and other parameters are referred to in the above embodiments.
Illustratively, the calculation formula of the sixth filter coefficient is as follows: b2 =1.0-alpha×a; wherein b2 represents the sixth filter coefficient, and other parameters are referred to above in the embodiments.
Optionally, the transfer function of the filter is calculated by the first filter coefficient, the second filter coefficient, the third filter coefficient, the fourth filter coefficient, the fifth filter coefficient and the sixth filter coefficient. Illustratively, the transfer function H (z) of the filter is calculated as follows:
Optionally, the computer device generates the third frequency response data according to a transfer function of the filter.
For example, the computer device generates third frequency response data with reference to the freqz functions of matlab.
Fig. 5 shows a schematic diagram of a frequency response correction procedure provided by an exemplary embodiment of the present application. The frequency response correction process is described below by way of one example in connection with fig. 5. The execution subject of this example is a computer device, and this example may include the following steps.
And step B10, acquiring correction parameters, wherein the correction parameters comprise various parameters required to be used in the correction process. Optionally, the correction parameters include, but are not limited to, at least one of: correcting errors, namely correcting the number of segments of an equalizer in an acoustic system to be corrected, correcting a frequency interval and a reference level. The number of segments of the equalizer is used for characterizing which frequency bands the equalizer can gain, and the interval to be corrected is used for indicating frequency response curves of the sound system to be corrected on which frequency bands. The interval to be corrected may be, for example, 150-5000kHz.
And step B20-a, acquiring first frequency response data. The computer device illustratively imports the first frequency response data from outside. For the description of the first frequency response data, please refer to the above embodiment, and the description is omitted herein.
And step B20-B, obtaining second frequency response data. The present application is not limited to the execution sequence of the steps B20-a and B20-B.
And step B30-a, determining first frequency spectrum data according to the first frequency response data. Optionally, in the case that the first spectrum data is the spectrum TXT, the computer device reads the first spectrum data from the first frequency response data; and under the condition that the first spectrum data is the PCM file, the computer equipment performs operations such as fast Fourier transform and the like on the PCM file to obtain the first spectrum data. Please refer to the above embodiments for specific details.
And step B30-B, determining second frequency spectrum data according to the second frequency response data. The method for determining the second spectrum data is similar to the method for determining the first spectrum data, and will not be described here.
And B40, the first frequency spectrum data comprise n frequency points and a first amplitude value of each frequency point, the second frequency spectrum data comprise n frequency points and a second amplitude value of each frequency point, and for each frequency point in the n frequency points, a difference value between the first amplitude value of the frequency point and the second amplitude value of the frequency point is calculated to obtain an amplitude difference of the frequency point.
And step B50, determining a target frequency point from the n frequency points according to the amplitude differences of the n frequency points, wherein the target frequency point refers to the frequency point with the amplitude difference larger than or equal to the correction error. Alternatively, this step may be understood as selecting the amplitude difference having the largest absolute value from among the amplitude differences of the n frequency points, and determining the amplitude difference as the target amplitude difference. The frequency point corresponding to the target amplitude difference is the target frequency point.
And step B60, determining parameters of the equalizer according to the target frequency point. For details of this step, please refer to the above embodiments, and detailed descriptions thereof are omitted herein.
And step B70, generating third frequency response data according to the parameters of the equalizer, wherein the third frequency response data is used for reflecting the frequency response curve of the equalizer.
And step B80, overlapping the third frequency response data and the first frequency response data to generate updated first frequency response data.
And step B90, when the amplitude difference between the updated first spectrum data and the second spectrum data meets the correction condition, taking the updated first spectrum data as the first spectrum data, and executing the step of determining the parameters of the equalizer according to the first spectrum data and the second spectrum data again.
Optionally, after generating the updated first spectrum data, the computer device recalculates the amplitude differences of the n frequency bins and selects the amplitude difference with the largest absolute value from the amplitude differences of the n frequency bins. If the absolute value of the selected amplitude difference is greater than or equal to the correction error, the frequency point corresponding to the selected amplitude difference is determined as the target frequency point, and then the computer device performs step B60 to determine the equalizer parameters related to the target frequency point. The parameters of the equalizer related to the target frequency point are used for gain in the frequency band where the target frequency point is located in the frequency response curve to be corrected.
If the absolute value of the selected amplitude difference is less than the correction error, the frequency response correction process ends. The computer device uses the determined equalizer parameters as the overall equalizer parameters in the process of executing step B60-step B90, and transmits the equalizer parameters to the sound system.
The embodiment of the application automatically realizes the frequency response correction, greatly reduces the labor cost and the debugging period required in the frequency response correction process, and is beneficial to improving the production efficiency.
Fig. 6 shows a block diagram of a frequency response correction apparatus provided by an exemplary embodiment of the present application. The apparatus may be implemented as all or part of a computer device by software, hardware, or a combination of both. The apparatus 600 may include: a data acquisition module 610, a spectrum determination module 620, and a parameter determination module 630.
The data acquisition module 610 is configured to acquire first frequency response data, where the first frequency response data is used to characterize a frequency response curve to be corrected, and the frequency response curve is used to reflect a trend of loudness along with frequency variation.
The spectrum determining module 620 is configured to determine first spectrum data according to the first frequency response data, where the first spectrum data is used to reflect an attribute of the frequency response curve to be corrected in a frequency direction.
A parameter determining module 630, configured to determine parameters of an equalizer according to the first spectrum data and second spectrum data, where the second spectrum data is determined according to second frequency response data, the second frequency response data is used to characterize a reference frequency response curve used for frequency response correction, and the equalizer is configured to control the frequency response curve to be corrected to approach the reference frequency response curve based on the parameters.
In some embodiments, the first spectral data includes n frequency bins and a first amplitude value for each of the frequency bins, the second spectral data includes the n frequency bins and a second amplitude value for each of the frequency bins, and n is a positive integer; the parameter determination module 630 includes: an amplitude difference calculation unit, configured to calculate, for each frequency point of the n frequency points, a difference between a first amplitude value of the frequency point and a second amplitude value of the frequency point, to obtain an amplitude difference of the frequency point; the frequency point meter determining unit is used for determining a target frequency point from the n frequency points according to the amplitude differences of the n frequency points, wherein the target frequency point is a frequency point with the amplitude difference being greater than or equal to a correction error; and the parameter determining unit is used for determining the parameters of the equalizer according to the target frequency point.
In some embodiments, the parameters of the equalizer include: the system comprises a center frequency, a gain quantity and a quality factor, wherein the center frequency refers to a frequency center point to be corrected, the gain quantity refers to amplitude variation at the center frequency after frequency response correction, and the quality factor is used for representing the influence bandwidth of the gain quantity on surrounding frequencies of the center frequency; the parameter determining unit is used for determining the center frequency according to the target frequency point; determining the gain according to the amplitude difference of the target frequency point; and determining the quality factor according to the central frequency and the bandwidth of the frequency response curve, wherein the bandwidth of the frequency response curve is used for representing the frequency span in which the amplitude value of the central frequency is attenuated to be half in the frequency response curve to be corrected.
In some embodiments, the figure of merit is positively correlated with the center frequency and the figure of merit is negatively correlated with the bandwidth of the frequency response curve.
In some embodiments, the apparatus 600 further comprises: the bandwidth determining module is used for determining a first frequency and a second frequency corresponding to the central frequency, wherein the first frequency refers to a frequency point corresponding to half of the amplitude value of the central frequency in the frequency decreasing direction, and the second frequency refers to a frequency point corresponding to half of the amplitude value of the central frequency in the frequency increasing direction; calculating a first frequency bandwidth between the center frequency and the first frequency, and calculating a second frequency bandwidth between the second frequency and the center frequency; and determining the bandwidth of the frequency response curve according to a target frequency bandwidth, wherein the target frequency bandwidth is a smaller value of the first frequency bandwidth and the second frequency bandwidth.
In some embodiments, the apparatus further comprises: the frequency response generation module is used for generating third frequency response data according to the parameters of the equalizer, wherein the third frequency response data is used for reflecting a frequency response curve of the equalizer; the data superposition module is used for superposing the third frequency response data and the first frequency response data and generating updated first frequency response data; the frequency spectrum updating module is used for determining updated first frequency spectrum data according to the updated first frequency response data; and the loop execution module is used for taking the updated first spectrum data as the first spectrum data and executing the step of determining the parameters of the equalizer according to the first spectrum data and the second spectrum data again under the condition that the amplitude difference between the updated first spectrum data and the second spectrum data meets the correction condition.
In some embodiments, the parameters of the equalizer include: the system comprises a center frequency, a gain quantity and a quality factor, wherein the center frequency refers to a frequency center point to be corrected, the gain quantity refers to amplitude variation at the center frequency after frequency response correction, and the quality factor is used for representing the influence bandwidth of the gain quantity on surrounding frequencies of the center frequency; the frequency response generating module comprises: the parameter determining unit is used for carrying out ratio processing according to the center frequency and the sampling frequency, and determining a first parameter, wherein the sampling frequency is related to the frequency point number included in the first frequency spectrum data; performing exponential processing on the first constant according to the gain amount to determine a second parameter; performing ratio processing according to the first parameter and the quality factor to determine a third parameter; and the data calculation unit is used for generating the third frequency response data according to the first parameter, the second parameter and the third parameter.
In some embodiments, the data calculation unit is configured to: generating filter coefficients of the equalizer according to the first parameter, the second parameter and the third parameter, wherein the filter coefficients are used for controlling a filter in the equalizer to influence the frequency response curve to be corrected; and performing frequency response processing based on the filter coefficient to obtain the third frequency response data.
In some embodiments, the spectrum generation module 620 is configured to perform fourier transform on the first frequency response data to determine initial spectrum data; smoothing the initial spectrum data to determine gentle spectrum data; and carrying out interpolation processing on the gentle spectrum data based on the second spectrum data, and determining the first spectrum data.
It should be noted that, in the apparatus provided in the foregoing embodiment, when implementing the functions thereof, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be implemented by different functional modules, that is, the content structure of the device is divided into different functional modules, so as to implement all or part of the functions described above. In addition, the embodiments of the apparatus and the method provided in the foregoing embodiments belong to the same concept, and the specific implementation process is detailed in the method-side embodiment, which is not described herein again. The beneficial effects of the device provided in the foregoing embodiments are described with reference to the method side embodiments, and are not repeated herein.
Fig. 7 shows a block diagram of a computer device according to an exemplary embodiment of the present application.
In general, the computer device 700 includes: a processor 701 and a memory 702.
Processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 701 may be implemented in at least one hardware form of DSP (DIGITAL SIGNAL Processing), FPGA (Field Programmable GATE ARRAY ), PLA (Programmable Logic Array, programmable logic array). The processor 701 may also include a main processor and a coprocessor, wherein the main processor is a processor for processing data in an awake state, and is also called a CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 701 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 701 may also include an AI (ARTIFICIAL INTELLIGENCE ) processor for processing computing operations related to machine learning.
Memory 702 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 702 stores a computer program that is loaded and executed by processor 701 to implement the frequency response correction method provided by the method embodiments described above.
The embodiment of the application also provides a computer readable storage medium, and the storage medium stores a computer program, and the computer program is loaded and executed by a processor to realize the frequency response correction method provided by each method embodiment or realize the training method of the frequency response correction model provided by each method embodiment.
The computer readable medium may include computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM (Random Access Memory ), ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (ELECTRICALLY ERASABLE PROGRAMMABLE READ-Only Memory), flash Memory or other solid state Memory technology, CD-ROM, DVD (Digital Video Disc, high density digital video disc) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will recognize that the computer storage medium is not limited to the ones described above.
Embodiments of the present application also provide a computer program product, where the computer program product includes computer instructions stored in a computer readable storage medium, and a processor reads and executes the computer instructions from the computer readable storage medium to implement the frequency response correction method provided in the foregoing method embodiments.
It should be understood that references herein to "a plurality" are to two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The foregoing description of the preferred embodiments of the application is not intended to limit the application to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and principles of the application are intended to be included within the scope of the application.

Claims (12)

1. A method of frequency response correction, the method comprising:
Acquiring first frequency response data, wherein the first frequency response data is used for representing a frequency response curve to be corrected, and the frequency response curve is used for reflecting the trend of loudness along with frequency change;
Determining first frequency spectrum data according to the first frequency response data, wherein the first frequency spectrum data is used for reflecting the attribute of the frequency response curve to be corrected in the frequency direction;
And determining parameters of an equalizer according to the first frequency spectrum data and the second frequency spectrum data, wherein the second frequency spectrum data is determined according to second frequency response data, the second frequency response data is used for representing a reference frequency response curve used for frequency response correction, and the equalizer is used for controlling the frequency response curve to be corrected to be close to the reference frequency response curve based on the parameters.
2. The method of claim 1, wherein the first spectral data comprises n bins and a first magnitude value for each of the bins, the second spectral data comprises the n bins and a second magnitude value for each of the bins, and n is a positive integer;
The determining the equalizer parameters according to the first spectrum data and the second spectrum data includes:
For each frequency point in the n frequency points, calculating a difference value between a first amplitude value of the frequency point and a second amplitude value of the frequency point to obtain an amplitude difference of the frequency point;
determining a target frequency point from the n frequency points according to the amplitude differences of the n frequency points, wherein the target frequency point refers to a frequency point with the amplitude difference larger than or equal to a correction error;
and determining parameters of the equalizer according to the target frequency point.
3. The method of claim 2, wherein the equalizer parameters comprise: the system comprises a center frequency, a gain quantity and a quality factor, wherein the center frequency refers to a frequency center point to be corrected, the gain quantity refers to amplitude variation at the center frequency after frequency response correction, and the quality factor is used for representing the influence bandwidth of the gain quantity on surrounding frequencies of the center frequency;
the determining the parameters of the equalizer according to the target frequency point includes:
determining the center frequency according to the target frequency point;
determining the gain according to the amplitude difference of the target frequency point;
And determining the quality factor according to the central frequency and the bandwidth of the frequency response curve, wherein the bandwidth of the frequency response curve is used for representing the frequency span in which the amplitude value of the central frequency is attenuated to be half in the frequency response curve to be corrected.
4. A method according to claim 3, wherein the figure of merit is positively correlated with the center frequency and the figure of merit is negatively correlated with the bandwidth of the frequency response curve.
5. A method according to claim 3, characterized in that the method further comprises:
Determining a first frequency and a second frequency corresponding to the center frequency, wherein the first frequency refers to a frequency point corresponding to half of the amplitude value of the center frequency in the frequency decreasing direction, and the second frequency refers to a frequency point corresponding to half of the amplitude value of the center frequency in the frequency increasing direction;
Calculating a first frequency bandwidth between the center frequency and the first frequency, and calculating a second frequency bandwidth between the second frequency and the center frequency;
the bandwidth of the frequency response curve is determined from a target frequency bandwidth, which is the smaller of the first frequency bandwidth and the second frequency bandwidth.
6. The method of claim 1, wherein after determining parameters of an equalizer based on the first spectral data and the second spectral data, further comprising:
Generating third frequency response data according to the parameters of the equalizer, wherein the third frequency response data is used for reflecting a frequency response curve of the equalizer;
Superposing the third frequency response data and the first frequency response data to generate updated first frequency response data;
determining updated first frequency spectrum data according to the updated first frequency response data;
And when the amplitude difference between the updated first spectrum data and the second spectrum data meets the correction condition, taking the updated first spectrum data as the first spectrum data, and executing the step of determining the parameters of the equalizer according to the first spectrum data and the second spectrum data again.
7. The method of claim 6, wherein the equalizer parameters comprise: the system comprises a center frequency, a gain quantity and a quality factor, wherein the center frequency refers to a frequency center point to be corrected, the gain quantity refers to amplitude variation at the center frequency after frequency response correction, and the quality factor is used for representing the influence bandwidth of the gain quantity on surrounding frequencies of the center frequency;
the generating third frequency response data according to the parameters of the equalizer includes:
performing ratio processing according to the center frequency and sampling frequency, and determining a first parameter, wherein the sampling frequency is related to the frequency number included in the first frequency spectrum data;
performing exponential processing on the first constant according to the gain amount to determine a second parameter;
performing ratio processing according to the first parameter and the quality factor to determine a third parameter;
and generating the third frequency response data according to the first parameter, the second parameter and the third parameter.
8. The method of claim 7, wherein generating the third frequency response data based on the first parameter, the second parameter, and the third parameter comprises:
Generating filter coefficients of the equalizer according to the first parameter, the second parameter and the third parameter, wherein the filter coefficients are used for controlling a filter in the equalizer to influence the frequency response curve to be corrected;
and performing frequency response processing based on the filter coefficient to obtain the third frequency response data.
9. The method of claim 1, wherein said determining first spectral data from said first frequency response data comprises:
performing Fourier transform on the first frequency response data to determine initial frequency spectrum data;
smoothing the initial spectrum data to determine gentle spectrum data;
And carrying out interpolation processing on the gentle spectrum data based on the second spectrum data, and determining the first spectrum data.
10. A frequency response correction device, the device comprising:
The data acquisition module is used for acquiring first frequency response data, wherein the first frequency response data is used for representing a frequency response curve to be corrected, and the frequency response curve is used for reflecting the trend of loudness along with frequency change;
The frequency spectrum determining module is used for determining first frequency spectrum data according to the first frequency response data, wherein the first frequency spectrum data is used for reflecting the attribute of the frequency response curve to be corrected in the frequency direction;
And the parameter determining module is used for determining parameters of an equalizer according to the first frequency spectrum data and the second frequency spectrum data, the second frequency spectrum data is determined according to second frequency response data, the second frequency response data is used for representing a reference frequency response curve used for frequency response correction, and the equalizer is used for controlling the frequency response curve to be corrected to be close to the reference frequency response curve based on the parameters.
11. A computer device comprising a processor and a memory, the processor loading and executing the computer instructions from the memory to implement the frequency response correction method of any of claims 1 to 9.
12. A computer readable storage medium having stored therein computer instructions that are loaded and executed by a processor from the storage medium to implement the frequency response correction method of any one of claims 1 to 9.
CN202311582368.9A 2023-11-23 2023-11-23 Frequency response correction method, device, equipment and storage medium Pending CN117979207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311582368.9A CN117979207A (en) 2023-11-23 2023-11-23 Frequency response correction method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311582368.9A CN117979207A (en) 2023-11-23 2023-11-23 Frequency response correction method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117979207A true CN117979207A (en) 2024-05-03

Family

ID=90865142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311582368.9A Pending CN117979207A (en) 2023-11-23 2023-11-23 Frequency response correction method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117979207A (en)

Similar Documents

Publication Publication Date Title
JP6880016B2 (en) Audio signal spectrum correction method
RU2658872C2 (en) Equalisation filter coefficient determinator, apparatus, equalisation filter coefficient processor, system and methods
JP5729905B2 (en) Audio system calibration method and apparatus
RU2467406C2 (en) Method and apparatus for supporting speech perceptibility in multichannel ambient sound with minimum effect on surround sound system
US20120230501A1 (en) auditory test and compensation method
Rämö et al. High-precision parallel graphic equalizer
CN104426495A (en) Audio Signal Processing Apparatus, Method, And Program
CN111796790B (en) Sound effect adjusting method and device, readable storage medium and terminal equipment
CN110536216B (en) Equalization parameter matching method and device based on interpolation processing, terminal equipment and storage medium
CN112562624B (en) Active noise reduction filter design method, noise reduction method, system and electronic equipment
CN113553022A (en) Equipment adjusting method and device, mobile terminal and storage medium
CN107925835A (en) The outer positioning treatment apparatus of head and the outer location processing method of head
CN108882115A (en) loudness adjusting method, device and terminal
JP2013516826A (en) Determining the configuration of voice processing operations
CN108513206B (en) Sound system control method and device, terminal equipment and storage medium
CN112584277A (en) Indoor audio frequency equalizing method
CN117979207A (en) Frequency response correction method, device, equipment and storage medium
WO2020073564A1 (en) Method and apparatus for detecting loudness of audio signal
CN102903367A (en) Method and device for balancing frequency response of off-line iterative sound playback system
CN113921007B (en) Method for improving far-field voice interaction performance and far-field voice interaction system
JP2023062699A (en) Generation method of active noise reduction filter, storage medium and headphone
CN113099359B (en) High-simulation sound field reproduction method based on HRTF technology and application thereof
CN108932953B (en) Audio equalization function determination method, audio equalization method and equipment
CN115835112A (en) Projector-based adaptive sound effect debugging method, system, device and platform
CN117119358B (en) Compensation method and device for sound image offset side, electronic equipment and storage equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination