CN104952455B - The method and apparatus for realizing reverberation - Google Patents

The method and apparatus for realizing reverberation Download PDF

Info

Publication number
CN104952455B
CN104952455B CN201510346607.XA CN201510346607A CN104952455B CN 104952455 B CN104952455 B CN 104952455B CN 201510346607 A CN201510346607 A CN 201510346607A CN 104952455 B CN104952455 B CN 104952455B
Authority
CN
China
Prior art keywords
processing
voice signal
compression
signal
delay process
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
CN201510346607.XA
Other languages
Chinese (zh)
Other versions
CN104952455A (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.)
Zhuhai Jieli Technology Co Ltd
Original Assignee
Zhuhai Jieli Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Jieli Technology Co Ltd filed Critical Zhuhai Jieli Technology Co Ltd
Priority to CN201510346607.XA priority Critical patent/CN104952455B/en
Publication of CN104952455A publication Critical patent/CN104952455A/en
Application granted granted Critical
Publication of CN104952455B publication Critical patent/CN104952455B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

The present invention discloses a kind of method and apparatus for realizing reverberation.The method of the realization reverberation includes: that the first voice signal is carried out the first delay process, generates second sound signal;First voice signal is subjected to the second delay process and the processing of frequency domain compression filtering, generates third voice signal;By second sound signal and the synthesis falling tone sound signal output of third voice signal.The device of the realization reverberation includes first processing module, Second processing module and the first synthesis module.The method and apparatus of above-mentioned realization reverberation can substantially reduce demand of the signal data storage to RAM, to reduce cost.

Description

The method and apparatus for realizing reverberation
Technical field
The present invention relates to reverberation technique field more particularly to a kind of method and apparatus for realizing reverberation.
Background technique
When the existing device work for realizing reverberation, there are multipath delay data, and use existing reverberation algorithm logarithm When according to being handled, predelay module and with comb filter group and all-pass filter come simulated sound in delayed reflex process The module of middle bring sound delay, required storage unit are huge.And being directly realized by existing reverberation algorithm In the process, the parameters such as number of filter, delay time, sample bits width, all directly affect RAM required for realization reverberation The cost of (random access memory, random access memory).
Summary of the invention
Based on this, it is necessary to a kind of method for realizing reverberation is provided, for reducing the cost of required RAM.
A method of realizing reverberation, comprising the following steps:
First voice signal is subjected to the first delay process, generates second sound signal;
First voice signal is subjected to the second delay process and the processing of frequency domain compression filtering, generates third sound letter Number;
By the second sound signal and third voice signal synthesis falling tone sound signal output.
First voice signal carries out described first after first passing through the first compression processing again in one of the embodiments, Delay process, and first voice signal is after first delay process, then carries out and first compression processing Corresponding first decompression processing, generates the second sound signal;
First voice signal carries out second delay process, and described first after first passing through the second compression processing again Voice signal is after second delay process, first after progress the second decompression processing corresponding with second compression processing again The frequency domain compression filtering processing is carried out, the third voice signal is generated.
First compression is carried out to first voice signal by linear predictive coding in one of the embodiments, Processing carries out second compression processing to first voice signal by linear predictive coding.
The implementation process of the frequency domain compression filtering processing in one of the embodiments, are as follows:
MDCT processing or FFT processing are carried out to first voice signal Jing Guo second delay process, obtain institute State the frequency-region signal of the first voice signal;
The frequency-region signal is adjusted by multiple predetermined coefficients, obtains multiple adjustment frequency-region signals;
IMDCT processing or IFFT processing are carried out to multiple adjustment frequency-region signals, and each frame is distinguished by treated Different initial point positions and synthesis are taken, the first output voice signal is generated;
The frame of each frame of the first output voice signal and preset length is overlapped, the third sound is generated Signal.
The present invention also proposes that a kind of device for realizing reverberation, including first processing module, Second processing module and first close At module;
The first processing module is configured to the first voice signal carrying out the first delay process, generates second sound Signal;
The Second processing module is configured to carrying out first voice signal into the second delay process and frequency domain compression Filtering processing generates third voice signal;
First synthesis module is configured to the second sound signal and third voice signal synthesis the 4th Voice signal simultaneously exports.
In one of the embodiments, the first processing module include the first compression unit, the first delay unit and with Corresponding first decompression units of first compression unit;
First compression unit is configured to first voice signal carrying out the first compression processing;
First delay unit, being configured to will be by first voice signal of first compression unit processing Carry out the first delay process;
First decompression units, being configured to will be by first voice signal of first delay unit processing Carry out the first decompression processing corresponding with first compression processing;
The Second processing module includes the second compression unit, the second delay unit, corresponding with second compression unit The second decompression units and frequency domain compression filtering unit;
Second compression unit is configured to first voice signal carrying out the second compression processing;
Second delay unit, being configured to will be by first voice signal of second compression unit processing Carry out the second delay process;
Second decompression units, being configured to will be by first voice signal of second delay unit processing Carry out the second decompression processing corresponding with second compression processing;
The frequency domain compression filtering unit, being configured to will be by first sound of second decompression units processing Signal carries out the processing of frequency domain compression filtering.
First compression is carried out to first voice signal by linear predictive coding in one of the embodiments, Processing carries out second compression processing to first voice signal by linear predictive coding.
The method that the frequency domain compression filtering unit realizes the frequency domain compression filtering processing in one of the embodiments, Are as follows:
MDCT processing or FFT processing are carried out to first voice signal Jing Guo second delay process, obtain institute State the frequency-region signal of the first voice signal;
The frequency-region signal is adjusted by multiple predetermined coefficients, obtains multiple adjustment frequency-region signals;
IMDCT processing or IFFT processing are carried out to multiple adjustment frequency-region signals, each frame takes respectively by treated Different initial point positions and synthesis, generation described first export voice signal;
Each frame of the first output voice signal is superimposed with the frame of preset length, generates the third sound letter Number.
The method and apparatus of above-mentioned realization reverberation, are handled by the way that the first voice signal is divided into two-way, wherein all the way The first delay process is carried out, second sound signal is generated, in addition carries out the second delay process and the processing of frequency domain compression filtering all the way, Third voice signal is generated, finally second sound signal and third voice signal are synthesized and exported, can reduce the need to RAM It asks, to reduce cost.
The present invention also proposes a kind of method for realizing reverberation, comprising the following steps:
First voice signal is subjected to third compression processing, third delay process and corresponding with the third compression processing Third decompression processing generates second sound signal;
First voice signal is subjected to the 4th compression processing, the 4th delay process and the 4th compression processing pair The 4th decompression processing and attenuation processing answered generate third voice signal;
The second sound signal and the third voice signal are mixed and generate the output of falling tone sound signal.
The third compression is carried out to first voice signal by linear predictive coding in one of the embodiments, Processing;
The 4th compression processing is carried out to first voice signal by linear predictive coding.
The present invention also proposes that a kind of device for realizing reverberation, including third processing module, fourth processing module and second close At module;
The third processing module is configured to the first voice signal carrying out third compression processing, third delay process With third decompression processing corresponding with the third compression processing, the second sound signal is generated;
The Second processing module is configured to carrying out first voice signal into the 4th compression processing, the 4th delay Processing, the 4th decompression processing corresponding with the 4th compression processing and attenuation processing generate third voice signal;
The synthesis module is configured to the second sound signal and the third voice signal mixing generation the 4th Voice signal output.
The third compression is carried out to first voice signal by linear predictive coding in one of the embodiments, Processing;
The 4th compression processing is carried out to first voice signal by linear predictive coding.
The method and apparatus of above-mentioned realization reverberation, are handled by the way that the first voice signal is divided into two-way, wherein all the way Third compression processing, third delay process and third decompression processing are carried out, second sound signal is generated;In addition the 4th is carried out all the way Compression processing, the 4th delay process, the 4th decompression processing and attenuation processing generate third voice signal, finally by second sound Signal and third voice signal are synthesized and are exported, and can substantially reduce demand of the delay storage to RAM of signal, thus reduce at This.
Detailed description of the invention
Fig. 1 is the flow diagram of method one embodiment that the present invention realizes reverberation;
Fig. 2 is the flow diagram for the frequency domain compression filtering processing that the present invention realizes in method one embodiment of reverberation;
Fig. 3 is the flow diagram that the present invention realizes another embodiment of the method for reverberation;
Fig. 4 is the structural schematic diagram of device one embodiment that the present invention realizes reverberation;
Fig. 5 is the structural schematic diagram for the first processing module that the present invention realizes in device one embodiment of reverberation;
Fig. 6 is the structural schematic diagram for the Second processing module that the present invention realizes in device one embodiment of reverberation;
Fig. 7 is the structural schematic diagram that the present invention realizes another embodiment of the device of reverberation.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, the present invention is realized below in conjunction with attached drawing The specific embodiment of the method and apparatus of reverberation is illustrated.It should be appreciated that specific embodiment described herein is only used To explain the present invention, it is not intended to limit the present invention.
Referring to Fig. 1, in one embodiment, the present invention realize the method for reverberation the following steps are included:
First voice signal is carried out the first delay process, generates second sound signal by S100.
Wherein, the first delay process is first preset time that is delayed to the first voice signal.Due to being delayed to signal Technology known to those skilled in the art is handled, therefore details are not described herein.
Preferably, in other embodiments, this step can be with are as follows: the first voice signal after the first compression processing again It carries out the first delay process, and the first voice signal is after the first delay process, then carries out corresponding with the first compression processing The first decompression processing, generate second sound signal.
It should be understood that carrying out the first compression processing to the first voice signal before the first delay process of progress, can make Obtain the space occupied reduction in RAM by compressed first voice signal, the cost of RAM needed for reducing signal storage.When It so, be to by the first pressure when taking out the first voice signal by the first compression processing and the first delay process from RAM First voice signal of contracting processing and the first delay process carries out the first decompression processing corresponding with the first compression processing.
Specifically, the first compression processing can be carried out to the first voice signal by linear predictive coding.For example, can be right The real data of first voice signal and the error of prediction data are quantified, while according to error amount adjustment quantization step-length, being come Complete the compression to the first voice signal.Required RAM is when to the first sound signal storage after the first compression processing Without compression processing the first sound signal storage when the required a quarter of RAM or so, thus greatly reduce to RAM Demand, reduce the cost of RAM.In allowing parallel system, the maximum limitation that reverberation is realized is storage resource, rather than Speed.Specifically, the audio number for being 16bit without the data that the first voice signal of the first compression processing stores in RAM According to, and the data that the first voice signal Jing Guo the first compression processing stores in RAM can be the audio data of 4bit.
Corresponding, the first decompression processing is the inverse process of the first compression processing.For example, can be according to the quantized result of input It goes to obtain corresponding inverse quantization value, goes adjustment quantization step-length further according to section where quantized value, then update and export predicted value. Wherein, predicted value is second sound signal.
First voice signal is carried out the second delay process and frequency domain compression filtering is handled by S200, generates third sound letter Number.
Wherein, the second delay process is second preset time that is delayed to the first voice signal.Second preset time can be with First preset time is equal, can not also wait, and is set with specific reference to actual.
Preferably, in other embodiments, this step can be with are as follows: after the first voice signal first passes through the second compression processing The second delay process is carried out again, and the first voice signal first carries out corresponding with the second compression processing after the second delay process The second decompression processing after carry out frequency domain compression filtering processing again, generate third voice signal.
It should be understood that carrying out the second compression processing to the first voice signal before the second delay process of progress, can make Obtain the space occupied reduction in RAM by compressed first voice signal, the cost of RAM needed for reducing signal storage.When It so, be to by the second pressure when taking out the first voice signal by the second compression processing and the second delay process from RAM First voice signal of contracting processing and the second delay process carries out the second decompression processing corresponding with the second compression processing.
Specifically, the second compression processing can be carried out to the first voice signal by linear predictive coding.For example, can be right The real data of first voice signal and the error of prediction data are quantified, while according to error amount adjustment quantization step-length, being come Complete the compression to the first voice signal.Required RAM is when to the first sound signal storage after the second compression processing Without the second compression processing the first sound signal storage when the required a quarter of RAM or so, thus greatly reduce Demand to RAM reduces the cost of RAM.Specifically, the first voice signal without the second compression processing is deposited in RAM The data of storage are the audio data of 16bit, and the data that the first voice signal Jing Guo the second compression processing stores in RAM can Think the audio data of 4bit.
Corresponding, the second decompression processing is the inverse process of the second compression processing.For example, can be according to the quantized result of input It goes to obtain corresponding inverse quantization value, goes adjustment quantization step-length further according to section where quantized value, then update and export predicted value.
Referring to fig. 2, in one embodiment, the implementation process of frequency domain compression filtering processing are as follows:
S210 carries out MDCT (Modified Discrete to the first voice signal Jing Guo the second delay process Cosine Transform, Modified Discrete Cosine Transform) processing, obtain the frequency-region signal of the first voice signal.
In one embodiment, the frequency-region signal for carrying out the first voice signal that MDCT is handled to the first voice signal can Think the frequency values of the first voice signal.Technology known to those skilled in the art is handled due to carrying out MDCT to signal, Therefore details are not described herein.
S220 adjusts frequency-region signal by multiple predetermined coefficients, obtains multiple adjustment frequency-region signals.
The frequency-region signal obtained by step S210 is subjected to frequency domain adjustment by multiple predetermined coefficients, obtains multiple adjustment Frequency-region signal.Each predetermined coefficient can need to carry out integrated planning setting according to realization reverberation effect.
S230 carries out IMDCT (Inverse Modified Discrete Cosine to multiple adjustment frequency-region signals Transform corrects inverse discrete cosine transform) processing, by treated, each frame takes different initial point positions and conjunction respectively At generation the first output voice signal.
The multiple adjustment frequency-region signals obtained through step S220 are carried out with the IMDCT processing opposite with MDCT treatment process, Multiple adjustment frequency-region signals are become into time-domain signal from frequency-region signal.Then each frame of signal is taken into different starting points respectively Position simultaneously synthesizes, and generates the first output voice signal.For example, the length of each frame is N, each adjustment frequency-region signal is one corresponding Path, then path 1 can take the data since N=100 of each frame, path 2 can take each frame since N=200 Data, path 3 can take the data since N=300 of each frame, other paths are as procedure described above to the number of each frame According to being handled.Finally the data in each path are synthesized, generate the first output voice signal.
IMDCT is carried out to signal and handles technology known to those skilled in the art, details are not described herein.
The frame of each frame of first output voice signal and preset length is overlapped, generates third sound letter by S240 Number.
In order to avoid the fusion of signal, the frame of each frame of the first output voice signal and preset length can be folded Add, ultimately generates third voice signal.Wherein, the frame of preset length can be the frame of the first output voice signal.For example, step Each frame of the first output voice signal exports 1024 points in S240, and 512 points therein can be the data being overlapped, That is the frame of preset length.
Below by way of a specific embodiment, frequency domain compression filtering treatment process is further described: assuming that through The data length of each frame of MDCT processing is 2048, and the preset length of each frame of superposition is 1024, and entire data buffer storage is long Degree is 2048.By Hanning window, MDCT is done to the data of each frame and handles to obtain corresponding frequency values.Then different using N group Predetermined coefficient remove adjustment frequency values, and do IMDCT processing and be added to and export the buffer area of result.Finally by Hanning window, press Time sequencing will export preceding 512 data of the buffer area of result and rear 512 data investigations output of data caching, and clear The buffer area of sky output result.
It is handled by above-mentioned frequency domain compression filtering, frequency response can be adjusted to the first voice signal in frequency domain, recall the first sound The Wave crest and wave trough of sound signal.By the setting to parameters, desired frequency response can also be directly adjusted out.
It should be noted that in other embodiments, MDCT processing can also be replaced with FFT (Fast Fourier Transformation, fast Fourier transform) processing.It is corresponding that IMDCT processing is replaced with into IFFT (Inverse Fast Fourier Transformation, inverse fast Fourier transform) processing.
S300, by second sound signal and the synthesis falling tone sound signal output of third voice signal.
Finally, second sound signal and third voice signal are synthesized, falling tone sound signal is generated and exported, convert For sound.Wherein, second sound signal is dry sound, and third voice signal is wet sound.
The method of above-mentioned realization reverberation, is handled by the way that the first voice signal is divided into two-way, wherein carrying out all the way One delay process generates second sound signal, in addition carries out the second delay process and the processing of frequency domain compression filtering all the way, generates the Second sound signal and third voice signal are finally synthesized and are exported by three voice signals, can reduce signal storage to RAM's Demand, and then reduce cost.
Referring to Fig. 3, another method for realizing reverberation is also proposed in one embodiment, comprising the following steps:
First voice signal is carried out third compression processing, third delay process and corresponding with third compression processing by S100 Third decompression processing, generate second sound signal.
Wherein, third delay process is the third preset time that is delayed to the first voice signal.4th preset time can be with Third preset time is equal, can not also wait, and is set with specific reference to actual.
It should be understood that carrying out third compression processing to the first voice signal before progress third delay process, can make Obtain the space occupied reduction in RAM by compressed first voice signal, the cost of RAM needed for reducing signal storage.When It so, be to by third pressure when taking out the first voice signal by third compression processing and third delay process from RAM First voice signal of contracting processing and third delay process carries out third decompression processing corresponding with third compression processing.
Specifically, third compression processing can be carried out to the first voice signal by linear predictive coding.For example, can be right The real data of first voice signal and the error of prediction data are quantified, while according to error amount adjustment quantization step-length, being come Complete the compression to the first voice signal.Required RAM is when to the first sound signal storage after third compression processing Without compression processing the first sound signal storage when the required a quarter of RAM or so, thus greatly reduce to RAM Demand, reduce the cost of RAM.Specifically, the number stored in RAM without the first voice signal of third compression processing According to the audio data for 16bit, and the data that the first voice signal Jing Guo third compression processing stores in RAM can be The audio data of 4bit.
Corresponding, third decompression processing is the inverse process of third compression processing.For example, can be according to the quantized result of input It goes to obtain corresponding inverse quantization value, goes adjustment quantization step-length further according to section where quantized value, then update and export predicted value. Wherein, predicted value is second sound signal.
First voice signal is carried out the 4th compression processing, the 4th delay process, corresponding with the 4th compression processing by S200 4th decompression processing and attenuation processing generate third voice signal.
Wherein, the 4th delay process is the 4th preset time that is delayed to the first voice signal.4th preset time can be with Third preset time is equal, can not also wait, and is set with specific reference to actual.
It should be understood that carrying out the 4th compression processing to the first voice signal before the 4th delay process of progress, can make Obtain the space occupied reduction in RAM by compressed first voice signal, the cost of RAM needed for reducing signal storage.When It so, be to by the 4th pressure when taking out the first voice signal by the 4th compression processing and the 4th delay process from RAM First voice signal of contracting processing and the 4th delay process carries out the 4th decompression processing corresponding with the 4th compression processing.
Likewise, third compression processing can be carried out to the first voice signal by linear predictive coding.It is corresponding, the 4th Decompression processing is the inverse process of the 4th compression processing.
In addition, carrying out attenuation processing technology known to those skilled in the art to signal, details are not described herein.
Second sound signal and third voice signal are mixed and generate falling tone sound signal and export by S300.
Finally, second sound signal and third voice signal are synthesized, falling tone sound signal is generated and exported, convert For sound.Wherein, second sound signal is dry sound, and third voice signal is wet sound.
The method of above-mentioned realization reverberation, is handled by the way that the first voice signal is divided into two-way, wherein carrying out all the way Three compression processings, third delay process and third decompression processing generate second sound signal;In addition it carries out at the 4th compression all the way Reason, the 4th delay process, the 4th decompression processing and attenuation processing generate third voice signal, finally by second sound signal and Third voice signal is synthesized and is exported, and demand of the signal storage to RAM can be substantially reduced, to reduce cost.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Referring to fig. 4, in one embodiment, the present invention realizes that the device of reverberation includes first processing module 100, second processing Module 200 and the first synthesis module 300.
First processing module 100 is configured to the first voice signal carrying out the first delay process, generates rising tone message Number.
Referring to Fig. 5, in one embodiment, first processing module 100 may include the delay of the first compression unit 110, first Unit 120 and the first decompression units 130.
First compression unit 110 is configured to the first voice signal carrying out the first compression processing.
It should be understood that carrying out the first compression processing to the first voice signal before the first delay process of progress, can make Obtain the space occupied reduction in RAM by compressed first voice signal, the cost of RAM needed for reducing signal storage.When It so, be to by the first pressure when taking out the first voice signal by the first compression processing and the first delay process from RAM First voice signal of contracting processing and the first delay process carries out the first decompression processing corresponding with the first compression processing.
Specifically, the first compression processing can be carried out to the first voice signal by linear predictive coding.For example, can be right The real data of first voice signal and the error of prediction data are quantified, while according to error amount adjustment quantization step-length, being come Complete the compression to the first voice signal.Required RAM is when to the first sound signal storage after the first compression processing Without compression processing the first sound signal storage when the required a quarter of RAM or so, thus greatly reduce to RAM Demand, reduce the cost of RAM.In allowing parallel system, the maximum limitation that reverberation is realized is storage resource, rather than Speed.Specifically, the audio number for being 16bit without the data that the first voice signal of the first compression processing stores in RAM According to, and the data that the first voice signal Jing Guo the first compression processing stores in RAM can be the audio data of 4bit.
First delay unit 120, the first voice signal for being configured to handle by the first compression unit 110 carry out the One delay process.
Wherein, the first delay process is first preset time that is delayed to the first voice signal.Due to being delayed to signal Technology known to those skilled in the art is handled, therefore details are not described herein.
First decompression units 130, the first voice signal for being configured to handle by the first delay unit 120 carry out with Corresponding first decompression processing of first compression processing.
Wherein, the first decompression processing is the inverse process of the first compression processing.For example, can be gone according to the quantized result of input Corresponding inverse quantization value is obtained, adjustment quantization step-length is gone further according to section where quantized value, then updates and export predicted value.Its In, predicted value is second sound signal.
Second processing module 200 is configured to the first voice signal carrying out the second delay process and frequency domain compression filtering Processing generates third voice signal.
Referring to Fig. 6, in one embodiment, Second processing module 200 includes the second compression unit 210, the second delay unit 220, the second decompression units 230 and frequency domain compression filtering unit 240.
Second compression unit 210 is configured to the first voice signal carrying out the second compression processing.
It should be understood that carrying out the second compression processing to the first voice signal before the second delay process of progress, can make It obtains and is greatly reduced by compressed first voice signal the space occupied in RAM, RAM needed for further decreasing signal storage Cost.Certainly, when taking out the first voice signal from RAM, the first voice signal is carried out and the second compression processing pair The second decompression processing answered.
Specifically, the second compression processing can be carried out to the first voice signal by linear predictive coding.For example, can be right The real data of first voice signal and the error of prediction data are quantified, while according to error amount adjustment quantization step-length, being come Complete the compression to the first voice signal.Required RAM is when to the first sound signal storage after the second compression processing Without the second compression processing the first sound signal storage when the required a quarter of RAM or so, thus greatly reduce Demand to RAM reduces the cost of RAM.Specifically, the first voice signal without the second compression processing is deposited in RAM The data of storage are the audio data of 16bit, and the data that the first voice signal Jing Guo the second compression processing stores in RAM can Think the audio data of 4bit.
Second delay unit 220, the first voice signal for being configured to handle by the second compression unit 210 carry out the Two delay process.
Wherein, the second delay process is second preset time that is delayed to the first voice signal.Second preset time can be with First preset time is equal, can not also wait, and is set with specific reference to actual.Equally, delay process is carried out to signal Technology known to those skilled in the art, details are not described herein.
Second decompression units 230, the first voice signal for being configured to handle by the second delay unit 220 carry out with Corresponding second decompression processing of second compression processing.
Wherein, the second decompression processing is the inverse process of the second compression processing.For example, can be gone according to the quantized result of input Corresponding inverse quantization value is obtained, adjustment quantization step-length is gone further according to section where quantized value, then updates and export predicted value.
Frequency domain compression filtering unit 240, be configured to the first voice signal that will be handled by the second decompression units 230 into The processing of line frequency domain compression filtering.
In one embodiment, frequency domain compression filtering unit 240 realizes the first sound that will be handled by the second decompression units 230 The method that sound signal carries out the processing of frequency domain compression filtering is as follows:
Firstly, carrying out MDCT processing to the first voice signal Jing Guo the second delay process, the first voice signal is obtained Frequency-region signal.
It can be with it should be understood that carrying out the frequency-region signal of the first voice signal that MDCT is handled to the first voice signal For the frequency values of the first voice signal.Technology known to those skilled in the art is handled due to carrying out MDCT to signal, therefore Details are not described herein.
Then, frequency-region signal is adjusted by multiple predetermined coefficients, obtains multiple adjustment frequency-region signals.
Frequency domain adjustment will be carried out by the frequency-region signal of the first voice signal obtained in the previous step by multiple predetermined coefficients, Obtain the adjustment frequency-region signal of multiple first voice signals.Each predetermined coefficient can need to carry out according to realization reverberation effect Integrated planning setting.
Then, IMDCT processing is carried out to multiple adjustment frequency-region signals, and each frame takes different rise respectively by treated Initial point position simultaneously synthesizes, and generates the first output voice signal.
The multiple adjustment frequency-region signals obtained by previous step are carried out with the IMDCT processing opposite with MDCT treatment process, Multiple adjustment frequency-region signals are become into time-domain signal from frequency-region signal.Then each frame of signal is taken into different starting points respectively Position simultaneously synthesizes, and generates the first output voice signal.For example, the length of each frame is N, each adjustment frequency-region signal is one corresponding Path, then path 1 can take the data since N=100 of each frame, path 2 can take each frame since N=200 Data, path 3 can take the data since N=300 of each frame, other paths are as procedure described above to the number of each frame According to being handled.Finally the data in each path are synthesized, generate the first output voice signal.
IMDCT is carried out to signal and handles technology known to those skilled in the art, details are not described herein.
Finally, the frame of each frame of the first output voice signal and preset length is overlapped, third sound letter is generated Number.
In order to avoid the fusion of signal, the frame of each frame of the first output voice signal and preset length can be folded Add, ultimately generates third voice signal.Wherein, the frame of preset length can be the frame of the first output voice signal.For example, first The each frame for exporting voice signal exports 1024 points, and 512 points therein can be the data being overlapped, i.e. preset length Frame.
Below by way of a specific embodiment, frequency domain compression filtering treatment process is illustrated: assuming that being handled through MDCT The data length of each frame be 2048, the preset length of each frame of superposition is 1024, and entire data buffer storage length is 2048. By Hanning window, MDCT is done to the data of each frame and handles to obtain corresponding frequency values.Then the predetermined coefficient different using N group Adjustment frequency values are removed, and does IMDCT processing and is added to and exports the buffer area of result.It, in chronological order, will finally by Hanning window Preceding 512 data of the buffer area of result and rear 512 data investigations output of data caching are exported, and empty output result Buffer area.
It is handled by above-mentioned frequency domain compression filtering, the frequency response of the first voice signal can be carried out in frequency domain, recall first The Wave crest and wave trough of voice signal.And by the setting to parameters, desired frequency response can also be directly adjusted out.
It should be noted that in other embodiments, MDCT processing can also be replaced with to FFT processing.It is corresponding to incite somebody to action IMDCT processing replaces with IFFT processing.
First synthesis module 300 is configured to second sound signal and third voice signal synthesis falling tone sound signal And it exports.
Finally, second sound signal and third voice signal are synthesized, falling tone sound signal is generated and exported, convert For sound.Second sound signal is dry sound, and third voice signal is wet sound.
The implementation of the device of above-mentioned realization reverberation is referred to the device with above-mentioned realization reverberation in the embodiment of the present invention The specific steps of the corresponding method for realizing reverberation realize that overlaps will not be repeated.
The device of above-mentioned realization reverberation, is handled by the way that the first voice signal is divided into two-way, wherein carrying out all the way One delay process generates second sound signal, in addition carries out the second delay process and the processing of frequency domain compression filtering all the way, generates the Second sound signal and third voice signal are finally synthesized and are exported by three voice signals, can reduce to above-mentioned realization reverberation Device in RAM demand, to reduce cost.
Also proposed referring to Fig. 7, in one embodiment another realize reverberation device, including third processing module 400, Fourth processing module 500 and the second synthesis module 600.
Third processing module 400, be configured to by the first voice signal carry out third compression processing, third delay process and Third decompression processing corresponding with third compression processing generates second sound signal.
Wherein, third delay process is the third preset time that is delayed to the first voice signal.4th preset time can be with Third preset time is equal, can not also wait, and is set with specific reference to actual.
It should be understood that carrying out third compression processing to the first voice signal before progress third delay process, can make Obtain the space occupied reduction in RAM by compressed first voice signal, the cost of RAM needed for reducing signal storage.When It so, be to by third pressure when taking out the first voice signal by third compression processing and third delay process from RAM First voice signal of contracting processing and third delay process carries out third decompression processing corresponding with third compression processing.
Specifically, third compression processing can be carried out to the first voice signal by linear predictive coding.For example, can be right The real data of first voice signal and the error of prediction data are quantified, while according to error amount adjustment quantization step-length, being come Complete the compression to the first voice signal.Required RAM is when to the first sound signal storage after third compression processing Without compression processing the first sound signal storage when the required a quarter of RAM or so, thus greatly reduce to RAM Demand, reduce the cost of RAM.Specifically, the number stored in RAM without the first voice signal of third compression processing According to the audio data for 16bit, and the data that the first voice signal Jing Guo third compression processing stores in RAM can be The audio data of 4bit.
Corresponding, third decompression processing is the inverse process of third compression processing.For example, can be according to the quantized result of input It goes to obtain corresponding inverse quantization value, goes adjustment quantization step-length further according to section where quantized value, then update and export predicted value. Wherein, predicted value is second sound signal.
Fourth processing module 500, be configured to by the first voice signal carry out the 4th compression processing, the 4th delay process, The 4th decompression processing corresponding with the 4th compression processing and attenuation processing generate third voice signal.
Wherein, the 4th delay process is the 4th preset time that is delayed to the first voice signal.4th preset time can be with Third preset time is equal, can not also wait, and can be set according to actual needs.
It should be understood that carrying out the 4th compression processing to the first voice signal before the 4th delay process of progress, can make It obtains and is greatly reduced by compressed first voice signal the space occupied in RAM, RAM needed for further decreasing signal storage Cost.Certainly, right when taking out the first voice signal by the 4th compression processing and the 4th delay process from RAM The 4th decompression corresponding with the 4th compression processing is carried out by the first voice signal of the 4th compression processing and the 4th delay process Processing.
Likewise, the 4th compression processing can be carried out to the first voice signal by linear predictive coding.It is corresponding, the 4th Decompression processing is the inverse process of the 4th compression processing.
In addition, be technology known in those skilled in the art to signal progress attenuation processing and delay process, therefore This is repeated no more.
Second synthesis module 600 is configured to second sound signal and third voice signal mixing generation falling tone sound Signal simultaneously exports.
Finally, second sound signal and third voice signal are synthesized, falling tone sound signal is generated and exported, convert For sound.Second sound signal is dry sound described in those skilled in the art, and third voice signal is those skilled in the art institute The wet sound said.
The implementation of the device of above-mentioned realization reverberation is referred to the device with above-mentioned realization reverberation in the embodiment of the present invention The specific steps of the corresponding method for realizing reverberation realize that overlaps will not be repeated.
The device of above-mentioned realization reverberation, is handled by the way that the first voice signal is divided into two-way, wherein carrying out all the way Three compression processings, third delay process and third decompression processing generate second sound signal;In addition it carries out at the 4th compression all the way Reason, the 4th delay process, the 4th decompression processing and attenuation processing generate third voice signal, finally by second sound signal and Third voice signal is synthesized and is exported, and the demand of the RAM in the device to above-mentioned realization reverberation can be substantially reduced, to reduce Cost.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (4)

1. a kind of method for realizing reverberation, which comprises the following steps:
First voice signal is subjected to the first delay process, generates second sound signal;
First voice signal is subjected to the second delay process and the processing of frequency domain compression filtering, generates third voice signal;
By the second sound signal and third voice signal synthesis falling tone sound signal output;
First voice signal carries out first delay process, and first sound after first passing through the first compression processing again Signal is after first delay process, then carries out the first decompression processing corresponding with first compression processing, generates The second sound signal;
First voice signal carries out second delay process, and first sound after first passing through the second compression processing again Signal carries out after first carrying out the second decompression processing corresponding with second compression processing again after second delay process The frequency domain compression filtering processing, generates the third voice signal;
The implementation process of the frequency domain compression filtering processing are as follows:
MDCT processing or FFT processing are carried out to first voice signal Jing Guo second delay process, obtain described the The frequency-region signal of one voice signal;
The frequency-region signal is adjusted by multiple predetermined coefficients, obtains multiple adjustment frequency-region signals;
IMDCT processing or IFFT processing are carried out to multiple adjustment frequency-region signals, and each frame takes not respectively by treated Same initial point position and synthesis, generation first exports voice signal;
The frame of each frame of the first output voice signal and preset length is overlapped, the third sound letter is generated Number.
2. the method according to claim 1 for realizing reverberation, which is characterized in that by linear predictive coding to described first Voice signal carries out first compression processing, carries out second pressure to first voice signal by linear predictive coding Contracting processing.
3. a kind of device for realizing reverberation, which is characterized in that including first processing module, Second processing module and the first synthesis mould Block;
The first processing module is configured to the first voice signal carrying out the first delay process, generates second sound signal;
The Second processing module is configured to first voice signal carrying out the second delay process and frequency domain compression filtering Processing generates third voice signal;
First synthesis module is configured to the second sound signal and third voice signal synthesis falling tone sound Signal simultaneously exports;
The first processing module includes the first compression unit, the first delay unit and corresponding with first compression unit the One decompression units;
First compression unit is configured to first voice signal carrying out the first compression processing;
First delay unit is configured to carry out by first voice signal of first compression unit processing First delay process;
First decompression units are configured to carry out by first voice signal of first delay unit processing The first decompression processing corresponding with first compression processing;
The Second processing module includes the second compression unit, the second delay unit, corresponding with second compression unit the Two decompression units and frequency domain compression filtering unit;
Second compression unit is configured to first voice signal carrying out the second compression processing;
Second delay unit is configured to carry out by first voice signal of second compression unit processing Second delay process;
Second decompression units are configured to carry out by first voice signal of second delay unit processing The second decompression processing corresponding with second compression processing;
The frequency domain compression filtering unit, being configured to will be by first voice signal of second decompression units processing Carry out the processing of frequency domain compression filtering;
The method that the frequency domain compression filtering unit realizes the frequency domain compression filtering processing are as follows:
MDCT processing or FFT processing are carried out to first voice signal Jing Guo second delay process, obtain described the The frequency-region signal of one voice signal;
The frequency-region signal is adjusted by multiple predetermined coefficients, obtains multiple adjustment frequency-region signals;
IMDCT processing or IFFT processing are carried out to multiple adjustment frequency-region signals, each frame takes difference respectively by treated Initial point position and synthesis, generate it is described first output voice signal;
Each frame of the first output voice signal is superimposed with the frame of preset length, generates the third voice signal.
4. the device according to claim 3 for realizing reverberation, which is characterized in that by linear predictive coding to described first Voice signal carries out first compression processing, carries out second pressure to first voice signal by linear predictive coding Contracting processing.
CN201510346607.XA 2015-06-19 2015-06-19 The method and apparatus for realizing reverberation Active CN104952455B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510346607.XA CN104952455B (en) 2015-06-19 2015-06-19 The method and apparatus for realizing reverberation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510346607.XA CN104952455B (en) 2015-06-19 2015-06-19 The method and apparatus for realizing reverberation

Publications (2)

Publication Number Publication Date
CN104952455A CN104952455A (en) 2015-09-30
CN104952455B true CN104952455B (en) 2019-03-15

Family

ID=54167066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510346607.XA Active CN104952455B (en) 2015-06-19 2015-06-19 The method and apparatus for realizing reverberation

Country Status (1)

Country Link
CN (1) CN104952455B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107871492B (en) * 2016-12-26 2020-12-15 珠海市杰理科技股份有限公司 Music synthesis method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547186A (en) * 2003-12-05 2004-11-17 北京中星微电子有限公司 A reverberation generating circuit
CN1719512A (en) * 2005-07-15 2006-01-11 北京中星微电子有限公司 Digital audio frequency reverberation simulation system
CN1731508A (en) * 2005-08-19 2006-02-08 北京中星微电子有限公司 A reverberation generating circuit
CN101505443A (en) * 2009-03-13 2009-08-12 北京中星微电子有限公司 Virtual supper bass enhancing method and system
CN101516055A (en) * 2008-02-18 2009-08-26 昊迪移通(北京)技术有限公司 Method and device capable of simulating three-dimensional echo sound effect in different acoustic environments

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547186A (en) * 2003-12-05 2004-11-17 北京中星微电子有限公司 A reverberation generating circuit
CN1719512A (en) * 2005-07-15 2006-01-11 北京中星微电子有限公司 Digital audio frequency reverberation simulation system
CN1731508A (en) * 2005-08-19 2006-02-08 北京中星微电子有限公司 A reverberation generating circuit
CN101516055A (en) * 2008-02-18 2009-08-26 昊迪移通(北京)技术有限公司 Method and device capable of simulating three-dimensional echo sound effect in different acoustic environments
CN101505443A (en) * 2009-03-13 2009-08-12 北京中星微电子有限公司 Virtual supper bass enhancing method and system

Also Published As

Publication number Publication date
CN104952455A (en) 2015-09-30

Similar Documents

Publication Publication Date Title
US11151976B2 (en) Methods and systems for operating a signal filter device
US8782110B2 (en) Signal processing system employing time and frequency domain partitioning
JP4527716B2 (en) A novel processing and adaptive time signaling method based on complex exponential modulation filter bank
US9570062B2 (en) Method and device for self-adaptively eliminating noises
CN111583949A (en) Howling suppression method, device and equipment
IL265722A (en) Method and system for cross product enhanced subband block based harmonic transposition
JP2009527778A (en) Low delay processing method and method
EP2907324B1 (en) System and method for reducing latency in transposer-based virtual bass systems
CN107481727B (en) Audio signal processing method and system based on electric tone pitch control
CN104952455B (en) The method and apparatus for realizing reverberation
KR20200043548A (en) Method and device for processing audio signal
EP1879292A1 (en) Partitioned fast convolution
EP2730026B1 (en) Low-delay filtering
US20060089836A1 (en) System and method of signal pre-conditioning with adaptive spectral tilt compensation for audio equalization
CN204791955U (en) Realize device of reverberation
JP3211832B2 (en) Filtering method and apparatus for reducing pre-echo of digital audio signal
JP5491193B2 (en) Speech coding method and apparatus
TWI738106B (en) Apparatus and audio signal processor, for providing a processed audio signal representation, audio decoder, audio encoder, methods and computer programs
CN112687285B (en) Echo cancellation method and device
US20030187528A1 (en) Efficient implementation of audio special effects
CN111261178A (en) Beam forming method and device
CN104078048B (en) Acoustic decoding device and method thereof
CN102404075B (en) Decoding apparatus and coding/decoding method
EP4133477A1 (en) Method of processing an input audio signal for generating an output audio signal having the reverberation characteristics of a specific acoustic environment
CN118430564A (en) Noise reduction method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 519085 Guangdong city of Zhuhai province Jida West Road No. 107 Building 9 Building (1-4)

Applicant after: Zhuhai jelee Polytron Technologies Inc

Address before: 519085 Guangdong city of Zhuhai province Jida West Road No. 107 Building 9 Building

Applicant before: Zhuhai Jieli Technology Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 519000 No. 333, Kexing Road, Xiangzhou District, Zhuhai City, Guangdong Province

Patentee after: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

Address before: Floor 1-107, building 904, ShiJiHua Road, Zhuhai City, Guangdong Province

Patentee before: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.