Voice volume automatic adjustment method based on energy statistics

A technology of energy statistics and automatic adjustment, applied in the direction of sound input/output, etc., can solve the problems of sound quality, user experience, and large amount of calculation.

Active Publication Date: 2015-06-10
ZHEJIANG WANPENG EDUCATION TECH CO LTD
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When it is realized by adjusting the volume of the system microphone, when it is judged that the volume needs to be increased or decreased, by calling the microphone interface of the system, the gain and volume of the microphone are increased and decreased accordingly to achieve automatic volume adjustment. The advantage is that the software can be reduced. The amount of calculation required for processing will not affect the voice quality. The disadvantage is that the system volume will be adjusted frequently, which will affect the user experience; when processing in the time domain through software, the pcm voice data will be directly scaled The advantages of calculation are that the algorithm is simple and the amount of calculation is small. The disadvantage is that in theory, the noise in some voices will also be enlarged and reduced accordingly, but it is found that the impact on the user experience is not great during actual use. When processing, it is necessary to transform the pcm data into the frequency domain first, and then perform corresponding processing in the frequency domain, and then convert the data in the frequency domain into pcm data through inverse transformation. The advantage of processing in the frequency domain is that it can be used for each frequency band Data is controlled, and the required frequency band and data are scaled more purposefully. The disadvantage is that the algorithm is complex and the amount of calculation is relatively large.
When adjusting the volume of voice data through software, the advantage is that there is no need to operate the volume of the system microphone, which will not affect the system volume. The disadvantage is that it requires a certain amount of calculation and will have some impact on the sound quality.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Voice volume automatic adjustment method based on energy statistics

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] Specific embodiments of the present invention will be described below.

[0057] Such as figure 1 As shown, a method for automatic adjustment of voice volume based on energy statistics comprises the following steps:

[0058] Step (1), counting the energy average energy of each frame sampling point and the maximum peak peak among the absolute values ​​of the energy values ​​of all sampling points in this frame, the calculation formula is as follows:

[0059] energy=(|sample[0]|+...+|sample[count-1]|)÷count;

[0060] peak=max(|sample[0]|,...,|sample[count-1]|);

[0061] That is, the energy average energy is the sum of the absolute values ​​of the energy values ​​of each sampling point divided by the total number of sampling points in the frame; sample[i] represents the value of the i-th sampling point in the current voice data frame, 0 ≤i≤count-1, the data type of sample[i] is a 16-bit short type, and the value range is 32767≥sample[i]≥-32768;

[0062] Step (2), calcul...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a voice volume automatic adjustment method based on energy statistics. The voice volume automatic adjustment method based on the energy statistics includes the following steps: (1) counting the energy average value energy of the sample point of each point and the maximum peak value peak of the absolute values of the energy values of all the sample points in the frame; (2) calculating the average value energy_avg of the energy average value energy of the sample point of each frame from 0 to frame_index and the average value peak_avg of the maximum peak value peak; (3) calculating the amplification factor factor_max' and the reduction factor factor_min' in the next time quantum time; (4) judging the voice data of each frame in the next time quantum time, and amplifying or reducing through the reduction factor when amplification and reduction are needed; and (5) outputting the processed voice data frame and ending. The voice volume automatic adjustment method based on the energy statistics can predict the amplification factor and the reduction factor needed in the next time quantum by utilization of the similarity and the continuity of the voice data according to the voice data statistic information of the previous period, and meets the requirement of the practicability while reduces the complexity of the algorithm.

Description

technical field [0001] The invention belongs to the field of computer digital voice processing and communication, in particular to an automatic voice volume adjustment method based on energy statistics. Background technique [0002] In the field of voice processing and communication, such as online education systems, video conferencing systems, etc., the voice data input from the microphone may be too small or too large due to the influence of various situations. The voice volume is adjusted accordingly through the volume adjustment module. Increase or decrease can maintain a relatively stable volume level, which makes people sound more comfortable. [0003] In various speech processing communication systems, most of the systems have the function of automatic volume adjustment. There are two main implementation methods. One is to change the volume of the source voice collected from the microphone by adjusting the volume of the system microphone. It is realized by enlarging ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/16
Inventor 松春锋
Owner ZHEJIANG WANPENG EDUCATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products