CN110996242A - Tuning method, related device and readable storage medium - Google Patents

Tuning method, related device and readable storage medium Download PDF

Info

Publication number
CN110996242A
CN110996242A CN201911282714.5A CN201911282714A CN110996242A CN 110996242 A CN110996242 A CN 110996242A CN 201911282714 A CN201911282714 A CN 201911282714A CN 110996242 A CN110996242 A CN 110996242A
Authority
CN
China
Prior art keywords
frequency response
acoustic environment
determining
filtering
actual measurement
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.)
Granted
Application number
CN201911282714.5A
Other languages
Chinese (zh)
Other versions
CN110996242B (en
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.)
Iflytek Suzhou Technology Co Ltd
Original Assignee
Iflytek Suzhou 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 Iflytek Suzhou Technology Co Ltd filed Critical Iflytek Suzhou Technology Co Ltd
Priority to CN201911282714.5A priority Critical patent/CN110996242B/en
Publication of CN110996242A publication Critical patent/CN110996242A/en
Application granted granted Critical
Publication of CN110996242B publication Critical patent/CN110996242B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers
    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

After actual measurement frequency response of a loudspeaker in a current acoustic environment is obtained, based on a criterion that the difference between the actual measurement frequency response and a calibrated frequency response is minimum after the actual measurement frequency response is filtered, the optimal filtering parameters of the loudspeaker are determined, and the optimal filtering parameters are adopted to filter audio signals output by the loudspeaker. In the above scheme, because the actual measurement frequency response of the loudspeaker under any acoustic environment can be obtained, the optimal filtering parameter of the loudspeaker under any acoustic environment can be obtained based on the above scheme, and then the audio signal output by the loudspeaker can reach the preset sound effect under any acoustic environment.

Description

Tuning method, related device and readable storage medium
Technical Field
The present application relates to the field of natural language processing technologies, and in particular, to a tuning method, a related device, and a readable storage medium.
Background
At present, all have the demand of playing audio frequency through sound system in scenes such as car, meeting room, cinema, studio, in order to make sound system can reach and predetermine the audio, before really using sound system, need carry out the timing to sound system, however, this time the timing only can go on to certain specific acoustic environment, and in these scenes, acoustic environment can change, can lead to the sound system of timing before can not reach and predetermine the audio.
Taking an automobile scene as an example, with the development of the automobile industry, automobiles become indispensable transportation tools for each family, and with the upgrading of consumption, the rapid promotion of the internet of vehicles and the popularization of 5G, automobiles also become more intelligent and humanized, and the vehicle-mounted infotainment system gradually becomes the basic configuration of various vehicle types. The vehicle-mounted infotainment system plays various audios through the automobile sound box. Before the car stereo leaves the factory, can generally carry out more professional timing, at present, this timing can only be carried out to a certain specific interior acoustic environment of car (the interior acoustic environment that corresponds when car unloaded), through this timing, the car stereo can reach under this interior acoustic environment and predetermine the audio. However, when the car audio is applied to a car, the difference between actual passengers in the car, the layout in the car, the placement of objects in the car, and the like can cause the acoustic environment in the car to be different, and the sound effect cannot necessarily be preset in the previously calibrated car audio under different acoustic environments in the car. In addition, the aging of the car audio can prevent the original adjustment from reaching the preset effect.
Therefore, how to provide a tuning method to enable a sound system to achieve a preset sound effect in different acoustic environments and after aging occurs becomes a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
In view of the above, the present application provides a tuning method, a related device, and a readable storage medium.
The specific scheme is as follows:
a tuning method, comprising:
acquiring an actually measured frequency response of a loudspeaker in a current acoustic environment; the speaker is a speaker provided in a target sound system;
determining the optimal filtering parameters of the loudspeaker based on the criterion that the difference between the actually measured frequency response and the calibrated frequency response is minimum after the actually measured frequency response is filtered; the calibration frequency response is obtained based on a preset sound effect;
and filtering the audio signal output by the loudspeaker by adopting the optimal filtering parameter to ensure that the audio signal output by the loudspeaker reaches the preset sound effect under the current acoustic environment.
Optionally, the determining the optimal filter parameter of the speaker based on the criterion that the difference between the measured frequency response and the calibrated frequency response is minimum after the measured frequency response is filtered includes:
determining the actual measurement frequency response of each single frequency point according to the actual measurement frequency response;
and calculating the optimal filtering parameters by adopting a least square method according to the actually measured frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
Optionally, the determining the optimal filter parameter of the speaker based on the criterion that the difference between the measured frequency response and the calibrated frequency response is minimum after the measured frequency response is filtered includes:
determining the actual measurement frequency response of each single frequency point according to the actual measurement frequency response;
acquiring the weight of each single frequency point;
and calculating the optimal filtering parameters by adopting a least square method according to the weight of each single frequency point, the actually measured frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
Optionally, after the determining the optimal filter parameter of the speaker, the method further comprises:
acquiring current acoustic environment information;
and storing the corresponding relation between the current acoustic environment information and the optimal filtering parameter.
Optionally, the acquiring a measured frequency response of the speaker in the current acoustic environment includes:
acquiring current acoustic environment information;
determining target filtering parameters according to the current acoustic environment information; the target filter parameter is one of filter parameters stored in advance;
and acquiring the actually measured frequency response of the loudspeaker for filtering the output audio signal by adopting the target filtering parameter in the current acoustic environment.
Optionally, the determining a target filtering parameter according to the current acoustic environment information includes:
acquiring stored corresponding relations, wherein each corresponding relation is used for indicating acoustic environment information corresponding to a preset optimal filtering parameter;
determining that the acoustic environment information matched with the current acoustic environment information in the corresponding relation is target acoustic environment information;
and determining the preset optimal filtering parameter corresponding to the target acoustic environment information in the corresponding relation as a target filtering parameter.
Optionally, the determining a target filtering parameter according to the current acoustic environment information includes:
calculating the difference between the frequency response obtained by filtering the actually measured frequency response by adopting each preset optimal filtering parameter and the calibrated frequency response;
and determining the preset optimal filtering parameter corresponding to the minimum difference as a target filtering parameter.
Optionally, the calculating a difference between the frequency response obtained by filtering the measured frequency response by using each preset optimal filtering parameter and the calibrated frequency response includes:
determining the actual measurement frequency response of each single frequency point according to the actual measurement frequency response;
and calculating the difference between the frequency response obtained by filtering the actual measurement frequency response by adopting each preset optimal filtering parameter and the calibration frequency response corresponding to each single frequency point according to each preset optimal filtering parameter, the actual measurement frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
Optionally, the calculating a difference between the frequency response obtained by filtering the measured frequency response by using each preset optimal filtering parameter and the calibrated frequency response includes:
determining the actual measurement frequency response of each single frequency point according to the actual measurement frequency response;
acquiring the weight of each single frequency point;
and calculating the difference between the frequency response obtained after the actual measurement frequency response is filtered by adopting each preset optimal filtering parameter and the calibration frequency response according to the weight of each single frequency point, each preset optimal filtering parameter, the actual measurement frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
Optionally, the target sound system is a car sound.
A tuning device comprising:
the acquisition unit is used for acquiring the actually measured frequency response of the loudspeaker in the current acoustic environment; the speaker is a speaker provided in a target sound system;
the determining unit is used for determining the optimal filtering parameter of the loudspeaker based on the criterion that the difference between the actually measured frequency response and the calibrated frequency response is minimum after the actually measured frequency response is filtered; the calibration frequency response is obtained based on a preset sound effect;
and the filtering unit is used for filtering the audio signal output by the loudspeaker by adopting the optimal filtering parameter, so that the audio signal output by the loudspeaker is in the current acoustic environment and reaches the preset sound effect.
Optionally, the determining unit includes:
the first single-frequency point actual measurement frequency response determining unit is used for determining the actual measurement frequency response of each single-frequency point according to the actual measurement frequency response;
and the first calculating unit is used for calculating the optimal filtering parameters by adopting a least square method according to the actually measured frequency response of each single frequency point and the calibrated frequency response corresponding to each single frequency point.
Optionally, the determining unit includes:
the second single-frequency point actual measurement frequency response determining unit is used for determining the actual measurement frequency response of each single-frequency point according to the actual measurement frequency response;
the first single-frequency point weight obtaining unit is used for obtaining the weight of each single-frequency point;
and the second calculation unit is used for calculating the optimal filtering parameters by adopting a least square method according to the weight of each single frequency point, the actually measured frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
Optionally, the apparatus further comprises:
a first acoustic environment information obtaining unit, configured to obtain current acoustic environment information after the optimal filtering parameter of the speaker is determined;
and the storage unit is used for storing the corresponding relation between the current acoustic environment information and the optimal filtering parameter.
Optionally, the obtaining unit includes:
a second acoustic environment information acquisition unit configured to acquire current acoustic environment information;
the target filtering parameter determining unit is used for determining a target filtering parameter according to the current acoustic environment information; the target filter parameter is one of filter parameters stored in advance;
and the actual measurement frequency response acquisition unit is used for acquiring the actual measurement frequency response of the loudspeaker for filtering the output audio signal by adopting the target filtering parameter in the current acoustic environment.
Optionally, the target filtering parameter determining unit includes:
the corresponding relation obtaining unit is used for obtaining stored corresponding relations, and each corresponding relation is used for indicating acoustic environment information corresponding to a preset optimal filtering parameter;
a target acoustic environment information determining unit, configured to determine that the acoustic environment information that is matched with the current acoustic environment information in the correspondence is target acoustic environment information;
and the target filtering parameter determining subunit is configured to determine a preset optimal filtering parameter corresponding to the target acoustic environment information in the correspondence as a target filtering parameter.
Optionally, the target filtering parameter determining unit includes:
the difference calculation unit is used for calculating the difference between the frequency response obtained by filtering the actually measured frequency response by adopting each preset optimal filtering parameter and the calibrated frequency response;
and the minimum difference determining unit is used for determining the preset optimal filtering parameter corresponding to the minimum difference as the target filtering parameter.
Optionally, the difference calculating unit includes:
the third single-frequency point actual measurement frequency response determining unit is used for determining the actual measurement frequency response of each single-frequency point according to the actual measurement frequency response;
and the first difference calculating subunit is configured to calculate, according to each preset optimal filtering parameter, the measured frequency response of each single frequency point, and the calibrated frequency response corresponding to each single frequency point, a difference between the frequency response obtained by filtering the measured frequency response with each preset optimal filtering parameter and the calibrated frequency response.
Optionally, the difference calculating unit includes:
the fourth single-frequency point actual measurement frequency response determining unit is used for determining the actual measurement frequency response of each single-frequency point according to the actual measurement frequency response;
the second single-frequency point weight obtaining unit is used for obtaining the weight of each single-frequency point;
and the second difference calculating subunit is used for calculating the difference between the frequency response obtained by filtering the actual measurement frequency response by adopting each preset optimal filtering parameter and the calibration frequency response according to the weight of each single frequency point, each preset optimal filtering parameter, the actual measurement frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
Optionally, the target sound system is a car sound.
A tuning system comprising a memory and a processor;
the memory is used for storing programs;
the processor is used for executing the program to realize the steps of the tuning method.
A readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the tuning method as described above.
By means of the technical scheme, the application discloses a tuning method, related equipment and a readable storage medium, after actual measurement frequency response of a loudspeaker in the current acoustic environment is obtained, based on the criterion that the difference between the actual measurement frequency response and the calibrated frequency response is minimum after filtering, the optimal filtering parameters of the loudspeaker are determined, and the optimal filtering parameters are adopted to filter audio signals output by the loudspeaker. In the above scheme, because the actual measurement frequency response of the loudspeaker under any acoustic environment can be obtained, the optimal filtering parameter of the loudspeaker under any acoustic environment can be obtained based on the above scheme, and then the audio signal output by the loudspeaker can reach the preset sound effect under any acoustic environment.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flow chart of a tuning method disclosed in an embodiment of the present application;
fig. 2 is a schematic layout diagram of a speaker array in a vehicle according to an embodiment of the present disclosure;
fig. 3 is a schematic layout diagram of a microphone array in a vehicle according to an embodiment of the present disclosure;
fig. 4 is a schematic flow chart of a tuning method for a car audio disclosed in an embodiment of the present application;
fig. 5 is a schematic flow chart of another tuning method provided in the embodiment of the present application;
fig. 6 is a schematic structural diagram of a tuning device disclosed in an embodiment of the present application;
fig. 7 is a block diagram of a hardware structure of a tuning system disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of a tuning method disclosed in an embodiment of the present application, where the method includes the following steps:
s101: and acquiring the actually measured frequency response of the loudspeaker in the current acoustic environment.
In the present embodiment, the speaker is a speaker provided in the target sound system; the target sound system may be a sound system provided in any scene (e.g., a car, a conference room, a movie theater, a studio, etc.). The acoustic environment specifically refers to a person situation, an article situation, a scene layout situation, and the like in the scene.
In the target sound system, a microphone can be further arranged, and the actually measured frequency response of the loudspeaker under the current acoustic environment is measured according to the pickup of the microphone. The measured frequency response of the speaker in the current acoustic environment refers to the measured frequency response of the speaker at a specified position. The designated position may be determined according to actual conditions, for example, the position of a certain microphone may be used, or the position of the user may be used.
The frequency response is a frequency range in which the acoustic system reproduces and a frequency-dependent change in the amplitude of the sound wave. Generally, the frequency amplitude of the index is used as a reference for detecting the index, the logarithmic unit of decibel (db) is used for representing the amplitude of the sound wave, and the sound pressure level can be represented by db, so that the frequency response can be the sound pressure level of a certain single frequency point in the application. The sound pressure level is obtained by multiplying 20 by a common logarithm of a ratio of the effective sound pressure to the reference sound pressure, and therefore, in the application, the frequency response can also be the sound pressure of a certain single frequency point.
S102: determining the optimal filtering parameters of the loudspeaker based on the criterion that the difference between the actually measured frequency response and the calibrated frequency response is minimum after the actually measured frequency response is filtered; the calibration frequency response is obtained based on a preset sound effect.
In the present application, the calibration frequency response may specifically be a calibration sound pressure level or a calibration sound pressure of each single frequency point. The calibration frequency response can be determined according to the preset sound effect, the preset sound effect can be determined according to the user requirements, for example, some users like low bass, the calibration frequency response of the low-frequency part is larger, some people like the sound prominence of the low-and-medium-frequency people, the calibration frequency response of the low-and-medium-frequency part is larger, some people like high-pitch, and the calibration frequency response of the high-frequency part is larger.
In the application process of the sound system, because the acoustic environment is different from the acoustic environment during the calibration frequency response test, the difference between the actually measured frequency response and the calibration frequency response of the microphone test loudspeaker in the current acoustic environment is large, so that the audio signal output by the loudspeaker cannot reach the preset sound effect corresponding to the calibration frequency response, and the listening experience of a user is influenced.
Therefore, in the present application, the filter of each speaker output signal may be automatically adjusted according to an algorithm to obtain an optimal filtering parameter corresponding to each speaker, and the criterion of the algorithm is to minimize the difference between the actual measured frequency response and the calibrated frequency response of the speaker after the speaker output signal is filtered, that is, the difference between the actual measured frequency response and the calibrated frequency response of each speaker obtained after the speaker output signal is filtered by using the optimal filtering parameter is minimized.
S103: and filtering the audio signal output by the loudspeaker by adopting the optimal filtering parameter to ensure that the audio signal output by the loudspeaker reaches the preset sound effect under the current acoustic environment.
In this embodiment, after determining the optimal filtering parameter of the speaker, the optimal filtering parameter may be used to filter the audio signal output by the speaker, and the difference between the actual measurement frequency response and the calibration frequency response of the speaker after filtering is the smallest. After the audio signal output by the loudspeaker is filtered, a preset sound effect corresponding to the calibrated frequency response can be achieved in the current acoustic environment.
The embodiment discloses a tuning method, which includes after acquiring an actually measured frequency response of a loudspeaker in a current acoustic environment, determining an optimal filtering parameter of the loudspeaker based on a criterion that a difference between the actually measured frequency response and a calibrated frequency response is minimum after filtering the actually measured frequency response, and filtering an audio signal output by the loudspeaker by using the optimal filtering parameter. In the method, because the actual measurement frequency response of the loudspeaker in any acoustic environment can be obtained, the optimal filtering parameters of the loudspeaker in any acoustic environment can be obtained based on the method, and further the audio signal output by the loudspeaker can reach the preset sound effect in any acoustic environment.
The tuning method of the present application will be described in detail below, taking a target audio system as an example of a car audio.
At present, more and more vehicle models are equipped with vehicle infotainment systems, which have multiple audio functions (such as playing music, voice interaction, etc.), and when the audio functions of the vehicle infotainment systems operate, audio is generally played through a car stereo. In order to enable the automobile sound equipment to achieve the preset sound effect, the automobile sound equipment needs to be adjusted before the automobile sound equipment leaves a factory.
However, at present, before the car audio is shipped, the car audio is adjusted only in a specific acoustic environment in the car, and the adjusted car audio can be delivered to a car manufacturer, and the car manufacturer installs the car audio in the car. The car is under the use scene of difference, and the interior actual carrier of car, interior overall arrangement of car, interior thing of car put etc. all can change, and this kind of change can lead to interior acoustic environment to change, and if interior acoustic environment of car is different with interior acoustic environment of car that the car stereo set was based on when proofreading, can lead to that car stereo set can't reach and predetermine the audio.
In addition, along with the service life of car increases gradually, ageing also can appear in the speaker among the car stereo, and the ageing of speaker also can lead to in the car acoustic environment to change, also can lead to the car stereo to reach under this kind of the condition and predetermine the audio.
In view of the foregoing problems, the present inventors have conducted extensive studies and finally propose a tuning method that can be applied to a car audio system including a speaker array for playing audio, a microphone array for capturing audio, and a processor (e.g., a DSP processor) for implementing the tuning method. The speakers included in the speaker array are respectively arranged at different positions of a vehicle cabin, and the microphones included in the microphone array are respectively arranged at different positions of the vehicle cabin.
As shown in fig. 2, fig. 2 is a schematic layout diagram of a speaker array in a vehicle according to an embodiment of the present application. In fig. 2, the speakers included in the speaker array are disposed in the door, with the woofer disposed on the lower side of the door and the tweeter disposed at the column A, B of the vehicle.
As shown in fig. 3, fig. 3 is a schematic layout diagram of a microphone array in a vehicle according to an embodiment of the present disclosure. In fig. 3, the microphone array comprises four microphones, two microphones are located in the front center dome area in the vehicle, and two microphones are located in the rear roof in the vehicle.
It should be noted that, for different vehicle models or different vehicles, there are multiple sound zones in the vehicle, each sound zone in the vehicle refers to each seat area in the vehicle, and when the speaker array and the microphone array are laid out, the microphones and the speakers may be arranged based on the distribution of each sound zone in the vehicle. Fig. 2 and 3 only show a schematic layout of a speaker array and a microphone array, and different vehicle models or different vehicles can be arranged according to the layout of fig. 2 and 3, and can also be arranged according to other layouts, for example, at present, the positions of the microphones in the vehicle require 2-4 microphones to be arranged at each seat so as to realize the average of spatial sampling, and therefore, the microphones can be arranged in the headrest of a driver and a passenger, and if the headrest is not arranged, the microphones can be arranged on the ceiling of the head and arranged around the head. The present application is not limited to this.
Next, a car sound tuning method provided by the present application will be described by the following embodiments.
Referring to fig. 4, fig. 4 is a schematic flowchart of a tuning method for a car audio disclosed in an embodiment of the present application, where an execution main body of the method is a processor in a car audio system, and the method may include:
s201: and acquiring the actually measured frequency response of the loudspeaker in the vehicle under the current acoustic environment in the vehicle.
In this embodiment, the current acoustic environment in the vehicle may be an audio signal output in any one of the acoustic environments in the vehicle; under different in-vehicle acoustic environments, factors such as actual carrying personnel in the vehicle, in-vehicle layout, in-vehicle object placement, vehicle window states and the like are different, and different in-vehicle acoustic environments can be formed through combination of different conditions of the factors. The acoustic environment in the automobile can be various acoustic environments formed by changing actual carrying personnel in the automobile, the layout in the automobile, the placement of objects in the automobile, the state of a window and the like by debugging personnel before the automobile audio leaves a factory, and can also be the acoustic environment in the automobile matched with the automobile using condition of a user in the use process of the automobile audio.
The microphone array can collect the audio signals output by the loudspeaker array and record the frequency response of the loudspeaker to the full frequency band of the input audio signals. For example, the speakers may output any one of audio signals such as a frequency sweep signal, designated music, or user music, and the microphones may solve the frequency response of each speaker to the position thereof, so in this embodiment, the actual measurement frequency response of the speakers in the vehicle in the current acoustic environment in the vehicle may be obtained based on the microphone array.
S202: determining the optimal filtering parameters of the in-vehicle loudspeaker based on the criterion that the difference between the actually measured frequency response and the calibrated frequency response is minimum after the actually measured frequency response is filtered; the calibration frequency response is obtained based on a preset sound effect.
In this application, the calibration frequency response refers to the frequency response of a specific loudspeaker to each calibrated microphone before the automobile sound equipment is shipped. Specifically, the frequency response can be calibrated according to a preset sound effect, and the preset sound effect can be determined according to user requirements, for example, some users like low bass, the low-frequency part is large in calibration frequency response, some people like low-and-medium-frequency human voice prominence, the low-and-medium-frequency part is large in calibration frequency response, some people are high in calibration frequency response, and the high-frequency part is large in calibration frequency response.
It should be noted that, a plurality of in-vehicle microphones are generally used, and therefore, before the car audio is shipped, the frequency response from a specific speaker to each microphone needs to be calibrated. If there are 4 microphones per seat in the car, for a total of 4 seats, the number of microphones in the car is 16. If the number of speakers in the car is 8, then there will be 16 x 8 calibrated frequency responses for each single frequency point.
In the application process of the automobile sound equipment, the frequency response from a specific loudspeaker to each microphone is possibly greatly different from the calibrated frequency response due to the changes of passengers, object layout, object material, loudspeaker monomer performance and the like in the automobile, and the difference directly causes that the automobile sound equipment cannot reach the preset sound effect corresponding to the calibrated frequency response, so that the listening experience of a user is influenced.
Therefore, in the present application, the processor may automatically adjust the filter of each speaker output signal according to an algorithm to obtain an optimal filtering parameter corresponding to each speaker, where a criterion of the algorithm is to minimize a difference between an actual measurement frequency response and a calibration frequency response of the speaker after filtering the speaker output signal, that is, the actual measurement frequency response and the corresponding calibration frequency response of each speaker obtained after filtering each speaker output signal by using the optimal filtering parameter are both minimized.
There are various algorithms that satisfy the above criteria, and the details will be described in detail by the following embodiments. The present embodiment will not be described.
S203: and filtering the audio signal output by the loudspeaker in the vehicle by adopting the optimal filtering parameter to ensure that the sound effect of the vehicle sound is achieved under the current acoustic environment in the vehicle.
In this embodiment, after determining the optimal filtering parameter of the in-vehicle speaker, the audio signal output by the in-vehicle speaker may be filtered by using the optimal filtering parameter, and the difference between the actual measured frequency response and the calibrated frequency response of the filtered speaker is the smallest. After filtering, the car audio can reach a preset sound effect corresponding to the calibrated frequency response.
The embodiment discloses a car audio tuning method, which includes the steps of after actual measurement frequency responses of loudspeakers in a car in a current acoustic environment in the car are obtained, determining optimal filtering parameters of the loudspeakers in the car based on a criterion that the difference between the actual measurement frequency responses and a calibrated frequency response is minimum after the actual measurement frequency responses are filtered, and filtering audio signals output by the loudspeakers in the car by the optimal filtering parameters. In the method, the current acoustic environment in the vehicle can be any one of the acoustic environments in the vehicle, so that the method can obtain the optimal filtering parameters of the loudspeaker in the vehicle in any one of the acoustic environments in the vehicle, and further the loudspeaker in the vehicle can achieve the preset sound effect in any one of the acoustic environments in the vehicle.
In the above embodiments, the tuning method according to the present application is described in detail by taking the target audio system as an example of a car audio. For sound systems in other scenes, reference may be made to the above embodiments, which are not described in detail herein.
Based on the above, the embodiments of the present application further provide various implementation manners of determining the optimal filtering parameter of the speaker based on the criterion that the difference between the actually measured frequency response after being filtered and the calibrated frequency response is minimum, which are specifically as follows:
as an implementation manner, the measured frequency response of each single frequency point may be determined according to the measured frequency response; and calculating the optimal filtering parameters by adopting a least square method according to the actually measured frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
Specifically, calculating the optimal filtering parameter by using a least square method according to the measured frequency response of each single frequency point and the calibrated frequency response corresponding to each single frequency point may include:
and determining the corresponding filter parameter as the optimal filter parameter when the weighted sum of the difference squares of all the measured frequency responses after filtering and the corresponding calibration frequency responses is minimum.
Examples are as follows: suppose the actually measured frequency response from the loudspeaker Li to the microphone Mj is Hij (ω), where ω is the frequency of a single frequency point, and the corresponding calibrated frequency response is
Figure BDA0002317203260000121
The filter parameter of each loudspeaker isAi (ω), the process of calculating Ai (ω) using the least squares method is as follows:
Figure BDA0002317203260000122
wherein the content of the first and second substances,
Figure BDA0002317203260000123
is the difference between the measured frequency response and the calibrated frequency response after filtering,
Figure BDA0002317203260000124
is the weighted sum of the squares of the differences between all the filtered measured frequency responses and the calibrated frequency responses.
Based on the above, A can be solvedi(ω)。
Suppose that each speaker outputs an audio signal Si(ω), then the optimal filter parameter A is usedi(ω) after filtering the audio signals output from the speakers, the audio signal output from each speaker becomes Ai(ω)Si(ω)。
In the above manner, the influence of the actual measurement frequency response and the calibration frequency response of all the single frequency points on the filtering parameters is considered in a balanced manner, but in an actual situation, the difference between the actual measurement frequency response and the calibration frequency response of the single frequency point may need to be treated differently. For example, due to the inevitable defect of the speaker body, the low frequency response amplitude (for example, the low frequency of 100Hz or less) is not sufficient, so that even if the filter forces the component of the low frequency part to increase, the speaker cannot output physically, but enters a nonlinear region to cause distortion, and the optimization of the frequency points can be relaxed. In addition, the sensitivity of the human ear to sound in different frequency bands is also different.
In order to solve the above problems, weights are set for the single frequency points in advance in the present application, where the weight setting for an important single frequency point is large, and the weight setting for a secondary single frequency point is small.
Therefore, as another possible implementation manner, determining the optimal filter parameter of the loudspeaker based on the criterion that the difference between the measured frequency response and the calibrated frequency response is minimum after the measured frequency response is filtered includes: determining the actual measurement frequency response of each single frequency point according to the actual measurement frequency response; acquiring the weight of each single frequency point; and calculating the optimal filtering parameters by adopting a least square method according to the weight of each single frequency point, the actually measured frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
Specifically, calculating the optimal filtering parameter by using a least square method according to the weight of each single frequency point, the measured frequency response of each single frequency point, and the calibrated frequency response corresponding to each single frequency point may include:
and determining the corresponding filter parameter as the optimal filter parameter when the difference between the filtered actual measured frequency response and the corresponding calibration frequency response is minimum after the weight is superposed and the weighted sum of the squares is the minimum.
Examples are as follows: suppose that the slave loudspeaker LiTo the microphone MjMeasured frequency response of Hij(omega), wherein omega is the frequency of a single frequency point, and the corresponding calibration frequency response is
Figure BDA0002317203260000131
The filter parameter of each loudspeaker is Ai(ω), then calculate A using least squaresiThe process of (ω) is specifically as follows:
Figure BDA0002317203260000132
where W (ω) is the weight of each single frequency bin.
Figure BDA0002317203260000133
Is the difference between the measured frequency response and the calibrated frequency response after filtering,
Figure BDA0002317203260000134
is the value of this difference-plus-weight,
Figure BDA0002317203260000135
the difference between all the filtered measured frequency responses and the calibrated frequency response is squaredA weighted sum.
Based on the above, A can be solvedi(ω)。
Suppose that each speaker outputs an audio signal Si(ω), then the optimal filter parameter A is usedi(ω) after filtering the audio signals output from the speakers, the audio signal output from each speaker becomes Ai(ω)Si(ω)。
It should be noted that, after the optimal filter parameter of the speaker is determined by using the sound tuning method provided in the above embodiment, current acoustic environment information indicating a current acoustic environment may be further obtained, and the corresponding relationship between the current acoustic environment information and the optimal filter parameter is stored. Based on this, before the sound equipment leaves the factory, a plurality of acoustic environments can be assumed, and optimal filtering parameters under the plurality of acoustic environments are given, so that after the sound equipment leaves the factory, one of the optimal filtering parameters can be selected according to the acoustic environment corresponding to the actual situation to be directly applied, and convenience is brought to users.
However, the multiple acoustic environments given before the sound factory leave cannot cover all situations, and only commonly used situations can be given, the acoustic environment corresponding to the actual situation after the sound factory leaves may not be completely matched with the multiple acoustic environments given before the sound factory leaves, and as the service life of the sound increases, the speaker may age, if there is an aging situation, the acoustic environment corresponding to the actual situation after the sound factory leaves may not be completely matched with the multiple acoustic environments given before the sound factory leaves, and as long as there is a mismatch place, the preset sound effect may still not be reached after the selected optimal filter parameter is adopted.
To solve the above problems, the present application provides the following examples for detailed description.
Referring to fig. 5, fig. 5 is a schematic flow chart of another tuning method disclosed in the embodiment of the present application, where the method includes the following steps:
s301: and acquiring current acoustic environment information.
In the present application, the current acoustic environment information may be acquired in various ways, such as by a sensor, by an environment picture, and the like. Taking the tuning of the in-vehicle sound as an example, in this embodiment, the current acoustic environment information in the vehicle may be obtained based on the in-vehicle CAN bus message or based on the photographed in-vehicle picture, where the in-vehicle CAN bus message carries information on whether each seat has a passenger, information on opening and closing of each window, and the like. The shot pictures in the vehicle can carry layout information, article placement information and the like in the vehicle. The in-vehicle current acoustic environment information is information indicating the in-vehicle current acoustic environment.
S302: and determining target filtering parameters according to the current acoustic environment information.
In this embodiment, since the calibration before factory shipment already covers a plurality of acoustic environment information and determines the optimal filtering parameters corresponding to the various acoustic environment information, the target filtering parameter is one of the pre-stored filtering parameters.
In the present application, there are various ways to determine the target filtering parameter according to the current acoustic environment information, which will be specifically described by the following embodiments, and the present embodiment is not described in detail.
S303: and acquiring the actually measured frequency response of the loudspeaker for filtering the output audio signal by adopting the target filtering parameter in the current acoustic environment.
In this embodiment, after the target filtering parameter is selected, the speaker outputs the audio signal according to the target filtering parameter. The sound at this time may not reach the preset sound effect.
S304: and determining the optimal filter parameters of the loudspeaker based on the criterion that the difference between the actually measured frequency response and the calibrated frequency response is minimum after the actually measured frequency response is filtered.
In order to enable the sound to reach the preset sound effect, in this embodiment, based on a criterion that a difference between the actually measured frequency response and the calibrated frequency response is minimum after the actually measured frequency response is filtered, the optimal filtering parameter of the speaker is determined. The specific implementation manner of this step may refer to the relevant description in the above embodiments, and this embodiment is not described again.
In this case, the optimal filter parameters of the speaker are determined, and the efficiency is higher compared with the determination of the optimal filter parameters of the speaker before factory shipment. The reason is that the actual measurement frequency response and the calibration frequency response of the loudspeaker which adopts the target filtering parameters to filter the output audio signals under the current acoustic environment can be compared, the frequency band with larger difference is determined, and the optimal filtering coefficient is determined by adopting the mode of the embodiment only based on each single frequency point of the frequency band, so that the calculated amount can be reduced, and the efficiency is improved.
S305: and filtering the audio signal output by the loudspeaker by adopting the optimal filtering parameter to ensure that the audio signal output by the loudspeaker reaches the preset sound effect under the current acoustic environment.
In this embodiment, after determining the optimal filtering parameter of the speaker, the optimal filtering parameter may be used to filter the audio signal output by the speaker, and the difference between the actual measured frequency response and the calibrated frequency response of the speaker, which is used to filter the output audio signal, is the smallest. After filtering, the sound can reach a preset sound effect corresponding to the calibrated frequency response.
The following describes in detail an implementation manner of determining a target filtering parameter according to current acoustic environment information.
As an implementable manner, determining the target filtering parameter according to the current acoustic environment information may include: acquiring stored corresponding relations, wherein each corresponding relation is used for indicating acoustic environment information corresponding to a preset optimal filtering parameter; determining that the acoustic environment information matched with the current acoustic environment information in the corresponding relation is target acoustic environment information; and determining the preset optimal filtering parameter corresponding to the target acoustic environment information in the corresponding relation as a target filtering parameter.
It should be noted that the acoustic environment information matched with the current acoustic environment information in the corresponding relationship may be the acoustic environment information completely consistent with the current acoustic environment information in the corresponding relationship, or may be the acoustic environment information with higher similarity to the current acoustic environment information in the corresponding relationship.
As still another implementable manner, determining the target filtering parameter according to the current acoustic environment information may include: calculating the difference between the frequency response obtained by filtering the actually measured frequency response by adopting each preset optimal filtering parameter and the calibrated frequency response; and determining the preset optimal filtering parameter corresponding to the minimum difference as a target filtering parameter.
The calculation method includes a plurality of ways of calculating the difference between the frequency response obtained by filtering the measured frequency response by each preset optimal filtering parameter and the calibrated frequency response.
The first way may be: determining the actual measurement frequency response of each single frequency point according to the actual measurement frequency response; and calculating the difference between the frequency response obtained by filtering the actual measurement frequency response by adopting each preset optimal filtering parameter and the calibration frequency response corresponding to each single frequency point according to each preset optimal filtering parameter, the actual measurement frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
Specifically, assume that the slave speaker LiTo the microphone MjMeasured frequency response of Hij(omega), wherein omega is the frequency of a single frequency point, and the corresponding calibration frequency response is
Figure BDA0002317203260000161
Ai(ω) an optimum filter parameter may be preset for each, and then a plurality of differences may be found according to the following formula.
Figure BDA0002317203260000162
The second way may be: determining the actual measurement frequency response of each single frequency point according to the actual measurement frequency response; acquiring the weight of each single frequency point; and calculating the difference between the frequency response obtained after the actual measurement frequency response is filtered by adopting each preset optimal filtering parameter and the calibration frequency response according to the weight of each single frequency point, each preset optimal filtering parameter, the actual measurement frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
Specifically, assume that the slave speaker LiTo the microphone MjMeasured frequency response of Hij(ω) Where ω is the frequency of a single frequency point and the corresponding calibration frequency response is
Figure BDA0002317203260000163
Ai(ω) may be preset an optimum filter parameter for each, and W (ω) is a weight of each single-frequency point audio signal, then a plurality of differences may be found according to the following formula.
Figure BDA0002317203260000164
The tuning device disclosed in the embodiment of the present application is described below, and the tuning device described below and the tuning method described above may be referred to in correspondence with each other.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a tuning device disclosed in an embodiment of the present application. As shown in fig. 6, the tuning device may include:
the acquiring unit 61 is configured to acquire an actually measured frequency response of the speaker in the current acoustic environment; the speaker is a speaker provided in a target sound system;
a determining unit 62, configured to determine an optimal filtering parameter of the speaker based on a criterion that a difference between the actually measured frequency response and the calibrated frequency response is minimum after the actually measured frequency response is filtered; the calibration frequency response is obtained based on a preset sound effect;
and the filtering unit 63 is used for filtering the audio signal output by the loudspeaker by adopting the optimal filtering parameter, so that the audio signal output by the loudspeaker is in the current acoustic environment and reaches the preset sound effect.
Optionally, the determining unit includes:
the first single-frequency point actual measurement frequency response determining unit is used for determining the actual measurement frequency response of each single-frequency point according to the actual measurement frequency response;
and the first calculating unit is used for calculating the optimal filtering parameters by adopting a least square method according to the actually measured frequency response of each single frequency point and the calibrated frequency response corresponding to each single frequency point.
Optionally, the determining unit includes:
the second single-frequency point actual measurement frequency response determining unit is used for determining the actual measurement frequency response of each single-frequency point according to the actual measurement frequency response;
the first single-frequency point weight obtaining unit is used for obtaining the weight of each single-frequency point;
and the second calculation unit is used for calculating the optimal filtering parameters by adopting a least square method according to the weight of each single frequency point, the actually measured frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
Optionally, the apparatus further comprises:
a first acoustic environment information obtaining unit, configured to obtain current acoustic environment information after the optimal filtering parameter of the speaker is determined;
and the storage unit is used for storing the corresponding relation between the current acoustic environment information and the optimal filtering parameter.
Optionally, the obtaining unit includes:
a second acoustic environment information acquisition unit configured to acquire current acoustic environment information;
the target filtering parameter determining unit is used for determining a target filtering parameter according to the current acoustic environment information; the target filter parameter is one of filter parameters stored in advance;
and the actual measurement frequency response acquisition unit is used for acquiring the actual measurement frequency response of the loudspeaker for filtering the output audio signal by adopting the target filtering parameter in the current acoustic environment.
Optionally, the target filtering parameter determining unit includes:
the corresponding relation obtaining unit is used for obtaining stored corresponding relations, and each corresponding relation is used for indicating acoustic environment information corresponding to a preset optimal filtering parameter;
a target acoustic environment information determining unit, configured to determine that the acoustic environment information that is matched with the current acoustic environment information in the correspondence is target acoustic environment information;
and the target filtering parameter determining subunit is configured to determine a preset optimal filtering parameter corresponding to the target acoustic environment information in the correspondence as a target filtering parameter.
Optionally, the target filtering parameter determining unit includes:
the difference calculation unit is used for calculating the difference between the frequency response obtained by filtering the actually measured frequency response by adopting each preset optimal filtering parameter and the calibrated frequency response;
and the minimum difference determining unit is used for determining the preset optimal filtering parameter corresponding to the minimum difference as the target filtering parameter.
Optionally, the difference calculating unit includes:
the third single-frequency point actual measurement frequency response determining unit is used for determining the actual measurement frequency response of each single-frequency point according to the actual measurement frequency response;
and the first difference calculating subunit is configured to calculate, according to each preset optimal filtering parameter, the measured frequency response of each single frequency point, and the calibrated frequency response corresponding to each single frequency point, a difference between the frequency response obtained by filtering the measured frequency response with each preset optimal filtering parameter and the calibrated frequency response.
Optionally, the difference calculating unit includes:
the fourth single-frequency point actual measurement frequency response determining unit is used for determining the actual measurement frequency response of each single-frequency point according to the actual measurement frequency response;
the second single-frequency point weight obtaining unit is used for obtaining the weight of each single-frequency point;
and the second difference calculating subunit is used for calculating the difference between the frequency response obtained by filtering the actual measurement frequency response by adopting each preset optimal filtering parameter and the calibration frequency response according to the weight of each single frequency point, each preset optimal filtering parameter, the actual measurement frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
Optionally, the target sound system is a car sound.
Fig. 7 is a block diagram of a hardware structure of a tuning system disclosed in an embodiment of the present application, and referring to fig. 7, the hardware structure of the tuning system may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
in the embodiment of the application, the number of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is at least one, and the processor 1, the communication interface 2 and the memory 3 complete mutual communication through the communication bus 4;
the processor 1 may be a central processing unit CPU, or an application specific Integrated circuit asic, or one or more Integrated circuits configured to implement embodiments of the present invention, etc.;
the memory 3 may include a high-speed RAM memory, and may further include a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory;
wherein the memory stores a program and the processor can call the program stored in the memory, the program for:
acquiring an actually measured frequency response of a loudspeaker in a current acoustic environment; the speaker is a speaker provided in a target sound system;
determining the optimal filtering parameters of the loudspeaker based on the criterion that the difference between the actually measured frequency response and the calibrated frequency response is minimum after the actually measured frequency response is filtered; the calibration frequency response is obtained based on a preset sound effect;
and filtering the audio signal output by the loudspeaker by adopting the optimal filtering parameter to ensure that the audio signal output by the loudspeaker reaches the preset sound effect under the current acoustic environment.
Alternatively, the detailed function and the extended function of the program may be as described above.
Embodiments of the present application further provide a storage medium, where a program suitable for execution by a processor may be stored, where the program is configured to:
acquiring an actually measured frequency response of a loudspeaker in a current acoustic environment; the speaker is a speaker provided in a target sound system;
determining the optimal filtering parameters of the loudspeaker based on the criterion that the difference between the actually measured frequency response and the calibrated frequency response is minimum after the actually measured frequency response is filtered; the calibration frequency response is obtained based on a preset sound effect;
and filtering the audio signal output by the loudspeaker by adopting the optimal filtering parameter to ensure that the audio signal output by the loudspeaker reaches the preset sound effect under the current acoustic environment.
Alternatively, the detailed function and the extended function of the program may be as described above.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (13)

1. A tuning method, comprising:
acquiring an actually measured frequency response of a loudspeaker in a current acoustic environment; the speaker is a speaker provided in a target sound system;
determining the optimal filtering parameters of the loudspeaker based on the criterion that the difference between the actually measured frequency response and the calibrated frequency response is minimum after the actually measured frequency response is filtered; the calibration frequency response is obtained based on a preset sound effect;
and filtering the audio signal output by the loudspeaker by adopting the optimal filtering parameter to ensure that the audio signal output by the loudspeaker reaches the preset sound effect under the current acoustic environment.
2. The method of claim 1, wherein determining optimal filter parameters for the speaker based on the criterion that the measured frequency response is least different from the calibrated frequency response after filtering comprises:
determining the actual measurement frequency response of each single frequency point according to the actual measurement frequency response;
and calculating the optimal filtering parameters by adopting a least square method according to the actually measured frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
3. The method of claim 1, wherein determining optimal filter parameters for the speaker based on the criterion that the measured frequency response is least different from the calibrated frequency response after filtering comprises:
determining the actual measurement frequency response of each single frequency point according to the actual measurement frequency response;
acquiring the weight of each single frequency point;
and calculating the optimal filtering parameters by adopting a least square method according to the weight of each single frequency point, the actually measured frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
4. The method of claim 1, wherein after said determining optimal filter parameters for the speaker, the method further comprises:
acquiring current acoustic environment information;
and storing the corresponding relation between the current acoustic environment information and the optimal filtering parameter.
5. The method of claim 4, wherein the obtaining a measured frequency response of the speaker in the current acoustic environment comprises:
acquiring current acoustic environment information;
determining target filtering parameters according to the current acoustic environment information; the target filter parameter is one of filter parameters stored in advance;
and acquiring the actually measured frequency response of the loudspeaker for filtering the output audio signal by adopting the target filtering parameter in the current acoustic environment.
6. The method of claim 5, wherein determining target filtering parameters according to the current acoustic environment information comprises:
acquiring stored corresponding relations, wherein each corresponding relation is used for indicating acoustic environment information corresponding to a preset optimal filtering parameter;
determining that the acoustic environment information matched with the current acoustic environment information in the corresponding relation is target acoustic environment information;
and determining the preset optimal filtering parameter corresponding to the target acoustic environment information in the corresponding relation as a target filtering parameter.
7. The method of claim 5, wherein determining target filtering parameters according to the current acoustic environment information comprises:
calculating the difference between the frequency response obtained by filtering the actually measured frequency response by adopting each preset optimal filtering parameter and the calibrated frequency response;
and determining the preset optimal filtering parameter corresponding to the minimum difference as a target filtering parameter.
8. The method of claim 7, wherein calculating the difference between the frequency response obtained by filtering the measured frequency response with each preset optimal filtering parameter and the calibrated frequency response comprises:
determining the actual measurement frequency response of each single frequency point according to the actual measurement frequency response;
and calculating the difference between the frequency response obtained by filtering the actual measurement frequency response by adopting each preset optimal filtering parameter and the calibration frequency response corresponding to each single frequency point according to each preset optimal filtering parameter, the actual measurement frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
9. The method of claim 7, wherein calculating the difference between the frequency response obtained by filtering the measured frequency response with each preset optimal filtering parameter and the calibrated frequency response comprises:
determining the actual measurement frequency response of each single frequency point according to the actual measurement frequency response;
acquiring the weight of each single frequency point;
and calculating the difference between the frequency response obtained after the actual measurement frequency response is filtered by adopting each preset optimal filtering parameter and the calibration frequency response according to the weight of each single frequency point, each preset optimal filtering parameter, the actual measurement frequency response of each single frequency point and the calibration frequency response corresponding to each single frequency point.
10. The method according to any one of claims 1 to 9, wherein the target sound system is a car sound.
11. A tuning device, comprising:
the acquisition unit is used for acquiring the actually measured frequency response of the loudspeaker in the current acoustic environment; the speaker is a speaker provided in a target sound system;
the determining unit is used for determining the optimal filtering parameter of the loudspeaker based on the criterion that the difference between the actually measured frequency response and the calibrated frequency response is minimum after the actually measured frequency response is filtered; the calibration frequency response is obtained based on a preset sound effect;
and the filtering unit is used for filtering the audio signal output by the loudspeaker by adopting the optimal filtering parameter, so that the audio signal output by the loudspeaker is in the current acoustic environment and reaches the preset sound effect.
12. A tuning system comprising a memory and a processor;
the memory is used for storing programs;
the processor, configured to execute the program, implementing the steps of the tuning method according to any one of claims 1 to 10.
13. A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the tuning method according to any one of claims 1 to 10.
CN201911282714.5A 2019-12-13 2019-12-13 Tuning method, related device and readable storage medium Active CN110996242B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911282714.5A CN110996242B (en) 2019-12-13 2019-12-13 Tuning method, related device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911282714.5A CN110996242B (en) 2019-12-13 2019-12-13 Tuning method, related device and readable storage medium

Publications (2)

Publication Number Publication Date
CN110996242A true CN110996242A (en) 2020-04-10
CN110996242B CN110996242B (en) 2021-03-02

Family

ID=70093353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911282714.5A Active CN110996242B (en) 2019-12-13 2019-12-13 Tuning method, related device and readable storage medium

Country Status (1)

Country Link
CN (1) CN110996242B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468674A (en) * 2021-07-23 2021-10-01 上海紫荆桃李科技有限公司 Automotive interior spare surface sound production timing system based on neural network
CN113852903A (en) * 2021-10-21 2021-12-28 杭州爱华智能科技有限公司 Sound field characteristic conversion method of capacitive test microphone and capacitive test microphone system
CN117119358A (en) * 2023-10-17 2023-11-24 武汉市聚芯微电子有限责任公司 Compensation method and device for sound image offset side, electronic equipment and storage equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633213A (en) * 2004-12-29 2005-06-29 南京大学 Car speaker measurement with counted in-car sound field information and design method
CN101472217A (en) * 2007-12-27 2009-07-01 深圳富泰宏精密工业有限公司 Method for adjusting frequency response curve of telephone receiver
CN103428607A (en) * 2012-05-25 2013-12-04 华为技术有限公司 Audio signal playing system and electronic device
CN103634731A (en) * 2012-08-29 2014-03-12 联想(北京)有限公司 Method for adjusting loudspeaker, and electronic device
CN105792072A (en) * 2016-03-25 2016-07-20 腾讯科技(深圳)有限公司 Sound effect processing method and device and terminal
CN107484081A (en) * 2017-07-27 2017-12-15 努比亚技术有限公司 A kind of method of adjustment of audio signal, device, terminal and computer-readable recording medium
CN108111956A (en) * 2017-12-26 2018-06-01 广州励丰文化科技股份有限公司 A kind of sound equipment adjustment method and device based on amplitude-frequency response
CN108462921A (en) * 2017-02-20 2018-08-28 北京东方广视科技股份有限公司 Sound field of loudspeaker equalizing equipment
CN108513206A (en) * 2018-02-08 2018-09-07 广州视源电子科技股份有限公司 A kind of sound system control method, device, terminal device and storage medium
CN109040936A (en) * 2018-07-06 2018-12-18 歌尔股份有限公司 The tuning method and loudspeaker test device of loudspeaker
CN109774629A (en) * 2018-09-30 2019-05-21 长城汽车股份有限公司 Vehicle audio automatic adjusting method, system and vehicle

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633213A (en) * 2004-12-29 2005-06-29 南京大学 Car speaker measurement with counted in-car sound field information and design method
CN101472217A (en) * 2007-12-27 2009-07-01 深圳富泰宏精密工业有限公司 Method for adjusting frequency response curve of telephone receiver
CN103428607A (en) * 2012-05-25 2013-12-04 华为技术有限公司 Audio signal playing system and electronic device
CN103634731A (en) * 2012-08-29 2014-03-12 联想(北京)有限公司 Method for adjusting loudspeaker, and electronic device
CN105792072A (en) * 2016-03-25 2016-07-20 腾讯科技(深圳)有限公司 Sound effect processing method and device and terminal
CN108462921A (en) * 2017-02-20 2018-08-28 北京东方广视科技股份有限公司 Sound field of loudspeaker equalizing equipment
CN107484081A (en) * 2017-07-27 2017-12-15 努比亚技术有限公司 A kind of method of adjustment of audio signal, device, terminal and computer-readable recording medium
CN108111956A (en) * 2017-12-26 2018-06-01 广州励丰文化科技股份有限公司 A kind of sound equipment adjustment method and device based on amplitude-frequency response
CN108513206A (en) * 2018-02-08 2018-09-07 广州视源电子科技股份有限公司 A kind of sound system control method, device, terminal device and storage medium
CN109040936A (en) * 2018-07-06 2018-12-18 歌尔股份有限公司 The tuning method and loudspeaker test device of loudspeaker
CN109774629A (en) * 2018-09-30 2019-05-21 长城汽车股份有限公司 Vehicle audio automatic adjusting method, system and vehicle

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468674A (en) * 2021-07-23 2021-10-01 上海紫荆桃李科技有限公司 Automotive interior spare surface sound production timing system based on neural network
CN113468674B (en) * 2021-07-23 2022-03-04 上海紫荆桃李科技有限公司 Automotive interior spare surface sound production timing system based on neural network
CN113852903A (en) * 2021-10-21 2021-12-28 杭州爱华智能科技有限公司 Sound field characteristic conversion method of capacitive test microphone and capacitive test microphone system
CN117119358A (en) * 2023-10-17 2023-11-24 武汉市聚芯微电子有限责任公司 Compensation method and device for sound image offset side, electronic equipment and storage equipment
CN117119358B (en) * 2023-10-17 2024-01-19 武汉市聚芯微电子有限责任公司 Compensation method and device for sound image offset side, electronic equipment and storage equipment

Also Published As

Publication number Publication date
CN110996242B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN110913325A (en) Automatic tuning method, related device and readable storage medium
CN110996242B (en) Tuning method, related device and readable storage medium
US8160282B2 (en) Sound system equalization
CN106664473B (en) Information processing apparatus, information processing method, and program
JP4950220B2 (en) Method and system for equalizing speakers in a room
US8116465B2 (en) Measuring apparatus and method, and recording medium
JPH06310962A (en) Automatic sound volume control device
Schmidt et al. Signal processing for in-car communication systems
CN115862657B (en) Noise-following gain method and device, vehicle-mounted system, electronic equipment and storage medium
US9906859B1 (en) Noise estimation for dynamic sound adjustment
EP1523221A2 (en) System and method for audio system configuration
CN111966322A (en) Audio signal processing method, device, equipment and storage medium
CN111970628A (en) Audio signal enhancement method, device, storage medium and processor
CN109076302B (en) Signal processing device
US11670319B2 (en) Enhancing artificial reverberation in a noisy environment via noise-dependent compression
KR101606546B1 (en) Remote sound tuning system and method using a wireless microphone
CN111063367B (en) Speech enhancement method, related device and readable storage medium
EP1843636B1 (en) Method for automatically equalizing a sound system
JP2010141468A (en) Onboard acoustic apparatus
JP2008245123A (en) Sound field correction device
CN116367076A (en) In-vehicle audio processing method, in-vehicle audio processing device and storage medium
Kontro et al. Digital car audio system
JP2001024459A (en) Audio device
JP2008124627A (en) Sound output device and sound quality correcting method
CN110740404A (en) audio correlation processing method and audio processing device

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
GR01 Patent grant
GR01 Patent grant