[go: up one dir, main page]

CN113852893B - Data processing method and device, terminal and storage medium - Google Patents

Data processing method and device, terminal and storage medium Download PDF

Info

Publication number
CN113852893B
CN113852893B CN202010601664.9A CN202010601664A CN113852893B CN 113852893 B CN113852893 B CN 113852893B CN 202010601664 A CN202010601664 A CN 202010601664A CN 113852893 B CN113852893 B CN 113852893B
Authority
CN
China
Prior art keywords
amplitude
standard
input signal
signal
frequency band
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.)
Active
Application number
CN202010601664.9A
Other languages
Chinese (zh)
Other versions
CN113852893A (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010601664.9A priority Critical patent/CN113852893B/en
Publication of CN113852893A publication Critical patent/CN113852893A/en
Application granted granted Critical
Publication of CN113852893B publication Critical patent/CN113852893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/007Protection circuits for transducers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Tone Control, Compression And Expansion, Limiting Amplitude (AREA)

Abstract

The disclosure relates to a data processing method and device, a terminal and a storage medium. The method comprises the following steps: determining whether the amplitude of an input signal exceeds a standard according to the signal amplitude of the input signal; if the amplitude of the input signal exceeds the standard, determining an exceeding frequency band with the exceeding amplitude in the input signal; and performing dynamic range control DRC processing on the signals with the exceeding frequency bands in the input signals. By the method, signal distortion phenomenon can be reduced, and user experience is improved.

Description

数据处理方法及装置、终端和存储介质Data processing method and device, terminal and storage medium

技术领域Technical Field

本公开涉及电子设备技术领域,尤其涉及一种数据处理方法及装置、终端和存储介质。The present disclosure relates to the technical field of electronic equipment, and in particular to a data processing method and device, a terminal and a storage medium.

背景技术Background Art

动态范围控制(Dynamic Range Control,DRC)是一种在时域范围内,检测输入信号振幅,并控制输出信号振幅不超标的技术。主要用来控制音频输出的增益,以满足喇叭功率不超标的需求。Dynamic Range Control (DRC) is a technology that detects the input signal amplitude in the time domain and controls the output signal amplitude to not exceed the standard. It is mainly used to control the gain of the audio output to meet the requirement of not exceeding the speaker power.

DRC技术通过预先设置固定的频段,以及这个几个频段对应的振幅调节大小等DRC参数来实现对喇叭的保护。然而上述方式,存在频响不好,影响用户使用体验的问题。DRC technology protects the speaker by presetting fixed frequency bands and DRC parameters such as the amplitude adjustment size corresponding to these frequency bands. However, the above method has the problem of poor frequency response, which affects the user experience.

发明内容Summary of the invention

本公开提供一种数据处理方法及装置、终端和存储介质。The present disclosure provides a data processing method and device, a terminal and a storage medium.

根据本公开实施例的第一方面,提供一种数据处理方法,包括:According to a first aspect of an embodiment of the present disclosure, there is provided a data processing method, including:

根据输入信号的信号振幅,确定所述输入信号的振幅是否超标;Determining whether the amplitude of the input signal exceeds a standard according to the signal amplitude of the input signal;

若所述输入信号的振幅超标,确定所述输入信号中振幅超标的超标频段;If the amplitude of the input signal exceeds the standard, determining an excessive frequency band of the input signal where the amplitude exceeds the standard;

对所述输入信号中所述超标频段的信号,进行动态范围控制DRC处理。A dynamic range control (DRC) process is performed on the signal in the excess frequency band in the input signal.

可选的,所述根据输入信号的信号振幅,确定所述输入信号的振幅是否超标,包括:Optionally, determining whether the amplitude of the input signal exceeds a standard according to the signal amplitude of the input signal includes:

在所述输入信号中振幅超标的采样点大于或等于超标采样点数阈值时,确定所述输入信号的振幅超标。When the number of sampling points with amplitude exceeding the standard in the input signal is greater than or equal to a threshold of the number of sampling points exceeding the standard, it is determined that the amplitude of the input signal exceeds the standard.

可选的,所述在所述输入信号中振幅超标的采样点大于或等于超标采样点数阈值时,确定所述输入信号的振幅超标,包括:Optionally, when the number of sampling points in the input signal where the amplitude exceeds the standard is greater than or equal to a threshold number of sampling points exceeding the standard, determining that the amplitude of the input signal exceeds the standard includes:

在所述输入信号中振幅超标采样点大于或等于1个时,确定所述输入信号的振幅超标。When the number of sampling points in the input signal where the amplitude exceeds the standard is greater than or equal to one, it is determined that the amplitude of the input signal exceeds the standard.

可选的,所述若所述输入信号的振幅超标,确定所述输入信号中振幅超标的超标频段,包括:Optionally, if the amplitude of the input signal exceeds the standard, determining an excessive frequency band of the input signal in which the amplitude exceeds the standard includes:

若所述输入信号的振幅超标,将所述输入信号的振幅与已确定振幅达标的历史信号的振幅进行比较,得到所述输入信号比所述历史信号之间的振幅增加值;If the amplitude of the input signal exceeds the standard, the amplitude of the input signal is compared with the amplitude of a historical signal whose amplitude has been determined to meet the standard, to obtain an amplitude increase value between the input signal and the historical signal;

确定选择振幅增加值最大的至少一个频段为振幅超标的所述超标频段。At least one frequency band with the largest amplitude increase value is determined and selected as the excessive frequency band with excessive amplitude.

可选的,所述方法还包括:Optionally, the method further includes:

将所述输入信号和所述振幅达标的历史信号转换到频域;Convert the input signal and the historical signal with the amplitude reaching the standard into the frequency domain;

所述将所述输入信号的振幅与已确定振幅达标的历史信号的振幅进行比较,得到所述输入信号与所述历史信号之间的振幅增加值,包括:The step of comparing the amplitude of the input signal with the amplitude of a historical signal whose amplitude has been determined to meet the standard to obtain an amplitude increase value between the input signal and the historical signal includes:

在所述频域,将所述输入信号中预设频段的振幅与所述历史信号中所述预设频段的振幅进行比较,得到所述输入信号与所述历史信号在所述预设频段的所述振幅增加值。In the frequency domain, the amplitude of the preset frequency band in the input signal is compared with the amplitude of the preset frequency band in the historical signal to obtain the amplitude increase value of the input signal and the historical signal in the preset frequency band.

可选的,所述方法还包括:Optionally, the method further includes:

利用带通滤波器对所述输入信号做滤波处理,分离所述输入信号中所述超标频段的信号和振幅达标的达标频段的信号。The input signal is filtered by using a bandpass filter to separate the signal in the frequency band exceeding the standard and the signal in the frequency band meeting the standard whose amplitude meets the standard in the input signal.

可选的,所述方法还包括:Optionally, the method further includes:

将对所述超标频段的信号做所述DRC处理的处理后信号,与所述输入信号中所述达标频段的信号混合;Mixing the processed signal of the signal in the frequency band exceeding the standard with the signal in the frequency band meeting the standard in the input signal;

将所述混合后的信号输出至音频组件。The mixed signal is output to the audio component.

可选的,所述方法还包括:Optionally, the method further includes:

若所述输入信号的振幅未超标,将所述输入信号输出至音频组件。If the amplitude of the input signal does not exceed the limit, the input signal is output to the audio component.

根据本公开实施例的第二方面,提供一种数据处理装置,包括:According to a second aspect of an embodiment of the present disclosure, there is provided a data processing device, including:

第一确定模块,配置为根据输入信号的信号振幅,确定所述输入信号的振幅是否超标;A first determination module is configured to determine whether the amplitude of the input signal exceeds a standard according to the signal amplitude of the input signal;

第二确定模块,配置为若所述输入信号的振幅超标,确定所述输入信号中振幅超标的超标频段;A second determination module is configured to determine an excessive frequency band of the input signal where the amplitude exceeds the standard if the amplitude of the input signal exceeds the standard;

处理模块,配置为对所述输入信号中所述超标频段的信号,进行动态范围控制DRC处理。The processing module is configured to perform dynamic range control (DRC) processing on the signal in the out-of-standard frequency band in the input signal.

可选的,所述第一确定模块,具体配置为在所述输入信号中振幅超标的采样点大于或等于超标采样点数阈值时,确定所述输入信号的振幅超标。Optionally, the first determination module is specifically configured to determine that the amplitude of the input signal exceeds the standard when the number of sampling points with exceeding amplitude in the input signal is greater than or equal to a threshold number of exceeding sampling points.

可选的,所述第一确定模块,具体配置为在所述输入信号中振幅超标采样点大于或等于1个时,确定所述输入信号的振幅超标。Optionally, the first determination module is specifically configured to determine that the amplitude of the input signal exceeds the standard when the number of sampling points with amplitude exceeding the standard in the input signal is greater than or equal to one.

可选的,所述第二确定模块,具体配置为若所述输入信号的振幅超标,将所述输入信号的振幅与已确定振幅达标的历史信号的振幅进行比较,得到所述输入信号比所述历史信号之间的振幅增加值;确定选择振幅增加值最大的至少一个频段为振幅超标的所述超标频段。Optionally, the second determination module is specifically configured to compare the amplitude of the input signal with the amplitude of a historical signal whose amplitude has been determined to meet the standard, to obtain an amplitude increase value between the input signal and the historical signal if the amplitude of the input signal exceeds the standard; and determine to select at least one frequency band with the largest amplitude increase value as the exceeding frequency band with the amplitude exceeding the standard.

可选的,所述装置还包括:Optionally, the device further comprises:

转换模块,配置为将所述输入信号和所述振幅达标的历史信号转换到频域;A conversion module, configured to convert the input signal and the historical signal with amplitude reaching the standard into a frequency domain;

所述第二确定模块,具体配置为在所述频域,将所述输入信号中预设频段的振幅与所述历史信号中所述预设频段的振幅进行比较,得到所述输入信号与所述历史信号在所述预设频段的所述振幅增加值。The second determination module is specifically configured to compare, in the frequency domain, the amplitude of the preset frequency band in the input signal with the amplitude of the preset frequency band in the historical signal to obtain the amplitude increase value of the input signal and the historical signal in the preset frequency band.

可选的,所述装置还包括:Optionally, the device further comprises:

滤波模块,配置为利用带通滤波器对所述输入信号做滤波处理,分离所述输入信号中所述超标频段的信号和振幅达标的达标频段的信号。The filtering module is configured to filter the input signal using a bandpass filter to separate the signal in the frequency band exceeding the standard and the signal in the frequency band meeting the standard whose amplitude meets the standard in the input signal.

可选的,所述装置还包括:Optionally, the device further comprises:

混合模块,配置为将对所述超标频段的信号做所述DRC处理的处理后信号,与所述输入信号中所述达标频段的信号混合;a mixing module configured to mix a signal processed by performing the DRC processing on the signal in the frequency band exceeding the standard with a signal in the frequency band meeting the standard in the input signal;

第一输出模块,配置为将所述混合后的信号输出至音频组件。The first output module is configured to output the mixed signal to the audio component.

可选的,所述装置还包括:Optionally, the device further comprises:

第二输出模块,配置为若所述输入信号的振幅未超标,将所述输入信号输出至音频组件。The second output module is configured to output the input signal to the audio component if the amplitude of the input signal does not exceed the standard.

根据本公开实施例的第三方面,提供一种终端,包括:According to a third aspect of an embodiment of the present disclosure, a terminal is provided, including:

处理器;processor;

用于存储处理器可执行指令的存储器;a memory for storing processor-executable instructions;

其中,所述处理器被配置为执行如上述第一方面中所述的数据处理方法。Wherein, the processor is configured to execute the data processing method as described in the first aspect above.

根据本公开实施例的第四方面,提供一种存储介质,包括:According to a fourth aspect of an embodiment of the present disclosure, there is provided a storage medium, including:

当所述存储介质中的指令由计算机的处理器执行时,使得计算机能够执行如上述第一方面中所述的数据处理方法。When the instructions in the storage medium are executed by a processor of a computer, the computer is enabled to execute the data processing method as described in the first aspect above.

本公开的实施例提供的技术方案可以包括以下有益效果:The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

本公开实施例中,事先确定输入信号整体的振幅是否超标,在输入信号整体的振幅超标的情况下,确定输入信号中振幅超标的超标频段,并对超标频段的信号进行DRC处理。通过该种方式,相对于依据固定的分频区间,针对各分频区间采用各自对应的振幅确定标准并做DRC处理的方式,本公开能依据输入信号的整体振幅特性做处理,在整体的振幅超标的情况下,对振幅超标的超标频段的信号做DRC处理,因而能提升DRC处理的灵活性,减少因固定分频,在信号整体振幅不超标时对单个频段做压制,以及频段内某一频率振幅不超标时仍做压制后造成的信号失真的现象发生,减少输入信号处理后的失真现象,提升处理后输入信号的音质。In the embodiment of the present disclosure, it is determined in advance whether the overall amplitude of the input signal exceeds the standard. When the overall amplitude of the input signal exceeds the standard, the frequency band of the input signal with the amplitude exceeding the standard is determined, and the signal of the frequency band with the amplitude exceeding the standard is subjected to DRC processing. In this way, compared with the method of using the corresponding amplitude determination standard for each frequency division interval according to a fixed frequency division interval and performing DRC processing, the present disclosure can perform processing according to the overall amplitude characteristics of the input signal. When the overall amplitude exceeds the standard, the signal of the frequency band with the amplitude exceeding the standard is subjected to DRC processing, thereby improving the flexibility of DRC processing, reducing the signal distortion caused by the fixed frequency division, suppressing a single frequency band when the overall amplitude of the signal does not exceed the standard, and suppressing a certain frequency in the frequency band when the amplitude does not exceed the standard, reducing the distortion of the input signal after processing, and improving the sound quality of the processed input signal.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

图1是本公开实施例示出的一种数据处理方法流程图一。FIG. 1 is a flow chart 1 of a data processing method shown in an embodiment of the present disclosure.

图2是本公开实施例示出的一种数据处理方法流程图二。FIG. 2 is a second flow chart of a data processing method shown in an embodiment of the present disclosure.

图3是本公开实施例示出的一种数据处理方法流程图三。FIG. 3 is a flowchart of a data processing method according to an embodiment of the present disclosure.

图4是根据一示例性实施例示出的一种数据处理装置图。Fig. 4 is a diagram showing a data processing device according to an exemplary embodiment.

图5是本公开实施例示出的一种终端的框图。FIG. 5 is a block diagram of a terminal according to an embodiment of the present disclosure.

具体实施方式DETAILED DESCRIPTION

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

图1是本公开实施例示出的一种数据处理方法流程图一,如图1所示,应用于终端中的数据处理方法包括以下步骤:FIG. 1 is a flow chart 1 of a data processing method shown in an embodiment of the present disclosure. As shown in FIG. 1 , the data processing method applied in a terminal includes the following steps:

S11、根据输入信号的信号振幅,确定所述输入信号的振幅是否超标;S11, determining whether the amplitude of the input signal exceeds a standard according to the signal amplitude of the input signal;

S12、若所述输入信号的振幅超标,确定所述输入信号中振幅超标的超标频段;S12, if the amplitude of the input signal exceeds the standard, determining an excessive frequency band of the input signal where the amplitude exceeds the standard;

S13、对所述输入信号中所述超标频段的信号,进行动态范围控制DRC处理。S13: Performing a dynamic range control (DRC) process on the signal in the out-of-standard frequency band in the input signal.

在本公开的实施例中,终端设备包括:移动设备和固定设备;所述移动设备包括:手机、平板电脑等。所述固定设备包括但不限于个人电脑(Personal Computer,PC)。终端中包括音频组件,该音频组件可包括:音频输入组件和/或音频组件,比如麦克风和/或扬声器。例如扬声器为喇叭,可播放音乐或播放语音等。In the embodiments of the present disclosure, the terminal device includes: a mobile device and a fixed device; the mobile device includes: a mobile phone, a tablet computer, etc. The fixed device includes but is not limited to a personal computer (PC). The terminal includes an audio component, which may include: an audio input component and/or an audio component, such as a microphone and/or a speaker. For example, the speaker is a loudspeaker that can play music or voice, etc.

在本公开的实施例中,输入信号是指待输入到音频组件的音频信号,该输入信号为数字信号,例如待播放音乐的数字信号。该数字信号经如DRC处理后,再通过数模转换器(Digital to analog converter,DAC)转换成模拟信号输入给音频组件,通过音频组件输出至用户;或者,将输入音频经过DRC处理后存储为后续可播放的音频文件。In the embodiments of the present disclosure, the input signal refers to an audio signal to be input to the audio component, and the input signal is a digital signal, such as a digital signal of music to be played. The digital signal is processed by DRC, and then converted into an analog signal by a digital to analog converter (DAC) and input to the audio component, and then output to the user through the audio component; or, the input audio is processed by DRC and stored as an audio file that can be played later.

DRC的作用在于,减少音频失真且保护音频组件。若输入至音频组件的信号的振幅超标,在不采用DRC处理时,可能会引起削峰,即直接将振幅超标的频段的信号削除,从而引起信号失真;或者不进行DRC处理以及消峰处理,引起音频组件损坏。The role of DRC is to reduce audio distortion and protect audio components. If the amplitude of the signal input to the audio component exceeds the standard, it may cause peak clipping when DRC processing is not used, that is, the signal of the frequency band with excessive amplitude is directly cut off, causing signal distortion; or if DRC processing and peak clipping are not performed, the audio component may be damaged.

在本公开实施例中,先确定输入信号的振幅是否超标。该输入信号包括连续一段时长内采样的信号,例如包括512~2048帧的采样信号。不同采样时刻的信号的频段可能不同,其中,频段是指频率(HZ)范围,例如对音频数据,可分为低频、中频和高频等。通常人耳可以感受到的频率范围为20HZ~20KHZ,其中20HZ~1KHZ可能为低频段,1KHZ~10KHZ可能为中频段,10KHZ~20KHZ可能为高频段。In the disclosed embodiment, it is first determined whether the amplitude of the input signal exceeds the standard. The input signal includes a signal sampled within a continuous period of time, for example, a sampled signal including 512 to 2048 frames. The frequency bands of signals at different sampling times may be different, wherein the frequency band refers to the frequency (HZ) range, for example, for audio data, it can be divided into low frequency, medium frequency and high frequency, etc. The frequency range that the human ear can usually perceive is 20HZ to 20KHZ, of which 20HZ to 1KHZ may be a low frequency band, 1KHZ to 10KHZ may be a medium frequency band, and 10KHZ to 20KHZ may be a high frequency band.

步骤S11中,终端根据输入信号的信号振幅,确定输入信号的振幅是否超标,即根据各采样点的振幅,确定输入信号的振幅是否超标。其中,超标是指信号的振幅超过预设振幅阈值。In step S11, the terminal determines whether the amplitude of the input signal exceeds the standard according to the signal amplitude of the input signal, that is, determines whether the amplitude of the input signal exceeds the standard according to the amplitude of each sampling point. Exceeding the standard means that the amplitude of the signal exceeds the preset amplitude threshold.

在本公开的实施例中,在根据输入信号的信号振幅,确定输入信号的振幅是否超标时,可以以输入信号中任意一个或多个采样点的振幅为基础来确定,例如,只要有一个采样点的振幅超过预设振幅阈值,则确定输入信号的振幅超标;也可以根据输入信号中所有采样点的振幅来确定,例如,确定各采样点的振幅的均值,若均值超过预设振幅阈值,则确定输入信号的振幅超标。In an embodiment of the present disclosure, when determining whether the amplitude of the input signal exceeds the standard based on the signal amplitude of the input signal, the determination can be based on the amplitude of any one or more sampling points in the input signal. For example, as long as the amplitude of one sampling point exceeds a preset amplitude threshold, it is determined that the amplitude of the input signal exceeds the standard. It can also be determined based on the amplitudes of all sampling points in the input signal. For example, the average of the amplitudes of the sampling points is determined. If the average exceeds the preset amplitude threshold, it is determined that the amplitude of the input signal exceeds the standard.

在步骤S12中,若输入信号的振幅超标,则确定输入信号中振幅超标的超标频段。在本公开的实施例中,超标频段是指信号振幅超过预设振幅阈值的频段。In step S12, if the amplitude of the input signal exceeds the standard, an excessive frequency band of the input signal with an excessive amplitude is determined. In the embodiment of the present disclosure, the excessive frequency band refers to a frequency band where the signal amplitude exceeds a preset amplitude threshold.

在一种实施例中,超标频段可以直接根据当前输入信号以及振幅阈值来确定,例如,当输入信号中某一频段的信号的振幅超过该频段对应的振幅阈值时,则确定为超标频段。In one embodiment, the over-standard frequency band can be directly determined based on the current input signal and the amplitude threshold. For example, when the amplitude of a signal in a certain frequency band in the input signal exceeds the amplitude threshold corresponding to the frequency band, it is determined as the over-standard frequency band.

在另一种实施例中,超标频段也可以根据当前输入信号和历史信号来动态确定。历史信号包括但不限于终端中缓存的音频信号,该音频信号同样也是数字信号。通过对比输入信号和历史信号各频段的振幅值,来确定振幅值增加最多的频段为超标频段。In another embodiment, the frequency band exceeding the standard can also be dynamically determined based on the current input signal and the historical signal. The historical signal includes but is not limited to the audio signal buffered in the terminal, which is also a digital signal. By comparing the amplitude values of each frequency band of the input signal and the historical signal, the frequency band with the largest increase in amplitude value is determined as the frequency band exceeding the standard.

历史信号也可并非当前缓存的音频信号,而是已经从缓存中丢弃,但是历史信号的振幅被记录下来了。如此,可以根据当前输入信号和历史信号的振幅,来确定超标频段。The historical signal may not be the audio signal currently buffered, but has been discarded from the buffer, but the amplitude of the historical signal is recorded. In this way, the over-standard frequency band can be determined based on the amplitude of the current input signal and the historical signal.

在步骤S13中,在确定超标频段后,则对输入信号中超标频段的信号,进行DRC处理,经DRC处理后的超标频段的信号的振幅不超标。In step S13, after the frequency band exceeding the standard is determined, the signal of the frequency band exceeding the standard in the input signal is subjected to DRC processing, and the amplitude of the signal of the frequency band exceeding the standard after the DRC processing does not exceed the standard.

例如,若超标频段的信号的振幅高于预设振幅阈值,则减小该超标频段的信号的振幅。For example, if the amplitude of the signal in the frequency band exceeding the standard is higher than a preset amplitude threshold, the amplitude of the signal in the frequency band exceeding the standard is reduced.

如背景技术所述的,在一种方式中,DRC的实现方法是预先设置DRC作用频段范围与调节参数。然而,若音频信号整体的振幅不超标,仍进行DRC压制,则会使得信号失真,从而影响用户的听觉体验。此外,固定的频段范围做压制,则会将包含在同一频段范围内,但未超标的音频信号,一起压制,导致某些频率的声音的频响不好,从而影响用户的体验。As described in the background technology, in one way, the DRC implementation method is to pre-set the DRC action frequency band range and adjustment parameters. However, if the overall amplitude of the audio signal does not exceed the standard, DRC suppression will still be performed, which will cause signal distortion, thereby affecting the user's auditory experience. In addition, if a fixed frequency band is suppressed, audio signals that are included in the same frequency band but do not exceed the standard will be suppressed together, resulting in poor frequency response of sounds at certain frequencies, thereby affecting the user's experience.

而在本公开中,事先确定输入信号整体的振幅是否超标,在输入信号整体的振幅超标的情况下,确定输入信号中振幅超标的超标频段,并对超标频段的信号进行DRC处理。通过该种方式,相对于依据固定的分频区间,针对各分频区间采用各自对应的振幅判断标准并做DRC处理的方式,本公开能依据输入信号的整体振幅特性做处理,在整体的振幅超标的情况下,对振幅超标的超标频段的信号做DRC处理,因而能提升DRC处理的灵活性,减少因固定分频,在信号整体振幅不超标时对单个频段做压制,以及振幅不超标时仍做压制后造成的信号失真的现象发生,从而提升用户使用体验。In the present disclosure, it is determined in advance whether the overall amplitude of the input signal exceeds the standard. When the overall amplitude of the input signal exceeds the standard, the frequency band of the input signal with the amplitude exceeding the standard is determined, and the signal of the frequency band with the amplitude exceeding the standard is subjected to DRC processing. In this way, compared with the method of using a corresponding amplitude judgment standard for each frequency division interval and performing DRC processing based on a fixed frequency division interval, the present disclosure can process based on the overall amplitude characteristics of the input signal. When the overall amplitude exceeds the standard, the signal of the frequency band with the amplitude exceeding the standard is subjected to DRC processing. Therefore, the flexibility of DRC processing can be improved, and the signal distortion caused by the fixed frequency division, the suppression of a single frequency band when the overall amplitude of the signal does not exceed the standard, and the suppression when the amplitude does not exceed the standard can be reduced, thereby improving the user experience.

需要说明的是,在本公开的实施例中,当对超标频段的信号进行DRC处理后,该超标频段的振幅恢复到了正常范围,则取消对该频段的DRC处理。It should be noted that, in the embodiment of the present disclosure, when the signal of the out-of-standard frequency band is subjected to DRC processing, if the amplitude of the out-of-standard frequency band returns to the normal range, the DRC processing of the frequency band is cancelled.

在一种实施例中,所述根据输入信号的信号振幅,确定所述输入信号的振幅是否超标,包括:In one embodiment, determining whether the amplitude of the input signal exceeds a standard according to the signal amplitude of the input signal includes:

在所述输入信号中振幅超标的采样点大于或等于超标采样点数阈值时,确定所述输入信号的振幅超标。When the number of sampling points with amplitude exceeding the standard in the input signal is greater than or equal to a threshold of the number of sampling points exceeding the standard, it is determined that the amplitude of the input signal exceeds the standard.

在该实施例中,根据输入信号中振幅超标的采样点的个数来确定输入信号的振幅是否超标,当在振幅超标的采样点个数大于或等于超标采样点数阈值时,则确定输入信号的振幅超标。In this embodiment, whether the amplitude of the input signal exceeds the standard is determined based on the number of sampling points with exceeding amplitude in the input signal. When the number of sampling points with exceeding amplitude is greater than or equal to the exceeding sampling point number threshold, it is determined that the amplitude of the input signal exceeds the standard.

通过设置采样点数阈值的方式来进行判断,使得能根据判断振幅是否超标的精准度需求进行调节,具备灵活性。By setting the sampling point threshold, the judgment can be made according to the accuracy requirement of judging whether the amplitude exceeds the standard, which is flexible.

在一种实施例中,所述在所述输入信号中振幅超标的采样点大于或等于超标采样点数阈值时,确定所述输入信号的振幅超标,包括:In one embodiment, when the sampling points of the input signal having an amplitude exceeding the standard are greater than or equal to a threshold number of sampling points exceeding the standard, determining that the amplitude of the input signal exceeds the standard includes:

在所述输入信号中振幅超标采样点大于或等于1个时,确定所述输入信号的振幅超标。When the number of sampling points in the input signal where the amplitude exceeds the standard is greater than or equal to one, it is determined that the amplitude of the input signal exceeds the standard.

在该实施例中,当有一个采样点的振幅超标时,则有可能使得输入信号的振幅超标。因此,可设定超标采样点数阈值为1。通过该方式,能尽可能的从输入信号中确定出超标频段,并对超标频段的信号做DRC处理,能减少信号失真以及损坏喇叭的现象发生。In this embodiment, when the amplitude of a sampling point exceeds the standard, it is possible that the amplitude of the input signal exceeds the standard. Therefore, the threshold of the number of sampling points exceeding the standard can be set to 1. In this way, the frequency band exceeding the standard can be determined from the input signal as much as possible, and the signal of the frequency band exceeding the standard is processed by DRC, which can reduce signal distortion and speaker damage.

在一种实施例中,所述若所述输入信号的振幅超标,确定所述输入信号中振幅超标的超标频段,包括:In one embodiment, if the amplitude of the input signal exceeds the standard, determining the exceeding frequency band of the input signal in which the amplitude exceeds the standard includes:

若所述输入信号的振幅超标,将所述输入信号的振幅与已确定振幅达标的历史信号的振幅进行比较,得到所述输入信号比所述历史信号之间的振幅增加值;If the amplitude of the input signal exceeds the standard, the amplitude of the input signal is compared with the amplitude of a historical signal whose amplitude has been determined to meet the standard, to obtain an amplitude increase value between the input signal and the historical signal;

确定选择振幅增加值最大的至少一个频段为振幅超标的所述超标频段。At least one frequency band with the largest amplitude increase value is determined and selected as the excessive frequency band with excessive amplitude.

在该实施例中,当输入信号的振幅超标时,通过对比输入信号的振幅与已确定振幅达标的历史信号的振幅,来确定振幅的增加值,并将振幅增加值最大的至少一个频段确定为振幅超标的超标频段。In this embodiment, when the amplitude of the input signal exceeds the standard, the amplitude increase value is determined by comparing the amplitude of the input signal with the amplitude of a historical signal whose amplitude has been determined to meet the standard, and at least one frequency band with the largest amplitude increase value is determined as the exceeding frequency band with the amplitude exceeding the standard.

需要说明的是,振幅达标的历史信号为与输入信号连续采集的历史信号,该输入信号采用与当前输入信号同样的方式确定了振幅是否超标。如前所述的,该历史信号是终端中缓存的音频信号,该音频信号同样也是数字信号。It should be noted that the historical signal with amplitude reaching the standard is a historical signal collected continuously with the input signal, and the input signal uses the same method as the current input signal to determine whether the amplitude exceeds the standard. As mentioned above, the historical signal is an audio signal cached in the terminal, and the audio signal is also a digital signal.

在本公开的实施例中,振幅增加值最大的至少一个频段可以是对输入信号与历史信号之间的振幅增加值按大小顺序进行排序后,根据个数阈值确定的超标频段。In an embodiment of the present disclosure, at least one frequency band with the largest amplitude increase value may be an excess frequency band determined according to a number threshold after sorting the amplitude increase values between the input signal and the historical signal in order of magnitude.

例如,该个数阈值是1时,则选取的超标频段为振幅增加值最大的一个频段;若个数阈值是3,则选取的超标频段为振幅增加值最大的三个频段。For example, when the number threshold is 1, the selected frequency band that exceeds the standard is the frequency band with the largest amplitude increase value; if the number threshold is 3, the selected frequency bands that exceed the standard are the three frequency bands with the largest amplitude increase values.

通过将输入信号和振幅不超标的历史信号对比,确定振幅超标的超标频段。即实时动态检测,根据各频段振幅情况,动态调整DRC作用频段,避免了对不超标频段的影响。因而能使得输出信号的频响更好,提升用户体验。By comparing the input signal with the historical signal whose amplitude does not exceed the standard, the frequency band with the amplitude exceeding the standard is determined. That is, real-time dynamic detection is performed, and the DRC action frequency band is dynamically adjusted according to the amplitude of each frequency band, avoiding the impact on the frequency band that does not exceed the standard. Therefore, the frequency response of the output signal can be better, improving the user experience.

在一种实施例中,所述方法还包括:In one embodiment, the method further comprises:

将所述输入信号和所述振幅达标的历史信号转换到频域;Convert the input signal and the historical signal with the amplitude reaching the standard into the frequency domain;

所述将所述输入信号的振幅与已确定振幅达标的历史信号的振幅进行比较,得到所述输入信号与所述历史信号之间的振幅增加值,包括:The step of comparing the amplitude of the input signal with the amplitude of a historical signal whose amplitude has been determined to meet the standard to obtain an amplitude increase value between the input signal and the historical signal includes:

在所述频域,将所述输入信号中预设频段的振幅与所述历史信号中所述预设频段的振幅进行比较,得到所述输入信号与所述历史信号在所述预设频段的所述振幅增加值。In the frequency domain, the amplitude of the preset frequency band in the input signal is compared with the amplitude of the preset frequency band in the historical signal to obtain the amplitude increase value of the input signal and the historical signal in the preset frequency band.

在该实施例中,将输入信号和振幅达标的历史信号转换到频域,在频域来确定输入信号与历史信号之间的振幅增加值。In this embodiment, the input signal and the historical signal with amplitude reaching the standard are converted into the frequency domain, and the amplitude increase value between the input signal and the historical signal is determined in the frequency domain.

频域给出了频率与振幅之间的对应关系,因此通过频域可以方便的确定各预设频段对应的振幅增加值。其中,预设频段可以包括多个频段,预设频段数越多,则基于振幅增加值确定的超标频段越精细,对应的DRC处理也越精细,从而音频处理效果会更好。例如,预设频段可以是10个以上的频段。The frequency domain gives the corresponding relationship between frequency and amplitude, so the amplitude increase value corresponding to each preset frequency band can be easily determined through the frequency domain. Among them, the preset frequency band can include multiple frequency bands. The more preset frequency bands there are, the more precise the over-standard frequency band determined based on the amplitude increase value, the more precise the corresponding DRC processing is, and the better the audio processing effect will be. For example, the preset frequency band can be more than 10 frequency bands.

在将输入信号和振幅达标的历史信号转换到频域时,可采用傅里叶变换的方式。对于振幅达标的历史信号,经傅里叶变换后将各预设频段的振幅保存下来。对于输入信号,做傅里叶变换后将各预设频段的振幅值和对应存储的历史信号的各预设频段的振幅值进行对比,获得输入信号相对于历史信号在各预设频段的振幅增加值。根据振幅增加值,确定是哪个预设频段振幅增加较多,导致了整体振幅超标,从而认为该预设频段为超标频段。When converting the input signal and the historical signal with the amplitude meeting the standard to the frequency domain, the Fourier transform method can be used. For the historical signal with the amplitude meeting the standard, the amplitude of each preset frequency band is saved after the Fourier transform. For the input signal, after the Fourier transform, the amplitude value of each preset frequency band is compared with the amplitude value of each preset frequency band of the corresponding stored historical signal to obtain the amplitude increase value of the input signal in each preset frequency band relative to the historical signal. According to the amplitude increase value, it is determined which preset frequency band has a larger amplitude increase, resulting in the overall amplitude exceeding the standard, and the preset frequency band is considered to be the exceeding frequency band.

例如,以20HZ~20KHZ范围的频段为例,预设频段可包括15个频段,其中包括200HZ~400HZ、401HZ~500HZ、501HZ~1KHZ、1.1KHZ~2KHZ等。当播放《渡口》歌曲时,蔡琴的歌声在500Hz~2KHz之间,鼓的声音在400Hz以内。蔡琴的歌声是连续的,鼓的声音是偶尔出现的。若当前输入信号包括鼓的声音,可能会导致整体振幅超标。对比振幅未超标的历史信号(蔡琴的歌声)中预设频段的振幅,因历史信号中不存在200HZ~400HZ频段信号,发现当前输入信号的整体振幅超标时,包括400Hz频段的信号的振幅增加值最大,于是,将鼓声所属的频段确定为超标频段。For example, taking the frequency band in the range of 20HZ to 20KHZ as an example, the preset frequency band may include 15 frequency bands, including 200HZ to 400HZ, 401HZ to 500HZ, 501HZ to 1KHZ, 1.1KHZ to 2KHZ, etc. When playing the song "Crossing", Tsai Chin's singing voice is between 500Hz and 2KHz, and the sound of the drum is within 400Hz. Tsai Chin's singing voice is continuous, and the sound of the drum appears occasionally. If the current input signal includes the sound of the drum, it may cause the overall amplitude to exceed the standard. Comparing the amplitude of the preset frequency band in the historical signal (Tsai Chin's singing voice) whose amplitude does not exceed the standard, because there is no 200HZ to 400HZ frequency band signal in the historical signal, it is found that when the overall amplitude of the current input signal exceeds the standard, the amplitude increase value of the signal including the 400Hz frequency band is the largest, so the frequency band to which the drum sound belongs is determined as the frequency band that exceeds the standard.

而在一种实施例中,根据固定的频段范围来做DRC处理时,同一个分频区间中,可能既有振幅超标的信号,比如:18KHz,也有振幅不超标的正常声音信号,比如:18.5KHz。而因为该振幅超标的信号和振幅不超标的信号都在一个分频区间,所以会经DRC处理后一起压制,从而导致声音变化不正常,频响不好。In one embodiment, when DRC processing is performed based on a fixed frequency band, in the same frequency division interval, there may be both signals with amplitudes exceeding the standard, such as 18KHz, and normal sound signals with amplitudes within the standard, such as 18.5KHz. Because the signals with amplitudes exceeding the standard and the signals with amplitudes within the standard are both in the same frequency division interval, they will be suppressed together after DRC processing, resulting in abnormal sound changes and poor frequency response.

例如:《渡口》歌曲中,蔡琴的低音与鼓的声音,都在低频范围内。当出现敲鼓的声音时,如果蔡琴的低音和鼓的声音叠加后的振幅超过了低频范围对应的振幅,则在DRC作用下,蔡琴的歌声一起压制。因为蔡琴的歌声是连续的,而鼓的声音是不连续的,因此会导致蔡琴的歌声,音量一会大一会小。For example, in the song "Crossing the River", Tsai Chin's bass and the sound of the drums are both in the low-frequency range. When the sound of the drums is played, if the amplitude of the superposition of Tsai Chin's bass and the sound of the drums exceeds the amplitude corresponding to the low-frequency range, then under the action of DRC, Tsai Chin's singing voice will be suppressed together. Because Tsai Chin's singing voice is continuous, while the sound of the drums is discontinuous, the volume of Tsai Chin's singing voice will be louder and lower.

而在本公开的实施例中,和振幅不超标的历史信号对比,动态确定振幅超标的超标频段,并只对超标频段做DRC处理(例如,确定超标频段是鼓声所在的频段,只压制鼓声的频段),而其余频段不做DRC处理,避免了对不超标频段的影响,即在选取做DRC压制的信号时更精细,减少了对不必要频段的处理,因而能提升用户的使用体验。In the embodiments of the present invention, by comparing with historical signals whose amplitude does not exceed the standard, the frequency band with excessive amplitude is dynamically determined, and DRC processing is performed only on the excessive frequency band (for example, the excessive frequency band is determined to be the frequency band where the drum sound is located, and only the frequency band of the drum sound is suppressed), while the remaining frequency bands are not subjected to DRC processing, thereby avoiding the influence on the frequency band that does not exceed the standard, that is, the signal for DRC suppression is selected more precisely, and the processing of unnecessary frequency bands is reduced, thereby improving the user experience.

在一种实施例中,所述方法还包括:In one embodiment, the method further comprises:

利用带通滤波器对所述输入信号做滤波处理,分离所述输入信号中所述超标频段的信号和振幅达标的达标频段的信号。The input signal is filtered by using a bandpass filter to separate the signal in the frequency band exceeding the standard and the signal in the frequency band meeting the standard whose amplitude meets the standard in the input signal.

带通滤波器允许特定频段的波通过,因此在该实施例中,可利用带通滤波器对输入信号做滤波处理,分离出输入信号中超标频段的信号以及振幅达标的达标频段的信号。The bandpass filter allows waves in a specific frequency band to pass through. Therefore, in this embodiment, the bandpass filter can be used to filter the input signal to separate the signals in the input signal in the frequency band that exceeds the standard and the signals in the frequency band that meets the standard amplitude.

可以理解的是,通过带通滤波器,方便分离出输入信号中超标频段的信号,终端即可对超标频段的信号进行DRC处理。It can be understood that, by using a bandpass filter, it is convenient to separate the signal in the frequency band exceeding the standard in the input signal, and the terminal can perform DRC processing on the signal in the frequency band exceeding the standard.

需要说明的是,在本公开的一种实施例中,带通滤波器的滤波参数是可调的,通过可调节滤波参数的带通滤波器实现对不同超标频段的信号的过滤。It should be noted that, in an embodiment of the present disclosure, the filtering parameters of the bandpass filter are adjustable, and the filtering of signals in different over-standard frequency bands is achieved by using the bandpass filter with adjustable filtering parameters.

在另一种实施例中,终端中也可设置有多个带通滤波器,终端可根据确定的超标频段,选取与超标频段对应的滤波器,来分离超标频段的信号以及振幅达标的达标频段的信号。例如,可过滤不同频段信号的滤波器存储在不同路径,根据当前确定的超标频段,选取对应路径的带通滤波器对输入信号进行处理。In another embodiment, a plurality of bandpass filters may also be provided in the terminal, and the terminal may select a filter corresponding to the frequency band that exceeds the standard according to the determined frequency band that exceeds the standard, to separate the signal of the frequency band that exceeds the standard from the signal of the frequency band that meets the standard amplitude. For example, filters that can filter signals of different frequency bands are stored in different paths, and according to the currently determined frequency band that exceeds the standard, a bandpass filter of the corresponding path is selected to process the input signal.

图2是本公开实施例示出的一种数据处理方法流程图二,如图2所示,应用于终端中的数据处理方法包括以下步骤:FIG. 2 is a flow chart 2 of a data processing method shown in an embodiment of the present disclosure. As shown in FIG. 2 , the data processing method applied in the terminal includes the following steps:

S11、根据输入信号的信号振幅,确定所述输入信号的振幅是否超标;S11, determining whether the amplitude of the input signal exceeds a standard according to the signal amplitude of the input signal;

S12、若所述输入信号的振幅超标,确定所述输入信号中振幅超标的超标频段;S12, if the amplitude of the input signal exceeds the standard, determining an excessive frequency band of the input signal where the amplitude exceeds the standard;

S13、对所述输入信号中所述超标频段的信号,进行动态范围控制DRC处理;S13, performing a dynamic range control (DRC) process on the signal in the frequency band exceeding the standard in the input signal;

S14、将对所述超标频段的信号做所述DRC处理的处理后信号,与所述输入信号中所述达标频段的信号混合;S14, mixing the processed signal of the signal in the frequency band exceeding the standard with the signal in the frequency band meeting the standard in the input signal;

S15、将所述混合后的信号输出至音频组件。S15. Output the mixed signal to the audio component.

在该实施例中,经过步骤S11~S13确定振幅超标的超标频段,并对超标频段的信号进行DRC处理后,即可将做DRC处理的处理后信号,与输入信号中达标频段的信号混合,将混合后的信号输出至音频组件,通过该种方式,以不损失输入至音频组件的信号。In this embodiment, after steps S11 to S13 determine the excessive frequency band with excessive amplitude, and perform DRC processing on the signal in the excessive frequency band, the processed signal after DRC processing can be mixed with the signal in the standard frequency band of the input signal, and the mixed signal can be output to the audio component. In this way, the signal input to the audio component is not lost.

图3是本公开实施例示出的一种数据处理方法流程图三,如图3所示,应用于终端中的数据处理方法包括以下步骤:FIG. 3 is a flow chart 3 of a data processing method shown in an embodiment of the present disclosure. As shown in FIG. 3 , the data processing method applied in the terminal includes the following steps:

S11、根据输入信号的信号振幅,确定所述输入信号的振幅是否超标;S11, determining whether the amplitude of the input signal exceeds a standard according to the signal amplitude of the input signal;

S16、若所述输入信号的振幅未超标,将所述输入信号输出至音频组件。S16: If the amplitude of the input signal does not exceed the standard, output the input signal to the audio component.

在该实施例中,若输入信号的振幅不超标,则说明该输入信号通过音频组件输出时,不会使音频组件损坏,且输出的音量不会导致用户不舒服。因而,在本公开的实施例中,若输入信号的振幅未超标,则直接将输入信号输出至音频组件。In this embodiment, if the amplitude of the input signal does not exceed the standard, it means that when the input signal is output through the audio component, the audio component will not be damaged, and the output volume will not cause discomfort to the user. Therefore, in the embodiment of the present disclosure, if the amplitude of the input signal does not exceed the standard, the input signal is directly output to the audio component.

可以理解的是,通过该种方式,无需在输入信号整体的振幅不超标时,对振幅超标的单个频段的信号进行DRC压制,从而能减少信号失真,影响用户体验的现象发生。It can be understood that, through this method, there is no need to perform DRC suppression on the signal of a single frequency band with an amplitude exceeding the standard when the overall amplitude of the input signal does not exceed the standard, thereby reducing signal distortion and affecting the user experience.

图4是根据一示例性实施例示出的一种数据处理装置图。参照图4,该数据处理装置包括:Fig. 4 is a diagram of a data processing device according to an exemplary embodiment. Referring to Fig. 4, the data processing device includes:

第一确定模块101,配置为根据输入信号的信号振幅,确定所述输入信号的振幅是否超标;A first determination module 101 is configured to determine whether the amplitude of the input signal exceeds a standard according to the signal amplitude of the input signal;

第二确定模块102,配置为若所述输入信号的振幅超标,确定所述输入信号中振幅超标的超标频段;The second determination module 102 is configured to determine an excessive frequency band of the input signal where the amplitude exceeds the standard if the amplitude of the input signal exceeds the standard;

处理模块103,配置为对所述输入信号中所述超标频段的信号,进行动态范围控制DRC处理。The processing module 103 is configured to perform a dynamic range control (DRC) process on the signal in the out-of-standard frequency band in the input signal.

可选的,所述第一确定模块101,具体配置为在所述输入信号中振幅超标的采样点大于或等于超标采样点数阈值时,确定所述输入信号的振幅超标。Optionally, the first determination module 101 is specifically configured to determine that the amplitude of the input signal exceeds the standard when the number of sampling points with exceeding amplitude in the input signal is greater than or equal to a threshold of the number of exceeding sampling points.

可选的,所述第一确定模块101,具体配置为在所述输入信号中振幅超标采样点大于或等于1个时,确定所述输入信号的振幅超标。Optionally, the first determination module 101 is specifically configured to determine that the amplitude of the input signal exceeds the standard when the number of sampling points with amplitude exceeding the standard in the input signal is greater than or equal to one.

可选的,所述第二确定模块102,具体配置为若所述输入信号的振幅超标,将所述输入信号的振幅与已确定振幅达标的历史信号的振幅进行比较,得到所述输入信号比所述历史信号之间的振幅增加值;确定选择振幅增加值最大的至少一个频段为振幅超标的所述超标频段。Optionally, the second determination module 102 is specifically configured to compare the amplitude of the input signal with the amplitude of a historical signal whose amplitude has been determined to meet the standard, to obtain an amplitude increase value between the input signal and the historical signal if the amplitude of the input signal exceeds the standard; and determine to select at least one frequency band with the largest amplitude increase value as the exceeding frequency band with the exceeding amplitude.

可选的,所述装置还包括:Optionally, the device further comprises:

转换模块104,配置为将所述输入信号和所述振幅达标的历史信号转换到频域;A conversion module 104, configured to convert the input signal and the historical signal with amplitude reaching the standard into a frequency domain;

所述第二确定模块102,具体配置为在所述频域,将所述输入信号中预设频段的振幅与所述历史信号中所述预设频段的振幅进行比较,得到所述输入信号与所述历史信号在所述预设频段的所述振幅增加值。The second determination module 102 is specifically configured to compare the amplitude of the preset frequency band in the input signal with the amplitude of the preset frequency band in the historical signal in the frequency domain to obtain the amplitude increase value of the input signal and the historical signal in the preset frequency band.

可选的,所述装置还包括:Optionally, the device further comprises:

滤波模块105,配置为利用带通滤波器对所述输入信号做滤波处理,分离所述输入信号中所述超标频段的信号和振幅达标的达标频段的信号。The filtering module 105 is configured to filter the input signal using a bandpass filter to separate the signal in the frequency band exceeding the standard from the signal in the frequency band meeting the standard with the amplitude meeting the standard.

可选的,所述装置还包括:Optionally, the device further comprises:

混合模块106,配置为将对所述超标频段的信号做所述DRC处理的处理后信号,与所述输入信号中所述达标频段的信号混合;A mixing module 106, configured to mix the signal processed by the DRC processing on the signal of the frequency band exceeding the standard with the signal of the frequency band meeting the standard in the input signal;

第一输出模块107,配置为将所述混合后的信号输出至音频组件。The first output module 107 is configured to output the mixed signal to the audio component.

可选的,所述装置还包括:Optionally, the device further comprises:

第二输出模块108,配置为若所述输入信号的振幅未超标,将所述输入信号输出至音频组件。The second output module 108 is configured to output the input signal to the audio component if the amplitude of the input signal does not exceed the limit.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

图5是根据一示例性实施例示出的一种移动终端装置800的框图。例如,装置800可以是移动电话,移动电脑等。Fig. 5 is a block diagram of a mobile terminal device 800 according to an exemplary embodiment. For example, the device 800 may be a mobile phone, a mobile computer, etc.

参照图5,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。5 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input/output (I/O) interface 812 , a sensor component 814 , and a communication component 816 .

处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

存储器804被配置为存储各种类型的数据以支持在设备800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

电源组件806为装置800的各种组件提供电力。电力组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。The power component 806 provides power to the various components of the device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

音频组件810被配置为输出和/或输入音频数据。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频数据。所接收的音频数据可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频数据。The audio component 810 is configured to output and/or input audio data. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive external audio data. The received audio data can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio data.

I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。I/O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到设备800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 814 can detect the open/closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如Wi-Fi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

一种非临时性计算机可读存储介质,当所述存储介质中的指令由终端的处理器执行时,使得终端能够执行控制方法,所述方法包括:A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a terminal, enables the terminal to perform a control method, the method comprising:

根据输入信号的信号振幅,确定所述输入信号的振幅是否超标;Determining whether the amplitude of the input signal exceeds a standard according to the signal amplitude of the input signal;

若所述输入信号的振幅超标,确定所述输入信号中振幅超标的超标频段;If the amplitude of the input signal exceeds the standard, determining an excessive frequency band of the input signal where the amplitude exceeds the standard;

对所述输入信号中所述超标频段的信号,进行动态范围控制DRC处理。A dynamic range control (DRC) process is performed on the signal in the frequency band exceeding the standard in the input signal.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1.一种数据处理方法,其特征在于,所述方法包括:1. A data processing method, characterized in that the method comprises: 根据输入信号的信号振幅,确定所述输入信号的振幅是否超标;Determining whether the amplitude of the input signal exceeds a standard according to the signal amplitude of the input signal; 将所述输入信号和已确定振幅达标的历史信号转换到频域;Convert the input signal and the historical signal whose amplitude has been determined to meet the standard into the frequency domain; 若所述输入信号的振幅超标,在所述频域,将所述输入信号中预设频段的振幅与所述历史信号中所述预设频段的振幅进行比较,得到所述输入信号与所述历史信号在所述预设频段的振幅增加值;其中,历史信号包括缓存的音频信号;If the amplitude of the input signal exceeds the standard, in the frequency domain, the amplitude of the preset frequency band in the input signal is compared with the amplitude of the preset frequency band in the historical signal to obtain an amplitude increase value of the input signal and the historical signal in the preset frequency band; wherein the historical signal includes a cached audio signal; 确定选择振幅增加值最大的频段为振幅超标的超标频段;Determine and select the frequency band with the largest amplitude increase value as the frequency band exceeding the standard where the amplitude exceeds the standard; 对所述输入信号中所述超标频段的信号,进行动态范围控制DRC处理。A dynamic range control (DRC) process is performed on the signal in the frequency band exceeding the standard in the input signal. 2.根据权利要求1所述的方法,其特征在于,所述根据输入信号的信号振幅,确定所述输入信号的振幅是否超标,包括:2. The method according to claim 1, characterized in that the step of determining whether the amplitude of the input signal exceeds a standard according to the signal amplitude of the input signal comprises: 在所述输入信号中振幅超标的采样点的个数大于或等于超标采样点数阈值时,确定所述输入信号的振幅超标。When the number of sampling points whose amplitude exceeds the standard in the input signal is greater than or equal to a threshold of the number of sampling points exceeding the standard, it is determined that the amplitude of the input signal exceeds the standard. 3.根据权利要求2所述的方法,其特征在于,所述在所述输入信号中振幅超标的采样点的个数大于或等于超标采样点数阈值时,确定所述输入信号的振幅超标,包括:3. The method according to claim 2, characterized in that when the number of sampling points with amplitude exceeding the standard in the input signal is greater than or equal to a threshold of the number of sampling points exceeding the standard, determining that the amplitude of the input signal exceeds the standard comprises: 在所述输入信号中振幅超标的采样点的个数大于或等于1个时,确定所述输入信号的振幅超标。When the number of sampling points in the input signal whose amplitude exceeds the standard is greater than or equal to 1, it is determined that the amplitude of the input signal exceeds the standard. 4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, characterized in that the method further comprises: 利用带通滤波器对所述输入信号做滤波处理,分离所述输入信号中所述超标频段的信号和振幅达标的达标频段的信号。The input signal is filtered by using a bandpass filter to separate the signal in the frequency band exceeding the standard and the signal in the frequency band meeting the standard whose amplitude meets the standard in the input signal. 5.根据权利要求4所述的方法,其特征在于,所述方法还包括:5. The method according to claim 4, characterized in that the method further comprises: 将对所述超标频段的信号做所述DRC处理的处理后信号,与所述输入信号中所述达标频段的信号混合;Mixing the processed signal of the signal in the frequency band exceeding the standard with the signal in the frequency band meeting the standard in the input signal; 将混合后的信号输出至音频组件。The mixed signal is output to the audio component. 6.根据权利要求1所述的方法,其特征在于,所述方法还包括:6. The method according to claim 1, characterized in that the method further comprises: 若所述输入信号的振幅未超标,将所述输入信号输出至音频组件。If the amplitude of the input signal does not exceed the limit, the input signal is output to the audio component. 7.一种数据处理装置,其特征在于,所述装置包括:7. A data processing device, characterized in that the device comprises: 第一确定模块,配置为根据输入信号的信号振幅,确定所述输入信号的振幅是否超标;A first determination module is configured to determine whether the amplitude of the input signal exceeds a standard according to the signal amplitude of the input signal; 转换模块,配置为将所述输入信号和已确定振幅达标的历史信号转换到频域;A conversion module, configured to convert the input signal and the historical signal whose amplitude has been determined to meet the standard into a frequency domain; 第二确定模块,配置为若所述输入信号的振幅超标,在所述频域,将所述输入信号中预设频段的振幅与所述历史信号中所述预设频段的振幅进行比较,得到所述输入信号与所述历史信号在所述预设频段的振幅增加值;确定选择振幅增加值最大的频段为振幅超标的超标频段;其中,历史信号包括缓存的音频信号;The second determination module is configured to compare the amplitude of a preset frequency band in the input signal with the amplitude of the preset frequency band in the historical signal in the frequency domain to obtain an amplitude increase value of the input signal and the historical signal in the preset frequency band if the amplitude of the input signal exceeds the standard; determine and select the frequency band with the largest amplitude increase value as the frequency band with the amplitude exceeding the standard; wherein the historical signal includes a cached audio signal; 处理模块,配置为对所述输入信号中所述超标频段的信号,进行动态范围控制DRC处理。The processing module is configured to perform a dynamic range control (DRC) process on the signal in the out-of-standard frequency band in the input signal. 8.根据权利要求7所述的装置,其特征在于,8. The device according to claim 7, characterized in that 所述第一确定模块,具体配置为在所述输入信号中振幅超标的采样点的个数大于或等于超标采样点数阈值时,确定所述输入信号的振幅超标。The first determination module is specifically configured to determine that the amplitude of the input signal exceeds the standard when the number of sampling points with exceeding amplitude in the input signal is greater than or equal to a threshold of the number of exceeding sampling points. 9.根据权利要求8所述的装置,其特征在于,9. The device according to claim 8, characterized in that 所述第一确定模块,具体配置为在所述输入信号中振幅超标的采样点的个数大于或等于1个时,确定所述输入信号的振幅超标。The first determination module is specifically configured to determine that the amplitude of the input signal exceeds the standard when the number of sampling points in the input signal whose amplitude exceeds the standard is greater than or equal to one. 10.根据权利要求7所述的装置,其特征在于,所述装置还包括:10. The device according to claim 7, characterized in that the device further comprises: 滤波模块,配置为利用带通滤波器对所述输入信号做滤波处理,分离所述输入信号中所述超标频段的信号和振幅达标的达标频段的信号。The filtering module is configured to filter the input signal using a bandpass filter to separate the signal in the frequency band exceeding the standard and the signal in the frequency band meeting the standard whose amplitude meets the standard in the input signal. 11.根据权利要求10所述的装置,其特征在于,所述装置还包括:11. The device according to claim 10, characterized in that the device further comprises: 混合模块,配置为将对所述超标频段的信号做所述DRC处理的处理后信号,与所述输入信号中所述达标频段的信号混合;a mixing module configured to mix a signal processed by performing the DRC processing on the signal in the frequency band exceeding the standard with a signal in the frequency band meeting the standard in the input signal; 第一输出模块,配置为将所述混合后的信号输出至音频组件。The first output module is configured to output the mixed signal to the audio component. 12.根据权利要求7所述的装置,其特征在于,所述装置还包括:12. The device according to claim 7, characterized in that the device further comprises: 第二输出模块,配置为若所述输入信号的振幅未超标,将所述输入信号输出至音频组件。The second output module is configured to output the input signal to the audio component if the amplitude of the input signal does not exceed the standard. 13.一种终端,其特征在于,包括:13. A terminal, comprising: 处理器;processor; 用于存储处理器可执行指令的存储器;a memory for storing processor-executable instructions; 其中,所述处理器被配置为执行如权利要求1至6中任一项所述的数据处理方法。The processor is configured to execute the data processing method according to any one of claims 1 to 6. 14.一种非临时性计算机可读存储介质,其特征在于,当所述存储介质中的指令由计算机的处理器执行时,使得计算机能够执行如权利要求1至6中任一项所述的数据处理方法。14. A non-transitory computer-readable storage medium, characterized in that when the instructions in the storage medium are executed by a processor of a computer, the computer is enabled to execute the data processing method according to any one of claims 1 to 6.
CN202010601664.9A 2020-06-28 2020-06-28 Data processing method and device, terminal and storage medium Active CN113852893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010601664.9A CN113852893B (en) 2020-06-28 2020-06-28 Data processing method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010601664.9A CN113852893B (en) 2020-06-28 2020-06-28 Data processing method and device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113852893A CN113852893A (en) 2021-12-28
CN113852893B true CN113852893B (en) 2024-11-05

Family

ID=78972736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010601664.9A Active CN113852893B (en) 2020-06-28 2020-06-28 Data processing method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113852893B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114793275B (en) * 2022-03-09 2024-01-23 深圳康佳电子科技有限公司 Image signal processing method, device, terminal and storage medium
CN114697801B (en) * 2022-04-29 2025-02-28 歌尔股份有限公司 Audio glasses and audio signal processing method and storage medium thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205596314U (en) * 2016-05-05 2016-09-21 深圳Tcl数字技术有限公司 Multistage DRC control circuit and electronic equipment
CN108540886A (en) * 2018-04-17 2018-09-14 建荣半导体(深圳)有限公司 A kind of method for protecting hearing ability, system, storage device and bluetooth headset

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6771701B1 (en) * 1999-05-12 2004-08-03 Infineon Technologies North America Corporation Adaptive filter divergence control in echo cancelers by means of amplitude distribution evaluation with configurable hysteresis
CN1979639B (en) * 2005-12-03 2011-07-27 鸿富锦精密工业(深圳)有限公司 Silencing treatment device and method
CN101516055B (en) * 2008-02-18 2010-06-09 昊迪移通(北京)技术有限公司 Method and device capable of simulating three-dimensional echo sound effect in different acoustic environments
JP4275724B1 (en) * 2008-07-16 2009-06-10 株式会社新川 Bonding quality determination method, bonding quality determination device, and bonding apparatus
US9654866B2 (en) * 2012-01-27 2017-05-16 Conexant Systems, Inc. System and method for dynamic range compensation of distortion
CN104123947B (en) * 2013-04-27 2017-05-31 中国科学院声学研究所 Sound encoding system and system based on band limit quadrature component
TWI543638B (en) * 2014-01-28 2016-07-21 宏達國際電子股份有限公司 Sound producing system and audio amplyfying method thereof
US10021485B2 (en) * 2015-11-17 2018-07-10 Cirrus Logic, Inc. Prevention of signal clipping due to decrease in amplifier supply voltage
CN107277683B (en) * 2016-04-07 2023-07-04 深圳市三诺数字科技有限公司 Audio amplification system and method
KR102441950B1 (en) * 2017-08-11 2022-09-08 삼성전자 주식회사 Method for amplifying audio signal based on size of the audio signal and electronic device implementing the same
CN109788402B (en) * 2019-01-31 2021-04-13 维沃移动通信有限公司 Audio signal processing method and audio signal processing device
CN110931021B (en) * 2019-10-29 2023-10-13 平安科技(深圳)有限公司 Audio signal processing method and device
CN111128167B (en) * 2019-12-30 2023-10-27 深圳创维-Rgb电子有限公司 Far-field voice awakening method and device, electronic product and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205596314U (en) * 2016-05-05 2016-09-21 深圳Tcl数字技术有限公司 Multistage DRC control circuit and electronic equipment
CN108540886A (en) * 2018-04-17 2018-09-14 建荣半导体(深圳)有限公司 A kind of method for protecting hearing ability, system, storage device and bluetooth headset

Also Published As

Publication number Publication date
CN113852893A (en) 2021-12-28

Similar Documents

Publication Publication Date Title
RU2653355C2 (en) Volume adjustment method and apparatus and terminal
US20170318374A1 (en) Headset, an apparatus and a method with automatic selective voice pass-through
CN107493500B (en) Multimedia resource playing method and device
US10121491B2 (en) Intelligent volume control interface
US10510361B2 (en) Audio processing apparatus that outputs, among sounds surrounding user, sound to be provided to user
CN108845787B (en) Audio adjusting method, device, terminal and storage medium
CN113852893B (en) Data processing method and device, terminal and storage medium
CN111770404A (en) Recording method, recording device, electronic equipment and readable storage medium
CN113810828A (en) Audio signal processing method and device, readable storage medium and earphone
CN112037825B (en) Audio signal processing method and device and storage medium
CN108093132B (en) Terminal device and ringtone volume control method
CN115550791A (en) Audio processing method, device, earphone and storage medium
CN111698593B (en) Active noise reduction method and device, and terminal
EP3941027B1 (en) Adaptive method and apparatus for intelligent terminal, and terminal
CN108347522A (en) Adjust the method and device of volume
WO2015030642A1 (en) Volume reduction for an electronic device
CN109511040B (en) Whisper amplifying method and device and earphone
CN114554353B (en) Audio processing method, device, equipment and storage medium
CN115278441A (en) Voice detection method, device, earphone and storage medium
CN113660594B (en) Self-adjusting noise reduction method and device for hearing aid system
CN114442990B (en) Volume adjustment method, device and storage medium
KR20120115941A (en) Apparatus and method for auto adjustment of volume in a portable terminal
JP2019179944A (en) Voice changeover device
CN114979889A (en) Method and device for reducing occlusion effect of earphone, earphone and storage medium
CN118574050A (en) Audio processing method and device, ear wearing equipment and storage 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
GR01 Patent grant
GR01 Patent grant