CN110364172B - Method and device for realizing dynamic range control and computing equipment - Google Patents

Method and device for realizing dynamic range control and computing equipment Download PDF

Info

Publication number
CN110364172B
CN110364172B CN201910644786.3A CN201910644786A CN110364172B CN 110364172 B CN110364172 B CN 110364172B CN 201910644786 A CN201910644786 A CN 201910644786A CN 110364172 B CN110364172 B CN 110364172B
Authority
CN
China
Prior art keywords
dynamic range
range control
data
module
output
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
CN201910644786.3A
Other languages
Chinese (zh)
Other versions
CN110364172A (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.)
Buildwin International Zhuhai Ltd
Jianrong Semiconductor Shenzhen Co ltd
Original Assignee
Buildwin International Zhuhai Ltd
Jianrong Semiconductor Shenzhen 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 Buildwin International Zhuhai Ltd, Jianrong Semiconductor Shenzhen Co ltd filed Critical Buildwin International Zhuhai Ltd
Priority to CN201910644786.3A priority Critical patent/CN110364172B/en
Publication of CN110364172A publication Critical patent/CN110364172A/en
Application granted granted Critical
Publication of CN110364172B publication Critical patent/CN110364172B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/003Changing voice quality, e.g. pitch or formants
    • G10L21/007Changing voice quality, e.g. pitch or formants characterised by the process used

Abstract

The invention relates to the field of sound processing, and provides a method, a device and computing equipment for realizing dynamic range control, so as to solve the problem of unnatural connection of conversion intervals in a DRC algorithm and improve the quality and accuracy of voice sound. The method comprises the following steps: inputting digital data into one of a plurality of dynamic range control subsystems to be processed to obtain staged output data; the original digital data or the staged output data is used as the input of another subsystem in the plurality of dynamic range control subsystems, and the other subsystem in the plurality of dynamic range control subsystems processes the original digital data or the staged output data to obtain another staged output data; and repeating the process until the last dynamic range control subsystem outputs data as a final output result. Compared with the prior art that data subjected to RMS and/or peak value calculation are added and distinguished at the same time in a plurality of intervals, the technical scheme provided by the invention solves the problem of unnatural connection of the conversion intervals in the DRC algorithm, and improves the sound quality and accuracy during voice processing.

Description

Method and device for realizing dynamic range control and computing equipment
Technical Field
The invention belongs to the field of sound processing, and particularly relates to a method, a device and computing equipment for realizing dynamic range control.
Background
Dynamic Range Control (DRC) is an algorithm commonly used for sound volume Control, and performs different processes in different energy Range intervals. The Noise Gate (Noise Gate), the Expander (Expander), the Compressor (Compressor) and the Limiter (Limiter) are four nodes of the system with energy from low to high, and the four nodes divide the whole system into four intervals.
Generally, each interval, except for the linear interval (linear region) between the Expander gate (ET) and the Compressor gate (CT), has its own Time parameters, such as Attack Time (AT) and/or Recovery Time (RT) and gain selection, respectively adjusted to account for the different behavior of the different range intervals. The Static Curve of the goal (Static Curve) depicts the behavior of a system DRC, and the general method is to input digital data after setting these ranges according to respective requirements, and through Root Mean Square (RMS) and/or peak value (peak) calculation, add discrimination to these several intervals at the same time, to discriminate which interval of the above four intervals the calculated energy value is located, and process by the parameter value that distinguishes this interval.
Although the above method has a Time AVeraging coefficient (TAV) or an impact Time (AT)/Recovery Time (RT) smoothing process when calculating the energy value by Root Mean Square (RMS) and/or peak value (peak), the frequent transition interval can be pre-processed for digital data with fast variation; furthermore, regarding the impulse time/recovery time smoothing (AT/RT smoothing) process of the tail end, each interval has different time parameters to satisfy the required behavior of each interval, so in the process of frequently switching intervals, the connection is not natural enough due to many calculations and/or parameter variations, and even noise is generated.
Disclosure of Invention
The invention provides a method, a device and a computing device for realizing dynamic range control, which aim to solve the problem of unnatural connection of conversion intervals in a DRC algorithm and improve the sound quality and accuracy during voice processing.
A first aspect of the present invention provides a method of implementing dynamic range control, the method comprising:
inputting digital data into one of a plurality of dynamic range control subsystems to be processed to obtain staged output data, wherein the digital data comprises original digital data or digital data output after being processed by the dynamic range control subsystems, the dynamic range control subsystems comprise a root-mean-square calculation module and a processor corresponding to one of four intervals, and the four intervals comprise intervals into which voice energy to be processed is divided according to size by a noise gate, an expander, a compressor and a limiter;
the original digital data or the staged output data is used as the input of another subsystem in the plurality of dynamic range control subsystems, and the other subsystem in the plurality of dynamic range control subsystems processes the original digital data or the staged output data to obtain another staged output data;
and repeating the process until the last dynamic range control subsystem outputs data, wherein the data output by the last dynamic range control subsystem is used as a final output result.
A second aspect of the present invention provides an apparatus for implementing dynamic range control, the apparatus comprising:
the system comprises a first output system, a second output system and a third output system, wherein the first output system is used for inputting digital data into one of a plurality of dynamic range control subsystems to be processed and then obtaining staged output data, the digital data comprises original digital data or digital data output after being processed by the dynamic range control subsystems, the dynamic range control subsystems comprise a root mean square calculation module and a processor corresponding to one of four intervals, and the four intervals comprise intervals into which voice energy to be processed is divided according to the size by a noise gate, an expander, a compressor and a limiter;
the second output system is used for taking the original digital data or the staged output data as the input of another subsystem in the dynamic range control subsystems, and obtaining another staged output data after being processed by another subsystem in the dynamic range control subsystems;
and repeating the process until the last dynamic range control subsystem outputs data, wherein the data output by the last dynamic range control subsystem is used as a final output result.
A third aspect of the invention provides a computing device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method when executing the computer program:
inputting digital data into one of a plurality of dynamic range control subsystems to be processed to obtain staged output data, wherein the digital data comprises original digital data or digital data output after being processed by the dynamic range control subsystems, the dynamic range control subsystems comprise a root-mean-square calculation module and a processor corresponding to one of four intervals, and the four intervals comprise intervals into which voice energy to be processed is divided according to size by a noise gate, an expander, a compressor and a limiter;
the original digital data or the staged output data is used as the input of another subsystem in the plurality of dynamic range control subsystems, and the other subsystem in the plurality of dynamic range control subsystems processes the original digital data or the staged output data to obtain another staged output data;
and repeating the process until the last dynamic range control subsystem outputs data, wherein the data output by the last dynamic range control subsystem is used as a final output result.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium, in which a computer program is stored, the computer program, when executed by a processor, implementing the steps of the method:
inputting digital data into one of a plurality of dynamic range control subsystems to be processed to obtain staged output data, wherein the digital data comprises original digital data or digital data output after being processed by the dynamic range control subsystems, the dynamic range control subsystems comprise a root-mean-square calculation module and a processor corresponding to one of four intervals, and the four intervals comprise intervals into which voice energy to be processed is divided according to size by a noise gate, an expander, a compressor and a limiter;
the original digital data or the staged output data is used as the input of another subsystem in the plurality of dynamic range control subsystems, and the other subsystem in the plurality of dynamic range control subsystems processes the original digital data or the staged output data to obtain another staged output data;
and repeating the process until the last dynamic range control subsystem outputs data, wherein the data output by the last dynamic range control subsystem is used as a final output result.
It can be known from the above technical solutions provided by the present invention that, because original digital data or data output after being processed by one dynamic range control subsystem is used as input of another dynamic range control subsystem, each dynamic range control subsystem, i.e. a certain interval, can independently process digital data without being affected by other intervals, therefore, compared with the prior art that several intervals are added with judgment on data after RMS and/or peak value calculation at the same time, the technical solutions provided by the present invention solve the problem of unnatural linking of conversion intervals in DRC algorithm, and improve sound quality and accuracy during speech processing.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic implementation flow diagram of a method for implementing dynamic range control according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a prior art dynamic range control system;
FIG. 3 is a schematic structural diagram of a dynamic range control subsystem according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an apparatus for implementing dynamic range control according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a target static curve provided by an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an apparatus for implementing dynamic range control according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a computing device according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 1 is a schematic diagram of an implementation flow of a method for implementing dynamic range control according to an embodiment of the present invention, which mainly includes the following steps S101 to S102, and the following detailed description:
s101, inputting digital data into one of a plurality of dynamic range control subsystems to be processed to obtain stage output data, wherein the digital data comprises original digital data or digital data output after being processed by the dynamic range control subsystems, the dynamic range control subsystems comprise a root mean square calculation module and a processor corresponding to one of four intervals, and the four intervals comprise intervals into which voice energy to be processed is divided according to size through a noise gate, an expander, a compressor and a limiter.
It should be noted that the "interval" in the embodiment of the present invention is the same as the interval mentioned in the background art, that is, the interval into which the voice energy to be processed is divided according to the size by the noise gate, the expander, the compressor, and the limiter.
S102, the original digital data or the stage output data is used as the input of another subsystem in the dynamic range control subsystems, and the other subsystem in the dynamic range control subsystems processes the original digital data or the stage output data to obtain the other stage output data.
And repeating the processes of the steps S101 and S102, namely, taking the output of one dynamic range control subsystem as the input of another dynamic range control subsystem each time until the last dynamic range control subsystem outputs data, and taking the data output by the last dynamic range control subsystem as a final output result.
It should be noted that, in the embodiment of the present invention, the time parameters of the smoothing module of each dynamic range control subsystem, for example, AT, RT, and the like, are adapted to the fixed parameters of the section to which the gain of the data processed by the root mean square calculation module belongs.
As an embodiment of the present invention, the dynamic range control subsystem includes a delay module, a multiplier, a root-mean-square calculation module, a section determination module, a processor, a smoothing module, and a processor corresponding to one of four sections, where the delay module is connected to an input terminal of the root-mean-square calculation module, an output terminal of the root-mean-square calculation module is connected to an input terminal of the section determination module, an output terminal of the section determination module is connected to an input terminal of the processor, an output terminal of the processor is connected to an input terminal of the smoothing module, an output terminal of the smoothing module is connected to an output terminal of the delay module, and an output terminal of the smoothing module and an output terminal of the delay module are both connected to an input terminal of the multiplier, as shown in fig. 3. Step S102 uses the original digital data or the staged output data as another part of the dynamic range control subsystemsThe input of the system is processed by another of the dynamic range control subsystems to obtain another stage output data, i.e. the output of one dynamic range control subsystem, i.e. yn-1(k) As an input to another dynamic range control subsystem, i.e. xn(k) Essentially, each of the dynamic range control subsystems shown in FIG. 3 are connected end to end, i.e., the output of the dynamic range control subsystem in which processor (n-1) is located is connected to the input of the dynamic range control subsystem in which processor (n) is located, thereby forming a new dynamic range control system, as shown in FIG. 4. The dynamic range control system shown in fig. 4 is obviously different from the dynamic range control system shown in the prior art, i.e., fig. 2, in that the processing mechanisms of the two are also different.
As an embodiment of the present invention, the original digital data or the staged output data is used as an input of another subsystem of the plurality of dynamic range control subsystems, and the another staged output data obtained after the processing by the another subsystem of the plurality of dynamic range control subsystems may be: inputting original digital data or staged output data into a root-mean-square calculation module for processing; judging the interval of four intervals to which the gain of the data processed by the root mean square calculation module belongs; the processor corresponding to the gain belonging interval of the data processed by the root mean square calculation module is input to a smoothing processing module of another subsystem in the plurality of dynamic range control subsystems for processing; the data processed by the smoothing module of the other subsystem is multiplied by the data processed by the delay module, and the multiplied result is output as another stage output data, where the multiplication can be realized by the multiplier of fig. 3 or fig. 4.
It should be noted that the implementation of fig. 4 or step S102 emphasizes that each processor can obtain the advantages of independence and parameter unification during the process of the precedence order, however, the precedence order is not a constant structure, but the user finds the most suitable precedence order according to the patterns of different target Static curves (Static curves). For example, as the Expander (Expander) and the Compressor (Compressor) included in the Static Curve (Static Curve) illustrated in fig. 5, the ideal Curve is as a gray solid line (the dashed line y in the figure is a reference Curve, which is used to compare with the Static Curve, and can quickly evaluate the performance of the Static Curve), the Expander gate (ET) is-42 dB, the Compressor gate (CT) is-24 dB, the output is 0dB when the input is 0dB, and the output is-12 dB when the input is-24 dB. If this condition is handled first by the Expander (Expander), then the output Y has already reached 0dB when the input X is-12 dB, the input X is greater than-12 dB, the output Y is greater than 0dB, and distortion begins in some digital data, as shown by the dotted line. Therefore, such an architecture should be handled by the compressor in preference to the expander without adding other processors.
It can be known from the method for implementing dynamic range control illustrated in fig. 1 that, because original digital data or data output after being processed by one dynamic range control subsystem is input to another dynamic range control subsystem, each dynamic range control subsystem, that is, a certain interval can independently process digital data without being affected by other intervals, compared with the prior art that several intervals are added with judgment on data after RMS and/or peak value calculation at the same time, the technical solution provided by the present invention solves the problem of unnatural connection of conversion intervals in DRC algorithm, and improves sound quality and accuracy during speech processing.
Fig. 6 is a schematic diagram of an apparatus for implementing dynamic range control according to an embodiment of the present invention. For convenience of description, only the portions related to the present invention are shown. The apparatus for implementing dynamic range control illustrated in fig. 6 mainly includes a first output system 601 and a second output system 602, which are described in detail as follows:
the first output system 601 is used for inputting digital data into one of the dynamic range control subsystems to be processed to obtain staged output data, wherein the digital data comprises original digital data or digital data output after being processed by the dynamic range control subsystems, the dynamic range control subsystems comprise a root mean square calculation module and a processor corresponding to one of four intervals, and the four intervals comprise intervals into which voice energy to be processed is divided according to size by a noise gate, an expander, a compressor and a limiter;
a second output system 602, configured to obtain periodic output data as an input of another subsystem of the multiple dynamic range control subsystems after processing raw digital data or one subsystem of the multiple dynamic range control subsystems, and obtain another periodic output data after processing the other subsystem of the multiple dynamic range control subsystems;
the first output system 601 and the second output system 602 repeat the above process until the last dynamic range control subsystem outputs data, and the data output by the last dynamic range control subsystem is used as the final output result.
It should be noted that, because the apparatus for implementing dynamic range control provided in the embodiment of the present invention is based on the same concept as the method embodiment of the present invention, the technical effect thereof is the same as the method embodiment of the present invention, and specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
Optionally, the second output system 602 illustrated in fig. 6 may include a first input module, an interval determination module, a second input module, and a multiplier, wherein:
the first input module is used for inputting original digital data or staged output data into the root-mean-square calculation module for processing;
the interval judgment module is used for judging the interval of the four intervals to which the gain of the data processed by the root mean square calculation module belongs;
the second input module is used for being processed by a processor corresponding to the interval to which the gain of the data processed by the root mean square calculation module belongs and then being input to a smoothing processing module of another subsystem in the plurality of dynamic range control subsystems for processing;
and the multiplier is used for multiplying the data processed by the smoothing processing module and the data processed by the delay module, and the multiplied result is output as another stage output data.
Optionally, the time parameter of the smoothing module of another subsystem of the plurality of dynamic range control subsystems is adapted to the fixed parameter of the section to which the gain of the data processed by the root mean square calculation module belongs.
Optionally, the dynamic range control subsystem includes a delay module, a multiplier, a root mean square calculation module, an interval judgment module, a processor, a smoothing module, and a processor corresponding to one of four intervals, where the delay module is connected to an input of the root mean square calculation module, an output of the root mean square calculation module is connected to an input of the interval judgment module, an output of the interval judgment module is connected to an input of the processor, an output of the processor is connected to an input of the smoothing module, an output of the smoothing module is connected to an output of the delay module, and an output of the smoothing module and an output of the delay module are both connected to an input of the multiplier.
Fig. 7 is a schematic structural diagram of a computing device according to an embodiment of the present invention. As shown in fig. 7, the computing device 7 of this embodiment mainly includes: a processor 70, a memory 71 and a computer program 72, e.g. a program implementing the method of dynamic range control, stored in the memory 71 and executable on the processor 70. The steps in the above-described method embodiment of implementing dynamic range control, such as steps S101 to S102 shown in fig. 1, are implemented when the processor 70 executes the computer program 72. Alternatively, the processor 70, when executing the computer program 72, implements the functions of each module/unit in each device embodiment described above, such as the functions of the first output system 601 and the second output system 602 shown in fig. 6.
Illustratively, the computer program 72 implementing the method of dynamic range control mainly includes: inputting digital data into one of a plurality of dynamic range control subsystems to be processed to obtain staged output data, wherein the digital data comprises original digital data or digital data output after being processed by the dynamic range control subsystems, the dynamic range control subsystems comprise a root-mean-square calculation module and a processor corresponding to one of four intervals, and the four intervals comprise intervals into which voice energy to be processed is divided according to size by a noise gate, an expander, a compressor and a limiter; the original digital data or the stage output data is used as the input of another subsystem in the dynamic range control subsystems, the other subsystem in the dynamic range control subsystems is used for processing to obtain the other stage output data, the process is repeated, namely the output of one dynamic range control subsystem is used as the input of the other dynamic range control subsystem every time until the output data of the last dynamic range control subsystem is output, and the output data of the last dynamic range control subsystem is used as the final output result. The computer program 72 may be divided into one or more modules/units, which are stored in the memory 71 and executed by the processor 70 to accomplish the present invention. One or more modules/units may be a series of computer program instruction segments capable of performing specific functions that describe the execution of computer program 72 in computing device 7. For example, the computer program 72 may be divided into functions of the first output system 601 and the second output system 602 (modules in the virtual device), and the specific functions of each module are as follows: the first output system 601 is used for inputting digital data into one of the dynamic range control subsystems to be processed to obtain staged output data, wherein the digital data comprises original digital data or digital data output after being processed by the dynamic range control subsystems, the dynamic range control subsystems comprise a root mean square calculation module and a processor corresponding to one of four intervals, and the four intervals comprise intervals into which voice energy to be processed is divided according to size by a noise gate, an expander, a compressor and a limiter; a second output system 602, configured to obtain periodic output data as an input of another subsystem of the multiple dynamic range control subsystems after processing raw digital data or one subsystem of the multiple dynamic range control subsystems, and obtain another periodic output data after processing the other subsystem of the multiple dynamic range control subsystems; the first output system 601 and the second output system 602 repeat the above process until the last dynamic range control subsystem outputs data, and the data output by the last dynamic range control subsystem is used as the final output result.
Computing device 7 may include, but is not limited to, a processor 70, a memory 71. Those skilled in the art will appreciate that fig. 7 is merely an example of computing device 7 and does not constitute a limitation of computing device 7 and may include more or fewer components than shown, or some of the components may be combined, or different components, e.g., the computing device may also include input-output devices, network access devices, buses, etc.
The Processor 70 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Memory 71 may be an internal storage unit of computing device 7, such as a hard disk or memory of computing device 7. The memory 71 may also be an external storage device of the computing device 7, such as a plug-in hard disk provided on the computing device 7, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 71 may also include both an internal storage unit of the computing device 7 and an external storage device. The memory 71 is used to store computer programs and other programs and data required by the computing device. The memory 71 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules, so as to perform all or part of the functions described above. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus/computing device and method may be implemented in other ways. For example, the above-described apparatus/computing device embodiments are merely illustrative, and for example, a division of modules or units is merely a logical division, and an actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the above embodiments may be implemented by a computer program to instruct related hardware, the computer program implementing the method for controlling dynamic range may be stored in a computer-readable storage medium, which when executed by a processor, may carry out the steps of the various method embodiments described above, namely, digital data is input into one subsystem of a plurality of dynamic range control subsystems to be processed to obtain staged output data, the digital data comprises original digital data or digital data output after being processed by a dynamic range control subsystem, the dynamic range control subsystem comprises a root mean square calculation module and a processor corresponding to one of four intervals, and the four intervals comprise intervals into which voice energy to be processed is divided according to the size by a noise gate, an expander, a compressor and a limiter; the original digital data or the stage output data is used as the input of another subsystem in the dynamic range control subsystems, the other subsystem in the dynamic range control subsystems is used for processing to obtain the other stage output data, the process is repeated, namely the output of one dynamic range control subsystem is used as the input of the other dynamic range control subsystem every time until the output data of the last dynamic range control subsystem is output, and the output data of the last dynamic range control subsystem is used as the final output result. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals. The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method for realizing dynamic range control is characterized in that each dynamic range control subsystem is formed by connecting the head and the tail of each dynamic range control subsystem, the output end of the dynamic range control subsystem where a processor n-1 is located is connected with the input end of the dynamic range control subsystem where the processor n is located, and therefore a new dynamic range control system is formed; the method comprises the following steps:
inputting digital data into one of a plurality of dynamic range control subsystems to be processed to obtain staged output data, wherein the digital data comprises original digital data or digital data output after being processed by the dynamic range control subsystems, the dynamic range control subsystems comprise a root-mean-square calculation module and a processor corresponding to one of four intervals, and the four intervals comprise intervals into which voice energy to be processed is divided according to size by a noise gate, an expander, a compressor and a limiter;
the original digital data or the staged output data is used as the input of another subsystem in the plurality of dynamic range control subsystems, and the other subsystem in the plurality of dynamic range control subsystems processes the original digital data or the staged output data to obtain another staged output data;
and repeating the process until the last dynamic range control subsystem outputs data, wherein the data output by the last dynamic range control subsystem is used as a final output result.
2. The method of claim 1, wherein the using the original digital data or the staged output data as an input of another of the plurality of dynamic range control subsystems, the another staged output data being obtained after processing by another of the plurality of dynamic range control subsystems, comprises:
inputting the original digital data or the staged output data into the root-mean-square calculation module for processing;
judging the interval of the four intervals to which the gain of the data processed by the root mean square calculation module belongs;
the processor corresponding to the gain belonging interval of the data processed by the root mean square calculation module is processed and then input to a smoothing processing module of another subsystem in the plurality of dynamic range control subsystems for processing;
and multiplying the data processed by the smoothing module and the data processed by the delay module, and outputting the multiplied result as the other stage output data.
3. The method of claim 2, wherein the time parameter of the smoothing module of another of the plurality of dynamic range control subsystems is adapted to the fixed parameter of the interval to which the gain of the data processed by the root-mean-square calculation module belongs.
4. Method for implementing dynamic range control according to any of claims 1 to 3, the dynamic range control subsystem comprises a delay module, a multiplier, a root-mean-square calculation module, an interval judgment module, a processor, a smoothing processing module and a processor corresponding to one of four intervals, wherein, the delay module is connected with the input end of the root mean square calculation module, the output end of the root mean square calculation module is connected with the input end of the interval judgment module, the output end of the interval judgment module is connected with the input end of the processor, the output end of the processor is connected with the input end of the smoothing processing module, the output end of the smoothing module is connected with the output end of the delay module, and the output end of the smoothing module and the output end of the delay module are both connected with the input end of the multiplier.
5. A device for realizing dynamic range control is characterized in that each dynamic range control subsystem is formed by connecting the head and the tail of each dynamic range control subsystem, the output end of the dynamic range control subsystem where a processor n-1 is located is connected with the input end of the dynamic range control subsystem where the processor n is located, and therefore a new dynamic range control system is formed; the device comprises:
the system comprises a first output system, a second output system and a third output system, wherein the first output system is used for inputting digital data into one of a plurality of dynamic range control subsystems to be processed and then obtaining staged output data, the digital data comprises original digital data or digital data output after being processed by the dynamic range control subsystems, the dynamic range control subsystems comprise a root mean square calculation module and a processor corresponding to one of four intervals, and the four intervals comprise intervals into which voice energy to be processed is divided according to the size by a noise gate, an expander, a compressor and a limiter;
the second output system is used for taking the original digital data or the staged output data as the input of another subsystem in the dynamic range control subsystems, and obtaining another staged output data after being processed by another subsystem in the dynamic range control subsystems;
and repeating the process until the last dynamic range control subsystem outputs data, wherein the data output by the last dynamic range control subsystem is used as a final output result.
6. The apparatus for implementing dynamic range control of claim 5, wherein said second output system comprises:
the first input module is used for inputting the original digital data or the staged output data into the root-mean-square calculation module for processing;
the interval judgment module is used for judging the interval of the four intervals to which the gain of the data processed by the root mean square calculation module belongs;
the second input module is used for being processed by a processor corresponding to the interval to which the gain of the data processed by the root mean square calculation module belongs and then being input to a smoothing processing module of another subsystem in the plurality of dynamic range control subsystems for processing;
and the multiplier is used for multiplying the data processed by the smoothing processing module and the data processed by the delay module, and the multiplied result is output as the other stage output data.
7. The apparatus for performing dynamic range control of claim 6, wherein the time parameter of the smoothing module of another of said plurality of dynamic range control subsystems is adapted to the fixed parameter of the interval to which the gain of the data processed by said root mean square calculation module belongs.
8. The apparatus for implementing dynamic range control as claimed in any one of claims 5 to 7, the dynamic range control subsystem comprises a delay module, a multiplier, a root-mean-square calculation module, an interval judgment module, a processor, a smoothing processing module and a processor corresponding to one of four intervals, wherein, the delay module is connected with the input end of the root mean square calculation module, the output end of the root mean square calculation module is connected with the input end of the interval judgment module, the output end of the interval judgment module is connected with the input end of the processor, the output end of the processor is connected with the input end of the smoothing processing module, the output end of the smoothing module is connected with the output end of the delay module, and the output end of the smoothing module and the output end of the delay module are both connected with the input end of the multiplier.
9. A computing device comprising a memory, a processor and a computer program stored in the memory and running on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201910644786.3A 2019-07-16 2019-07-16 Method and device for realizing dynamic range control and computing equipment Active CN110364172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910644786.3A CN110364172B (en) 2019-07-16 2019-07-16 Method and device for realizing dynamic range control and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910644786.3A CN110364172B (en) 2019-07-16 2019-07-16 Method and device for realizing dynamic range control and computing equipment

Publications (2)

Publication Number Publication Date
CN110364172A CN110364172A (en) 2019-10-22
CN110364172B true CN110364172B (en) 2022-01-25

Family

ID=68220209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910644786.3A Active CN110364172B (en) 2019-07-16 2019-07-16 Method and device for realizing dynamic range control and computing equipment

Country Status (1)

Country Link
CN (1) CN110364172B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6498960B1 (en) * 1999-02-01 2002-12-24 Sony Corporation Receiver for digital audio broadcast
CN101800051A (en) * 2009-02-09 2010-08-11 美国博通公司 The method of processing signals and the system of audio signal
CN202095090U (en) * 2011-06-08 2011-12-28 北京昆腾微电子有限公司 Device used for emitting audio signals as well as device used for receiving audio signals and wireless audio communicating system
CN102361506A (en) * 2011-06-08 2012-02-22 北京昆腾微电子有限公司 Wireless audio communication system, and method and equipment for transmitting audio signal
EP3038106A1 (en) * 2014-12-24 2016-06-29 Nxp B.V. Audio signal enhancement
CN107731236A (en) * 2014-11-06 2018-02-23 阿哈隆·丹尼尔·谢费尔 Method and apparatus for the dynamic range compression of sound

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112185398A (en) * 2012-05-18 2021-01-05 杜比实验室特许公司 System for maintaining reversible dynamic range control information associated with a parametric audio encoder

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6498960B1 (en) * 1999-02-01 2002-12-24 Sony Corporation Receiver for digital audio broadcast
CN101800051A (en) * 2009-02-09 2010-08-11 美国博通公司 The method of processing signals and the system of audio signal
CN202095090U (en) * 2011-06-08 2011-12-28 北京昆腾微电子有限公司 Device used for emitting audio signals as well as device used for receiving audio signals and wireless audio communicating system
CN102361506A (en) * 2011-06-08 2012-02-22 北京昆腾微电子有限公司 Wireless audio communication system, and method and equipment for transmitting audio signal
CN107731236A (en) * 2014-11-06 2018-02-23 阿哈隆·丹尼尔·谢费尔 Method and apparatus for the dynamic range compression of sound
EP3038106A1 (en) * 2014-12-24 2016-06-29 Nxp B.V. Audio signal enhancement

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
多通道广播源音频处理技术研究;李艳刚;《硕士专业学位论文》;20160115;第34-47页 *

Also Published As

Publication number Publication date
CN110364172A (en) 2019-10-22

Similar Documents

Publication Publication Date Title
CN109993296B (en) Quantitative implementation method and related product
US10291994B2 (en) Determination method and apparatus for preset of audio equalizer (AEQ)
US20110113081A1 (en) Signal processing circuit
WO2020102928A1 (en) Wireless signal transmission method, wireless signal transmission device and terminal device
CN110364172B (en) Method and device for realizing dynamic range control and computing equipment
WO2009093324A1 (en) Image processing device, image processing method, image processing program, and image correction device
EP3748857A1 (en) Compressor circuit, wallace tree circuit, multiplier circuit, chip and device
CN109088678B (en) Calibration method of wireless chip predistortion circuit, mobile terminal and storage medium
CN109102468A (en) Image enchancing method, device, terminal device and storage medium
CN111277429A (en) SerDes parameter screening method, device, system and readable storage medium
CN109417616B (en) Method and apparatus for image processing
CN110232905B (en) Uplink noise reduction method and device and electronic equipment
JP2024503917A (en) Motor, its harmonic noise optimization method, and device
CN111862894A (en) Backlight brightness adjusting method, device, terminal and readable storage medium
US9954515B2 (en) Biquad stage having a selectable bit precision
CN116388696B (en) Noise signal generation method and device
CN113448718A (en) Method, apparatus and computer-readable storage medium for frequency modulation of a chip
CN110910439A (en) Image resolution estimation method and device and terminal
CN113448379A (en) Method, apparatus and computer-readable storage medium for frequency modulation of a chip
CN117580143B (en) Automatic gain control method and system based on dual-mode communication unit
CN109286422A (en) A kind of method of intelligence separating device and the noise coefficient for adjusting radio frequency link
CN110855260A (en) Load adjusting method and device in transmission network and terminal equipment
CN104539252A (en) Method, device and equipment for realizing zero gain of CIC (Cascade Integrator Comb) filter
CN109634352B (en) Pulse wave generating circuit and pulse wave generating method
CN114743242A (en) Face recognition method, related equipment and device

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