CN111986688B - Method, device and medium for improving voice definition - Google Patents
Method, device and medium for improving voice definition Download PDFInfo
- Publication number
- CN111986688B CN111986688B CN202010938044.4A CN202010938044A CN111986688B CN 111986688 B CN111986688 B CN 111986688B CN 202010938044 A CN202010938044 A CN 202010938044A CN 111986688 B CN111986688 B CN 111986688B
- Authority
- CN
- China
- Prior art keywords
- signal
- sound signal
- weighting
- sound
- weighted
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000005236 sound signal Effects 0.000 claims abstract description 302
- 238000012545 processing Methods 0.000 claims abstract description 47
- 238000012790 confirmation Methods 0.000 claims description 12
- 230000003247 decreasing effect Effects 0.000 claims description 4
- 230000008030 elimination Effects 0.000 abstract description 15
- 238000003379 elimination reaction Methods 0.000 abstract description 15
- 238000010586 diagram Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0208—Noise filtering
- G10L21/0216—Noise filtering characterised by the method used for estimating noise
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Quality & Reliability (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
Abstract
Disclosed herein are a method, apparatus and medium for improving speech intelligibility, the method comprising: acquiring a first sound signal acquired by a first sound acquisition device and acquiring a second sound signal acquired by a second sound acquisition device; judging whether the amplitude of the differential signal is smaller than a first preset amplitude; and when the amplitude of the differential signal of the first sound signal and the second sound signal is smaller than a first preset amplitude, carrying out weighted differential processing on the first sound signal and the second sound signal to obtain a third sound signal. The differential signal of the first sound signal and the second sound signal is used as a signal after preliminary noise elimination, whether the signal after preliminary noise elimination meets the sound definition condition is detected in real time, and the signal after preliminary noise elimination is directly used when the signal after preliminary noise elimination meets the sound definition condition; and when the voice signal is not satisfied, further carrying out weighted difference processing on the first voice signal and the second voice signal, so that the definition of the voice is timely improved, and the conversation quality and the user experience are improved.
Description
Technical Field
The present disclosure relates to the field of mobile terminal data processing technologies, and in particular, to a method, an apparatus, and a medium for improving speech intelligibility.
Background
With the continuous improvement of the hardware performance and the software performance of the mobile terminal, the quality of service provided by the mobile terminal is better and better. In order to better process sound, the mobile terminal includes two sound collecting devices, such as a primary microphone disposed at a position below the front surface of the mobile terminal and a secondary microphone disposed at a position above the front surface of the mobile terminal in the schematic diagram of the mobile terminal shown in fig. 1. When the mobile terminal is in normal use, because the main microphone is closer to the mouth of the user, the amplitude of the voice signal in the voice signal collected by the main microphone is larger than that of the voice signal collected by the auxiliary microphone. Under the setting that the noise collected by the main microphone and the auxiliary microphone is basically the same, the mobile terminal provides the difference signal of the sound signal collected by the main microphone and the sound signal collected by the auxiliary microphone as the noise elimination information for the opposite user of the call.
In the above-mentioned noise canceling method, in the case where the voice sound of the user is small, the voice sound is canceled in the differential process, thereby resulting in a case where there is no voice sound, thereby affecting the communication quality.
Disclosure of Invention
To overcome the problems in the related art, a method, apparatus, and medium for improving speech intelligibility are provided herein.
According to a first aspect of embodiments herein, there is provided a method of improving speech intelligibility, comprising:
acquiring a first sound signal acquired by a first sound acquisition device and acquiring a second sound signal acquired by a second sound acquisition device;
Judging whether the amplitude of a differential signal between the first sound signal and the second sound signal is smaller than a first preset amplitude;
And when the amplitude of the differential signal between the first sound signal and the second sound signal is smaller than a first preset amplitude, carrying out weighted differential processing on the first sound signal and the second sound signal to obtain a third sound signal.
In another embodiment, the obtaining a third sound signal after performing weighted difference processing on the first sound signal and the second sound signal includes:
Determining the value of the second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
The following operations are cyclically performed until the first cycle end condition is satisfied:
Determining a differential signal between the first sound signal and a second weighting signal, wherein the second weighting signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to the first preset amplitude;
and taking a differential signal of the first sound signal and a second weighted signal when the first cycle end condition is met as the third sound signal.
In another embodiment, the obtaining a third sound signal after performing weighted difference processing on the first sound signal and the second sound signal includes:
Determining the value of the second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
The following operations are cyclically performed until the first cycle end condition is satisfied or the value of the second weighting coefficient is equal to or smaller than 0: determining a differential signal between the first sound signal and a second weighting signal, wherein the second weighting signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to the first preset amplitude;
determining a value of a first weighting coefficient as a set initial value when the value of the second weighting coefficient is equal to or smaller than 0 and the first cycle end condition is not satisfied; the set initial value of the first weighting coefficient is larger than or equal to 1;
the following operations are cyclically performed until the second cycle end condition is satisfied:
Determining a first weighted signal of the first sound signal, wherein the first weighted signal is a signal obtained by weighting the first sound signal by using the first weighting coefficient; when the first weighted signal is judged to be smaller than the first preset amplitude value, the first weighted coefficient is increased in a second adjustment mode;
The second cycle end condition is that the first weighted signal is greater than or equal to the first preset amplitude value;
the first weighted signal when the second cycle end condition is satisfied is taken as the third sound signal.
In another embodiment, the obtaining a third sound signal after performing weighted difference processing on the first sound signal and the second sound signal includes:
Judging whether the amplitude of the first sound signal is smaller than or equal to the first preset amplitude;
when the amplitude of the first sound signal is larger than the first preset amplitude, determining the value of a second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
The following operations are cyclically performed until the first cycle end condition is satisfied:
Determining a differential signal between the first sound signal and a second weighting signal, wherein the second weighting signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to the first preset amplitude;
Taking a differential signal of the first sound signal and a second weighted signal when the first cycle end condition is satisfied as the third sound signal;
When the amplitude of the first sound signal is smaller than or equal to the first preset amplitude, determining the value of a first weighting coefficient as a set initial value; the set initial value of the first weighting coefficient is larger than or equal to 1;
the following operations are cyclically performed until the second cycle end condition is satisfied:
Determining a first weighted signal of the first sound signal, wherein the first weighted signal is a signal obtained by weighting the first sound signal by using the first weighting coefficient; when the first weighted signal is judged to be smaller than the first preset amplitude value, the first weighted coefficient is increased in a second adjustment mode;
The second cycle end condition is that the first weighted signal is greater than or equal to the first preset amplitude value;
the first weighted signal when the second cycle end condition is satisfied is taken as the third sound signal.
In another embodiment, the reducing the second weighting factor in the first adjustment includes one of:
reducing the second weighting factor by a first fixed step size; or decreasing the second weighting factor with a variable step size conforming to a linear variation rule;
said increasing said first weighting factor in a second adjustment comprises one of:
Increasing the first weighting factor by a second fixed step size; or increasing the first weighting factor with a variable step size conforming to a linear variation rule.
According to a second aspect of embodiments herein, there is provided an apparatus for improving speech intelligibility, comprising:
The acquisition module is used for acquiring the first sound signal acquired by the first sound acquisition device and acquiring the second sound signal acquired by the second sound acquisition device;
the first judging module is used for judging whether the amplitude of the differential signal of the first sound signal and the second sound signal is smaller than a first preset amplitude or not;
And the processing module is used for carrying out weighted difference processing on the first sound signal and the second sound signal to obtain a third sound signal when the amplitude of the difference signal of the first sound signal and the second sound signal is smaller than a first preset amplitude.
In another embodiment, the processing module comprises:
The first determining module is used for determining the value of the second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
The first circulation module is used for circularly executing the following operations until the first circulation ending condition is met:
Determining a differential signal between the first sound signal and a second weighting signal, wherein the second weighting signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to the first preset amplitude;
And the first confirmation module is used for taking a difference signal of the first sound signal and the second weighted signal when the first cycle end condition is met as the third sound signal.
In another embodiment, the processing module comprises:
The second determining module is used for determining the value of the second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
A second loop module for loops performing the following operations until the first loop end condition is satisfied or the value of the second weighting coefficient is equal to or less than 0: determining a differential signal between the first sound signal and a second weighting signal, wherein the second weighting signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to the first preset amplitude;
A third determining module configured to determine a value of a first weighting coefficient as a set initial value when the value of the second weighting coefficient is equal to or smaller than 0 and the first cycle end condition is not satisfied; the set initial value of the first weighting coefficient is larger than or equal to 1;
A third loop module for loop performing the following operations until the second loop end condition is satisfied:
Determining a first weighted signal of the first sound signal, wherein the first weighted signal is a signal obtained by weighting the first sound signal by using the first weighting coefficient; when the first weighted signal is judged to be smaller than the first preset amplitude value, the first weighted coefficient is increased in a second adjustment mode;
The second cycle end condition is that the first weighted signal is greater than or equal to the first preset amplitude value;
and a second confirmation module, configured to take the first weighted signal when the second cycle end condition is satisfied as the third sound signal.
In another embodiment, the processing module comprises:
The second judging module is used for judging whether the amplitude of the first sound signal is smaller than or equal to the first preset amplitude;
A fourth determining module, configured to determine, when the amplitude of the first sound signal is greater than the first preset amplitude, that the value of the second weighting coefficient is a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
a fourth loop module for loops performing the following operations until the first loop end condition is satisfied:
Determining a differential signal between the first sound signal and a second weighting signal, wherein the second weighting signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to the first preset amplitude;
a third confirmation module configured to use a differential signal between the first sound signal and a second weighted signal when the first cycle end condition is satisfied as the third sound signal;
a fifth determining module, configured to determine, when the amplitude of the first sound signal is less than or equal to the first preset amplitude, that the value of the first weighting coefficient is a set initial value; the set initial value of the first weighting coefficient is larger than or equal to 1;
a fifth loop module for loops performing the following operations until the second loop end condition is satisfied:
Determining a first weighted signal of the first sound signal, wherein the first weighted signal is a signal obtained by weighting the first sound signal by using the first weighting coefficient; when the first weighted signal is judged to be smaller than the first preset amplitude value, the first weighted coefficient is increased in a second adjustment mode;
The second cycle end condition is that the first weighted signal is greater than or equal to the first preset amplitude value;
and a fourth confirmation module configured to set the first weighted signal when the second cycle end condition is satisfied as the third sound signal.
In another embodiment, the reducing the second weighting factor in the first adjustment includes one of:
reducing the second weighting factor by a first fixed step size;
Reducing the second weighting factor with a variable step size conforming to a linear variation rule;
said increasing said first weighting factor in a second adjustment comprises one of:
increasing the first weighting factor by a second fixed step size;
the first weighting factor is increased with a variable step size conforming to a linear variation rule.
According to a third aspect of embodiments herein, there is provided a non-transitory computer readable storage medium, which when executed by a processor of a mobile terminal, causes the mobile terminal to perform a method of improving speech intelligibility, the method comprising:
acquiring a first sound signal acquired by a first sound acquisition device and acquiring a second sound signal acquired by a second sound acquisition device;
Judging whether the amplitude of a differential signal between the first sound signal and the second sound signal is smaller than a first preset amplitude;
And when the amplitude of the differential signal between the first sound signal and the second sound signal is smaller than a first preset amplitude, carrying out weighted differential processing on the first sound signal and the second sound signal to obtain a third sound signal.
The technical scheme provided by the embodiment of the invention can comprise the following beneficial effects: the differential signal of the first sound signal and the second sound signal is used as a signal after preliminary noise elimination, whether the signal after preliminary noise elimination meets the sound definition condition or not is detected in real time, when the signal after preliminary noise elimination is met, the signal after preliminary noise elimination is directly used, and when the signal after preliminary noise elimination does not meet the definition condition, the first sound signal and the second sound signal are further subjected to weighted differential processing, so that the sound definition is timely improved, and the conversation quality and the user experience are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent herewith and together with the description, serve to explain the principles herein.
Fig. 1 is a schematic diagram illustrating a structure of a mobile terminal according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating a method of improving speech intelligibility according to an exemplary embodiment;
FIG. 3 is a flowchart illustrating a method of improving speech intelligibility according to an exemplary embodiment;
FIG. 4 is a flowchart illustrating a method of improving speech intelligibility according to an exemplary embodiment;
FIG. 5 is a flowchart illustrating a method of improving speech intelligibility according to an exemplary embodiment;
FIG. 6 is a block diagram illustrating an apparatus for improving speech intelligibility according to an exemplary embodiment;
FIG. 7 is a block diagram illustrating an apparatus for improving speech intelligibility according to an exemplary embodiment;
FIG. 8 is a block diagram illustrating an apparatus for improving speech intelligibility according to an exemplary embodiment;
FIG. 9 is a block diagram illustrating an apparatus for improving speech intelligibility according to an exemplary embodiment;
Fig. 10 is a block diagram illustrating an apparatus for improving speech intelligibility according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with this document. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The embodiment of the disclosure provides a method for improving voice definition. Referring to fig. 2, fig. 2 is a flowchart illustrating a method of improving speech intelligibility according to an exemplary embodiment. As shown in fig. 2, the method includes:
Step S21, acquiring a first sound signal acquired by a first sound acquisition device and acquiring a second sound signal acquired by a second sound acquisition device;
Step S22, judging whether the amplitude of the differential signal of the first sound signal and the second sound signal is smaller than a first preset amplitude;
Step S23, when the amplitude of the differential signal between the first sound signal and the second sound signal is smaller than the first preset amplitude, the third sound signal is obtained after the weighted differential processing is performed on the first sound signal and the second sound signal.
Wherein step S23 further includes: and when the amplitude of the differential signal of the first sound signal and the second sound signal is larger than or equal to a first preset amplitude, taking the differential signal of the first sound signal and the second sound signal as a third sound signal.
In the method, the third sound signal is processed, and the voice definition of the third sound signal is larger than the difference signal between the first sound signal and the second sound signal.
In an embodiment, the first sound collecting device is disposed at a position below the front surface of the mobile terminal, and the second sound collecting device is disposed at a position above the front surface of the mobile terminal. The first preset amplitude corresponds to a lowest value of the human auditory decibel range.
In the method, the differential signal of the first sound signal and the second sound signal is used as the signal after preliminary noise elimination, whether the signal after preliminary noise elimination meets the sound definition condition or not is detected in real time, when the signal after preliminary noise elimination meets the sound definition condition, the signal after preliminary noise elimination is directly used, and when the signal after preliminary noise elimination does not meet the definition condition, the first sound signal and the second sound signal are further subjected to weighted differential processing, so that the sound definition is timely improved, and the conversation quality and the user experience are improved.
The embodiment of the disclosure also provides a method for improving the voice definition. Referring to fig. 3, fig. 3 is a specific flowchart illustrating step S23 shown in fig. 2 according to an exemplary embodiment. As shown in fig. 3, on the basis of the method shown in fig. 2, the step S23 of performing weighted difference processing on the first sound signal and the second sound signal to obtain a third sound signal includes:
Step S31, determining the value of the second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
step S32, the following operations are cyclically performed until the first cycle end condition is satisfied:
Determining a differential signal between a first sound signal and a second weighted signal, wherein the second weighted signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to a first preset amplitude;
Step S33, a difference signal between the first sound signal and the second weighted signal when the first cycle end condition is satisfied is set as a third sound signal.
Wherein reducing the second weighting factor in the first adjustment includes one of:
reducing the second weighting factor by a first fixed step size;
the second weighting factor is reduced by a variable step size conforming to the rule of linear variation.
Illustrating:
The method comprises the steps of determining whether the amplitude of a differential signal of a first sound signal A and a second sound signal B is smaller than a first preset amplitude T, setting the set initial value of a second weighting coefficient K2 to be 0.9, determining whether the amplitude of the differential signal of the first sound signal A and the second weighting signal is smaller than the first preset amplitude T by using the second weighting coefficient K2 to carry out weighting treatment on the second sound signal B, if yes, reducing the second weighting coefficient by a fixed step length of 0.1, setting the updated second weighting signal to be 0.8, calculating the second weighting signal to be 0.8 again, determining whether the amplitude of the differential signal of the first sound signal A and the second weighting signal is smaller than the first preset amplitude T, if yes, continuing to reduce the second weighting coefficient by a fixed step length of 0.1, if yes, namely, reducing the second weighting coefficient by a fixed step length of 0.1, and taking the differential signal A and the second weighting signal as the differential signal A and the second weighting signal of the first sound signal of the second sound signal of the third sound signal of the fourth amplitude.
In another example, the second weighting factor is reduced by a variable step size according to a linear decreasing rule when the second weighting factor is reduced, for example, the set initial value of the second weighting factor is 0.9, the step size when the second weighting factor is reduced for the first time is 0.3, the step size when the second weighting factor is reduced for the second time is 0.25, the step size when the second weighting factor is reduced for the third time is 0.2, the step size when the second weighting factor is reduced for the fourth time is 0.15, and the step size when the second weighting factor is reduced for the fifth time is 0.1. Wherein the variable step size is decremented by a fixed value, i.e. 0.5.
The embodiment of the disclosure also provides a method for improving the voice definition. Referring to fig. 4, fig. 4 is a specific flowchart illustrating step S23 shown in fig. 2 according to an exemplary embodiment. As shown in fig. 4, in step S23, the weighted difference processing is performed on the first sound signal and the second sound signal to obtain a third sound signal, and the method further includes:
step S41, determining the value of the second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
Step S42 of cyclically executing the following operations until the first cycle end condition is satisfied or the value of the second weighting coefficient is equal to or smaller than 0: determining a differential signal between a first sound signal and a second weighted signal, wherein the second weighted signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than a first preset amplitude value, a second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to a first preset amplitude;
Step S43, when the value of the second weighting coefficient is equal to or smaller than 0 and the first cycle end condition is not satisfied, determining the value of the first weighting coefficient as a set initial value; the set initial value of the first weighting coefficient is larger than or equal to 1;
step S44, the following calculation operations are cyclically performed until the second cycle end condition is satisfied:
Determining a first weighted signal of a first sound signal, wherein the first weighted signal is a signal obtained by weighting the first sound signal by using the first weighting coefficient; when the first weighted signal is judged to be smaller than the first preset amplitude value, the first weighted coefficient is increased in a second adjustment mode;
The second cycle end condition is that the first weighted signal is greater than or equal to a first preset amplitude;
step S45, the first weighted signal when the second cycle end condition is satisfied is used as the third sound signal.
Wherein reducing the second weighting factor in the first adjustment includes one of:
reducing the second weighting coefficient by a first fixed step size;
reducing the second weighting factor with a variable step size conforming to the linear variation rule;
Increasing the first weighting factor in the second adjustment includes one of:
Increasing the first weighting coefficient by a second fixed step size;
the first weighting factor is increased with a variable step size conforming to a linear variation rule.
Illustrating:
The first sound signal is A, the second sound signal is B, the difference signal between the first sound signal A and the second sound signal B is C, when the amplitude of C is smaller than the first preset amplitude T, setting the initial value of the second weighting coefficient K2 to be 0.9, the second weighting signal is obtained by weighting the second sound signal B by using the second weighting coefficient K2, namely 0.9 x B, judging whether the amplitude of the differential signal between the first sound signal A and the second weighting signal is smaller than the first preset amplitude T, if so, i.e. satisfying a-0.9 x b < T, decreasing the second weighting coefficient with a fixed step size of 0.1, updating the second weighting signal to 0.8, calculating the second weighting signal again to 0.8 x b, judging whether the amplitude of the differential signal between the first sound signal a and the second weighting signal is smaller than the first preset amplitude T, if so, i.e., satisfying a-0.8 b < t, continuing to decrease the second weighting factor by a fixed step size of 0.1, … …, and so on, until the value of the second weighting coefficient K2 is equal to or smaller than 0 and the first cycle end condition is not satisfied, determining the initial value of the first weighting coefficient K1 to be 1.1, calculating the first weighting signal to be 1.1 xA, judging whether the amplitude of the first weighting sound signal 1.1 xA is smaller than a first preset amplitude T, if so, adding a first weighting coefficient with a fixed step length 1, updating the first weighting signal to be 2.1, calculating the first weighting signal to be 2.1A, judging whether the amplitude of the first weighting sound signal 2.1A is smaller than a first preset amplitude T, if so, the first weighting coefficient is increased by a fixed step size of 1, the updated first weighting signal is 3.1, … …, and the same is repeated until the first weighted signal is greater than or equal to a first preset amplitude value T, and the first weighted signal at the moment is used as the third sound signal.
The embodiment of the disclosure also provides a method for improving the voice definition. Referring to fig. 5, fig. 5 is a specific flowchart illustrating step S23 shown in fig. 2 according to an exemplary embodiment. As shown in fig. 5, the step S23 of obtaining a third sound signal after performing weighted difference processing on the first sound signal and the second sound signal includes:
Step S51, judging whether the amplitude of the first sound signal is smaller than or equal to a first preset amplitude;
When the amplitude of the first sound signal is greater than the first preset amplitude, steps S52 to S54 are performed.
Step S52, determining the value of the second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
step S53 of cyclically executing the following operations until the first cycle end condition is satisfied:
Determining a differential signal between a first sound signal and a second weighted signal, wherein the second weighted signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to a first preset amplitude;
Step S54, taking the difference signal of the first sound signal and the second weighted signal when the first cycle end condition is satisfied as a third sound signal; the flow ends.
When the amplitude of the first sound signal is less than or equal to the first preset amplitude, steps S52 'to S54' are performed.
Step S52', determining the value of the first weighting coefficient as a set initial value; the set initial value of the first weighting coefficient is larger than or equal to 1;
step S53', the following operations are cyclically performed until the second cycle end condition is satisfied:
Determining a first weighted signal of a first sound signal, wherein the first weighted signal is a signal obtained by weighting the first sound signal by using the first weighting coefficient; when the first weighted signal is judged to be smaller than the first preset amplitude value, the first weighted coefficient is increased in a second adjustment mode;
The second cycle end condition is that the first weighted signal is greater than or equal to a first preset amplitude;
in step S54', the first weighted signal when the second cycle end condition is satisfied is used as the third sound signal.
Wherein reducing the second weighting factor in the first adjustment includes one of:
reducing the second weighting coefficient by a first fixed step size;
reducing the second weighting factor with a variable step size conforming to the linear variation rule;
Increasing the first weighting factor in the second adjustment includes one of:
Increasing the first weighting coefficient by a second fixed step size;
the first weighting factor is increased with a variable step size conforming to a linear variation rule.
The embodiment of the disclosure also provides a device for improving the voice definition. Referring to fig. 6, fig. 6 is a block diagram illustrating an apparatus for improving speech intelligibility according to an exemplary embodiment. As shown in fig. 6, the apparatus includes:
An acquisition module 601, configured to acquire a first sound signal acquired by a first sound acquisition device and acquire a second sound signal acquired by a second sound acquisition device;
The first determining module 602 is configured to determine whether an amplitude of a differential signal between the first sound signal and the second sound signal is less than a first preset amplitude;
The processing module 603 is configured to obtain a third sound signal after performing weighted difference processing on the first sound signal and the second sound signal when the amplitude of the differential signal between the first sound signal and the second sound signal is smaller than a first preset amplitude.
The embodiment of the disclosure also provides a device for improving the voice definition. Referring to fig. 7, fig. 7 is a block diagram illustrating an apparatus for improving speech intelligibility according to an exemplary embodiment. As shown in fig. 7, the processing module 603 of the apparatus includes, on the basis of that shown in fig. 6:
A first determining module 701, configured to determine a value of the second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
the first loop module 702 loops the following until a first loop end condition is satisfied:
Determining a differential signal between a first sound signal and a second weighted signal, wherein the second weighted signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to a first preset amplitude;
The first confirmation module 703 is configured to set a difference signal between the first audio signal and the second weighted signal when the first cycle end condition is satisfied as the third audio signal.
The embodiment of the disclosure also provides a device for improving the voice definition. Referring to fig. 8, fig. 8 is a block diagram illustrating an apparatus for improving speech intelligibility according to an exemplary embodiment. As shown in fig. 8, the processing module 603 of the apparatus includes, on the basis of that shown in fig. 6:
A second determining module 801, configured to determine a value of the second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
a second loop module 802 for loops performing the following operations until the first loop end condition is satisfied or the value of the second weighting coefficient is equal to or less than 0: determining a differential signal between a first sound signal and a second weighted signal, wherein the second weighted signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to a first preset amplitude;
A third determining module 803 for determining the value of the first weighting coefficient as a set initial value when the value of the second weighting coefficient is equal to or smaller than 0 and the first cycle end condition is not satisfied; the set initial value of the first weighting coefficient is larger than or equal to 1;
a third loop module 804 for loops performing the following operations until the second loop end condition is satisfied:
Determining a first weighted signal of a first sound signal, wherein the first weighted signal is a signal obtained by weighting the first sound signal by using the first weighted coefficient, and the second weighted signal is a signal obtained by weighting the second sound signal by using the second weighted coefficient; when the first weighted signal is judged to be smaller than the first preset amplitude value, the first weighted coefficient is increased in a second adjustment mode;
The second cycle end condition is that the first weighted signal is greater than or equal to a first preset amplitude;
The second confirmation module 805 is configured to take the first weighted signal when the second cycle end condition is satisfied as the third sound signal.
Wherein reducing the second weighting factor in the first adjustment includes one of:
reducing the second weighting factor by a first fixed step size;
reducing the second weighting factor with a variable step size conforming to the linear variation rule;
Increasing the first weighting factor in the second adjustment includes one of:
Increasing the first weighting coefficient by a second fixed step size;
the first weighting factor is increased with a variable step size conforming to a linear variation rule.
The embodiment of the disclosure also provides a device for improving the voice definition. Referring to fig. 9, fig. 9 is a block diagram illustrating an apparatus for improving speech intelligibility according to an exemplary embodiment. As shown in fig. 9, the processing module 603 of the apparatus includes, on the basis of that shown in fig. 6:
A second judging module 901, configured to judge whether the amplitude of the first sound signal is less than or equal to a first preset amplitude;
A fourth determining module 902, configured to determine, when the amplitude of the first sound signal is greater than a first preset amplitude, that the value of the second weighting coefficient is a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
a fourth loop module 903 for loop performing the following operations until the first loop end condition is satisfied:
Determining a differential signal between a first sound signal and a second weighted signal, wherein the second weighted signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to a first preset amplitude;
A third confirmation module 904 configured to set a differential signal between the first sound signal and the second weighted signal when the first cycle end condition is satisfied as a third sound signal;
a fifth determining module 905, configured to determine, when the amplitude of the first sound signal is less than or equal to a first preset amplitude, that the value of the first weighting coefficient is a set initial value; the set initial value of the first weighting coefficient is larger than or equal to 1;
A fifth loop module 906 for loops performing the following operations until the second loop end condition is satisfied:
Determining a first weighted signal of a first sound signal, wherein the first weighted signal is a signal obtained by weighting the first sound signal by using the first weighting coefficient; when the first weighted signal is judged to be smaller than the first preset amplitude value, the first weighted coefficient is increased in a second adjustment mode;
The second cycle end condition is that the first weighted signal is greater than or equal to a first preset amplitude;
The fourth confirmation module 907 regards the first weighted signal when the second cycle end condition is satisfied as the third sound signal.
Wherein reducing the second weighting factor in the first adjustment includes one of:
reducing the second weighting factor by a first fixed step size;
reducing the second weighting factor with a variable step size conforming to the linear variation rule;
Increasing the first weighting factor in the second adjustment includes one of:
Increasing the first weighting coefficient by a second fixed step size;
the first weighting factor is increased with a variable step size conforming to a linear variation rule.
The embodiment of the disclosure also provides a device for improving the voice definition. Fig. 10 is a block diagram illustrating an apparatus 1000 for improving speech intelligibility according to an exemplary embodiment. For example, apparatus 1000 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 10, the apparatus 1000 may include one or more of the following components: a processing component 1002, a memory 1004, a power component 1006, a multimedia component 1008, an audio component 1010, an input/output (I/O) interface 1012, a sensor component 1014, and a communication component 1016.
The processing component 1002 generally controls overall operation of the apparatus 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1002 can include one or more processors 1020 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1002 can include one or more modules that facilitate interaction between the processing component 1002 and other components. For example, the processing component 1002 can include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operations at the device 1000. Examples of such data include instructions for any application or method operating on the device 1000, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1004 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 1006 provides power to the various components of the device 1000. Power component 1006 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1000.
The multimedia component 1008 includes a screen between the device 1000 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia assembly 1008 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1000 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1010 is configured to output and/or input audio signals. For example, the audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when the device 1000 is in an operational mode, such as a call mode, a recording mode, and a speech recognition mode. The received audio signals may be further stored in memory 1004 or transmitted via communication component 1016. In some embodiments, the audio component 1010 further comprises a speaker for outputting audio signals.
The I/O interface 1012 provides an interface between the processing assembly 1002 and peripheral interface modules, which may be a keyboard, click wheel, buttons, and the like. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 1014 includes one or more sensors for providing status assessment of various aspects of the device 1000. For example, the sensor assembly 1014 may detect an on/off state of the device 1000, a relative positioning of the components, such as a display and keypad of the apparatus 1000, the sensor assembly 1014 may also detect a change in position of the apparatus 1000 or a component of the apparatus 1000, the presence or absence of user contact with the apparatus 1000, an orientation or acceleration/deceleration of the apparatus 1000, and a change in temperature of the apparatus 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 can also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communication between the apparatus 1000 and other devices, either wired or wireless. The device 1000 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1016 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 1004, including instructions executable by processor 1020 of apparatus 1000 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Provided herein in embodiments is a non-transitory computer readable storage medium that, when executed by a processor of a mobile terminal, enables the mobile terminal to perform a method of improving speech intelligibility, the method comprising:
acquiring a first sound signal acquired by a first sound acquisition device and acquiring a second sound signal acquired by a second sound acquisition device;
Judging whether the amplitude of a differential signal between the first sound signal and the second sound signal is smaller than a first preset amplitude;
And when the amplitude of the differential signal between the first sound signal and the second sound signal is smaller than a first preset amplitude, carrying out weighted differential processing on the first sound signal and the second sound signal to obtain a third sound signal.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. The application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit herein being indicated by the following claims.
It is to be understood that the present invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (11)
1. A method for improving speech intelligibility, comprising:
Acquiring a first sound signal acquired by a first sound acquisition device and acquiring a second sound signal acquired by a second sound acquisition device;
Judging whether the amplitude of a differential signal between the first sound signal and the second sound signal is smaller than a first preset amplitude;
When the amplitude of the differential signal of the first sound signal and the second sound signal is smaller than a first preset amplitude, carrying out weighted differential processing on the first sound signal and the second sound signal to obtain a third sound signal;
When the amplitude of the differential signal between the first sound signal and the second sound signal is smaller than a first preset amplitude, obtaining a third sound signal after performing weighted differential processing on the first sound signal and the second sound signal, including:
Determining the value of the second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
performing the following operations in a circulating manner until a first circulating ending condition is met;
Determining a differential signal between the first sound signal and a second weighting signal, wherein the second weighting signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to the first preset amplitude.
2. The method of claim 1, wherein,
The step of obtaining a third sound signal after the weighted difference processing is performed on the first sound signal and the second sound signal includes:
and taking a differential signal of the first sound signal and a second weighted signal when the first cycle end condition is met as the third sound signal.
3. The method of claim 1, wherein obtaining a third sound signal after performing weighted difference processing on the first sound signal and the second sound signal comprises:
Determining the value of the second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
The following operations are cyclically performed until the first cycle end condition is satisfied or the value of the second weighting coefficient is equal to or smaller than 0: determining a differential signal between the first sound signal and a second weighting signal, wherein the second weighting signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
determining a value of a first weighting coefficient as a set initial value when the value of the second weighting coefficient is equal to or smaller than 0 and the first cycle end condition is not satisfied; the set initial value of the first weighting coefficient is larger than or equal to 1;
the following operations are cyclically performed until the second cycle end condition is satisfied:
Determining a first weighted signal of the first sound signal, wherein the first weighted signal is a signal obtained by weighting the first sound signal by using the first weighting coefficient; when the first weighted signal is judged to be smaller than the first preset amplitude value, the first weighted coefficient is increased in a second adjustment mode;
The second cycle end condition is that the first weighted signal is greater than or equal to the first preset amplitude value;
the first weighted signal when the second cycle end condition is satisfied is taken as the third sound signal.
4. The method of claim 1, wherein,
The step of obtaining a third sound signal after the weighted difference processing is performed on the first sound signal and the second sound signal includes:
Judging whether the amplitude of the first sound signal is smaller than or equal to the first preset amplitude;
when the amplitude of the first sound signal is larger than the first preset amplitude, determining the value of a second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
The following operations are cyclically performed until the first cycle end condition is satisfied:
Determining a differential signal between the first sound signal and a second weighting signal, wherein the second weighting signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
Taking a differential signal of the first sound signal and a second weighted signal when the first cycle end condition is satisfied as the third sound signal;
When the amplitude of the first sound signal is smaller than or equal to the first preset amplitude, determining the value of a first weighting coefficient as a set initial value; the set initial value of the first weighting coefficient is larger than or equal to 1;
the following operations are cyclically performed until the second cycle end condition is satisfied:
Determining a first weighted signal of the first sound signal, wherein the first weighted signal is a signal obtained by weighting the first sound signal by using the first weighting coefficient; when the first weighted signal is judged to be smaller than the first preset amplitude value, the first weighted coefficient is increased in a second adjustment mode;
The second cycle end condition is that the first weighted signal is greater than or equal to the first preset amplitude value;
the first weighted signal when the second cycle end condition is satisfied is taken as the third sound signal.
5. The method of claim 3 or 4, wherein,
The reducing the second weighting factor in the first adjustment includes one of:
reducing the second weighting factor by a first fixed step size; or decreasing the second weighting factor with a variable step size conforming to a linear variation rule;
said increasing said first weighting factor in a second adjustment comprises one of:
Increasing the first weighting factor by a second fixed step size; or increasing the first weighting factor with a variable step size conforming to a linear variation rule.
6. An apparatus for improving speech intelligibility, comprising:
The acquisition module is used for acquiring the first sound signal acquired by the first sound acquisition device and acquiring the second sound signal acquired by the second sound acquisition device;
the first judging module is used for judging whether the amplitude of the differential signal of the first sound signal and the second sound signal is smaller than a first preset amplitude or not;
The processing module is used for carrying out weighted difference processing on the first sound signal and the second sound signal to obtain a third sound signal when the amplitude of the difference signal of the first sound signal and the second sound signal is smaller than a first preset amplitude;
The processing module comprises:
The first determining module is used for determining the value of the second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
The first circulation module is used for circularly executing the following operations until the first circulation ending condition is met:
Determining a differential signal between the first sound signal and a second weighting signal, wherein the second weighting signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to the first preset amplitude.
7. The apparatus of claim 6, wherein,
The processing module comprises:
And the first confirmation module is used for taking a difference signal of the first sound signal and the second weighted signal when the first cycle end condition is met as the third sound signal.
8. The apparatus of claim 6, wherein,
The processing module comprises:
The second determining module is used for determining the value of the second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
A second loop module for loops performing the following operations until the first loop end condition is satisfied or the value of the second weighting coefficient is equal to or less than 0: determining a differential signal between the first sound signal and a second weighting signal, wherein the second weighting signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to the first preset amplitude;
A third determining module configured to determine a value of a first weighting coefficient as a set initial value when the value of the second weighting coefficient is equal to or smaller than 0 and the first cycle end condition is not satisfied; the set initial value of the first weighting coefficient is larger than or equal to 1;
A third loop module for loop performing the following operations until the second loop end condition is satisfied:
Determining a first weighted signal of the first sound signal, wherein the first weighted signal is a signal obtained by weighting the first sound signal by using the first weighting coefficient; when the first weighted signal is judged to be smaller than the first preset amplitude value, the first weighted coefficient is increased in a second adjustment mode;
The second cycle end condition is that the first weighted signal is greater than or equal to the first preset amplitude value;
and a second confirmation module, configured to take the first weighted signal when the second cycle end condition is satisfied as the third sound signal.
9. The apparatus of claim 6, wherein,
The processing module comprises:
The second judging module is used for judging whether the amplitude of the first sound signal is smaller than or equal to the first preset amplitude;
A fourth determining module, configured to determine, when the amplitude of the first sound signal is greater than the first preset amplitude, that the value of the second weighting coefficient is a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
a fourth loop module for loops performing the following operations until the first loop end condition is satisfied:
Determining a differential signal between the first sound signal and a second weighting signal, wherein the second weighting signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to the first preset amplitude;
a third confirmation module configured to use a differential signal between the first sound signal and a second weighted signal when the first cycle end condition is satisfied as the third sound signal;
a fifth determining module, configured to determine, when the amplitude of the first sound signal is less than or equal to the first preset amplitude, that the value of the first weighting coefficient is a set initial value; the set initial value of the first weighting coefficient is larger than or equal to 1;
a fifth loop module for loops performing the following operations until the second loop end condition is satisfied:
Determining a first weighted signal of the first sound signal, wherein the first weighted signal is a signal obtained by weighting the first sound signal by using the first weighting coefficient; when the first weighted signal is judged to be smaller than the first preset amplitude value, the first weighted coefficient is increased in a second adjustment mode;
The second cycle end condition is that the first weighted signal is greater than or equal to the first preset amplitude value;
and a fourth confirmation module configured to set the first weighted signal when the second cycle end condition is satisfied as the third sound signal.
10. The apparatus of claim 8 or 9, wherein,
The reducing the second weighting factor in the first adjustment includes one of:
reducing the second weighting factor by a first fixed step size;
Reducing the second weighting factor with a variable step size conforming to a linear variation rule;
said increasing said first weighting factor in a second adjustment comprises one of:
increasing the first weighting factor by a second fixed step size;
the first weighting factor is increased with a variable step size conforming to a linear variation rule.
11. A non-transitory computer readable storage medium, which when executed by a processor of a mobile terminal, causes the mobile terminal to perform a method of improving speech intelligibility, the method comprising:
acquiring a first sound signal acquired by a first sound acquisition device and acquiring a second sound signal acquired by a second sound acquisition device;
Judging whether the amplitude of a differential signal between the first sound signal and the second sound signal is smaller than a first preset amplitude;
When the amplitude of the differential signal of the first sound signal and the second sound signal is smaller than a first preset amplitude, carrying out weighted differential processing on the first sound signal and the second sound signal to obtain a third sound signal;
When the amplitude of the differential signal between the first sound signal and the second sound signal is smaller than a first preset amplitude, obtaining a third sound signal after performing weighted differential processing on the first sound signal and the second sound signal, including:
Determining the value of the second weighting coefficient as a set initial value; the set initial value of the second weighting coefficient is smaller than 1 and larger than 0;
performing the following operations in a circulating manner until a first circulating ending condition is met;
Determining a differential signal between the first sound signal and a second weighting signal, wherein the second weighting signal is a signal obtained by weighting the second sound signal by using the second weighting coefficient; when the differential signal is judged to be smaller than the first preset amplitude value, the second weighting coefficient is reduced in a first adjustment mode;
The first cycle end condition is that the amplitude of the differential signal of the first sound signal and the second weighted signal is greater than or equal to the first preset amplitude.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010938044.4A CN111986688B (en) | 2020-09-09 | 2020-09-09 | Method, device and medium for improving voice definition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010938044.4A CN111986688B (en) | 2020-09-09 | 2020-09-09 | Method, device and medium for improving voice definition |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111986688A CN111986688A (en) | 2020-11-24 |
CN111986688B true CN111986688B (en) | 2024-07-23 |
Family
ID=73449269
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010938044.4A Active CN111986688B (en) | 2020-09-09 | 2020-09-09 | Method, device and medium for improving voice definition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111986688B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106302906A (en) * | 2016-09-15 | 2017-01-04 | 上海斐讯数据通信技术有限公司 | A kind of diamylose gram noise-reduction method and device, a kind of mobile terminal |
Family Cites Families (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102543097A (en) * | 2012-01-16 | 2012-07-04 | 华为终端有限公司 | Denoising method and equipment |
JP6300464B2 (en) * | 2013-08-09 | 2018-03-28 | キヤノン株式会社 | Audio processing device |
CN104754430A (en) * | 2013-12-30 | 2015-07-01 | 重庆重邮信科通信技术有限公司 | Noise reduction device and method for terminal microphone |
CN103905646B (en) * | 2014-04-09 | 2016-08-17 | 努比亚技术有限公司 | Communicating terminal and sound processing method thereof |
BR112017001558A2 (en) * | 2014-07-28 | 2017-11-21 | Huawei Tech Co Ltd | method and device for processing sound signals for communications device |
CN104167214B (en) * | 2014-08-20 | 2017-06-13 | 电子科技大学 | A kind of fast source signal reconstruction method of the blind Sound seperation of dual microphone |
JP6568344B2 (en) * | 2014-09-04 | 2019-08-28 | キヤノン株式会社 | Electronic device and control method |
JP6151236B2 (en) * | 2014-11-05 | 2017-06-21 | 日本電信電話株式会社 | Noise suppression device, method and program thereof |
CN104538040A (en) * | 2014-11-28 | 2015-04-22 | 广东欧珀移动通信有限公司 | A method and device for dynamically selecting call voice signals |
CN105280195B (en) * | 2015-11-04 | 2018-12-28 | 腾讯科技(深圳)有限公司 | The processing method and processing device of voice signal |
CN105469785B (en) * | 2015-11-25 | 2019-01-18 | 南京师范大学 | Voice activity detection method and device in communication terminal dual microphone noise-canceling system |
CN106448697A (en) * | 2016-09-28 | 2017-02-22 | 惠州Tcl移动通信有限公司 | Double-microphone noise elimination implementation method and system and smart glasses |
CN106790882A (en) * | 2016-12-29 | 2017-05-31 | 贵州财富之舟科技有限公司 | Communication Dolby circuit and noise-reduction method |
CN107682553B (en) * | 2017-10-10 | 2020-06-23 | Oppo广东移动通信有限公司 | Call signal sending method and device, mobile terminal and storage medium |
CN107786709A (en) * | 2017-11-09 | 2018-03-09 | 广东欧珀移动通信有限公司 | Call noise-reduction method, device, terminal device and computer-readable recording medium |
CN107910015A (en) * | 2017-12-12 | 2018-04-13 | 上海与德科技有限公司 | A kind of terminal device noise-reduction method and terminal device |
CN108154886A (en) * | 2017-12-29 | 2018-06-12 | 广东欧珀移动通信有限公司 | Noise suppression method and apparatus, electronic apparatus, and computer-readable storage medium |
KR102040986B1 (en) * | 2018-08-09 | 2019-11-06 | 주식회사 위스타 | Method and apparatus for noise reduction in a portable terminal having two microphones |
-
2020
- 2020-09-09 CN CN202010938044.4A patent/CN111986688B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106302906A (en) * | 2016-09-15 | 2017-01-04 | 上海斐讯数据通信技术有限公司 | A kind of diamylose gram noise-reduction method and device, a kind of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN111986688A (en) | 2020-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111968662B (en) | Audio signal processing method and device and storage medium | |
JP6964666B2 (en) | Multi-beam selection method and equipment | |
CN108845787B (en) | Audio adjusting method, device, terminal and storage medium | |
CN106371802A (en) | Terminal volume control method and device | |
CN111883164A (en) | Model training method and device, electronic equipment and storage medium | |
CN111988704B (en) | Sound signal processing method, device and storage medium | |
CN112509596A (en) | Wake-up control method and device, storage medium and terminal | |
CN112185353A (en) | Audio signal processing method and device, terminal and storage medium | |
CN111385400A (en) | Backlight brightness adjusting method and device | |
CN114040309B (en) | Wind noise detection method and device, electronic equipment and storage medium | |
CN108600503B (en) | Voice call control method and device | |
CN112863537B (en) | Audio signal processing method, device and storage medium | |
CN112019948B (en) | Intercommunication method for intercom equipment, intercom equipment and storage medium | |
CN111986688B (en) | Method, device and medium for improving voice definition | |
CN106603882A (en) | Incoming call sound volume adjusting method, incoming call sound volume adjusting device and terminal | |
CN113077808B (en) | Voice processing method and device for voice processing | |
CN111524505B (en) | Voice processing method and device and electronic equipment | |
CN107665340B (en) | Fingerprint identification method and device and electronic equipment | |
CN113362841B (en) | Audio signal processing method, device and storage medium | |
CN112637416A (en) | Volume adjusting method and device and storage medium | |
CN114169976B (en) | Recommendation method, device and apparatus for financial data | |
CN113825081B (en) | Hearing aid method and device based on masking treatment system | |
CN113825082B (en) | Method and device for relieving hearing aid delay | |
CN111915536B (en) | Method, device and medium for improving image definition | |
CN119068897A (en) | A speech enhancement method and device based on dual sensors |
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 |