Audio fidelity adjustment method and apparatus, computer device, and storage medium

By calculating the gain space value and balance setting value, the problem of audio signal frequency modulation distortion in intelligent driving is solved, achieving precise audio signal control and quality assurance, and providing a better listening experience.

CN117479078BActive Publication Date: 2026-07-28BEI DOU ZHI LIAN KE JI YOU XIAN GONG SI
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEI DOU ZHI LIAN KE JI YOU XIAN GONG SI
Filing Date
2023-11-07
Publication Date
2026-07-28

AI Technical Summary

Technical Problem

In intelligent driving, audio signals are prone to frequency modulation distortion during transmission or processing, leading to a decrease in audio output quality and noise problems.

Method used

The available gain space is determined by calculating the input volume value and the maximum volume value. Combined with the balance setting value and the current speaker volume value, the gain space value is judged and adjusted to meet the preset conditions. The predicted volume value is calculated to adjust the actual volume, ensuring fine control and quality of the audio signal.

Benefits of technology

It achieves precise gain adjustment of audio signals, avoiding excessive gain or distortion, ensuring that the audio output meets user needs, and providing a better listening experience and stable audio quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117479078B_ABST
    Figure CN117479078B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses an audio fidelity adjustment method, which is applied to audio adjustment in a driving cabin. The method comprises the following steps: calculating an available gain space value of an audio signal corresponding to an input volume value according to the input volume value and a maximum volume value; adding the available gain space value and an acquired balance degree setting value to obtain a candidate gain space value; adding the candidate gain space value and a current loudspeaker volume value to obtain a current gain space value; judging whether the current gain space value meets a preset gain judgment condition; if the gain judgment condition is met, determining the current gain space value as an actual gain value of the audio signal corresponding to the input volume value; and calculating a predicted volume value according to the actual gain value and the input volume value to adjust an actual volume. The method can optimize the numerical relationship of the gain values of the modules in the audio equipment and solve the problem of loudspeaker distortion in the frequency adjustment process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent driving technology, and in particular to an audio fidelity adjustment method, device, computer equipment, and storage medium. Background Technology

[0002] Frequency modulation (FM) distortion is a common problem in modern intelligent driving, especially in the application of automatic volume and audio control technologies. FM distortion typically occurs during the transmission or processing of audio signals. Changes in the waveform, frequency, or amplitude of the audio signal during transmission or processing lead to a reduction in the quality of the audio output compared to the original input, altered timbre, or the introduction of noise. Generally, FM distortion has several causes: First, if the gain of the audio signal is adjusted too high, the peak value of the signal will exceed the maximum level of the speaker or amplifier, causing clipping, which can result in distortion or noise. Second, if the equalizer of the audio equipment over-adjusts a certain frequency band, such as excessively boosting low or high frequencies, it will also lead to unnatural audio effects and distortion. Furthermore, errors in digital signal processing can also cause audio signal distortion, such as poor algorithm design, numerical approximations, and improper rounding. Proper audio processing, equalization, and gain control are crucial to ensure optimal audio output and avoid FM distortion. Summary of the Invention

[0003] This application provides an audio fidelity adjustment method, apparatus, computer device, and storage medium, aiming to solve the problem of audio adjustment distortion.

[0004] In a first aspect, embodiments of this application provide an audio fidelity adjustment method, comprising: calculating an available gain space value for an audio signal corresponding to the input volume value based on an acquired input volume value and a maximum volume value; summing an acquired balance setting value with the available gain space value to obtain a candidate gain space value; summing a current speaker volume value with the candidate gain space value to obtain a current gain space value; determining whether the current gain space value meets a preset gain judgment condition; if the gain judgment condition is met, determining the current gain space value as the actual gain value of the audio signal corresponding to the input volume value; and calculating a predicted volume value based on the actual gain value and the input volume value to adjust the actual volume.

[0005] Secondly, embodiments of this application also provide an audio fidelity adjustment device, comprising: a first calculation unit, configured to calculate an available gain space value of an audio signal corresponding to the input volume value based on an acquired input volume value and a maximum volume value; a second calculation unit, configured to sum an acquired balance setting value with the available gain space value to obtain a candidate gain space value; a third calculation unit, configured to sum a current speaker volume value with the candidate gain space value to obtain a current gain space value; a first judgment unit, configured to determine whether the current gain space value meets a preset gain judgment condition; a gain value acquisition unit, configured to determine the current gain space value as the actual gain value of the audio signal corresponding to the input volume value if the gain judgment condition is met; and a volume adjustment unit, configured to calculate a predicted volume value based on the actual gain value and the input volume value to adjust the actual volume.

[0006] Thirdly, embodiments of this application also provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-described method.

[0007] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, the computer program including program instructions that, when executed by a processor, can implement the above-described method.

[0008] This application provides an audio fidelity adjustment method, an audio fidelity adjustment device, a computer device, and a storage medium. The method includes: calculating an available gain space value for the audio signal corresponding to the input volume value based on the acquired input volume value and the maximum volume value; summing the acquired balance setting value with the available gain space value to obtain a candidate gain space value; summing the current speaker volume value with the candidate gain space value to obtain a current gain space value; determining whether the current gain space value meets a preset gain judgment condition; if the gain judgment condition is met, determining the current gain space value as the actual gain value of the audio signal corresponding to the input volume value; and calculating a predicted volume value based on the actual gain value and the input volume value to adjust the actual volume. This application, by converting different audio function settings into gain spaces and calculating and adjusting them according to set rules, can achieve fine control of the audio signal. This ensures that the audio output meets the user's needs and provides a better listening experience. Simultaneously, by comparing the gain space and EQ settings, it can also avoid problems of excessive gain or distortion, ensuring the stability and accuracy of audio quality. It enables precise gain adjustment based on the user's audio settings, providing a better audio experience and avoiding audio quality issues. Attached Figure Description

[0009] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0010] Figure 1 A flowchart illustrating the audio fidelity adjustment method provided in this application embodiment;

[0011] Figure 2 A schematic diagram of a sub-process of the audio fidelity adjustment method provided in the embodiments of this application;

[0012] Figure 3 This is another schematic diagram of a sub-process of the audio fidelity adjustment method provided in the embodiments of this application;

[0013] Figure 4 This is another sub-process diagram of the audio fidelity adjustment method provided in the embodiments of this application;

[0014] Figure 5 A schematic block diagram of an audio fidelity adjustment device provided in an embodiment of this application;

[0015] Figure 6 A schematic block diagram of a computer device provided in an embodiment of this application. Detailed Implementation

[0016] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0017] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0018] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0019] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any and all combinations of one or more of the associated listed items, and includes such combinations.

[0020] This application provides an audio fidelity adjustment method, apparatus, computer device, and storage medium.

[0021] The vehicle cabin speed-sensitive audio tuning method can be implemented by the vehicle cabin speed-sensitive audio tuning device provided in the embodiments of this application, or by an in-vehicle intelligent device that integrates the vehicle cabin speed-sensitive audio tuning device. The vehicle cabin speed-sensitive audio tuning device can be implemented in hardware or software, and the computer device can be an in-vehicle terminal.

[0022] Please see Figure 6 , Figure 6 This diagram illustrates an application scenario of the audio fidelity adjustment method provided in an embodiment of this application. The audio fidelity adjustment method is applied to… Figure 6 Among the 500 computer devices.

[0023] Figure 1 This is a flowchart illustrating the audio fidelity adjustment method provided in an embodiment of this application. Figure 1 As shown, the method includes the following steps S110-S160.

[0024] S110. Based on the obtained input volume value and maximum volume value, calculate the available gain space value of the audio signal corresponding to the input volume value.

[0025] Specifically, 1. Input volume: This refers to the input level of the audio signal, usually expressed in decibels (dB), and is the relative intensity of the sound. The higher the input volume, the louder the sound. 2. Maximum volume: This refers to the maximum level that the audio device can handle, also usually expressed in decibels. Exceeding the maximum volume will lead to distortion and noise problems. In this context, the available gain margin can be defined as the maximum volume minus the input volume. The specific calculation formula is as follows: Available gain margin = Maximum volume - Input volume. For example, if the maximum volume of an audio device is 100dB and the current input volume is 80dB, then the available gain margin is: Available gain margin = 100dB - 80dB = 20dB. This means that the gain of the audio signal can be adjusted to a maximum range of 20dB without causing distortion or noise problems.

[0026] S120. The obtained balance setting value is summed with the available gain space value to obtain the alternative gain space value.

[0027] Specifically, the obtained balance setting value is summed with the available gain margin value to obtain the alternative gain margin value. The specific calculation formula is as follows: Alternative gain margin value = Balance setting value + Available gain margin value. Here, the balance setting value refers to the volume adjustment made by the user to different frequency bands according to actual needs, usually expressed in decibels. The larger the balance setting value, the louder the volume of that frequency band. For example, if a user sets a +3dB balance in the low-frequency band, and the available gain margin of the audio device is 20dB, then the alternative gain margin value is: Alternative gain margin value = 3dB + 20dB = 23dB. This means that the volume of that frequency band can be increased by 23dB without causing distortion or noise problems.

[0028] S130. Summing the current speaker volume value with the alternative gain space value yields the current gain space value.

[0029] S140. Determine whether the current gain space value meets the preset gain judgment condition.

[0030] S150. If the gain judgment condition is met, the current gain space value is determined as the actual gain value of the audio signal corresponding to the input volume value.

[0031] S160: Calculate the predicted volume value based on the actual gain value and the input volume value to adjust the actual volume.

[0032] Specifically, the current speaker volume value is summed with the candidate gain space value to obtain the current gain space value. Current gain space value = Current speaker volume value + Candidate gain space value. It is then determined whether the current gain space value meets a preset gain judgment condition. The gain judgment condition can be a threshold or range set according to specific needs. If the current gain space value meets the gain judgment condition, proceed to the next step. If the current gain space value does not meet the gain judgment condition, appropriate adjustments are needed, such as lowering the balance setting or the current speaker volume value, and then recalculating the current gain space value. The current gain space value is determined to be the actual gain value of the audio signal corresponding to the input volume value. The current gain space value is the actual gain value. Based on the actual gain value and the input volume value, a predicted volume value is calculated, which is used to adjust the actual volume. Predicted volume value = Input volume value + Actual gain value.

[0033] In summary, when a user adjusts audio functions such as volume, balance, bass, and treble, the gain space is calculated based on the user-set volume value. The gain space is adjusted based on the user-set balance value and the speaker volume setting. The maximum gain value (Eq_Max) of the EQ is calculated based on the EQ setting, and the actual gain value (EqGain) of the EQ is adjusted according to its relationship with the gain space. Finally, the gain value of the internal DSP module is calculated based on the preceding gain data. This process is primarily used to calculate and adjust the gain values ​​of various audio functions based on the user's audio settings. By converting the user-set volume, balance, speaker volume, and EQ settings into gain spaces and adjusting them according to certain rules, the final gain value can be obtained to control the attenuation or enhancement of the audio signal. Technically, this process provides precise gain adjustment based on the user's audio settings. By converting the settings of different audio functions into gain spaces and calculating and adjusting them according to established rules, fine-grained control of the audio signal can be achieved. This ensures that the audio output meets the user's needs and provides a better listening experience. Furthermore, by comparing the gain range and EQ settings, issues such as excessive gain or distortion can be avoided, ensuring the stability and accuracy of audio quality. Precise gain adjustment based on the user's audio settings provides a better audio experience and prevents audio quality problems.

[0034] like Figure 2 As shown, in a more specific embodiment of this solution, step S140 further includes steps S141-S142:

[0035] S141. Determine the maximum gain space value of the corresponding audio signal based on the current equalization setting value of the gain judgment condition.

[0036] Specifically, the gain determination conditions include:

[0037] S142. Determine whether the current gain space value is not greater than the maximum gain space value, so as to determine whether the current gain space value meets the gain judgment condition.

[0038] If the current gain space value is not greater than the maximum gain space value, then the current gain space value is determined to meet the gain judgment condition.

[0039] Specifically, the gain determination condition includes the following two steps:

[0040] S141: Determine the maximum gain space value of the corresponding audio signal based on the current equalization setting value of the gain judgment condition.

[0041] S142: Determine whether the current gain space value is not greater than the maximum gain space value, so as to determine whether the current gain space value meets the gain judgment condition.

[0042] In S141, the maximum gain space value of the corresponding audio signal can be determined based on the current equalization setting value of the gain judgment condition. The specific calculation method involves the characteristics of the audio signal, the range of equalization settings, and the algorithm, and needs to be determined according to the specific situation. In S142, by comparing the current gain space value with the maximum gain space value, it can be determined whether the current gain space value meets the gain judgment condition. If the current gain space value is not greater than the maximum gain space value, then it can be determined that the current gain space value meets the gain judgment condition.

[0043] like Figure 3 As shown, in a more specific embodiment of this solution, before executing step S130, step S131 must also be executed:

[0044] S131. Determine whether the maximum gain space value is greater than zero.

[0045] Specifically, if the maximum gain space value is not greater than zero, then the current gain space value is set to zero;

[0046] If the maximum gain space value is greater than zero, then proceed to step S142.

[0047] In another, more specific embodiment of this solution, step S132 must be performed before step S130:

[0048] S132. Determine if the current speaker volume is less than zero.

[0049] If the current speaker volume value is not less than zero, then proceed to step S130.

[0050] If the current speaker volume value is less than zero, the current speaker volume value is retrieved again to calculate the current gain space value.

[0051] Specifically, before executing step S130, either step S131 or step S132 needs to be executed first. Specifically, step S131 determines whether the maximum gain space value is greater than zero. If it is not greater than zero, the current gain space value is set to zero; if it is greater than zero, step S142 continues. Step S132, based on step S131, additionally determines whether the current speaker volume value is less than zero. If it is less than zero, the current speaker volume value is re-acquired to calculate the current gain space value. In step S131, the maximum gain space value is first determined to be greater than zero. If it is not greater than zero, it means that gain adjustment cannot be performed, so the current gain space value is set to zero. This avoids the gain space value exceeding a reasonable range, leading to sound distortion or other problems. If the maximum gain space value is greater than zero, step S142 continues to be executed to determine and adjust the gain space value. In step S142, the maximum gain space value of the corresponding audio signal is determined based on the current equalization setting value, and it is determined whether the current gain space value meets the gain judgment condition. If the conditions are met, step S130 is executed to adjust the gain; if not, adjustments or other processing are performed according to the specific situation. In step S132, it is additionally determined whether the current speaker volume value is less than zero. If it is less than zero, it indicates that the speaker has a fault or abnormality, and the current speaker volume value needs to be re-acquired to calculate the current gain space value. This ensures that the calculated gain space value accurately reflects the current speaker status, avoiding inaccurate gain adjustment or other problems caused by abnormal speaker status.

[0052] like Figure 4 As shown, in another more specific embodiment of this solution, steps S121-122 must be performed before step S120:

[0053] S121. Obtain the preset tuning optimization value.

[0054] S122. Determine whether the sum of the preset tuning optimization value and the input volume value is greater than the available gain space value of the audio signal corresponding to the input volume value.

[0055] If the sum of the preset tuning optimization value and the input volume value is greater than the available gain space value of the audio signal corresponding to the input volume value, then the balance setting value is set to zero, and step S120 is executed.

[0056] Specifically, before executing step S120, steps S121 and S122 need to be executed first. Specifically, step S121 is used to obtain a preset tuning optimization value, while step S122 is used to determine whether the sum of the preset tuning optimization value and the input volume value is greater than the available gain space value of the audio signal corresponding to the input volume value. If it is greater, the balance setting value is set to zero. To ensure the reasonableness of the tuning optimization value and volume value, and to avoid sound distortion or other problems caused by excessively high tuning optimization values, in step S121, a preset tuning optimization value is first obtained. This value can be preset according to system requirements and user preferences, and is used to adjust the balance of the audio signal or other sound effect parameters. In step S122, the preset tuning optimization value is compared with the sum of the input volume value. If it is greater than the available gain space value of the audio signal corresponding to the input volume value, it indicates that the tuning optimization value is too high, which will lead to exceeding the available gain range. To avoid sound distortion or other problems, the balance setting value is set to zero, i.e., balance adjustment is canceled.

[0057] The actual adjustment process is as follows: 1. Master Volume Adjustment: Controlled using the Fader Volume module, with maximum volume set to 0dB and minimum volume set to -79dB. 2. Fader / Balance Function Adjustment: Controlled using the Fader Volume module, ranging from 0dB to -79dB. 3. Speaker Level Function Adjustment: Also controlled using the Fader Volume module, ranging from 10dB to -24dB. 4. EQ Function Adjustment: Achieved by simultaneously adjusting the Dvol (Att), EQ, Dvol (Boost), and Fader Volume modules. The EQ module's adjustable range is -12dB to +12dB, the Dvol (Att) module's adjustable range is 0dB to -95dB, and the Dvol (Boost) module's adjustable range is 0dB to 36dB. Generally, the audio signal, after processing by the Dvol (Att), EQ, Dvol (Boost), and Fader Volume modules, is finally output to the power amplifier. To avoid sound distortion, the DSP output signal should not exceed 0dB, as this will cause distortion. Therefore, this solution uses an algorithm to balance various functional modules, preventing excessive gain that could lead to sound distortion. By appropriately adjusting the gain values ​​of modules such as Dvol (Att), EQ, Dvol (Boost), and Fader Volume, the audio signal can be attenuated or amplified within an appropriate range to achieve the user's desired volume and sound quality. Simultaneously, this adjustment ensures the stability and accuracy of the audio output, providing a better listening experience. By controlling the internal functional modules of the DSP and considering their adjustment ranges and characteristics, combined with algorithmic gain balancing, precise adjustment of the audio signal can be achieved, preventing sound distortion and providing excellent sound quality.

[0058] Figure 5 This is a schematic block diagram of an audio fidelity adjustment device provided in an embodiment of this application. Figure 5 As shown, corresponding to the above audio fidelity adjustment method, this application also provides an audio fidelity adjustment device 100. This audio fidelity adjustment device includes a unit for performing the above audio fidelity adjustment method, and the device can be configured in a desktop computer, tablet computer, laptop computer, or other terminal. Specifically, please refer to... Figure 5The audio fidelity adjustment device 100 includes a first calculation unit 110, used to calculate the available gain space value of the audio signal corresponding to the input volume value based on the acquired input volume value and the maximum volume value; a second calculation unit 120, used to sum the acquired balance setting value and the available gain space value to obtain a candidate gain space value; a third calculation unit 130, used to sum the current speaker volume value and the candidate gain space value to obtain the current gain space value; a first judgment unit 140, used to judge whether the current gain space value meets the preset gain judgment condition; a gain value acquisition unit 150, used to determine the current gain space value as the actual gain value of the audio signal corresponding to the input volume value if the gain judgment condition is met; and a volume adjustment unit 160, used to calculate the predicted volume value based on the actual gain value and the input volume value to adjust the actual volume.

[0059] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned audio fidelity adjustment device and each unit can be referred to the corresponding description in the foregoing method embodiments. For the sake of convenience and brevity, it will not be repeated here.

[0060] The aforementioned audio fidelity adjustment device can be implemented as a computer program, which can, for example... Figure 6 It runs on the computer device shown.

[0061] Please see Figure 6 , Figure 6 This is a schematic block diagram of a computer device provided in an embodiment of this application. The computer device 500 may be an electronic device with audio playback function.

[0062] See Figure 6 The computer device 500 includes a processor 502, a memory, and a network interface 505 connected via a system bus 501. The memory may include a non-volatile storage medium 503 and internal memory 504.

[0063] The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions that, when executed, cause the processor 502 to perform an audio fidelity adjustment method.

[0064] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.

[0065] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can perform an audio fidelity adjustment method.

[0066] This network interface 505 is used for network communication with other devices. Those skilled in the art will understand that... Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device 500 to which the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0067] It should be understood that in the embodiments of this application, the processor 502 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0068] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program includes program instructions and can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.

[0069] Therefore, this application also provides a storage medium. This storage medium can be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When executed by a processor, the program instructions cause the processor to perform the following steps:

[0070] Based on the obtained input volume value and maximum volume value, calculate the available gain space value of the audio signal corresponding to the input volume value; sum the obtained balance setting value with the available gain space value to obtain a candidate gain space value; sum the current speaker volume value with the candidate gain space value to obtain the current gain space value; determine whether the current gain space value meets a preset gain judgment condition; if the gain judgment condition is met, determine the current gain space value as the actual gain value of the audio signal corresponding to the input volume value; calculate the predicted volume value based on the actual gain value and the input volume value to adjust the actual volume.

[0071] The storage medium can be any computer-readable storage medium capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), magnetic disk, or optical disk.

[0072] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.

[0073] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.

[0074] The steps in the methods of this application embodiment can be adjusted, merged, or deleted according to actual needs. The units in the apparatus of this application embodiment can be merged, divided, or deleted according to actual needs. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0075] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.

[0076] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. An audio fidelity adjustment method, applied to audio adjustment within a vehicle cabin, characterized in that, include: Based on the obtained input volume value and maximum volume value, calculate the available gain space value of the audio signal corresponding to the input volume value; The obtained balance setting value is summed with the available gain space value to obtain the alternative gain space value; The current speaker volume value is summed with the candidate gain space value to obtain the current gain space value; Determine whether the current gain space value meets the preset gain judgment condition; If the gain judgment condition is met, the current gain space value is determined as the actual gain value of the audio signal corresponding to the input volume value; The predicted volume value is calculated based on the actual gain value and the input volume value to adjust the actual volume.

2. The audio fidelity adjustment method according to claim 1, characterized in that, The step of determining whether the current gain space value meets the preset gain determination condition includes: The maximum gain space value of the corresponding audio signal is determined based on the current equalization setting value of the gain judgment condition, wherein the gain judgment condition includes: Determine whether the current gain space value is not greater than the maximum gain space value, so as to determine whether the current gain space value satisfies the gain judgment condition; If the current gain space value is not greater than the maximum gain space value, then the current gain space value is determined to satisfy the gain judgment condition.

3. The audio fidelity adjustment method according to claim 2, characterized in that, Before determining whether the current gain space value is not greater than the maximum gain space value, the method includes: Determine whether the maximum gain space value is greater than zero; If the maximum gain space value is not greater than zero, then the current gain space value is set to zero; If the maximum gain space value is greater than zero, then the step of determining whether the current gain space value is not greater than the maximum gain space value is executed.

4. The audio fidelity adjustment method according to claim 1, characterized in that, Before summing the current speaker volume value with the candidate gain space values ​​to obtain the current gain space value, the method includes: Determine whether the current speaker volume value is less than zero; If the current speaker volume value is not less than zero, then the step of summing the current speaker volume value with the candidate gain space value to obtain the current gain space value is executed; If the current speaker volume value is less than zero, the current speaker volume value is reacquired to calculate the current gain space value.

5. The audio fidelity adjustment method according to claim 1, characterized in that, Before adding the obtained balance setting value to the available gain space value to obtain the alternative gain space value, the method includes: Obtain preset tuning optimization values; Determine whether the sum of the preset tuning optimization value and the input volume value is greater than the available gain space value of the audio signal corresponding to the input volume value; If the sum of the preset tuning optimization value and the input volume value is greater than the available gain space value of the audio signal corresponding to the input volume value, then the balance setting value is set to zero.

6. An audio fidelity adjustment device, characterized in that, The device includes: The first calculation unit is used to calculate the available gain space value of the audio signal corresponding to the input volume value based on the obtained input volume value and maximum volume value. The second calculation unit is used to sum the obtained balance setting value with the available gain space value to obtain the alternative gain space value; The third calculation unit is used to sum the current speaker volume value with the candidate gain space value to obtain the current gain space value; The first judgment unit is used to determine whether the current gain space value meets the preset gain judgment condition; A gain value acquisition unit is used to determine the current gain space value as the actual gain value of the audio signal corresponding to the input volume value if the gain judgment condition is met. A volume adjustment unit is used to calculate a predicted volume value based on the actual gain value and the input volume value in order to adjust the actual volume.

7. The audio fidelity adjustment device according to claim 6, characterized in that, The device further includes: The second judgment unit is used to determine the maximum gain space value of the corresponding audio signal based on the current equalization setting value of the gain judgment condition: The third judgment unit is used to determine whether the current gain space value is not greater than the maximum gain space value, so as to determine whether the current gain space value meets the gain judgment condition; The fourth judgment unit is used to determine that the current gain space value satisfies the gain judgment condition if the current gain space value is not greater than the maximum gain space value.

8. The audio fidelity adjustment device according to claim 7, characterized in that, The device further includes: The fifth judgment unit is used to determine whether the maximum gain space value is greater than zero; The fourth calculation unit is used to set the current gain space value to zero if the maximum gain space value is not greater than zero. The sixth judgment unit is used to perform the step of judging whether the maximum gain space value is greater than the current gain space value if the maximum gain space value is greater than zero.

9. A computer device, characterized in that, The computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method as described in any one of claims 1-5.

10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which includes program instructions that, when executed by a processor, can implement the method as described in any one of claims 1-5.