CN112037771A

Volume adjustment method and device, electronic equipment and storage medium

Abstract

The embodiment of the invention relates to the field of speech recognition, and discloses a volume adjustment method and device, electronic equipment and a storage medium. The volume adjustment methodcomprises the steps: acquiring each audio sample in a training set for training a speech recognition model, wherein the speech recognition model is used for speech recognition; determining a volume value of each audio sample in the training set; determining a volume reference value of the training set according to the volume value of each audio sample; and adjusting the volume value of each audiosample according to the volume reference value, wherein the difference between the adjusted volume value of each audio sample and the volume reference value is within a preset difference range. According to the volume adjustment method provided by the embodiment of the invention, volume adjustment can be performed on each piece of audio data based on the whole training set, and the volume value of the audio samples in the training set is properly adjusted, so that the recognition effect of the speech recognition model is improved.

CN112037771A, drawing sheet 1
Sheet 1 of 1

Term

13.9 yearsto projected expiry

Projected expiry 28 August 2040, counted from filing; an application has no term until it is granted.

  1. Priority and filed
  2. Published
  3. Today
  4. Projected expiry

10 claims: 2 independent, 8 dependent

  1. 1
    1 A method for volume adjustment, comprising:obtaining each audio sample in a training set for training a speech recognition model;wherein the speech recognition model is used for speech recognition;determining each audio sample in the training set According to the volume value of each audio sample, determine the volume reference value of the training set;According to the volume reference value, adjust the volume value of each audio sample;wherein, the adjusted The difference between the volume value of each audio sample and the volume reference value is within a preset difference range. 1 .一种音量调节的方法,其特征在于,包括: 获取用于训练语音识别模型的训练集中的各音频样本;其中,所述语音识别模型用于 语音识别; 确定所述训练集中的各音频样本的音量值; 根据所述各音频样本的音量值,确定所述训练集的音量基准值; 根据所述音量基准值,对所述各音频样本的音量值进行调节;其中,调节后的所述各音 频样本的音量值与所述音量基准值的差值在预设的差值范围内。
  2. 8
    8 A device for realizing volume adjustment, characterized in that it comprises:8 .一种音量调节的实现装置,其特征在于,包括: An acquisition module for acquiring each audio sample in a training set for training a voice recognition model;wherein the voice recognition model is used for voice recognition;a calculation module for determining the volume value of each audio sample in the training set;The statistics module is used to determine the volume reference value of the training set according to the volume value of each audio sample;the adjustment module is used to adjust the volume value of each audio sample according to the volume reference value;wherein , The difference between the adjusted volume value of each audio sample and the volume reference value is within a preset difference range. 获取模块,用于获取用于训练语音识别模型的训练集中的各音频样本;其中,所述语音 识别模型用于语音识别; 计算模块,用于确定所述训练集中的各音频样本的音量值; 统计模块,用于根据所述各音频样本的音量值,确定所述训练集的音量基准值; 调节模块,用于根据所述音量基准值,对所述各音频样本的音量值进行调节;其中,调 节后的所述各音频样本的音量值与所述音量基准值的差值在预设的差值范围内。