CN116107537A - Audio quality adjustment method and device, electronic equipment and storage medium - Google Patents

Audio quality adjustment method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116107537A
CN116107537A CN202211713822.5A CN202211713822A CN116107537A CN 116107537 A CN116107537 A CN 116107537A CN 202211713822 A CN202211713822 A CN 202211713822A CN 116107537 A CN116107537 A CN 116107537A
Authority
CN
China
Prior art keywords
sound field
parameters
current
parameter
audio
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
CN202211713822.5A
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.)
iFlytek Co Ltd
Original Assignee
iFlytek 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 Co Ltd filed Critical iFlytek Co Ltd
Priority to CN202211713822.5A priority Critical patent/CN116107537A/en
Publication of CN116107537A publication Critical patent/CN116107537A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

The application discloses an audio quality adjustment method and device, electronic equipment and a storage medium. Acquiring current audio information acquired by in-car sound acquisition equipment, and acquiring current sound field parameters based on the current audio information; determining a target sound field parameter based on the current sound field parameter; obtaining sound field compensation parameters based on the current sound field parameters and the target sound field parameters; adjusting audio playing parameters output by sound output equipment in the vehicle based on the sound field compensation parameters so that the sound output equipment plays audio based on the adjusted audio playing parameters; and returning to the step of acquiring the current audio information acquired by the in-vehicle sound acquisition equipment. By the aid of the scheme, the audio playing quality in the automobile can be improved.

Description

Audio quality adjustment method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of audio processing technologies, and in particular, to an audio quality adjustment method and apparatus, an electronic device, and a storage device.
Background
With the upgrade of automobile consumption, vehicles with more than 10 loudspeakers and vehicle-mounted audio power amplifiers are increasingly popular with users, and passengers can enjoy a functionally rich immersion sound effect space in the vehicle environment.
At present, in order to improve the audio effect in a vehicle, the prior art is to develop part of sound effect function options in advance, such as functions of optimal listening positions, virtual surrounding and the like, and obtain the desired function effect through the selection of a user, but when the noise level in the vehicle is continuously changed, the audio quality is not ideal enough. In view of this, how to improve the audio playing quality in the car is a problem to be solved.
Disclosure of Invention
The technical problem that this application mainly solves is to provide a audio quality adjustment method and device, electronic equipment and storage medium, can improve the audio playback quality in the car.
In order to solve the above technical problem, a first aspect of the present application provides an audio quality adjustment method, including: acquiring current audio information acquired by in-car sound acquisition equipment, and acquiring current sound field parameters based on the current audio information; determining a target sound field parameter based on the current sound field parameter; obtaining sound field compensation parameters based on the current sound field parameters and the target sound field parameters; adjusting audio playing parameters output by sound output equipment in the vehicle based on the sound field compensation parameters so that the sound output equipment plays audio based on the adjusted audio playing parameters; and returning to the step of acquiring the current audio information acquired by the in-vehicle sound acquisition equipment.
In order to solve the technical problem, a second aspect of the present application provides an audio quality adjustment device, which includes an acquisition module, configured to obtain current audio information acquired by an in-vehicle sound acquisition device, and obtain a current sound field parameter based on the current audio information; the determining module is used for determining target sound field parameters based on the current sound field parameters; the compensation module is used for obtaining sound field compensation parameters based on the current sound field parameters and the target sound field parameters; the adjusting module is used for adjusting the audio playing parameters output by the sound output equipment in the vehicle based on the sound field compensation parameters so that the sound output equipment plays the audio based on the adjusted audio playing parameters; and the circulation module is used for returning to the step of acquiring the current audio information acquired by the in-vehicle sound acquisition equipment.
In order to solve the above technical problem, a third aspect of the present application provides an electronic device, which includes a memory and a processor coupled to each other, where the memory stores program instructions, and the processor is configured to execute the program instructions to implement the audio quality adjustment method in the first aspect.
In order to solve the above technical problem, a fourth aspect of the present application provides a computer readable storage medium storing program instructions executable by a processor, where the program instructions are configured to implement the audio quality adjustment method of the first aspect.
According to the scheme, the in-vehicle sound collection device collects the audio information of the in-vehicle audio, the collected in-vehicle audio comprises the audio output by the in-vehicle sound output device and the environmental noise in the vehicle, the current sound field parameter can be obtained through analysis based on the current audio information, the in-vehicle acoustic environment level is analyzed based on the current sound field parameter, the target sound field parameter is determined, the sound field compensation parameter capable of improving the sound effect level is obtained based on the current sound field parameter and the target sound field parameter, the audio playing parameter output by the in-vehicle sound output device is adjusted based on the sound field compensation parameter, so that the sound output device plays the audio based on the adjusted audio playing parameter, the output capability of the in-vehicle sound effect is improved, the step of returning to the current audio information collected by the in-vehicle sound collection device is achieved, the audio playing parameter output by the in-vehicle sound output device is adjusted in real time based on the real-time change of the in-vehicle environment sound, the user can experience the best sound effect state in real time, the sound effect degradation experience caused by the in-vehicle sound field change is reduced, and the in-vehicle audio playing quality can be improved.
Drawings
FIG. 1 is a flow chart of an embodiment of an audio quality adjustment method of the present application;
FIG. 2 is a schematic diagram of an embodiment of an audio quality adjustment apparatus according to the present application;
FIG. 3 is a schematic diagram of a framework of an embodiment of the electronic device of the present application;
FIG. 4 is a schematic diagram of a framework of one embodiment of the computer-readable storage medium of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings of the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The terms "system" and "network" are often used interchangeably herein. The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship. Further, "a plurality" herein means two or more than two.
Referring to fig. 1, fig. 1 is a flowchart illustrating an embodiment of an audio quality adjustment method according to the present application. Specifically, the method may include the steps of:
step S10: the method comprises the steps of obtaining current audio information acquired by in-car sound acquisition equipment, and obtaining current sound field parameters based on the current audio information.
In the embodiment of the disclosure, the in-vehicle sound collecting device may be a vehicle-mounted microphone, and a plurality of vehicle-mounted microphones may be mounted in a vehicle, for example, mounted on a vehicle ceiling, a handle, a center console, and the like, respectively, so as to obtain stereo audio played by the in-vehicle sound output device, in-vehicle environmental sound, and other sound elements.
In one implementation scenario, the types of the current sound field parameters obtained based on the current audio information are multiple, for example, parameters such as audio frequency components output by the current in-vehicle sound output device, sound signal propagation delay from the sound collecting device to the sound output device, volume size, sound pressure level, reverberation parameters, and the like. According to the method, the current sound field parameters are obtained based on analysis of the acquired audio information, the current sound field parameters are analyzed according to the change condition of the sound field in the scene of the change of the noise level in the vehicle, and the change condition of the sound field in the vehicle is judged in real time, so that the sound effect output capability in the vehicle is improved.
Step S20: a target sound field parameter is determined based on the current sound field parameter.
In one implementation scenario, before determining the target sound field parameters, acquiring preset parameter types based on the sound field effect, screening at least one current sound field parameter consistent with the preset parameter types from a plurality of current sound field parameters of the audio information, and then respectively determining the corresponding target sound field parameters based on the at least one current sound field parameter obtained after screening. According to the method, the preset parameter category is obtained in advance according to the influence degree of the sound field parameters of the audio information on the sound field effect, and the corresponding target sound field parameters are determined from the current sound field parameters obtained by screening among the plurality of current sound field parameters of the audio information, so that the computing power can be reduced, and the efficiency and accuracy of adjusting the audio quality in different sound field environments can be improved.
In a specific implementation scenario, after deep learning training based on a neural network model, a sound field parameter screening model is constructed, after the sound field parameter screening model is input based on a plurality of current sound field parameters, a preset number of parameter categories with larger influence on the sound field effect in the current sound field environment are determined, and then the sound field parameters are screened from the plurality of current sound field parameters, so that the computational power can be reduced, and the efficiency and accuracy of adjusting the audio quality in different sound field environments can be improved.
In another specific implementation scenario, according to the current sound field effect in the vehicle, preset parameter types corresponding to the sound effects are preset, at least one current sound field parameter consistent with the preset parameter types is obtained by screening from a plurality of current sound field parameters of the audio information based on the current sound field effect, so that the calculation force can be reduced, and the efficiency and accuracy of audio quality adjustment under different sound field environments can be improved.
In one implementation scenario, an audio quality adjustment result may be obtained based on a current sound field parameter, a historical sound field parameter during a previous round of adjustment, and a historical target sound field parameter corresponding to the historical sound field parameter, where the audio quality adjustment result may be used to characterize an influence degree of the previous round of historical target sound field parameter on the current sound field effect, for example, when audio information is output to a current sound field environment after being adjusted according to the historical target sound field parameter, the obtained current sound field parameter is collected to indicate that the audio quality in the current sound field environment is improved, so that the historical target sound field parameter still accords with a parameter adjustment range required by the current sound field environment, or the obtained current sound field parameter is collected to indicate that the audio quality in the current sound field environment is reduced, so that the current sound field environment is greatly changed, the historical target sound field parameter does not accord with a parameter adjustment range required by the current sound field environment, and the target sound field parameter corresponding to the current sound field parameter may be obtained based on the audio quality adjustment result. By the method, the audio quality adjustment result is determined based on the historical sound field parameters and the historical target sound field parameters, and the target sound field parameters corresponding to the current sound field parameters are obtained based on the audio quality adjustment result, so that the target sound field parameters can be adjusted based on the change condition of the current sound field environment, and the accuracy of audio quality adjustment is improved.
In a specific implementation scenario, the absolute value of a first difference between the current sound field parameter and the historical target parameter is obtained, and the absolute value of a second difference between the historical sound field parameter and the historical target parameter in the previous adjustment is obtained, the target sound field parameter corresponding to the current sound field parameter can be determined based on the magnitude relation between the absolute value of the first difference and the absolute value of the second difference, when the absolute value of the first difference is smaller than the absolute value of the second difference, the representation is output to the current sound field environment after the audio information is adjusted according to the historical target sound field parameter, the audio quality of the obtained current sound field parameter in the current sound field environment is acquired again, and then the historical target sound field parameter still accords with the parameter adjustment range required by the current sound field environment, so that the historical sound field parameter is used as the target sound field parameter corresponding to the current sound field parameter, when the absolute value of the first difference is larger than or equal to the absolute value of the second difference, the representation is used for acquiring the audio quality of the obtained current sound field parameter in the current sound field environment, and then the current sound field environment is greatly changed, the historical sound field parameter is not accords with the audio quality required by the current sound field parameter adjustment range, and the current sound field parameter is acquired based on the current sound field parameter adjustment algorithm. For example, the sound pressure level in the historical sound field parameter acquired in the previous round is 40 db, the historical target sound pressure level in the historical target sound field parameter is 50 db, the sound pressure level of the next output audio is adjusted to 50 db according to the historical target sound pressure level, the audio information is output into the vehicle through the sound output device, the acquired current sound pressure level is 45 db again, which means that in the current sound field environment, the sound quality is improved after being adjusted based on the historical target sound field parameter, the historical sound field parameter is taken as the target sound field parameter corresponding to the current sound field parameter, and if the acquired current sound pressure level is 30 db again, the target sound field parameter corresponding to the current sound field parameter is needed to be adjusted based on the audio adjustment algorithm. By the method, the current sound field environment is judged based on the current sound field parameters and the historical target sound field parameters, the target sound field parameters corresponding to the current sound field parameters are adjusted in real time based on the current sound field environment, the optimal sound field is analyzed and calculated, the optimal output of the sound effect level is completed, and the accuracy of audio quality adjustment is improved.
In another specific implementation scenario, the corresponding target sound field parameter can be obtained directly based on the audio adjustment algorithm and the current sound field parameter after the current sound field parameter is obtained without being based on historical data, the algorithm obtains the corresponding sound field environment based on the analysis of the current sound field parameter and adjusts parameters such as frequency filtering, signal delay, volume, reverberation and the like to obtain the corresponding target sound field parameter. By the method, the change condition of the sound field in the vehicle is judged in real time based on the audio adjustment algorithm, corresponding target sound field parameters are determined, and the accuracy of audio quality adjustment is improved.
Step S30: and obtaining sound field compensation parameters based on the current sound field parameters and the target sound field parameters.
In one implementation scenario, each current sound field parameter and a corresponding target sound field parameter are respectively obtained, and corresponding sound effect compensation parameters are respectively obtained based on a difference value between the current sound field parameter and the corresponding target sound field parameter. For example, the current sound pressure level in the current sound field parameters is 40 db, the target sound pressure level is 45 db, the corresponding sound pressure level compensation is 5 db, and the rest sound field compensation parameters are sequentially obtained based on the difference between the current sound field parameters and the corresponding target sound field parameters. According to the method, the sound field compensation parameter is obtained based on the difference value between the current sound field parameter and the target sound field parameter, and the sound field parameter information of the next output audio can be adjusted based on the sound field compensation parameter, so that the playing quality of the audio in the vehicle can be improved.
Step S40: and adjusting the audio playing parameters output by the sound output equipment in the vehicle based on the sound field compensation parameters so that the sound output equipment plays the audio based on the adjusted audio playing parameters.
In one implementation scenario, sound field parameters of output audio are adjusted based on sound field compensation parameters to obtain audio playing parameters, the adjusted audio playing parameters are more suitable for the current in-car sound field environment, in-car audio effects can be improved, power amplification factors are obtained based on the audio playing parameters, and the audio playing parameters and the power amplification factors are sent to sound output equipment to realize in-car audio playing. By the method, sound field parameters are automatically reconstructed based on changes of the sound field environment, noise and the like in the vehicle, so that the audio effect output in the vehicle is improved, and the audio playing quality in the vehicle is improved.
Step S50: returning to step S10 to obtain the current audio information acquired by the in-vehicle sound acquisition device.
In one implementation scenario, audio information is collected in real time, parameters such as audio output frequency, volume, signal delay, reverberation and the like in a vehicle are automatically adjusted based on the current sound field environment, an optimal sound effect compensation function is completed, sound field parameters can be automatically rebuilt based on changes such as the vehicle sound field environment, noise and the like, sound effects are improved, a user can experience an optimal sound effect state in real time, sound effect deterioration experience caused by changes of the vehicle sound field is reduced, and therefore the vehicle audio playing quality can be improved.
According to the scheme, the in-vehicle sound collection device collects the audio information of the in-vehicle audio, the collected in-vehicle audio comprises the audio output by the in-vehicle sound output device and the environmental noise in the vehicle, the current sound field parameter can be obtained through analysis based on the current audio information, the in-vehicle acoustic environment level is analyzed based on the current sound field parameter, the target sound field parameter is determined, the sound field compensation parameter capable of improving the sound effect level is obtained based on the current sound field parameter and the target sound field parameter, the audio playing parameter output by the in-vehicle sound output device is adjusted based on the sound field compensation parameter, so that the sound output device plays the audio based on the adjusted audio playing parameter, the output capability of the in-vehicle sound effect is improved, the step of returning to the current audio information collected by the in-vehicle sound collection device is achieved, the audio playing parameter output by the in-vehicle sound output device is adjusted in real time based on the real-time change of the in-vehicle environment sound, the user can experience the best sound effect state in real time, the sound effect degradation experience caused by the in-vehicle sound field change is reduced, and the in-vehicle audio playing quality can be improved.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating an embodiment of an audio quality adjusting apparatus 20 according to the present application. As shown in fig. 2, the audio quality adjustment apparatus 20 includes: the system comprises an acquisition module 21, a determination module 22, a compensation module 23, an adjustment module 24 and a circulation module 25, wherein the acquisition module 21 is used for acquiring current audio information acquired by in-vehicle sound acquisition equipment and acquiring current sound field parameters based on the current audio information; the determining module 22 is configured to determine a target sound field parameter based on the current sound field parameter; the compensation module 23 is configured to obtain sound field compensation parameters based on the current sound field parameters and the target sound field parameters; the adjusting module 24 is configured to adjust an audio playing parameter output by a sound output device in the vehicle based on the sound field compensation parameter, so that the sound output device plays audio based on the adjusted audio playing parameter; the circulation module 25 is used for returning to the step of obtaining the current audio information acquired by the in-vehicle sound acquisition device.
According to the scheme, the in-vehicle sound collection device collects the audio information of the in-vehicle audio, the collected in-vehicle audio comprises the audio output by the in-vehicle sound output device and the environmental noise in the vehicle, the current sound field parameter can be obtained through analysis based on the current audio information, the in-vehicle acoustic environment level is analyzed based on the current sound field parameter, the target sound field parameter is determined, the sound field compensation parameter capable of improving the sound effect level is obtained based on the current sound field parameter and the target sound field parameter, the audio playing parameter output by the in-vehicle sound output device is adjusted based on the sound field compensation parameter, so that the sound output device plays the audio based on the adjusted audio playing parameter, the output capability of the in-vehicle sound effect is improved, the step of returning to the current audio information collected by the in-vehicle sound collection device is achieved, the audio playing parameter output by the in-vehicle sound output device is adjusted in real time based on the real-time change of the in-vehicle environment sound, the user can experience the best sound effect state in real time, the sound effect degradation experience caused by the in-vehicle sound field change is reduced, and the in-vehicle audio playing quality can be improved.
In some disclosed embodiments, the audio quality adjustment apparatus 20 further includes a target sound field parameter determining module, configured to obtain an audio quality adjustment result based on the current sound field parameter, the historical sound field parameter during the previous adjustment, and the historical target sound field parameter corresponding to the historical sound field parameter; and determining a target sound field parameter corresponding to the current sound field parameter based on the audio quality adjustment result.
Therefore, based on the historical sound field parameters and the historical target sound field parameters, an audio quality adjustment result is determined, and the target sound field parameters corresponding to the current sound field parameters are obtained based on the audio quality adjustment result, so that the target sound field parameters can be adjusted based on the change condition of the current sound field environment, and the accuracy of audio quality adjustment is improved.
In some disclosed embodiments, the target sound field parameter determination module further includes a calculation sub-module for obtaining an absolute value of a first difference between the current sound field parameter and the historical target parameter, and an absolute value of a second difference between the historical sound field parameter and the historical target parameter at a previous round of adjustment; responding to the absolute value of the first difference value being smaller than the absolute value of the second difference value, taking the historical sound field parameter as a target sound field parameter corresponding to the current sound field parameter; and responding to the fact that the absolute value of the first difference value is larger than or equal to the absolute value of the second difference value, and obtaining corresponding target sound field parameters based on the audio adjusting algorithm and the current sound field parameters.
Therefore, based on the current sound field parameters and the historical target sound field parameters, the current sound field environment is judged, the target sound field parameters corresponding to the current sound field parameters are adjusted in real time based on the current sound field environment, the optimal sound field is analyzed and calculated, the optimal output of the sound effect level is completed, and the accuracy of audio quality adjustment is improved.
In some disclosed embodiments, the audio quality adjustment apparatus 20 further includes a screening module, configured to obtain a preset parameter class based on the sound field effect, and screen at least one current sound field parameter consistent with the preset parameter class from the plurality of current sound field parameters; and determining corresponding target sound field parameters based on at least one current sound field parameter obtained after screening.
Therefore, according to the influence degree of the sound field parameters of the audio information on the sound field effect, the preset parameter types are obtained in advance, and the corresponding target sound field parameters are determined from the current sound field parameters obtained by screening among the plurality of current sound field parameters of the audio information, so that the computing power can be reduced, and the efficiency and the accuracy of adjusting the audio quality in different sound field environments can be improved.
In some disclosed embodiments, the audio quality adjustment device 20 further includes a power amplification module for adjusting sound field parameters of the output audio based on the sound field compensation parameters to obtain audio playing parameters; and obtaining the power amplification factor based on the audio playing parameter, and sending the audio playing parameter and the power amplification factor to the sound output equipment.
Therefore, sound field parameters are automatically reconstructed based on changes of sound field environment, noise and the like in the vehicle, so that the audio effect output in the vehicle is improved, and the audio playing quality in the vehicle is improved.
In some disclosed embodiments, the audio quality adjustment apparatus 20 further includes a sound field compensation parameter acquisition module for respectively acquiring each current sound field parameter and a corresponding target sound field parameter; and respectively obtaining corresponding sound effect compensation parameters based on the difference value between the current sound field parameters and the corresponding target sound field parameters.
Therefore, the sound field compensation parameter is obtained based on the difference between the current sound field parameter and the target sound field parameter, and the sound field parameter information of the next output audio can be adjusted based on the sound field compensation parameter, so that the playing quality of the audio in the vehicle can be improved.
Referring to fig. 3, fig. 3 is a schematic frame diagram of an embodiment of an electronic device 30 of the present application. The electronic device 30 comprises a memory 31 and a processor 32 coupled to each other, the memory 31 having stored therein program instructions, the processor 32 being adapted to execute the program instructions to implement the steps of any of the above-described embodiments of the audio quality adjustment method. Specifically, the electronic device 30 may include, but is not limited to: servers, desktop computers, notebook computers, tablet computers, smart phones, etc., are not limited herein.
In particular, the processor 32 is adapted to control itself and the memory 31 to implement the steps of any of the above described embodiments of the audio quality adjustment method. The processor 32 may also be referred to as a CPU (Central Processing Unit ). The processor 32 may be an integrated circuit chip having signal processing capabilities. The processor 32 may also be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, the processor 32 may be commonly implemented by an integrated circuit chip.
According to the scheme, the in-vehicle sound collection device collects the audio information of the in-vehicle audio, the collected in-vehicle audio comprises the audio output by the in-vehicle sound output device and the environmental noise in the vehicle, the current sound field parameter can be obtained through analysis based on the current audio information, the in-vehicle acoustic environment level is analyzed based on the current sound field parameter, the target sound field parameter is determined, the sound field compensation parameter capable of improving the sound effect level is obtained based on the current sound field parameter and the target sound field parameter, the audio playing parameter output by the in-vehicle sound output device is adjusted based on the sound field compensation parameter, so that the sound output device plays the audio based on the adjusted audio playing parameter, the output capability of the in-vehicle sound effect is improved, the step of returning to the current audio information collected by the in-vehicle sound collection device is achieved, the audio playing parameter output by the in-vehicle sound output device is adjusted in real time based on the real-time change of the in-vehicle environment sound, the user can experience the best sound effect state in real time, the sound effect degradation experience caused by the in-vehicle sound field change is reduced, and the in-vehicle audio playing quality can be improved.
Referring to FIG. 4, FIG. 4 is a schematic diagram illustrating an embodiment of a computer readable storage medium 40 of the present application. The computer readable storage medium 40 stores program instructions 41 executable by the processor, the program instructions 41 for implementing the steps in any of the above-described embodiments of the audio quality adjustment method.
In some embodiments, functions or modules included in an apparatus provided by the embodiments of the present disclosure may be used to perform a method described in the foregoing method embodiments, and specific implementations thereof may refer to descriptions of the foregoing method embodiments, which are not repeated herein for brevity.
The foregoing description of various embodiments is intended to highlight differences between the various embodiments, which may be the same or similar to each other by reference, and is not repeated herein for the sake of brevity.
In the several embodiments provided in the present application, it should be understood that the disclosed methods and apparatuses may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical, or other forms.
The elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physically located, or may be distributed over a plurality of network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all or part of the technical solution contributing to the prior art or in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.

Claims (10)

1. An audio quality adjustment method, comprising:
acquiring current audio information acquired by in-car sound acquisition equipment, and acquiring current sound field parameters based on the current audio information;
determining a target sound field parameter based on the current sound field parameter;
obtaining sound field compensation parameters based on the current sound field parameters and the target sound field parameters;
adjusting audio playing parameters output by sound output equipment in the vehicle based on the sound field compensation parameters so that the sound output equipment plays audio based on the adjusted audio playing parameters;
and returning to the step of acquiring the current audio information acquired by the in-vehicle sound acquisition equipment.
2. The method of claim 1, wherein the step of determining the target sound field parameters based on the current sound field parameters comprises:
obtaining an audio quality adjustment result based on the current sound field parameter, the historical sound field parameter during the previous adjustment and the historical target sound field parameter corresponding to the historical sound field parameter;
and determining a target sound field parameter corresponding to the current sound field parameter based on the audio quality adjustment result.
3. The method according to claim 2, wherein the step of obtaining the audio quality adjustment result based on the current sound field parameter, the historical sound field parameter at the time of the previous adjustment, and the historical target sound field parameter corresponding to the historical sound field parameter, comprises:
obtaining an absolute value of a first difference between a current sound field parameter and a historical target parameter and an absolute value of a second difference between the historical sound field parameter and the historical target parameter during the previous adjustment;
the step of determining the target sound field parameter corresponding to the current sound field parameter based on the audio quality adjustment result comprises the following steps:
responding to the fact that the absolute value of the first difference value is smaller than that of the second difference value, and taking the historical sound field parameter as a target sound field parameter corresponding to the current sound field parameter; and responding to the fact that the absolute value of the first difference value is larger than or equal to the absolute value of the second difference value, and obtaining corresponding target sound field parameters based on an audio adjusting algorithm and the current sound field parameters.
4. The method of claim 1, wherein the sound field parameters include at least one of audio frequency components, sound signal propagation delay from a sound collection device to a sound output device, sound pressure level, reverberation parameters.
5. The method of claim 1, wherein the number of current sound field parameters obtained based on the current audio information is a plurality;
before the step of obtaining the sound field compensation parameter based on the current sound field parameter and the target sound field parameter, the method comprises the following steps:
acquiring preset parameter category based on sound field effect Screening at least one current sound field parameter consistent with the preset parameter category from a plurality of current sound field parameters;
the step of determining the target sound field parameter based on the current sound field parameter includes:
and determining corresponding target sound field parameters based on at least one current sound field parameter obtained after screening.
6. The method of claim 1, wherein the step of adjusting audio playback parameters output by the in-vehicle sound output device based on the sound field compensation parameters comprises:
adjusting sound field parameters of the output audio based on the sound field compensation parameters to obtain audio playing parameters;
and obtaining power amplification factor based on the audio playing parameter, and sending the audio playing parameter and the power amplification factor to the sound output equipment.
7. The method of claim 1, wherein the step of deriving sound field compensation parameters based on the current sound field parameters and the target sound field parameters comprises:
respectively acquiring each current sound field parameter and the corresponding target sound field parameter;
and respectively obtaining the corresponding sound field compensation parameters based on the difference value between the current sound field parameters and the corresponding target sound field parameters.
8. An audio quality adjustment apparatus, comprising:
the acquisition module is used for acquiring current audio information acquired by the in-vehicle sound acquisition equipment and acquiring current sound field parameters based on the current audio information;
the determining module is used for determining target sound field parameters based on the current sound field parameters;
the compensation module is used for obtaining sound field compensation parameters based on the current sound field parameters and the target sound field parameters;
the adjusting module is used for adjusting the audio playing parameters output by the sound output equipment in the vehicle based on the sound field compensation parameters so that the sound output equipment plays audio based on the adjusted audio playing parameters;
and the circulation module is used for returning to the step of acquiring the current audio information acquired by the in-vehicle sound acquisition equipment.
9. An electronic device comprising a memory and a processor coupled to each other, the memory for storing a computer program, the processor for executing the computer program to implement the audio quality adjustment method of any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored, which computer program is executable by a processor to implement the audio quality adjustment method of any one of claims 1 to 7.
CN202211713822.5A 2022-12-29 2022-12-29 Audio quality adjustment method and device, electronic equipment and storage medium Pending CN116107537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211713822.5A CN116107537A (en) 2022-12-29 2022-12-29 Audio quality adjustment method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211713822.5A CN116107537A (en) 2022-12-29 2022-12-29 Audio quality adjustment method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116107537A true CN116107537A (en) 2023-05-12

Family

ID=86255501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211713822.5A Pending CN116107537A (en) 2022-12-29 2022-12-29 Audio quality adjustment method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116107537A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117041858A (en) * 2023-08-14 2023-11-10 央广云听文化传媒有限公司 Space audio playing optimization method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117041858A (en) * 2023-08-14 2023-11-10 央广云听文化传媒有限公司 Space audio playing optimization method and device
CN117041858B (en) * 2023-08-14 2024-04-09 央广云听文化传媒有限公司 Space audio playing optimization method and device

Similar Documents

Publication Publication Date Title
JP4262597B2 (en) Sound system
RU2658872C2 (en) Equalisation filter coefficient determinator, apparatus, equalisation filter coefficient processor, system and methods
CN110809214B (en) Audio playing method, audio playing device and terminal equipment
EP3678388A1 (en) Customized audio processing based on user-specific and hardware-specific audio information
US8280062B2 (en) Sound corrector, sound measurement device, sound reproducer, sound correction method, and sound measurement method
CN107277685B (en) System and method for electronic sound enhancement tuning
CN115862657B (en) Noise-following gain method and device, vehicle-mounted system, electronic equipment and storage medium
CN113170260B (en) Audio processing method and device, storage medium and electronic equipment
US20050244015A1 (en) Method and apparatus to evaluate sound quality according to a measuring mode
US20230104111A1 (en) Determining a virtual listening environment
CN116107537A (en) Audio quality adjustment method and device, electronic equipment and storage medium
EP3448066A1 (en) Signal processor
CN116437268B (en) Adaptive frequency division surround sound upmixing method, device, equipment and storage medium
US20220095009A1 (en) Method and apparatus for controlling audio sound quality in terminal using network
CN111163411B (en) Method for reducing influence of interference sound and sound playing device
TW202133629A (en) A method for audio rendering by an apparatus
EP3609197A1 (en) Audio processing
CN108932953B (en) Audio equalization function determination method, audio equalization method and equipment
CN110740404A (en) audio correlation processing method and audio processing device
CN118331529A (en) Sound effect adjusting method, device, electronic equipment and storage medium
CN114400022B (en) Method, device and storage medium for comparing sound quality
CN117880699A (en) Vehicle-mounted audio analog signal determining method, device, equipment and storage medium
CN117242786A (en) Audio optimized playing method, device, equipment and storage medium
CN118301535A (en) Audio upmixing algorithm processing method and device, electronic equipment and storage medium
CN118690127A (en) Method and device for determining parameter values of filter, audio processing equipment and medium

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