Adjustment method, device, chip and the storage device of analog voice effect
Technical field
The invention belongs to speech communication technical field, more particularly to a kind of adjustment method of analog voice effect, device, core
Piece and storage device.
Background technology
With the fast development of mobile communication technology, mobile terminal is had become in our lives as a kind of means of communication
An indispensable part, accessible whenever and wherever possible can link up, is offered convenience to life.
Current mobile terminal is carrying out the process of voice call, and how to debug actual speech communication effect is to ensure that voice leads to
One of important method of words, existing Chinese patent CN200710099407.4 proposes a kind of VOIP tests based on call model
Flow generation method, the telephone relation model proposed by reference to ITU-T devises the call model suitable for VOIP, and root
VOIP flows are generated according to the model, the behavior for both having considered people is produced because sound enlivens Detection Techniques to VOIP flows
Influence, making the flow of generation has authenticity;Generate the flow sequence of two correspondents simultaneously further through state transition, make life
Into flow there is interactivity, the quality of two-way call can be tested simultaneously.But existing actual audio effect debugging needs greatly
The equipment support of amount, high cost, system complex, and also the audio that can be supported is limited.
The content of the invention
The embodiments of the invention provide a kind of adjustment method, device, chip and the storage device of analog voice effect, it is intended to
Solving existing actual audio effect debugging needs substantial amounts of equipment to support, high cost, system complex, and the audio that can be supported has
The problem of limit.
In a first aspect, the embodiments of the invention provide a kind of adjustment method of analog voice effect, methods described includes:
With phonetic entry during source of sound simulation call, the first voice signal is generated, the source of sound includes deriving from PC Mikes, net
Network or recording file it is any;
Gain-adjusted is carried out to first voice signal with the change of volume during simulation call;
The first voice signal after echo or ambient noise to regulation is superimposed, the second voice signal is generated;
Second voice signal is handled by noise reduction algorithm and/or elimination echo-algorithm, the 3rd voice signal is generated;
Output completes the 3rd voice signal of simulation in real time.
Further, the noise reduction algorithm is flat including adjustable noise suppressed intensive parameter, sensitivity parameter and frequency
Slippery parameter, the elimination echo-algorithm includes adjustable default remote signaling delay parameter and inhibition strength parameter, described
Before or after being handled by noise reduction algorithm and/or elimination echo-algorithm second voice signal, methods described is also
Including:
According to the actual effect for the 3rd voice signal for completing simulation, change the noise reduction algorithm and/or eliminate echo and calculate
The size of at least one parameter included by method after change so as to simulate different call environments.
Further, the 3rd voice signal that the real-time output completes simulation is specific:
Preserve as a file format in real time, and play or export to the 3rd voice signal of simulation.
Further, the ambient noise includes white noise or/and powder noise, and the superposition echo or ambient noise are arrived
Before the first voice signal after regulation, the second voice signal of generation, methods described also includes:
Delay process is carried out to the first voice signal after the regulation.
Second aspect, the embodiments of the invention provide a kind of debugging apparatus of analog voice effect, described device includes:
Signal input unit, for phonetic entry during source of sound simulation call, generating the first voice signal, the source of sound bag
Include from any of PC Mikes, network or recording file;
Signal gain unit, for carrying out gain-adjusted to first voice signal with the change of volume during simulation call;
Signal imitation unit, for the first voice signal being superimposed after echo or ambient noise to regulation, generates the second voice
Signal;
Signal processing unit, for being handled by noise reduction algorithm and/or elimination echo-algorithm second voice signal,
Generate the 3rd voice signal;
Effect output unit, the 3rd voice signal of simulation is completed for exporting in real time.
Further, the noise reduction algorithm is flat including adjustable noise suppressed intensive parameter, sensitivity parameter and frequency
Slippery parameter, the elimination echo-algorithm includes adjustable default remote signaling delay parameter and inhibition strength parameter, described
Device also includes:
Parameter adjustment unit, for the actual effect according to the 3rd voice signal for completing simulation, changes the noise reduction and calculates
The size of at least one parameter included by method and/or elimination echo-algorithm after change so as to simulate different call environments.
Further, the effect output unit specifically for preserving as a file format in real time, and plays or export to mould
The 3rd voice signal intended.
Further, the ambient noise includes white noise or/and powder noise, and described device also includes:
Signal delay unit, for carrying out delay process to the first voice signal after the regulation.
The third aspect, the embodiments of the invention provide a kind of pronounciation processing chip, the pronounciation processing chip is included extremely
Few a processor, memory and interface, at least a processor, memory and the interface are connected by bus;
The memory storage computer executed instructions;
The computer executed instructions of memory storage described at least one described computing device so that the pronounciation processing chip
Perform the adjustment method of the analog voice effect described in any of the above-described.
Fourth aspect, it is described to refer in the instruction that the embodiments of the invention provide a kind of storage device, is stored with described device
The adjustment method of the analog voice effect described in any of the above-described is realized in order when being executed by processor the step of.
In the embodiment of the present invention, with phonetic entry during source of sound simulation call, the first voice signal is generated;To described
One voice signal carries out gain-adjusted with the change of volume during simulation call;It is superimposed the of echo or ambient noise to after adjusting
One voice signal, generates the second voice signal;Second voice signal is entered by noise reduction algorithm and/or elimination echo-algorithm
Row processing, generates the 3rd voice signal;Output in real time completes the 3rd voice signal of simulation, the present invention, it is not necessary to excessive
Professional equipment can analog voice debugging process, can synchronously see the effect after noise reduction, echo cancellor, with low cost,
Flexibly, practical the characteristics of.
Brief description of the drawings
Fig. 1 is that the adjustment method for the analog voice effect that the embodiment of the present invention one is provided realizes flow chart;
Fig. 2 is the structured flowchart of the debugging apparatus for the analog voice effect that the embodiment of the present invention two is provided;
Fig. 3 is the structured flowchart for the pronounciation processing chip that the embodiment of the present invention three is provided.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The realization of the present invention is described in detail below in conjunction with specific embodiment:
With phonetic entry during source of sound simulation call, the first voice signal is generated;Gain is carried out to first voice signal
Regulation is with the change of volume during simulation call;The first voice signal after echo or ambient noise to regulation is superimposed, the is generated
Two voice signals;Second voice signal is handled by noise reduction algorithm and/or elimination echo-algorithm, the 3rd language is generated
Message number;Output completes the 3rd voice signal of simulation in real time.
Embodiment one
Fig. 1 shows that the adjustment method for the analog voice effect that the embodiment of the present invention one is provided realizes flow, and details are as follows:
In step S101, with phonetic entry during source of sound simulation call, the first voice signal is generated, the source of sound includes coming
Come from any of PC Mikes, network or recording file.
In the present embodiment, executive agent may be that near-end speech equipment may also be far-end speech equipment.
In step s 102, gain-adjusted is carried out with the change of volume during simulation call to first voice signal.
In the present embodiment, no matter in near-end speech equipment or the specific implementation procedure of far-end speech equipment, it can be directed to
Each input speech signal carries out gain-adjusted, the change of volume during simulation call.
In step s 103, the first voice signal of superposition echo or ambient noise to after adjusting, generates the second voice
Signal.
In the present embodiment, the ambient noise includes white noise or/and powder noise.
Before step S103, methods described also includes:
Delay process is carried out to the first voice signal after the regulation.Wherein, this step is using far-end speech equipment to perform master
Body.
In step S104, second voice signal is handled by noise reduction algorithm and/or elimination echo-algorithm,
Generate the 3rd voice signal.
In the present embodiment, the noise reduction algorithm includes adjustable noise suppressed intensive parameter, sensitivity parameter and frequency
Counting smooth degree parameter, the elimination echo-algorithm includes adjustable default remote signaling delay parameter and inhibition strength parameter.
It can reach that best voice effect is arrived in debugging by above parameter with dynamic regulation algorithm parameter.
It is preferred that, before or after this step S104, methods described also includes:
According to the actual effect for the 3rd voice signal for completing simulation, change the noise reduction algorithm and/or eliminate echo and calculate
The size of at least one parameter included by method after change so as to simulate different call environments.
In step S105, output in real time completes the 3rd voice signal of simulation.
In the present embodiment, preserve as a file format in real time, and play or export to the 3rd voice signal of simulation.
The embodiment of the present invention, it is not necessary to excessive professional equipment can analog voice debugging process, can synchronously see noise reduction,
Effect after echo cancellor, with it is inexpensive, flexible, practical the characteristics of.
Embodiment two
Fig. 2 shows the concrete structure block diagram of the debugging apparatus for the analog voice effect that the embodiment of the present invention two is provided, in order to just
In explanation, the part related to the embodiment of the present invention illustrate only.In the present embodiment, the adjustment method of the analog voice effect
Device includes:Signal input unit 21, signal gain unit 22, signal imitation unit 23, signal processing unit 24, effect output
Unit 25, parameter adjustment unit 26 and signal delay unit 27.
Wherein, signal input unit 21, for phonetic entry during source of sound simulation call, generation the first voice letter
Number, the source of sound is included from any of PC Mikes, network or recording file;
Signal gain unit 22, for carrying out gain-adjusted to first voice signal with the change of volume during simulation call;
Signal imitation unit 23, for the first voice signal being superimposed after echo or ambient noise to regulation, generates the second language
Message number;
Signal processing unit 24, for second voice signal is by noise reduction algorithm and/or eliminates at echo-algorithm
Reason, generates the 3rd voice signal;
Effect output unit 25, the 3rd voice signal of simulation is completed for exporting in real time.
Further, the noise reduction algorithm is flat including adjustable noise suppressed intensive parameter, sensitivity parameter and frequency
Slippery parameter, the elimination echo-algorithm includes adjustable default remote signaling delay parameter and inhibition strength parameter, described
Device also includes:
Parameter adjustment unit 26, for the actual effect according to the 3rd voice signal for completing simulation, changes the noise reduction
The size of at least one parameter included by algorithm and/or elimination echo-algorithm after change so as to simulate different call rings
Border.
Further, the effect output unit 25 specifically for preserving as a file format in real time, and play or export to
The 3rd voice signal of simulation.
Further, the ambient noise includes white noise or/and powder noise, when described device is far-end speech equipment,
Also include:
Signal delay unit 27, for carrying out delay process to the first voice signal after the regulation.
The debugging apparatus of analog voice effect provided in an embodiment of the present invention can be applied in foregoing corresponding method embodiment
In one, details will not be repeated here referring to the description of above-described embodiment one.
Embodiment three
Fig. 3 shows the concrete structure block diagram for the pronounciation processing chip that the embodiment of the present invention three is provided, and for convenience of description, only shows
The part related to the embodiment of the present invention is gone out.In the present embodiment, the pronounciation processing chip includes:An at least processor 11,
Memory 12 and interface, at least a processor 11, memory 12 and the interface are connected by bus;
The memory 12 stores computer executed instructions;
At least one described processor 11 performs the computer executed instructions that the memory 12 is stored so that the speech processes
The adjustment method of the above-mentioned analog voice effect of chip.
The embodiment of the present invention also provides the instruction that is stored with a kind of storage device, described device, and the instruction is by processor
The step of adjustment method of above-mentioned analog voice effect is realized during execution.
It is worth noting that, one of ordinary skill in the art will appreciate that:The step of realizing above method embodiment or portion
It can be completed step by step by the related hardware of programmed instruction, foregoing program can be stored in embodied on computer readable storage Jie
In matter, the program upon execution, performs the step of including above method embodiment, and foregoing storage medium includes:ROM、
RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, all essences in the present invention
Any modification, equivalent and improvement made within refreshing and principle etc., should be included within the scope of the present invention.