[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN118885046A - Automatic input level adjusting method and system - Google Patents

Automatic input level adjusting method and system Download PDF

Info

Publication number
CN118885046A
CN118885046A CN202410907135.XA CN202410907135A CN118885046A CN 118885046 A CN118885046 A CN 118885046A CN 202410907135 A CN202410907135 A CN 202410907135A CN 118885046 A CN118885046 A CN 118885046A
Authority
CN
China
Prior art keywords
power
signal
audio
adjusting
deviation
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
CN202410907135.XA
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.)
Chengdu Qianli Intelligent Technology Co ltd
Original Assignee
Chengdu Qianli Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Qianli Intelligent Technology Co ltd filed Critical Chengdu Qianli Intelligent Technology Co ltd
Priority to CN202410907135.XA priority Critical patent/CN118885046A/en
Publication of CN118885046A publication Critical patent/CN118885046A/en
Pending legal-status Critical Current

Links

Landscapes

  • Amplifiers (AREA)

Abstract

The invention discloses an automatic input level adjusting method and system, and belongs to the technical field of audio processing. The invention converts the audio analog signals into digital signals by receiving a group of audio analog signals with different frequencies; carrying out identification processing on the digital signals to obtain frequency and power corresponding to the frequency, and calculating deviation power according to the power; the input audio signal level is adjusted based on the deviation power, specifically, the minimum value is selected from the deviation powers corresponding to the audio analog signals of all frequencies to serve as an adjusting value, and the input audio signal level is adjusted according to the adjusting value, so that level matching can be guaranteed to the greatest extent under the condition of not depending on professional instruments.

Description

Automatic input level adjusting method and system
Technical Field
The invention relates to the technical field of audio processing, in particular to an automatic input level adjusting method and system.
Background
When the audio analog signal received by the sound amplifying system is in AD conversion, the minimum undistorted audio signal is required to be ensured, and the matching of the analog signal level input by the source end and the signal level which can be identified by AD acquisition is an important factor for ensuring the undistorted audio signal.
At present, to realize the matching of level signals, after the source end and the output end of a set of system and an acoustic amplifying system are determined, the analog signal level of the input source end is tested through a professional measuring tool, such as an oscilloscope, or a professional audio signal detector, and after the measurement of a professional instrument, a signal adjusting module is adjusted to amplify and reduce a physical signal so as to match the signal level. The method needs professional tools, and if the input source end or the output end of the audio signal is replaced by a set of equipment, debugging is needed again, so that automatic adjustment of the level cannot be realized.
Therefore, how to propose a method and a system for automatically adjusting an input level, which simplify matching and debugging of a signal level and realize automatic adjustment is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
In view of this, the invention provides a method and a system for automatically adjusting input level, which can simplify the matching and debugging of signal level, and can ensure the level matching to the greatest extent by an acoustic amplification system without using professional instruments, so that the signal is not lost.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
in one aspect, the present invention provides a method for automatically adjusting an input level, including the steps of:
receiving a group of audio analog signals with different frequencies, and converting the audio analog signals into digital signals;
Carrying out identification processing on the digital signals to obtain frequencies and power corresponding to the frequencies, and calculating deviation power according to the power;
the input audio signal level is adjusted based on the offset power.
Preferably, converting the audio analog signal into a digital signal includes:
Performing analog amplification processing on the audio analog signal;
and carrying out digital sampling on the audio analog signal subjected to analog amplification processing to obtain a digital signal.
Preferably, the identifying process for the digital signal, to obtain the frequency and the power corresponding to the frequency, includes:
Performing FFT on the digital signal to identify frequency and power corresponding to the frequency;
calculating bias power from the power, comprising:
A power expected value Q is set, and a deviation power D is calculated based on the power expected value Q and the identified power P.
Preferably, the calculation formula of the deviation power D is as follows:
D=-P-Q。
Preferably, adjusting the input audio signal level based on the bias power includes:
and selecting a minimum value from the deviation power corresponding to the audio analog signals with all frequencies as an adjusting value, and adjusting the input audio signal level according to the adjusting value.
On the other hand, the invention also provides an automatic input level adjusting system, which is used for realizing the automatic input level adjusting method, and comprises the following steps:
The audio signal processing module is used for receiving audio analog signals with different frequencies and converting the audio analog signals into digital signals;
The identification module is used for carrying out identification processing on the digital signals to obtain frequencies and power corresponding to the frequencies, and calculating deviation power according to the power;
and the adjusting module is used for adjusting the input audio signal level based on the deviation power.
Preferably, the audio signal processing module comprises a pre-signal adjusting unit and an AD conversion unit;
The pre-signal adjusting unit is used for carrying out analog amplification processing on the audio analog signal;
The AD conversion unit is used for digitally sampling the audio analog signals processed by the pre-signal adjusting unit to obtain digital signals.
Preferably, the identification module comprises a digital signal processing unit and a deviation power calculating unit;
The digital signal processing unit is used for carrying out FFT on the digital signal and identifying the frequency and the power corresponding to the frequency;
The deviation power calculation unit is used for setting a power expected value Q, and calculating deviation power D based on the power expected value Q and the identified power P.
Preferably, the adjusting module selects a minimum value from the deviation powers corresponding to the audio analog signals with all frequencies as an adjusting value, and adjusts the input audio signal level according to the adjusting value.
Compared with the prior art, the invention discloses a method and a system for automatically adjusting the input level, which are used for receiving a group of audio analog signals with different frequencies and converting the audio analog signals into digital signals; carrying out identification processing on the digital signals to obtain frequency and power corresponding to the frequency, and calculating deviation power according to the power; the input audio signal level is adjusted based on the deviation power, specifically, the minimum value is selected from the deviation powers corresponding to the audio analog signals of all frequencies as an adjusting value, and the input audio signal level is adjusted according to the adjusting value. The invention can ensure the level matching to the greatest extent under the condition of not depending on professional instruments.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of the method provided by the invention;
fig. 2 is an application schematic diagram of an automatic input level adjustment system according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
A typical set of simple sound systems contains the following main modules:
The audio signal processing device comprises an audio signal source end, a pre-signal adjusting unit, an audio signal AD converting unit, a digital audio signal processing unit, an audio signal DA converting unit, a post-signal adjusting unit and an audio signal output end. The audio signal processing unit comprises a front signal adjusting unit, an AD converting unit for audio signals, a digital audio signal processing unit, a DA converting unit for audio signals and a rear signal adjusting unit.
The source of the audio signal may be an analog audio signal (e.g., microphone signal, line signal, etc.) from another sound system. The source of the audio may come from a variety of different devices as input sources to input the audio signal to the sound enhancement system.
The method comprises the steps that after an analog signal of an audio source end is transmitted through an analog circuit, the signal is transmitted to a preposed signal adjusting unit of an audio amplifying system, analog amplification processing is carried out on the audio analog signal by the preposed signal adjusting unit, the signal is transmitted to an AD converting unit of the audio signal after processing, the AD converting unit converts the analog signal into a digital signal through digital sampling of the audio analog signal, then the digital signal is transmitted to a digital audio signal processing unit, the audio signal processing unit processes the digital signal and then outputs the audio signal to a DA converting unit of the audio signal, the DA converting unit converts the digital signal into an analog signal, and after analog amplification is carried out on the audio signal by a post signal adjusting unit, the analog signal is output to an output end of the audio signal through an analog circuit.
At this time, the audio signal output end (possibly connected power amplifier or other Line signals) connected through the audio signal Line can collect the audio signal output by the sound amplifying system through the signal Line.
The embodiment of the invention ensures the minimum undistorted audio signal in the AD conversion process by improving the sound amplifying system.
In one aspect, an embodiment of the present invention discloses a method for automatically adjusting an input level, as shown in fig. 1, the method includes the following steps:
S1, receiving a group of audio analog signals with different frequencies, and converting the audio analog signals into digital signals, wherein the method comprises the following steps of:
performing analog amplification processing on the audio analog signal;
and carrying out digital sampling on the audio analog signal subjected to analog amplification processing to obtain a digital signal.
S2, carrying out identification processing on the digital signals to obtain frequencies and power corresponding to the frequencies, and calculating deviation power according to the power.
And carrying out FFT on the digital signal, and identifying the frequency F (HZ) of the signal and the power P (dBFS) corresponding to the frequency to obtain a group of data of the frequency F and the power P.
Setting a power expected value Q, and calculating deviation power D based on the power expected value Q and the identified power P, wherein a calculation formula of the deviation power D is as follows:
D=-P-Q。
S3, adjusting the input audio signal level based on the deviation power, wherein the method comprises the following steps:
and selecting the minimum value from the deviation power corresponding to the audio analog signals with all frequencies as an adjusting value, and adjusting the level of the input audio signal according to the adjusting value.
Specifically, the following examples are presented in which:
S1, receiving a group of audio analog signals with different frequencies, and converting the audio analog signals into digital signals.
A set of test audio (i.e., audio analog signals) is played at the source of the audio signal, which are 100hz,500hz,1khz,2khz,4khz,8khz sine wave signals generated by the audio software, with the amplitude value of the sine wave signals set to a maximum, and the signals at each frequency being 30 seconds long.
And the volume of the audio signal source end output to the sound amplifying system is adjusted to the maximum, so that the output of the audio signal source end at the moment is ensured to be the maximum level capacity.
S2, carrying out identification processing on the digital signal to obtain frequency and power corresponding to the frequency, and calculating deviation power according to the power, wherein the method comprises the following steps:
and carrying out FFT on the digital signal to identify the frequency and the power corresponding to the frequency.
Since the test audio source is the signal of the maximum amplitude value generated, the power P of the test audio source is 0dBFS, and it is theoretically recognized that the power P of all the test signals obtained is also 0dBFS, which means that the level signals at this time are matched. But in practice there are deviations in various aspects due to line and circuit design, interference, etc. In order to ensure the stability of the system, the maximum cut-off distortion does not occur, in the embodiment, the power expected value Q is set to-6 dBFS in the specific implementation process, and a margin of 6DB is reserved, so that the identification module can calculate that the deviation power D of the power P corresponding to the frequency F from the power expected value q= -6dBFS is d= - (P- (-6))= - (p+6).
S3, adjusting the input audio signal level based on the deviation power, selecting the minimum value from the deviation powers corresponding to the audio analog signals with all frequencies as an adjusting value, and adjusting the input audio signal level according to the adjusting value.
Example 1:
TABLE 1 case of Audio Signal level Conditioning
Frequency F Test source power Identified source power P Deviation power D
100HZ 0.0dBFS -8.0dBFS 2.0dBFS
500HZ 0.0dBFS -7.6dBFS 1.6dBFS
1KHZ 0.0dBFS -8.2dBFS 2.2dBFS
2KHZ 0.0dBFS -8.0dBFS 2.0dBFS
4KHZ 0.0dBFS -7.8dBFS 1.8dBFS
8KHZ 0.0dBFS -8.0dBFS 2.0dBFS
As is clear from table 1, since the minimum offset power is 1.6dBFS, the adjustment value is 1.6dBFS, and it is necessary to increase the input audio signal level by 1.6dBFS.
Example 2:
TABLE 2 Audio Signal level Tilt Condition
Frequency F Test source power Identified source power P Deviation power D
100HZ 0.0dBFS -3.0dBFS -3.0dBFS
500HZ 0.0dBFS -3.2dBFS -2.8dBFS
1KHZ 0.0dBFS -3.3dBFS -2.7dBFS
2KHZ 0.0dBFS -3.1dBFS -2.9dBFS
4KHZ 0.0dBFS -3.0dBFS -3.0dBFS
8KHZ 0.0dBFS -2.8dBFS -3.2dBFS
The minimum deviation power available according to table 2 is-3.2 dBFS, so the adjustment value is-3.2 dBFS, and it is necessary to adjust the input audio signal level by 3.2dBFS.
On the other hand, the invention also provides an automatic input level adjusting system for realizing the automatic input level adjusting method, which is used for improving the existing sound amplifying system and being applied to the sound system, as shown in fig. 2, and the automatic input level adjusting system comprises:
The audio signal processing module is used for receiving audio analog signals with different frequencies and converting the audio analog signals into digital signals;
The identification module is used for carrying out identification processing on the digital signals to obtain frequency and power corresponding to the frequency, and calculating deviation power according to the power;
and the adjusting module is used for adjusting the input audio signal level based on the deviation power.
Preferably, the audio signal processing module comprises a preamble signal adjusting unit and an AD converting unit;
The pre-signal adjusting unit is used for carrying out analog amplification processing on the audio analog signal;
The AD conversion unit is used for digitally sampling the audio analog signal processed by the pre-signal adjusting unit to obtain a digital signal.
Preferably, the identification module comprises a digital signal processing unit and a deviation power calculating unit;
The digital signal processing unit is used for carrying out FFT on the digital signal and identifying the frequency and the power corresponding to the frequency;
the deviation power calculation unit is used for setting a power expected value Q, and calculating deviation power D based on the power expected value Q and the identified power P.
Preferably, the adjusting module selects a minimum value from the deviation powers corresponding to the audio analog signals with all frequencies as an adjusting value, and adjusts the input audio signal level according to the adjusting value.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. An automatic input level adjustment method is characterized by comprising the following steps:
receiving a group of audio analog signals with different frequencies, and converting the audio analog signals into digital signals;
Carrying out identification processing on the digital signals to obtain frequencies and power corresponding to the frequencies, and calculating deviation power according to the power;
the input audio signal level is adjusted based on the offset power.
2. The method of claim 1, wherein converting the audio analog signal to a digital signal comprises:
Performing analog amplification processing on the audio analog signal;
and carrying out digital sampling on the audio analog signal subjected to analog amplification processing to obtain a digital signal.
3. The method for automatically adjusting an input level according to claim 1, wherein the step of performing recognition processing on the digital signal to obtain a frequency and a power corresponding to the frequency comprises:
Performing FFT on the digital signal to identify frequency and power corresponding to the frequency;
calculating bias power from the power, comprising:
A power expected value Q is set, and a deviation power D is calculated based on the power expected value Q and the identified power P.
4. A method for automatically adjusting an input level according to claim 3, wherein the calculation formula of the deviation power D is as follows:
D=-(P-Q)。
5. The method of claim 1, wherein adjusting the input audio signal level based on the bias power comprises:
and selecting a minimum value from the deviation power corresponding to the audio analog signals with all frequencies as an adjusting value, and adjusting the input audio signal level according to the adjusting value.
6. An automatic input level adjustment system, comprising:
the audio signal processing module is used for receiving a group of audio analog signals with different frequencies and converting the audio analog signals into digital signals;
The identification module is used for carrying out identification processing on the digital signals to obtain frequencies and power corresponding to the frequencies, and calculating deviation power according to the power;
and the adjusting module is used for adjusting the input audio signal level based on the deviation power.
7. The automatic input level adjustment system according to claim 6, wherein the audio signal processing module comprises a pre-signal adjustment unit, an AD conversion unit;
The pre-signal adjusting unit is used for carrying out analog amplification processing on the audio analog signal;
The AD conversion unit is used for digitally sampling the audio analog signals processed by the pre-signal adjusting unit to obtain digital signals.
8. The automatic input level adjustment system according to claim 6, wherein the identification module comprises a digital signal processing unit and a deviation power calculation unit;
The digital signal processing unit is used for carrying out FFT on the digital signal and identifying the frequency and the power corresponding to the frequency;
The deviation power calculation unit is used for setting a power expected value Q, and calculating deviation power D based on the power expected value Q and the identified power P.
9. The system of claim 6, wherein the adjustment module selects a minimum value from the deviation powers corresponding to the audio analog signals of all frequencies as the adjustment value, and adjusts the input audio signal level according to the adjustment value.
CN202410907135.XA 2024-07-08 2024-07-08 Automatic input level adjusting method and system Pending CN118885046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410907135.XA CN118885046A (en) 2024-07-08 2024-07-08 Automatic input level adjusting method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410907135.XA CN118885046A (en) 2024-07-08 2024-07-08 Automatic input level adjusting method and system

Publications (1)

Publication Number Publication Date
CN118885046A true CN118885046A (en) 2024-11-01

Family

ID=93233263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410907135.XA Pending CN118885046A (en) 2024-07-08 2024-07-08 Automatic input level adjusting method and system

Country Status (1)

Country Link
CN (1) CN118885046A (en)

Similar Documents

Publication Publication Date Title
US9083288B2 (en) High level capable audio amplification circuit
US9071214B2 (en) Audio signal controller
CN101924525B (en) High performance voice frequency amplifying circuit
CN101448180B (en) Test system of mobile telephone speaker
US20130129117A1 (en) Audio amplification circuit
US20020196951A1 (en) System for automatically performing a frequency response equalization tuning on speaker of electronic device
CN104604254A (en) Audio processing device, method, and program
EP1129448A1 (en) System for measuring signal to noise ratio in a speech signal
CN114650494B (en) DSP sound system and sound system acoustic automatic testing method
CN108615536B (en) Time-frequency joint characteristic musical instrument tone quality evaluation system and method based on microphone array
CN110291718A (en) The system and method for calibrating microphone cutoff frequency
CN109905808B (en) Method and apparatus for adjusting intelligent voice device
CN103167376B (en) Directional loudspeaker and signal processing method thereof
CN102164329B (en) De-noising assembly and noise-eliminating method thereof
CN105764008B (en) A kind of method and device for debugging sound reinforcement system transmission frequency characteristic
US8155327B2 (en) Tone detector and method used in a robot for detecting a tone
CN118885046A (en) Automatic input level adjusting method and system
CN106491140A (en) A kind of hearing test system and method
TW200924546A (en) Method for analog-to-digital conversion in a microphone circuit, microphone circuit, and auxiliary circuit
CN111757235A (en) Sound expansion system with classroom language definition measuring function
CN215734665U (en) Active sound box based on DSP
KR20170141503A (en) Method of transporting a code data using an analogue audio signal, data transmission apparatus for performing the same, method of extracting a code data from an analogue audio signal, and data extraction apparatus for performing the same
US20110268285A1 (en) Sound image localization estimating device, sound image localization control system, sound image localization estimation method, and sound image localization control method
KR101406748B1 (en) Digital audio device for improving sound quality
EP3471267B1 (en) Method and apparatus for repairing distortion of an audio signal

Legal Events

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