WO2017201868A1 - 语音增益的调整方法、装置及终端 - Google Patents

语音增益的调整方法、装置及终端 Download PDF

Info

Publication number
WO2017201868A1
WO2017201868A1 PCT/CN2016/092373 CN2016092373W WO2017201868A1 WO 2017201868 A1 WO2017201868 A1 WO 2017201868A1 CN 2016092373 W CN2016092373 W CN 2016092373W WO 2017201868 A1 WO2017201868 A1 WO 2017201868A1
Authority
WO
WIPO (PCT)
Prior art keywords
sensitivity
statistical
difference
frequency point
gain
Prior art date
Application number
PCT/CN2016/092373
Other languages
English (en)
French (fr)
Inventor
李小棠
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017201868A1 publication Critical patent/WO2017201868A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M9/00Arrangements for interconnection not involving centralised switching
    • H04M9/08Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Definitions

  • Embodiments of the present invention relate to, but are not limited to, the field of communications, and in particular, to a method, an apparatus, and a terminal for adjusting a voice gain.
  • the terminal usually uses a microphone for voice collection.
  • the voice gain of the microphone is a fixed value, and the loudness sent by the terminal is also a fixed value, which meets the requirements of domestic and foreign standards. Then, when the distance between the user and the terminal changes during the hands-free call, the size of the voice sent to the receiver changes, which affects the user experience.
  • some intelligent terminals set the gain of the microphone path in the recording state to a great extent, which will also cause the user to cut off the amplitude of the electrical signal when recording at a close distance, and play the recording with the speaker. There was a break in the sound.
  • the gain of the microphone is mainly adjusted in two ways: one is to detect the distance between the terminal and the user through the sensor, and adjust the gain of the microphone; the other is to measure the voice input after amplification and A/D conversion.
  • the overall amplitude value is compared to a preset target value to adjust the microphone gain.
  • the above adjustment method has the following problem: for the above-mentioned first adjustment mode, since the user's speaking volume cannot be guaranteed to be consistent, the gain of the fixed microphone at a fixed distance cannot guarantee the stability of the user's speech sound; Adjustment method: The implementation method of this method is complicated. It is inevitable to delay the calculation of the overall amplitude of a speech, and it is not possible to respond to the adjustment gain in time.
  • the embodiment of the invention provides a method, a device and a terminal for adjusting a voice gain, so as to at least solve one of the above technical problems existing in the related art.
  • a method for adjusting a voice gain including:
  • the speech gain of the terminal is adjusted according to the acquired sensitivity of the predetermined frequency point and the reference sensitivity of the predetermined frequency point of the reference speech signal.
  • acquiring the sensitivity of the predetermined frequency point of the specified voice signal comprises: acquiring the first reference of the reference frequency point of the specified voice signal Sensitivity and first statistical sensitivity of the plurality of statistical frequency points; correspondingly,
  • Adjusting the speech gain of the terminal according to the acquired sensitivity and the reference sensitivity of the predetermined frequency point of the reference speech signal comprising: according to the acquired first reference sensitivity, the first statistical sensitivity, and the reference speech Adjusting a second reference sensitivity of the reference frequency of the signal and a second statistical sensitivity of the plurality of statistical frequency points to adjust a speech gain of the terminal.
  • the first statistical sensitivity is obtained by performing statistics on a plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the specified voice signal, to obtain multiple statistics of the specified voice signal. a first statistical mean of the plurality of frequency point voltages corresponding to the frequency points; determining the first statistical sensitivity according to the first statistical mean value; and/or,
  • Obtaining the second statistical sensitivity by performing statistics on a plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the reference speech signal, and obtaining corresponding multiple statistical frequency points of the reference speech signal. a second statistical mean of the plurality of frequency point voltages; determining the second statistical sensitivity based on the second statistical mean.
  • the first statistical mean value is obtained by: counting an average value or a root mean square value of the plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the specified voice signal, to obtain the first a statistical mean; and/or,
  • the second statistical mean value is obtained by: counting an average value or a root mean square value of the plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the reference voice signal, to obtain the second statistical mean value.
  • adjusting the speech gain of the terminal includes:
  • adjusting the voice gain of the terminal according to the change of the first reference sensitivity with respect to the second reference sensitivity and the change of the first difference value with respect to the second difference value includes:
  • the difference between the third difference and the fourth difference is used as a gain adjustment value, Adjusting the voice gain of the terminal; and/or,
  • the absolute value of the sum of the third difference and the fourth difference is used as a gain Adjusting the value to adjust the voice gain of the terminal;
  • the third difference is a difference between the first difference and the second difference
  • the fourth difference is a difference between the first reference sensitivity and the second reference sensitivity.
  • adjusting the voice gain of the terminal according to the change of the first reference sensitivity with respect to the second reference sensitivity and the change of the first difference value with respect to the second difference value includes:
  • the first reference sensitivity is greater than the second reference sensitivity, and the first difference is less than the second difference, or the first reference sensitivity is less than the second reference sensitivity, and the In a case where a difference is greater than the second difference, the second reference sensitivity and the second difference are reacquired.
  • a voice gain adjustment apparatus including:
  • Obtaining a module configured to acquire a sensitivity of a predetermined frequency point of the specified speech signal
  • the adjustment module is configured to adjust the speech gain of the terminal according to the acquired sensitivity of the predetermined frequency point and the reference sensitivity of the predetermined frequency point of the reference speech signal.
  • the acquiring module is further configured to: when the predetermined frequency point includes a reference frequency point and a plurality of statistical frequency points, acquire a first reference sensitivity of the reference frequency point of the specified voice signal, and the The first statistical sensitivity of multiple statistical frequency points; correspondingly,
  • the adjusting module is further configured to: when the predetermined frequency point includes a reference frequency point and a plurality of statistical frequency points, according to the acquired first reference sensitivity, the first statistical sensitivity, and And a second reference sensitivity of the reference frequency of the reference speech signal, and a second statistical sensitivity of the plurality of statistical frequency points, and adjusting a speech gain of the terminal.
  • the acquiring module is further configured to: acquire the first statistical sensitivity by performing statistics on a plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the specified voice signal, to obtain the Specifying a first statistical mean value of the plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the voice signal; determining the first statistical sensitivity according to the first statistical mean value; and/or,
  • the method is configured to: obtain the second statistical sensitivity by performing statistics on a plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the reference speech signal, to obtain the plurality of statistics of the reference speech signal a second statistical mean of the plurality of frequency point voltages corresponding to the frequency points; determining the second statistical sensitivity according to the second statistical mean value.
  • the acquiring module is further configured to: obtain the first statistical mean value by: counting an average value or a mean square of a plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the specified voice signal a root value to obtain the first statistical mean; and/or,
  • the second statistical average is obtained by: collecting an average value or a root mean square value of the plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the reference voice signal, to obtain the second statistics.
  • the adjusting module includes: a determining unit, configured to respectively determine a first difference between the first reference sensitivity and the first statistical sensitivity, and the second reference sensitivity and the second statistical sensitivity a second difference; an adjusting unit configured to adjust a voice of the terminal according to a change of the first reference sensitivity with respect to the second reference sensitivity and a change of the first difference with respect to the second difference Gain.
  • the adjusting unit includes: a first adjusting subunit, configured to be configured when the first reference sensitivity is greater than the second reference sensitivity, and the first difference is greater than the second difference And adjusting a difference between the third difference and the fourth difference as a gain adjustment value to adjust a voice gain of the terminal; and or
  • a second adjustment subunit configured to: when the first reference sensitivity is less than the second reference sensitivity, and the first difference is smaller than the second difference, the third difference and the fourth difference are The absolute value of the sum of the values is used as a gain adjustment value to adjust the speech gain of the terminal;
  • the third difference is a difference between the first difference and the second difference
  • the fourth difference is a difference between the first reference sensitivity and the second reference sensitivity.
  • the adjusting unit includes: an acquiring subunit, configured to be that the first reference sensitivity is greater than a second reference sensitivity, and the first difference is smaller than the second difference, or the first reference If the sensitivity is less than the second reference sensitivity, and the first difference is greater than the second difference, the second reference sensitivity and the second difference are re-acquired.
  • a terminal comprising the apparatus of any of the above embodiments.
  • a storage medium is also provided.
  • the storage medium is arranged to store program code for performing the following steps:
  • the speech gain of the terminal is adjusted according to the acquired sensitivity of the predetermined frequency point and the reference sensitivity of the predetermined frequency point of the reference speech signal.
  • the storage medium is further configured to store program code for performing the following steps: in the case that the predetermined frequency point includes a reference frequency point and a plurality of statistical frequency points, obtaining sensitivity of the predetermined frequency point of the specified voice signal includes :
  • Adjusting the speech gain of the terminal according to the acquired sensitivity and the reference sensitivity of the predetermined frequency point of the reference speech signal includes:
  • the storage medium is further configured to store program code for performing the step of: obtaining the first statistical sensitivity by:
  • the first statistical mean determines the first statistical sensitivity
  • Obtaining the second statistical sensitivity by performing statistics on a plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the reference speech signal, and obtaining corresponding multiple statistical frequency points of the reference speech signal. a second statistical mean of the plurality of frequency point voltages; determining the second statistical sensitivity based on the second statistical mean.
  • the first statistical mean value is obtained by: counting an average value or a root mean square value of the plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the specified voice signal, to obtain the first a statistical mean; and/or,
  • the second statistical mean value is obtained by: counting an average value or a root mean square value of the plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the reference voice signal, to obtain the second statistical mean value.
  • adjusting the speech gain of the terminal includes:
  • adjusting the voice gain of the terminal according to the change of the first reference sensitivity with respect to the second reference sensitivity and the change of the first difference value with respect to the second difference value includes:
  • the difference between the third difference and the fourth difference is used as a gain adjustment value, Adjusting the voice gain of the terminal; and/or,
  • the absolute value of the sum of the third difference and the fourth difference is used as a gain Adjusting a value, adjusting a voice gain of the terminal; wherein the third difference is a difference between the first difference and the second difference, and the fourth difference is the first reference sensitivity and The difference between the second reference sensitivities.
  • the storage medium is further configured to store program code for performing the following steps: Adjusting the change of the first reference sensitivity with respect to the second reference sensitivity, and the change of the first difference value with respect to the second difference, adjusting the voice gain of the terminal includes:
  • the first reference sensitivity is greater than the second reference sensitivity, and the first difference is less than the second difference, or the first reference sensitivity is less than the second reference sensitivity, and the first If the difference is greater than the second difference, the second reference sensitivity and the second difference are reacquired.
  • the speech gain of the terminal is adjusted, and the automatic adjustment of the user's speech input gain is realized, which can solve the related art according to the terminal and the user.
  • the distance between the adjustment of the terminal gain does not guarantee the stability of the user's speech sound, and the effect of ensuring the user's speech sound stability and improving the user experience is achieved.
  • FIG. 1 is a block diagram showing the hardware structure of a mobile terminal for adjusting a voice gain according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for adjusting a voice gain according to an embodiment of the present invention
  • FIG. 3 is a block diagram showing the hardware structure of an intelligent terminal for adjusting a voice gain according to an alternative embodiment of the present invention
  • FIG. 4 is a flowchart of a method of adjusting a voice gain according to an alternative embodiment of the present invention.
  • FIG. 5 is a graph showing changes in the sound of a microphone collected by a sound source and a microphone according to an alternative embodiment of the present invention
  • FIG. 6 is a structural block diagram of an apparatus for adjusting a voice gain according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of an adjustment module 64 in a voice gain adjustment apparatus according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram 1 of an adjusting unit 74 in a voice gain adjusting apparatus according to an embodiment of the present invention.
  • FIG. 9 is a block diagram showing the structure of the adjusting unit 74 in the apparatus for adjusting the voice gain according to the embodiment of the present invention.
  • FIG. 1 is a hardware structural block diagram of a mobile terminal for adjusting a voice gain according to an embodiment of the present invention.
  • the mobile terminal 10 may include one or more (only one shown) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA).
  • FIG. 1 is merely illustrative and does not limit the structure of the above electronic device.
  • the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
  • the memory 104 can be used to store software programs and modules of application software, such as program instructions/modules corresponding to the method for adjusting the voice gain in the embodiment of the present invention, and the processor 102 executes by executing a software program and a module stored in the memory 104.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 may also include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of the above networks include But not limited to the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 106 is arranged to receive or transmit data via a network.
  • the above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10.
  • the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 106 can be a Radio Frequency (RF) module configured to communicate with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • FIG. 2 is a flowchart of a method for adjusting a voice gain according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps. :
  • Step S202 acquiring a sensitivity of a predetermined frequency point of the specified speech signal
  • Step S204 adjusting the speech gain of the terminal according to the acquired sensitivity and the reference sensitivity of the predetermined frequency point of the reference speech signal.
  • the voice gain of the terminal is adjusted according to the sensitivity of the predetermined frequency point of the specified voice signal and the sensitivity of the predetermined frequency point of the reference voice signal, and the terminal gain is adjusted according to the distance between the terminal and the user in the related art.
  • the gain of the terminal is adjusted by introducing the frequency point sensitivity of the speech signal. Compared with the related art, the gain is adjusted only according to the distance between the terminal and the user, and the gain adjustment is not only realized. The accuracy of the user language is guaranteed to be stable and the user experience is improved.
  • the execution body of the foregoing steps may be a device that can collect voices, such as a smart terminal or a tablet computer, but is not limited thereto.
  • the predetermined frequency points may be in various combinations, for example, the predetermined frequency points may include a certain low frequency, intermediate frequency or high frequency frequency of the voice signal.
  • the predetermined frequency point may include a reference frequency point and a plurality of statistical frequency points.
  • the step S202 may further include: acquiring a first reference sensitivity of the reference frequency point of the specified voice signal and a first statistical sensitivity of the plurality of statistical frequency points;
  • the above step S204 may further include: according to the acquired first reference sensitivity, the first statistical sensitivity, and the second reference sensitivity of the reference frequency of the reference speech signal, The second statistical sensitivity of the statistical frequency points adjusts the speech gain of the terminal.
  • the first reference sensitivity of the reference frequency point of the specified speech signal and the first statistical sensitivity of the plurality of statistical frequency points and the second reference sensitivity of the reference speech signal reference frequency point and the plurality of statistics adjusts the speech gain of the terminal. Since multiple frequency points are used for the adjustment of the terminal speech gain, the accuracy and reliability of the terminal speech gain adjustment are improved.
  • the first statistical sensitivity may be obtained in multiple manners. For example, first, multiple frequency point voltages corresponding to multiple statistical frequency points of the specified voice signal are counted, and corresponding to multiple statistical frequency points of the specified voice signal are obtained. A first statistical mean of the plurality of frequency point voltages, and then determining a first statistical sensitivity based on the first statistical mean.
  • the second statistical sensitivity may be obtained in a plurality of manners, for example, counting a plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the reference speech signal, and obtaining a plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the reference speech signal. a second statistical mean; determining a second statistical sensitivity based on the second statistical mean.
  • the statistical mean value of the voice signal is determined according to the statistics average obtained by counting the frequency points corresponding to the plurality of statistical frequency points of the voice signal, and the accuracy and reliability of the determined statistical sensitivity are improved. Sex.
  • the first statistical mean value may be obtained in multiple manners, for example, counting an average value or a root mean square value of multiple frequency point voltages corresponding to multiple statistical frequency points of the specified voice signal, to obtain a first statistical mean value.
  • the second statistical mean value may be obtained in a plurality of manners, for example, an average value or a root mean square value of a plurality of frequency point voltages corresponding to a plurality of statistical frequency points of the reference reference speech signal to obtain a second statistical mean value.
  • the average value or the root mean square of the plurality of frequency points corresponding to the plurality of statistical frequency points of the voice signal is obtained, and the statistical mean value is obtained, and the reliability of the statistical mean value is improved, and the reliability is improved.
  • the efficiency of getting the statistical mean is obtained.
  • the foregoing step S204 may further include: respectively determining a first difference between the first reference sensitivity and the first statistical sensitivity and a second difference between the second reference sensitivity and the second statistical sensitivity; according to the first reference sensitivity, a change in the second reference sensitivity, and a first difference relative to the second The difference in the difference is adjusted to adjust the speech gain of the terminal.
  • adjusting the voice gain of the terminal according to the change of the first reference sensitivity with respect to the second reference sensitivity and the change of the first difference value with respect to the second difference may be performed in various manners:
  • the third difference (the difference between the first difference and the second difference) and the fourth difference are The difference between (the difference between the first reference sensitivity and the second reference sensitivity) is used as a gain adjustment value to adjust the speech gain of the terminal.
  • the absolute value of the sum of the third difference and the fourth difference is used as the gain adjustment value, and the terminal is adjusted. Voice gain.
  • the speech gain of the different adjustment values to the terminal is determined respectively. Make adjustments.
  • the difference from the reference sensitivity and the statistical sensitivity does not change.
  • the adjustment of the terminal speech gain can be stopped, the reference speech signal can be reacquired, and the second reference sensitivity and the second difference can be obtained according to the reference speech signal.
  • the first reference sensitivity is greater than the second reference sensitivity, and the first difference is less than the second difference, or the first reference sensitivity is less than the second reference sensitivity, and In a case where the first difference is greater than the second difference, the second reference sensitivity and the second difference are re-acquired.
  • the user voice input gain is automatically realized according to the consistency of the user voice spectrum and the change of the reference sensitivity and the difference between the reference sensitivity and the statistical sensitivity as the adjustment value of the terminal voice gain.
  • the adjustment avoids the influence of the distance change of the hands-free call transmission, and also avoids the problem that the sound of the far and close distance recording is too small or too large, and the influence of the change of the user's own sound level on the voice signal.
  • the frequency of the reference point according to the speech signal and the frequency of the plurality of statistical frequency points may also be adopted. Change and adjust the voice gain of the terminal. Use different frequency points of the voice signal The frequency of the frequency point varies with the loudness of the speech signal, and the speech gain of the terminal is adjusted according to the change of the frequency of the frequency point of one or more frequency points.
  • FIG. 3 is a voice gain according to an optional embodiment of the present invention.
  • the hardware structure block diagram of the smart terminal of the adjustment method as shown in FIG. 3, the smart terminal 30 may include one or more (only one shown in the figure) the foregoing memory 104, the sound collection device 302, the gain adjustment module 304, and the detection module 306. Processing module 308 and baseband processor 3010. It will be understood by those skilled in the art that the structure shown in FIG. 3 is merely illustrative and does not limit the structure of the above electronic device.
  • the mobile terminal 10 may also include more or fewer components than those shown in FIG. 3, or have a different configuration than that shown in FIG. The mobile terminal will be described below.
  • the sound collecting device 302 is configured to convert the voice input sound signal into a voltage signal
  • the gain adjustment module 304 is connected to the sound collection device 302, and is configured to adjust the voice input electrical signal amplification gain;
  • the detecting module 306 is connected to the sound collecting device 302, and is configured to acquire voltages of various frequency points of the voice input;
  • the processing module 308 is connected to the foregoing detecting module 306 and the gain adjusting module 304, and is configured to acquire sensitivity of each frequency point of the voice input, and calculate a voice input to be adjusted gain value;
  • the memory 104 is connected to the processing module 308, and is configured to store voice reference frequency response data;
  • the baseband processor 3010 is coupled to the gain adjustment module 304 described above and configured for digital signal processing of voice input.
  • the baseband processor 3010 belongs to the existing terminal voice processing technology, and has little relevance to the main content of the present application. Therefore, detailed description is not provided.
  • FIG. 4 is a flowchart of a method for adjusting a voice gain according to an alternative embodiment of the present invention. The process includes the following steps:
  • step S402 the sound collection device acquires the user's initial voice input.
  • the sound collection device 302 is configured to acquire a user voice input and convert the sound pressure into a voltage signal.
  • the user selects a suitable distance voice input (for example, when the user holds a call, the distance between the human and the mobile is relatively stable, and the distance of the handheld voice call state can be selected), and at this time, the distance between the human mouth and the terminal microphone is the reference distance.
  • the voice sound signal is converted to a voltage signal by the sound collecting device 302.
  • the initial speech input here (similar to the role of the aforementioned reference speech signal) is relative to the adjustment of the speech gain in order to obtain the adjusted reference sensitivity and the reference difference value, rather than the user's first speech input.
  • Step S404 the detecting module acquires voltages of the respective frequency points.
  • the detecting module 306 is configured to acquire a voltage of a plurality of frequency points of the voice input.
  • the detection module 306 can include a plurality of band rejection filters and peak detection circuits of different frequencies.
  • the plurality of frequency input frequency points can be obtained through different frequency band rejection filters and peak detection circuits, and the acquired frequency point voltage can include a reference frequency.
  • the frequency point voltage of the point, and the frequency point voltage of one or more remaining frequency points (similar to the effect of the aforementioned plurality of statistical frequency points).
  • the loudness weighting calculation range is 200-4000Hz, and the speech sound intensity is concentrated at 400Hz-1600Hz, that is, the loudness is larger in the range of 400Hz-1600Hz, while others
  • the frequency of the speech is very small (that is, the remaining frequency speech is relatively small).
  • the low-frequency speech sensitivity is not easily affected by the different hand-held positions of the terminal or the change of the hand-held angle.
  • a certain low-frequency frequency (which can be below 300 Hz) in the voice input frequency range is used as a reference.
  • the frequency point one or more frequency points in the range of 400 Hz to 1600 Hz are selected as the loudness statistical frequency points.
  • the detecting module 306 obtains the voltage V 0 of the reference frequency point (100 Hz) and the statistical frequency point (500 Hz). , 1000 Hz, 1500 Hz) voltages V 1 , V 2 , V 3 .
  • Step S406 the processing module calculates the reference frequency point sensitivity and the statistical frequency point sensitivity, and the difference between the two; the reference frequency point sensitivity is used as the reference sensitivity, and the difference between the two is used as the reference difference value.
  • the processing module 308 is configured to convert each frequency point voltage into a sensitivity of each frequency point, and base
  • the reference frequency sensitivity, the loudness statistical frequency sensitivity and the reference sensitivity are calculated to obtain the speech input adjustment gain.
  • the detecting module 306 obtains the reference frequency point voltage of the reference frequency point of the voice input and the frequency point voltage of the plurality of statistical frequency points, and sends the frequency to the processing module 308, and the processing module 308 calculates the reference frequency point of the reference frequency point.
  • Sensitivity is used as the reference sensitivity, and then the increase or decrease of the sound source distance can be determined according to the comparison between the reference frequency point sensitivity and the reference sensitivity; the processing module 308 calculates the loudness statistical frequency point sensitivity (or statistical sensitivity) of the remaining frequency points.
  • the loudness statistical frequency point sensitivity refers to the sensitivity statistical value calculated by the mathematical formula for one or more frequency points in the loudness statistical frequency range (such as narrowband speech 300Hz-3400Hz). The details can be as follows:
  • the reference frequency point sensitivity of the reference frequency point is calculated, and the reference frequency point sensitivity is used as the reference sensitivity S 0 (similar to the effect of the aforementioned second reference sensitivity).
  • the frequency point voltage of the remaining frequency points is counted by a mathematical calculation formula, for example, the average value calculation formula:
  • V avg is the average value of the frequency point voltage
  • v i is the frequency point voltage of the frequency point i
  • n is the number of frequency points.
  • V rms is the rms value of the frequency point voltage
  • v i is the frequency point voltage of the frequency point i
  • n is the number of frequency points.
  • the sensitivity of the statistical voltage after counting the frequency points of the remaining frequency points is calculated as the statistical sensitivity (similar to the effect of the second statistical sensitivity described above); the difference between the statistical sensitivity and the reference sensitivity is obtained as the reference difference The value ⁇ S 0 (similar to the effect of the aforementioned second difference).
  • the memory 104 Stored in the memory 104 together with the reference difference ⁇ S 0 reference sensitivity S 0. At this time, the memory 104 is used to preset the reference sensitivity and the reference difference value.
  • the sensitivity calculation formula can be various, for example, the logarithmic calculation formula of the audio voltage relative to one volt (1v):
  • dBV sensitivity
  • V x audio voltage
  • the processing module 308 obtains the reference frequency point sensitivity according to the sensitivity calculation formula, and the statistical frequency point voltage. After the average [(V 1 + V 2 + V 3 ) / 3] is converted into statistical frequency point sensitivity.
  • step S408 the user's subsequent voice is converted by the sound collection device.
  • the sound and electricity conversion is performed by the sound collecting device 302.
  • Step S410 the detecting module acquires voltages of various frequency points of the voice.
  • Step S412 the processing module calculates the reference frequency point sensitivity and the statistical frequency point sensitivity, and the difference between the two; and calculates the to-be-adjusted gain value from the reference sensitivity and the reference difference, and sends the value to the gain adjustment module 304.
  • the sound collection device 302 continues to acquire the user voice, and the detection module 306 acquires the speech and audio point voltage (the reference frequency point and one or more statistical frequency points and the reference frequency point of the first user voice input and multiple
  • the processing module 308 calculates the reference frequency S i sensitivity of the subsequently acquired user voice (similar to the effect of the first reference sensitivity described above) and the statistical sensitivity (similar to the effect of the first statistical sensitivity described above), and according to The reference frequency sensitivity S i , the statistical sensitivity, the reference sensitivity S 0 , and the reference difference ⁇ S 0 are used to calculate the gain value to be adjusted, and are sent to the gain adjustment module 304 for gain increase or decrease processing.
  • Calculating the gain value to be adjusted according to the reference frequency point sensitivity S i , the statistical sensitivity, the reference sensitivity S 0 and the reference difference value ⁇ S 0 may be performed in various manners, for example, calculating the reference frequency point sensitivity S i of the subsequently acquired user voice and The difference ⁇ S i of the statistical sensitivity (similar to the effect of the first difference described above), and the difference between the reference frequency point sensitivity S i and the reference sensitivity S 0 , and the reference difference value ⁇ S 0 to calculate the speech adjustment gain value .
  • FIG. 5 is a graph showing a variation of the distance between the sound source and the microphone when the microphone is collected according to an alternative embodiment of the present invention.
  • the sensitivity of each frequency point of speech decreases. Due to the physical characteristics such as wavelength length and frequency directivity, the low-frequency speech attenuation is smaller under the same conditions, while the high-frequency speech attenuation is larger. The specific performance is that the low-frequency sensitivity decreases less, and the medium- and high-frequency sensitivity decreases. More.
  • the statistical frequency point sensitivity calculation method can reduce the influence of the sensitivity of the user's voice and the high frequency individual frequency point attenuation caused by the terminal handheld mode and angle.
  • the low frequency speech acquires the reference frequency point sensitivity.
  • the low frequency speech propagation loss is small under the same energy, the low frequency wavelength is longer, the sensitivity is not affected by the terminal handheld mode and angle, and the low frequency speech sound is small, and the loudness statistics are not in the domestic and international audio standards. In the frequency range, the influence on the user's speech sound level can be neglected. Therefore, selecting the low frequency reference frequency point sensitivity as the reference, and adjusting the speech gain with the statistical frequency point sensitivity difference size has better accuracy, according to the reference frequency point.
  • the change of sensitivity and statistical frequency point sensitivity can be used to determine the distance of the sound source distance or the size change of the user's voice through the sensitivity change characteristic shown in FIG. 5.
  • step S414 the gain adjustment module adjusts the amplification gain, and proceeds to step S408.
  • the processing module 308 sends the adjusted gain value to the gain adjustment module 304 to reset the amplification gain.
  • the gain adjustment module 304 is configured to adjust the user voice input gain.
  • the gain adjustment module 304 performs voice gain resetting, which is a common technique and will not be described in detail herein.
  • User voice may change due to illness, or the terminal lends to others to bring about voice changes, that is, the voice spectrum changes, and the corresponding reference frequency point sensitivity and statistical frequency point sensitivity may also have large differences, such as reference frequency point sensitivity S i It is greater than the reference sensitivity S 0 , and the statistical frequency point sensitivity and the reference frequency point sensitivity difference ⁇ S i are smaller than the reference difference ⁇ S 0 ; or the reference frequency point sensitivity S i is smaller than the reference sensitivity S 0 , and the statistical frequency point sensitivity and the reference frequency are The point sensitivity difference ⁇ S i is greater than the reference difference ⁇ S 0 ; therefore, it can be judged according to this point, if the reference sensitivity S i and the statistical frequency point sensitivity and the reference frequency point sensitivity difference ⁇ S i are not simultaneously greater than or simultaneously less than the reference
  • the sensitivity S 0 and the reference difference ⁇ S 0 indicate that the speech sound has a large change. Therefore, as an optional implementation, the method for
  • the user uses the smart terminal for hands-free calling, and the distance between the mouth and the microphone will inevitably change, which will cause the other party to hear different sounds and affect the user experience; in addition, due to the voice recognition for achieving a larger distance, some intelligence
  • the terminal sets the microphone recording gain to a great value, causing the user to cut off due to excessive amplitude of the electrical signal when recording at a close distance, and breaks the sound when playing the recording with the speaker.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a device for adjusting the voice gain is provided, and the device is used to implement the foregoing embodiments and optional embodiments, and details are not described herein.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • FIG. 6 is a structural block diagram of an apparatus for adjusting a voice gain according to an embodiment of the present invention.
  • the apparatus includes an acquisition module 62 (similar to some functions of the foregoing processing module 308) and an adjustment module 64 (with the aforementioned gain adjustment).
  • the function of module 304 is similar), and the device will be described below.
  • the obtaining module 62 is configured to acquire the sensitivity of the predetermined frequency point of the specified voice signal; the adjusting module 64 is connected to the acquiring module 62, and is configured to adjust the terminal according to the acquired sensitivity and the reference sensitivity of the predetermined frequency point of the reference voice signal. Voice gain.
  • the obtaining module 62 may be further configured to: when the predetermined frequency point includes the reference frequency point and the plurality of statistical frequency points, acquire the first reference sensitivity of the reference frequency point of the specified voice signal and the plurality of statistical frequency points.
  • the first statistical sensitivity may be further configured to: according to the obtained first reference sensitivity, the first statistical sensitivity, and the second reference frequency of the reference speech signal, where the predetermined frequency point includes the reference frequency point and the plurality of statistical frequency points The sensitivity of the reference and the second statistical sensitivity of the plurality of statistical frequency points are used to adjust the speech gain of the terminal.
  • the obtaining module 62 may be configured to obtain the first statistical sensitivity by performing statistics on multiple frequency points corresponding to the plurality of statistical frequency points of the specified voice signal to obtain multiple statistical frequencies of the specified voice signal. a first statistical mean of the plurality of frequency point voltages corresponding to the points; determining a first statistical sensitivity according to the first statistical mean; and/or,
  • the second statistical sensitivity is obtained by: counting a plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the reference speech signal, and obtaining a second statistics of the plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the reference speech signal. Mean; determining the second statistical sensitivity based on the second statistical mean.
  • the obtaining module 62 is further configured to: obtain the first statistical mean value by: counting an average value or a root mean square value of the plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the specified voice signal, to obtain the first Statistical mean; and/or,
  • the second statistical mean value is obtained by: counting an average value or a root mean square value of the plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the reference voice signal to obtain a second statistical mean value.
  • FIG. 7 is a structural block diagram of an adjustment module 64 in a voice gain adjustment apparatus according to an embodiment of the present invention.
  • the adjustment module 64 includes a determining unit 72 (similar to some functions of the foregoing processing module 308) and an adjustment unit. 74.
  • the adjustment module 64 will be described below.
  • the determining unit 72 is configured to respectively determine a first difference between the first reference sensitivity and the first statistical sensitivity and a second difference between the second reference sensitivity and the second statistical sensitivity; the adjusting unit 74 is connected to the determining unit 72, and is configured to The speech gain of the terminal is adjusted according to a change in the first reference sensitivity relative to the second reference sensitivity and a change in the first difference relative to the second difference.
  • FIG. 8 is a block diagram showing the structure of the adjusting unit 74 in the apparatus for adjusting the voice gain according to the embodiment of the present invention.
  • the adjusting unit 74 includes a first adjusting subunit 82 and a second adjusting subunit 84. This adjustment unit 74 will be described.
  • the first adjusting sub-unit 82 is configured to set a difference between the third difference and the fourth difference as a gain adjustment value, where the first reference sensitivity is greater than the second reference sensitivity, and the first difference is greater than the second difference Adjusting the voice gain of the terminal; the second adjusting subunit 84 is configured to set the third difference and the fourth difference if the first reference sensitivity is less than the second reference sensitivity and the first difference is less than the second difference
  • the absolute value of the sum of the values is used as the gain adjustment value to adjust the speech gain of the terminal; wherein the third difference is the difference between the first difference and the second difference, and the fourth difference is the first reference sensitivity and the second reference sensitivity Difference.
  • FIG. 9 is a structural block diagram 2 of an adjusting unit 74 in a voice gain adjusting apparatus according to an embodiment of the present invention.
  • the adjusting unit 74 includes an obtaining subunit 92 (similar to some functions of the foregoing processing module 308).
  • the adjustment unit 74 will be described below.
  • the obtaining sub-unit 92 is configured to set the first reference sensitivity to be greater than the second reference sensitivity, and the first difference is less than the second difference, or the first reference sensitivity is less than the second reference sensitivity, and the first difference is greater than the second difference In the case of the second reference sensitivity and the second difference.
  • Re-acquiring the second reference sensitivity and the second difference may be implemented by reacquiring the reference speech signal.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the predetermined frequency point includes the reference frequency point and the plurality of statistical frequency points
  • Acquiring the sensitivity of the predetermined frequency point of the specified speech signal includes: acquiring a first reference sensitivity of the reference frequency point of the specified speech signal and a first statistical sensitivity of the plurality of statistical frequency points;
  • Adjusting the speech gain of the terminal according to the acquired sensitivity and the reference sensitivity of the predetermined frequency point of the reference speech signal includes: obtaining the first reference sensitivity, the first statistical sensitivity, and the second reference sensitivity of the reference frequency of the reference speech signal The second statistical sensitivity of the plurality of statistical frequency points is adjusted to adjust the voice gain of the terminal.
  • the storage medium is further arranged to store program code for performing the following steps:
  • Obtaining a first statistical sensitivity by: performing statistics on a plurality of frequency point voltages corresponding to a plurality of statistical frequency points of the specified voice signal, and obtaining a first plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the specified voice signal Statistical mean; determining a first statistical sensitivity based on the first statistical mean; and/or,
  • Obtaining a second statistical sensitivity by: performing statistics on a plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the reference speech signal, and obtaining a second plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the reference speech signal The statistical mean is determined; the second statistical sensitivity is determined according to the second statistical mean.
  • the storage medium is further arranged to store program code for performing the following steps:
  • Obtaining a first statistical mean value by: calculating an average value or a root mean square value of the plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the specified voice signal, to obtain a first statistical mean value; and/or, by using the following manner, Obtaining a second statistical mean value: averaging the average value or the root mean square value of the plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the reference speech signal to obtain a second statistical mean value.
  • the storage medium is further arranged to store program code for performing the following steps:
  • Adjusting the speech gain of the terminal according to the obtained first reference sensitivity, the first statistical sensitivity, and the second reference sensitivity of the reference frequency of the reference speech signal and the second statistical sensitivity of the plurality of statistical frequency points include:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the first difference relative to Adjusting the voice gain of the terminal according to the change of the second difference includes:
  • the difference between the third difference and the fourth difference is used as a gain adjustment value, and the voice gain of the terminal is adjusted; and Or, in a case where the first reference sensitivity is less than the second reference sensitivity, and the first difference is smaller than the second difference, the absolute value of the sum of the third difference and the fourth difference is used as the gain adjustment value, and the terminal is adjusted.
  • the third difference is the difference between the first difference and the second difference
  • the fourth difference is the difference between the first reference sensitivity and the second reference sensitivity.
  • the storage medium is further arranged to store program code for performing the following steps:
  • Adjusting the speech gain of the terminal according to the change of the first reference sensitivity relative to the second reference sensitivity and the change of the first difference value with respect to the second difference value comprises:
  • Retrieving the first reference sensitivity is greater than the second reference sensitivity, and the first difference is less than the second difference, or the first reference sensitivity is less than the second reference sensitivity, and the first difference is greater than the second difference Second reference sensitivity and second difference.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs, according to the stored program code in the storage medium, acquiring a sensitivity of a predetermined frequency point of the specified voice signal; and determining sensitivity according to the acquired frequency and the reference frequency of the reference frequency signal. , adjust the voice gain of the terminal.
  • the processor performs, according to the stored program code in the storage medium, acquiring a predetermined frequency point of the specified voice signal if the predetermined frequency point includes the reference frequency point and the plurality of statistical frequency points.
  • the sensitivity includes: acquiring a first reference sensitivity of a reference frequency point of the specified speech signal and a first statistical sensitivity of the plurality of statistical frequency points; adjusting the speech gain of the terminal according to the acquired sensitivity and the reference sensitivity of the predetermined frequency point of the reference speech signal
  • the method includes: adjusting a voice gain of the terminal according to the obtained first reference sensitivity, the first statistical sensitivity, and the second reference sensitivity of the reference frequency of the reference voice signal, and the second statistical sensitivity of the plurality of statistical frequency points.
  • the processor executes according to the stored program code in the storage medium: Obtaining a first statistical sensitivity by: performing statistics on a plurality of frequency point voltages corresponding to a plurality of statistical frequency points of the specified voice signal, and obtaining a first plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the specified voice signal Statistic mean; determining a first statistical sensitivity according to the first statistical mean; and/or obtaining a second statistical sensitivity by: counting a plurality of frequency points corresponding to the plurality of statistical frequency points of the reference speech signal to obtain a reference a second statistical mean of the plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the voice signal; determining the second statistical sensitivity according to the second statistical mean value.
  • the processor performs, according to the stored program code in the storage medium, the first statistical average value is obtained by: counting a plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the specified voice signal. The average value or the root mean square value, the first statistical mean value is obtained; and/or, the second statistical mean value is obtained by: averaging the plurality of frequency point voltages corresponding to the plurality of statistical frequency points of the statistical reference speech signal or The root mean square value gives the second statistical mean.
  • the processor performs, according to the stored program code in the storage medium, according to the acquired first reference sensitivity, the first statistical sensitivity, and the second reference sensitivity of the reference frequency of the reference speech signal.
  • the second statistical sensitivity of the plurality of statistical frequency points, the adjusting the voice gain of the terminal comprises: respectively determining a first difference between the first reference sensitivity and the first statistical sensitivity and a second difference between the second reference sensitivity and the second statistical sensitivity;
  • the speech gain of the terminal is adjusted according to a change in the first reference sensitivity relative to the second reference sensitivity and a change in the first difference relative to the second difference.
  • the processor performs, according to the stored program code in the storage medium, the change according to the first reference sensitivity with respect to the second reference sensitivity, and the change of the first difference value with respect to the second difference value.
  • Adjusting the voice gain of the terminal includes: when the first reference sensitivity is greater than the second reference sensitivity, and the first difference is greater than the second difference, the difference between the third difference and the fourth difference is used as the gain adjustment value, Adjusting the speech gain of the terminal; and/or, if the first reference sensitivity is less than the second reference sensitivity, and the first difference is less than the second difference, the absolute value of the sum of the third difference and the fourth difference is As a gain adjustment value, the voice gain of the terminal is adjusted; wherein the third difference is a difference between the first difference and the second difference, and the fourth difference is a difference between the first reference sensitivity and the second reference sensitivity.
  • the processor performs, according to the stored program code in the storage medium, the change according to the first reference sensitivity with respect to the second reference sensitivity, and the change of the first difference value with respect to the second difference value.
  • Adjusting the voice gain of the terminal includes: the first reference sensitivity is greater than the second reference The sensitivity is determined, and the first difference is less than the second difference, or the first reference sensitivity is less than the second reference sensitivity, and the first difference is greater than the second difference, the second reference sensitivity and the second difference are reacquired.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the present application provides a method, an apparatus, and a terminal for adjusting a voice gain, wherein the method includes: acquiring a sensitivity of a predetermined frequency point of a specified voice signal; and according to the acquired sensitivity, and the predetermined frequency of the reference voice signal The reference sensitivity of the point adjusts the speech gain of the terminal.
  • the application can solve the problem that the user terminal can not ensure the stability of the user's speech sound according to the distance between the terminal and the user in the related art, thereby achieving the effect of ensuring the stability of the user's speech sound and improving the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

本申请提供了一种语音增益的调整方法、装置及终端,其中,所述方法包括:获取指定语音信号的预定频点的灵敏度;根据获取的所述灵敏度,以及基准语音信号的所述预定频点的基准灵敏度,调整终端的语音增益。

Description

语音增益的调整方法、装置及终端 技术领域
本发明实施例涉及但不限于通信领域,具体而言,涉及一种语音增益的调整方法、装置及终端。
背景技术
终端通常采用麦克风进行语音采集,麦克风采集的语音增益为固定值,终端发送的响度也为固定值,符合国内外标准要求。那么,在免提通话时,若用户与终端之间的距离发生变化,将导致发送给接收方的语音大小发生变化,影响用户体验。另外,由于要实现一定距离的语音识别,一些智能终端将录音状态下的麦克风通路的增益设置极大,也将引起用户较近距离录音时因电信号幅度过大出现削波,用扬声器播放录音时出现破音现象。
相关技术中,主要通过以下两种方式调整麦克风的增益:一种是通过传感器检测终端与用户之间的距离,调整麦克风的增益;另一种则是统计语音输入经放大以及A/D转换后的总体幅度值,并与预设目标值对比,进而调整麦克风增益。
然而,上述调整方式存在如下问题:对于上述第一种调整方式,由于用户说话音量不能保证始终如一,因此,固定距离下设置固定麦克风的增益也无法保证用户语音响度的稳定;对于上述第二种调整方式:该方式的实现方式复杂,计算一段语音的整体幅度难免延时,不能及时响应调整增益。
发明内容
本发明实施例提供了一种语音增益的调整方法、装置及终端,以至少解决相关技术中存在的上述技术问题之一。
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
根据本发明的一个实施例,提供了一种语音增益的调整方法,包括:
获取指定语音信号的预定频点的灵敏度;
根据获取的所述预定频点的灵敏度,以及基准语音信号的所述预定频点的基准灵敏度,调整终端的语音增益。
可选地,在所述预定频点包括参考频点和多个统计频点的情况下,获取指定语音信号的预定频点的灵敏度包括:获取指定语音信号的所述参考频点的第一参考灵敏度和所述多个统计频点的第一统计灵敏度;相应的,
根据获取的所述灵敏度,以及基准语音信号的所述预定频点的基准灵敏度,调整终端的语音增益包括:根据获取的所述第一参考灵敏度、所述第一统计灵敏度,以及所述基准语音信号的所述参考频点的第二参考灵敏度、所述多个统计频点的第二统计灵敏度,调整终端的语音增益。
可选地,通过以下方式,获取所述第一统计灵敏度:对所述指定语音信号的所述多个统计频点对应的多个频点电压进行统计,得到所述指定语音信号的多个统计频点对应的多个频点电压的第一统计均值;根据所述第一统计均值确定所述第一统计灵敏度;和/或,
通过以下方式,获取所述第二统计灵敏度:对所述基准语音信号的所述多个统计频点对应的多个频点电压进行统计,得到所述基准语音信号的多个统计频点对应的多个频点电压的第二统计均值;根据所述第二统计均值确定所述第二统计灵敏度。
可选地,通过以下方式,得到所述第一统计均值:统计所述指定语音信号的所述多个统计频点对应的多个频点电压的平均值或者均方根值,得到所述第一统计均值;和/或,
通过以下方式,得到所述第二统计均值:统计所述基准语音信号的所述多个统计频点对应的多个频点电压的平均值或者均方根值,得到所述第二统计均值。
可选地,根据获取的所述第一参考灵敏度、所述第一统计灵敏度,以及所述基准语音信号的所述参考频点的第二参考灵敏度和所述多个统计频点的第二统计灵敏度,调整终端的语音增益包括:
分别确定所述第一参考灵敏度与所述第一统计灵敏度的第一差值以及所 述第二参考灵敏度与所述第二统计灵敏度的第二差值;
根据所述第一参考灵敏度相对于所述第二参考灵敏度的变化,以及所述第一差值相对于所述第二差值的变化,调整终端的语音增益。
可选地,根据所述第一参考灵敏度相对于所述第二参考灵敏度的变化,以及所述第一差值相对于所述第二差值的变化,调整终端的语音增益包括:
在所述第一参考灵敏度大于所述第二参考灵敏度,且所述第一差值大于所述第二差值的情况下,将第三差值与第四差值之差作为增益调整值,调整所述终端的语音增益;和/或,
在所述第一参考灵敏度小于所述第二参考灵敏度,且所述第一差值小于所述第二差值的情况下,将第三差值与第四差值之和的绝对值作为增益调整值,调整所述终端的语音增益;
其中,所述第三差值为所述第一差值与所述第二差值之差,所述第四差值为所述第一参考灵敏度与所述第二参考灵敏度之差。
可选地,根据所述第一参考灵敏度相对于所述第二参考灵敏度的变化,以及所述第一差值相对于所述第二差值的变化,调整终端的语音增益包括:
在所述第一参考灵敏度大于所述第二参考灵敏度,且所述第一差值小于所述第二差值,或者、所述第一参考灵敏度小于所述第二参考灵敏度,且所述第一差值大于所述第二差值的情况下,重新获取所述第二参考灵敏度以及所述第二差值。
根据本发明的另一个实施例,提供了一种语音增益的调整装置,包括:
获取模块,设置为获取指定语音信号的预定频点的灵敏度;
调整模块,设置为根据获取的所述预定频点的灵敏度,以及基准语音信号的所述预定频点的基准灵敏度,调整终端的语音增益。
可选地,所述获取模块,还设置为在所述预定频点包括参考频点和多个统计频点的情况下,获取指定语音信号的所述参考频点的第一参考灵敏度和所述多个统计频点的第一统计灵敏度;相应的,
所述调整模块,还设置为在所述预定频点包括参考频点和多个统计频点的情况下,根据获取的所述第一参考灵敏度、所述第一统计灵敏度,以及所 述基准语音信号的所述参考频点的第二参考灵敏度、所述多个统计频点的第二统计灵敏度,调整终端的语音增益。
可选地,所述获取模块还设置为通过以下方式,获取所述第一统计灵敏度:对所述指定语音信号的所述多个统计频点对应的多个频点电压进行统计,得到所述指定语音信号的多个统计频点对应的多个频点电压的第一统计均值;根据所述第一统计均值确定所述第一统计灵敏度;和/或,
设置为通过以下方式,获取所述第二统计灵敏度:对所述基准语音信号的所述多个统计频点对应的多个频点电压进行统计,得到所述基准语音信号的所述多个统计频点对应的多个频点电压的第二统计均值;根据所述第二统计均值确定所述第二统计灵敏度。
可选地,所述获取模块还设置为通过以下方式,得到所述第一统计均值:统计所述指定语音信号的所述多个统计频点对应的多个频点电压的平均值或者均方根值,得到所述第一统计均值;和/或,
设置为通过以下方式,得到所述第二统计均值:统计所述基准语音信号的所述多个统计频点对应的多个频点电压的平均值或者均方根值,得到所述第二统计均值。。
可选地,所述调整模块包括:确定单元,设置为分别确定所述第一参考灵敏度与所述第一统计灵敏度的第一差值以及所述第二参考灵敏度与所述第二统计灵敏度的第二差值;调整单元,设置为根据所述第一参考灵敏度相对于所述第二参考灵敏度的变化,以及所述第一差值相对于所述第二差值的变化,调整终端的语音增益。
可选地,所述调整单元包括:第一调整子单元,设置为在所述第一参考灵敏度大于所述第二参考灵敏度,且所述第一差值大于所述第二差值的情况下,将第三差值与第四差值之差作为增益调整值,调整所述终端的语音增益;和或,
第二调整子单元,设置为在所述第一参考灵敏度小于所述第二参考灵敏度,且所述第一差值小于所述第二差值的情况下,将第三差值与第四差值之和的绝对值作为增益调整值,调整所述终端的语音增益;
其中,所述第三差值为所述第一差值与所述第二差值之差,所述第四差值为所述第一参考灵敏度与所述第二参考灵敏度之差。
可选地,所述调整单元包括:获取子单元,设置为在所述第一参考灵敏度大于第二参考灵敏度,且所述第一差值小于所述第二差值,或者所述第一参考灵敏度小于所述第二参考灵敏度,且所述第一差值大于所述第二差值的情况下,重新获取所述第二参考灵敏度以及所述第二差值。
根据本发明的又一个实施例,还提供了一种终端,该终端包括上述任一实施例所述的装置。
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:
获取指定语音信号的预定频点的灵敏度;
根据获取的所述预定频点的灵敏度,以及基准语音信号的所述预定频点的基准灵敏度,调整终端的语音增益。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:在所述预定频点包括参考频点和多个统计频点的情况下,获取指定语音信号的预定频点的灵敏度包括:
获取指定语音信号的所述参考频点的第一参考灵敏度和所述多个统计频点的第一统计灵敏度;
根据获取的所述灵敏度,以及基准语音信号的所述预定频点的基准灵敏度,调整终端的语音增益包括:
根据获取的所述第一参考灵敏度、所述第一统计灵敏度,以及所述基准语音信号的所述参考频点的第二参考灵敏度、所述多个统计频点的第二统计灵敏度,调整终端的语音增益。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:通过以下方式,获取所述第一统计灵敏度:
对所述指定语音信号的所述多个统计频点对应的多个频点电压进行统计,得到所述指定语音信号的多个统计频点对应的多个频点电压的第一统计均值;根据所述第一统计均值确定所述第一统计灵敏度;和/或,
通过以下方式,获取所述第二统计灵敏度:对所述基准语音信号的所述多个统计频点对应的多个频点电压进行统计,得到所述基准语音信号的多个统计频点对应的多个频点电压的第二统计均值;根据所述第二统计均值确定所述第二统计灵敏度。
可选地,通过以下方式,得到所述第一统计均值:统计所述指定语音信号的所述多个统计频点对应的多个频点电压的平均值或者均方根值,得到所述第一统计均值;和/或,
通过以下方式,得到所述第二统计均值:统计所述基准语音信号的所述多个统计频点对应的多个频点电压的平均值或者均方根值,得到所述第二统计均值。
可选地,根据获取的所述第一参考灵敏度、所述第一统计灵敏度,以及所述基准语音信号的所述参考频点的第二参考灵敏度和所述多个统计频点的第二统计灵敏度,调整终端的语音增益包括:
分别确定所述第一参考灵敏度与所述第一统计灵敏度的第一差值以及所述第二参考灵敏度与所述第二统计灵敏度的第二差值;根据所述第一参考灵敏度相对于所述第二参考灵敏度的变化,以及所述第一差值相对于所述第二差值的变化,调整终端的语音增益。
可选地,根据所述第一参考灵敏度相对于所述第二参考灵敏度的变化,以及所述第一差值相对于所述第二差值的变化,调整终端的语音增益包括:
在所述第一参考灵敏度大于所述第二参考灵敏度,且所述第一差值大于所述第二差值的情况下,将第三差值与第四差值之差作为增益调整值,调整所述终端的语音增益;和/或,
在所述第一参考灵敏度小于所述第二参考灵敏度,且所述第一差值小于所述第二差值的情况下,将第三差值与第四差值之和的绝对值作为增益调整值,调整所述终端的语音增益;其中,所述第三差值为所述第一差值与所述第二差值之差,所述第四差值为所述第一参考灵敏度与所述第二参考灵敏度之差。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:根据所 述第一参考灵敏度相对于所述第二参考灵敏度的变化,以及所述第一差值相对于所述第二差值的变化,调整终端的语音增益包括:
在所述第一参考灵敏度大于所述第二参考灵敏度,且所述第一差值小于所述第二差值,或者所述第一参考灵敏度小于所述第二参考灵敏度,且所述第一差值大于所述第二差值的情况下,重新获取所述第二参考灵敏度以及所述第二差值。
通过本申请,根据指定语音信号的预定频点的灵敏度以及基准语音信号预定频点的灵敏度,调整终端的语音增益,实现了用户语音输入增益的自动调整,可以解决相关技术中根据终端与用户之间的距离调整终端增益存在的无法保证用户语音响度的稳定的问题,达到保证用户语音响度稳定,提高用户体验的效果。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是本发明实施例的语音增益的调整方法的移动终端的硬件结构框图;
图2是根据本发明实施例的语音增益的调整方法的流程图;
图3是根据本发明可选实施例的语音增益的调整方法的智能终端的硬件结构框图;
图4是根据本发明可选实施例的语音增益的调整方法的流程图;
图5是根据本发明可选实施例的麦克风采集语音频响随声源与麦克风距离的变化曲线图;
图6是根据本发明实施例的语音增益的调整装置的结构框图;
图7是根据本发明实施例的语音增益的调整装置中调整模块64的结构框图;
图8是根据本发明实施例的语音增益的调整装置中调整单元74的结构框图一;
图9是根据本发明实施例的语音增益的调整装置中调整单元74的结构框图二。
本发明的实施方式
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
实施例1
本申请实施例一所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本发明实施例的语音增益的调整方法的移动终端的硬件结构框图。如图1所示,移动终端10可以包括一个或多个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器104、以及用于通信功能的传输装置106。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。
存储器104可用于存储应用软件的软件程序以及模块,如本发明实施例中的语音增益的调整方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104还可包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端10。上述网络的实例包括 但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输装置106设置为经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其设置为通过无线方式与互联网进行通讯。
在本实施例中提供了一种运行于上述移动终端的语音增益的调整方法,图2是根据本发明实施例的语音增益的调整方法的流程图,如图2所示,该流程包括如下步骤:
步骤S202,获取指定语音信号的预定频点的灵敏度;
步骤S204,根据获取的灵敏度,以及基准语音信号的预定频点的基准灵敏度,调整终端的语音增益。
通过上述步骤,根据获取的指定语音信号的预定频点的灵敏度,以及基准语音信号的预定频点的灵敏度,调整终端的语音增益,解决了相关技术中根据终端与用户之间的距离调整终端增益存在的无法保证用户语音响度的稳定的问题,通过引入语音信号的频点灵敏度来调整终端的增益,相对于相关技术中仅依据终端与用户之间的距离来调整增益,不仅实现了对增益调整的准确性,而且保证了用户语音响度稳定,提高了用户体验。
可选地,上述步骤的执行主体可以为智能终端、平板电脑等可以采集语音的装置,但不限于此。
可选地,预定频点可以采用多种组合方式,例如,预定频点可以包括语音信号的某一低频、中频或者高频频率。又例如,预定频点可以包括一个参考频点和多个统计频点。
对于预定频点包括一个参考频点和多个统计频点的情况,上述步骤S202还可以包括:获取指定语音信号的参考频点的第一参考灵敏度和多个统计频点的第一统计灵敏度;上述步骤S204还可以包括:根据获取的第一参考灵敏度、第一统计灵敏度,以及基准语音信号的参考频点的第二参考灵敏度、多 个统计频点的第二统计灵敏度,调整终端的语音增益。
通过本发明实施例的上述技术方案,根据指定语音信号的参考频点的第一参考灵敏度和多个统计频点的第一统计灵敏度以及基准语音信号参考频点的第二参考灵敏度和多个统计频点的第二统计灵敏度,调整终端的语音增益,由于采用了多个频点同时用于终端语音增益的调整,提高了终端语音增益调整的准确性和可靠性。
可选地,可以采用多种方式获取第一统计灵敏度,例如,首先对指定语音信号的多个统计频点对应的多个频点电压进行统计,得到指定语音信号的多个统计频点对应的多个频点电压的第一统计均值,然后根据第一统计均值确定第一统计灵敏度。可以采用多种方式获取第二统计灵敏度,例如,对基准语音信号的多个统计频点对应的多个频点电压进行统计,得到基准语音信号的多个统计频点对应的多个频点电压的第二统计均值;根据第二统计均值确定第二统计灵敏度。
通过本发明实施例的上述技术方案,根据对语音信号多个统计频点对应的频点电压的进行统计得到的统计均值,确定语音信号的统计灵敏度,提高了确定的统计灵敏度的准确性和可靠性。
可选地,可以采用多种方式得到所述第一统计均值,例如,统计指定语音信号的多个统计频点对应的多个频点电压的平均值或者均方根值,得到第一统计均值。可以采用多种方式得到所述第二统计均值,例如,统计基准语音信号的多个统计频点对应的多个频点电压的平均值或者均方根值,得到第二统计均值。当然,除了平均值或者均方根值,其他可以得到多个参数统计均值的公式,例如,加权平均等,均可以作为得到第一统计均值和/或第二统计均值的方式。
通过本发明实施例的上述技术方案,统计语音信号的多个统计频点对应的多个频点电压的平均值或者均方根,得到统计均值,在保证统计均值的可靠性的前提下,提高了得到统计均值的效率。
可选地,上述步骤S204还可以包括:分别确定第一参考灵敏度与第一统计灵敏度的第一差值以及第二参考灵敏度与第二统计灵敏度的第二差值;根据第一参考灵敏度相对于第二参考灵敏度的变化,以及第一差值相对于第二 差值的变化,调整终端的语音增益。
可选地,根据第一参考灵敏度相对于第二参考灵敏度的变化,以及第一差值相对于第二差值的变化,调整终端的语音增益可以采用多种方式:
例如,在第一参考灵敏度大于第二参考灵敏度,且第一差值大于第二差值的情况下,将第三差值(第一差值与第二差值之差)与第四差值为(第一参考灵敏度与第二参考灵敏度之差)之差作为增益调整值,调整终端的语音增益。
又例如,在第一参考灵敏度小于第二参考灵敏度,且第一差值小于第二差值的情况下,将第三差值与第四差值之和的绝对值作为增益调整值,调整终端的语音增益。
在上述两种情况下,考虑到用户语音频谱具有较好的一致性,同时考虑到频点的灵敏度随着用户与终端麦克风的距离的增加而减少,分别确定不同的调整值对终端的语音增益进行调整。
再例如,如果用户语音信号的参考灵敏度的变化(这里的变化可能是由于终端与用户之间的距离发生变化,或者用户语音信号的响度发生变化),与参考灵敏度和统计灵敏度差值的变化不具备一致性,则可以停止对终端语音增益的调整,重新获取基准语音信号,并根据基准语音信号得到第二参考灵敏度和第二差值。例如:在所述第一参考灵敏度大于所述第二参考灵敏度,且所述第一差值小于所述第二差值,或者、所述第一参考灵敏度小于所述第二参考灵敏度,且所述第一差值大于所述第二差值的情况下,重新获取所述第二参考灵敏度以及所述第二差值。
通过本发明实施例的上述技术方案,利用用户语音频谱的一致性,根据参考灵敏度的变化以及参考灵敏度与统计灵敏度之差的变化,作为终端语音增益的调整值,实现了用户语音输入增益的自动调整,避免了免提通话发送语音响度受距离变化影响,也可以避免远、近距离录音的声音过小或过大破音问题,以及用户自身声音响度的变化对语音信号的影响。
此外,除了根据语音信号参考频点和多个统计频点的频点电压的灵敏度的变化调整终端的语音增益外,还可以通过根据语音信号参考频点和多个统计频点的频点电压的变化,调整终端的语音增益。利用语音信号的不同频点 的频点电压随语音信号响度的变化规律,根据一个或多个频点的频点电压的变化统计,调整终端的语音增益。
基于上述实施例及可选实施方式,为说明方案的整个流程交互,在本可选实施例中,提供了一种语音增益的调整方法,图3是根据本发明可选实施例的语音增益的调整方法的智能终端的硬件结构框图,如图3所示,智能终端30可以包括一个或多个(图中仅示出一个)前述存储器104、声音采集装置302、增益调整模块304、检测模块306、处理模块308以及基带处理器3010。本领域普通技术人员可以理解,图3所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端10还可包括比图3中所示更多或者更少的组件,或者具有与图3所示不同的配置。下面对该移动终端进行说明。
声音采集装置302,设置为将语音输入声信号转换为电压信号;
增益调整模块304,连接至上述声音采集装置302,设置为调整语音输入电信号放大增益;
检测模块306,连接至上述声音采集装置302,设置为获取语音输入各频点电压;
处理模块308,连接至上述检测模块306和上述增益调整模块304,设置为获取语音输入各频点灵敏度,并计算语音输入待调整增益值;
存储器104,连接至上述处理模块308,设置为存放语音基准频响数据;
基带处理器3010,连接至上述增益调整模块304,设置为语音输入的数字信号处理。
上述各模块工作顺序大致为:用户语音输入—>声音采集装置302—>语音电信号—>检测模块306(获取语音频响数据)—>处理模块308(计算语音输入调整增益)—>增益调整模块304—>基带处理器3010(基带芯片)处理。
其中,基带处理器3010属于现有终端语音处理技术,与本申请的主要内容关联性不大,因此,不做详细说明。
在本可选实施例中提供了一种运行于上述智能终端的语音增益的调整方法,图4是根据本发明可选实施例的语音增益的调整方法的流程图,如图4所示,该流程包括如下步骤:
步骤S402,声音采集装置获取用户初次语音输入。
其中,声音采集装置302设置为获取用户语音输入,将声压转换为电压信号。
用户选择合适距离语音输入(如,用户手持通话时,人机距离较稳定,可以选择手持语音通话状态的距离),此时,人嘴与终端麦克风距离为基准距离。语音声信号经声音采集装置302转换为电压信号。这里的初次语音输入(与前述基准语音信号的作用类似)是相对于语音增益的调整而言的,是为了获取调节的基准灵敏度和基准差值,而不是指用户第一次进行语音输入。
步骤S404,检测模块获取各频点电压。
其中,检测模块306设置为获取语音输入多个频点的电压。
检测模块306可以包括多个不同频率的带阻滤波器和峰值检波电路,通过不同频率带阻滤波器和峰值检测电路可以获取多个语音输入频点电压,获取的频点电压可以包括一个参考频点的频点电压,及一个或多个其余频点的频点电压(与前述多个统计频点的作用类似)。
以窄带语音(300Hz-3400Hz)为例,根据音频响度加权计算标准,其响度加权计算范围在200-4000Hz,语音响度集中在400Hz-1600Hz,即,400Hz-1600Hz范围内响度占比较大,而其他频点语音响度占比极小(也就是其余频率语音响度占比较小)。
考虑到中、高频点灵敏度容易受终端位置偏移影响,低频语音灵敏度不易受终端手持位置不同或手持角度变化影响,以语音输入频率范围内的某一低频频率(可以为300Hz以下)作为参考频点,选择400Hz-1600Hz范围内一个或多个频点作为响度统计频点。以100Hz为参考频点、以500Hz、1000Hz、1500Hz三个低、中、高频点为统计频点为例,检测模块306获取参考频点(100Hz)的电压V0,以及统计频点(500Hz、1000Hz、1500Hz)电压V1、V2、V3
步骤S406,处理模块计算参考频点灵敏度和统计频点灵敏度,以及二者差值;将参考频点灵敏度作为基准灵敏度,将二者差值作为基准差值。
其中,处理模块308设置为将各频点电压转换为各频点灵敏度,并基 于参考频点灵敏度、响度统计频点灵敏度及基准灵敏度三者进行计算获取语音输入调整增益。
检测模块306获取上述用户合适距离下语音输入的参考频点的参考频点电压以及多个统计频点的频点电压,并发送给处理模块308,由处理模块308计算参考频点的参考频点灵敏度作为基准灵敏度,则后续可以根据参考频点灵敏度与基准灵敏度的比较来判断声源距离的增大或减小;处理模块308计算其余频点的响度统计频点灵敏度(或称为统计灵敏度),这里,响度统计频点灵敏度,是指响度统计频率范围内(如窄带语音300Hz-3400Hz)一个或多个频点按数学公式计算的灵敏度统计值。具体可以如下:
根据灵敏度计算公式,计算参考频点的参考频点灵敏度,将参考频点灵敏度作为基准灵敏度S0(与前述第二参考灵敏度的作用类似)。
以某一数学计算公式对其余频点的频点电压进行统计,例如,平均值计算公式:
Figure PCTCN2016092373-appb-000001
其中,Vavg为频点电压的平均值,vi为频点i的频点电压,n为频点的个数。
或者,均方根计算公式:
Figure PCTCN2016092373-appb-000002
其中,Vrms为频点电压的均方根值,vi为频点i的频点电压,n为频点的个数。
根据灵敏度计算公式,计算其余频点的频点电压进行统计后的统计电压的灵敏度,作为统计灵敏度(与前述第二统计灵敏度的作用类似);获取该统计灵敏度与基准灵敏度差值,作为基准差值△S0(与前述第二差值的作用类似)。基准差值△S0与将基准灵敏度S0一起存入存储器104。此时,存储器104用 于预设基准灵敏度和基准差值。
其中,灵敏度的计算公式可以有多种,例如,音频电压相对与一伏电压(1v)的对数计算式:
dBV=20lg(Vx/1v)    (3)
其中,dBV为灵敏度,Vx为音频电压。
以前述以100Hz为参考频点、以500Hz、1000Hz、1500Hz三个低、中、高频点为统计频点为例,处理模块308根据灵敏度计算公式获得参考频点灵敏度,以及对统计频点电压平均后[(V1+V2+V3)/3]换算成统计频点灵敏度。
步骤S408,用户后续语音经声音采集装置转换。
用户后续语音输入过程中,经声音采集装置302进行声电转换。
步骤S410,检测模块获取语音各频点电压。
步骤S412,处理模块计算参考频点灵敏度和统计频点灵敏度,以及二者差值;与基准灵敏度、基准差值计算待调整增益值,发送给增益调整模块304。
在上述步骤S408至步骤S412中,声音采集装置302继续获取用户语音,检测模块306获取语音频点电压(参考频点和一个或多个统计频点与首次用户语音输入的参考频点和多个统计频点相同),处理模块308计算后续获取的用户语音的参考频点Si灵敏度(与前述第一参考灵敏度的作用类似)和统计灵敏度(与前述第一统计灵敏度的作用类似),并根据参考频点灵敏度Si、统计灵敏度、基准灵敏度S0和基准差值△S0计算需要调整的增益值,并发给增益调整模块304进行增益增加或减小处理。根据参考频点灵敏度Si、统计灵敏度、基准灵敏度S0和基准差值△S0计算需要调整的增益值可以采用多种方式,例如,计算后续获取的用户语音的参考频点灵敏度Si和统计灵敏度的差值△Si(与前述第一差值的作用类似),并与参考频点灵敏度Si和基准灵敏度S0的差值,以及基准差值△S0一起计算语音调整增益值。
具体而言,处理模块308比较参考频点灵敏度Si和基准灵敏度S0的差值,若用户(音源)与终端(麦克风)之间的相对距离增加,则参考频点灵敏度Si小于基准灵敏度S0,统计灵敏度与参考频点灵敏度差值△Si小于基准差值△S0,此时,语音输入需加大增益,调整值为N=(△S0-△Si)+(S0-Si)。
反之,若用户与终端之间的相对距离减小,则参考频点灵敏度Si大于基准灵敏度S0,统计灵敏度与参考频点灵敏度差值△Si大于基准差值△S0,此时,语音输入需降低增益,调整值为M=(△Si-△S0)-(Si-S0)。
进一步说明本发明可选实施例,图5是根据本发明可选实施例的麦克风采集语音频响随声源与麦克风距离的变化曲线图,如图5所示,声源与麦克风距离增加,则语音各频点灵敏度下降,因波长长短及频率指向性等物理特性,同等条件下低频语音衰减较小,而高频语音衰减较大,具体表现为低频灵敏度下降较少,中、高频灵敏度下降较多。
受终端位置、角度差异影响个别中高频点灵敏度会有异常衰减现象,可以选择较多统计频点数量减少误差;也可以选择较少数量低频点(如只选400-800Hz范围内两三个频点),低频点不易受终端角度位置差异影响。对用户语音而言,其语音频谱具有较好的一致性,通过统计频点灵敏度计算方式可以减少因终端手持方式、角度引起用户语音中、高频个别频点灵敏度衰减带来的影响,而选择低频语音获取参考频点灵敏度,由于同等能量下低频语音传播损耗较小,低频波长较长,其灵敏度不受终端手持方式、角度影响,且低频点语音响度小、不在国内外音频标准中响度统计频率范围内,对用户语音响度大小影响可忽略,因此,选择低频参考频点灵敏度为基准,及其与统计频点灵敏度差值大小进行语音增益的调整具有较好的准确性,根据参考频点灵敏度和统计频点灵敏度二者的变化可以通过图5所示灵敏度变化特征来判断声源距离的远近或用户语音的大小变化。
步骤S414,增益调整模块调整放大增益,继续执行步骤S408。
处理模块308将调整增益值发送给增益调整模块304重新设定放大增益,此时,增益调整模块304设置为调整用户语音输入增益。而在获得增益调整值后,由增益调整模块304进行语音增益重新设置,此为常用技术,这里不做详细说明。
用户语音可能因病产生变化,或者终端借给他人使用带来语音变化,即语音频谱发生变化,对应的参考频点灵敏度和统计频点灵敏度也会产生较大差异,如参考频点灵敏度Si大于基准灵敏度S0,而统计频点灵敏度与参考频点灵敏度差值△Si小于基准差值△S0;或者参考频点灵敏度Si小于基准灵敏 度S0,而统计频点灵敏度与参考频点灵敏度差值△Si大于基准差值△S0;因此可以根据此点进行判断,如果参考灵敏度Si和统计频点灵敏度与参考频点灵敏度差值△Si没有同时大于或同时小于基准灵敏度S0和基准差值△S0,则说明语音频响发生较大变化。因此,作为一个可选的实施方案,本发明可选实施例的语音增益的调整方法还可以包括:提示用户重新进行设定基准灵敏度S0和基准差值△S0
相关技术中,用户使用智能终端免提通话,嘴与麦克风距离难免会发生变化,这将导致对方听到声音大小不一,影响用户体验;另外,由于为实现较大距离的语音识别,一些智能终端将麦克风录音增益设置极大,引起用户较近距离录音时因电信号幅度过大出现削波,用扬声器播放录音时出现破音现象。通过本发明实施例的上述技术方案,实现用户语音输入增益的自动调整,可以避免免提通话发送语音响度受距离变化影响,也可以避免远、近距离录音的声音过小或过大破音问题。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
实施例2
在本实施例中还提供了一种语音增益的调整装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可选地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图6是根据本发明实施例的语音增益的调整装置的结构框图,如图6所示,该装置包括获取模块62(与前述处理模块308的部分功能类似)和调整模块64(与前述增益调整模块304的功能类似),下面对该装置进行说明。
获取模块62,设置为获取指定语音信号的预定频点的灵敏度;调整模块64,连接至上述获取模块62,设置为根据获取的灵敏度,以及基准语音信号的预定频点的基准灵敏度,调整终端的语音增益。
可选地,上述获取模块62还可以设置为在预定频点包括参考频点和多个统计频点的情况下,获取指定语音信号的参考频点的第一参考灵敏度和多个统计频点的第一统计灵敏度。上述调整模块64还可设置为在预定频点包括参考频点和多个统计频点的情况下,根据获取的第一参考灵敏度、第一统计灵敏度,以及基准语音信号的参考频点的第二参考灵敏度、多个统计频点的第二统计灵敏度,调整终端的语音增益。
可选地,上述获取模块62还可以设置为通过以下方式获取第一统计灵敏度:对指定语音信号的多个统计频点对应的多个频点电压进行统计,得到指定语音信号的多个统计频点对应的多个频点电压的第一统计均值;根据第一统计均值确定第一统计灵敏度;和/或,
通过以下方式获取第二统计灵敏度:对基准语音信号的多个统计频点对应的多个频点电压进行统计,得到基准语音信号的多个统计频点对应的多个频点电压的第二统计均值;根据第二统计均值确定第二统计灵敏度。
可选地,上述获取模块62还可以设置为通过以下方式获取第一统计均值:统计指定语音信号的多个统计频点对应的多个频点电压的平均值或者均方根值,得到第一统计均值;和/或,
通过以下方式获取第二统计均值:统计基准语音信号的多个统计频点对应的多个频点电压的平均值或者均方根值,得到第二统计均值。
图7是根据本发明实施例的语音增益的调整装置中调整模块64的结构框图,如图7所示,该调整模块64包括确定单元72(与前述处理模块308的部分功能类似)和调整单元74,下面对该调整模块64进行说明。
确定单元72,设置为分别确定第一参考灵敏度与第一统计灵敏度的第一差值以及第二参考灵敏度与第二统计灵敏度的第二差值;调整单元74,连接至上述确定单元72,设置为根据第一参考灵敏度相对于第二参考灵敏度的变化,以及第一差值相对于第二差值的变化,调整终端的语音增益。
图8是根据本发明实施例的语音增益的调整装置中调整单元74的结构框图一,如图8所示,该调整单元74包括第一调整子单元82、第二调整子单元84,下面对该调整单元74进行说明。
第一调整子单元82,设置为在第一参考灵敏度大于第二参考灵敏度,且第一差值大于第二差值的情况下,将第三差值与第四差值之差作为增益调整值,调整终端的语音增益;第二调整子单元84,设置为在第一参考灵敏度小于第二参考灵敏度,且第一差值小于第二差值的情况下,将第三差值与第四差值之和的绝对值作为增益调整值,调整终端的语音增益;其中,第三差值为第一差值与第二差值之差,第四差值为第一参考灵敏度与第二参考灵敏度之差。
图9是根据本发明实施例的语音增益的调整装置中调整单元74的结构框图二,如图9所示,该调整单元74包括获取子单元92(与前述处理模块308的部分功能类似),下面对该调整单元74进行说明。
获取子单元92,设置为在第一参考灵敏度大于第二参考灵敏度,且第一差值小于第二差值,或者第一参考灵敏度小于第二参考灵敏度,且第一差值大于第二差值的情况下,重新获取第二参考灵敏度以及第二差值。上述重新获取第二参考灵敏度以及第二差值可以通过重新获取基准语音信号实现。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
实施例3
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1,获取指定语音信号的预定频点的灵敏度;
S2,根据获取的灵敏度,以及基准语音信号的预定频点的基准灵敏度,调整终端的语音增益。
可选地,该存储介质还被设置为存储用于执行以下步骤的程序代码:
在预定频点包括参考频点和多个统计频点的情况下,
获取指定语音信号的预定频点的灵敏度包括:获取指定语音信号的参考频点的第一参考灵敏度和多个统计频点的第一统计灵敏度;
根据获取的灵敏度,以及基准语音信号的预定频点的基准灵敏度,调整终端的语音增益包括:根据获取的第一参考灵敏度、第一统计灵敏度,以及基准语音信号的参考频点的第二参考灵敏度、多个统计频点的第二统计灵敏度,调整终端的语音增益。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
通过以下方式,获取第一统计灵敏度:对指定语音信号的多个统计频点对应的多个频点电压进行统计,得到指定语音信号的多个统计频点对应的多个频点电压的第一统计均值;根据第一统计均值确定第一统计灵敏度;和/或,
通过以下方式,获取第二统计灵敏度:对基准语音信号的多个统计频点对应的多个频点电压进行统计,得到基准语音信号的多个统计频点对应的多个频点电压的第二统计均值;根据第二统计均值确定第二统计灵敏度。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
通过以下方式,得到第一统计均值:统计指定语音信号的多个统计频点对应的多个频点电压的平均值或者均方根值,得到第一统计均值;和/或,通过以下方式,得到第二统计均值:统计基准语音信号的多个统计频点对应的多个频点电压的平均值或者均方根值,得到第二统计均值。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
根据获取的第一参考灵敏度、第一统计灵敏度,以及基准语音信号的参考频点的第二参考灵敏度和多个统计频点的第二统计灵敏度,调整终端的语音增益包括:
S1,分别确定第一参考灵敏度与第一统计灵敏度的第一差值以及第二参考灵敏度与第二统计灵敏度的第二差值;
S2,根据第一参考灵敏度相对于第二参考灵敏度的变化,以及第一差值相对于第二差值的变化,调整终端的语音增益。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
根据第一参考灵敏度相对于第二参考灵敏度的变化,以及第一差值相对 于第二差值的变化,调整终端的语音增益包括:
在第一参考灵敏度大于第二参考灵敏度,且第一差值大于第二差值的情况下,将第三差值与第四差值之差作为增益调整值,调整终端的语音增益;和/或,在第一参考灵敏度小于第二参考灵敏度,且第一差值小于第二差值的情况下,将第三差值与第四差值之和的绝对值作为增益调整值,调整终端的语音增益;
其中,第三差值为第一差值与第二差值之差,第四差值为第一参考灵敏度与第二参考灵敏度之差。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
根据第一参考灵敏度相对于第二参考灵敏度的变化,以及第一差值相对于第二差值的变化,调整终端的语音增益包括:
在第一参考灵敏度大于第二参考灵敏度,且第一差值小于第二差值,或者第一参考灵敏度小于第二参考灵敏度,且第一差值大于第二差值的情况下,重新获取第二参考灵敏度以及第二差值。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:获取指定语音信号的预定频点的灵敏度;根据获取的灵敏度,以及基准语音信号的预定频点的基准灵敏度,调整终端的语音增益。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:在预定频点包括参考频点和多个统计频点的情况下,获取指定语音信号的预定频点的灵敏度包括:获取指定语音信号的参考频点的第一参考灵敏度和多个统计频点的第一统计灵敏度;根据获取的灵敏度,以及基准语音信号的预定频点的基准灵敏度,调整终端的语音增益包括:根据获取的第一参考灵敏度、第一统计灵敏度,以及基准语音信号的参考频点的第二参考灵敏度、多个统计频点的第二统计灵敏度,调整终端的语音增益。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行: 通过以下方式,获取第一统计灵敏度:对指定语音信号的多个统计频点对应的多个频点电压进行统计,得到指定语音信号的多个统计频点对应的多个频点电压的第一统计均值;根据第一统计均值确定第一统计灵敏度;和/或,通过以下方式,获取第二统计灵敏度:对基准语音信号的多个统计频点对应的多个频点电压进行统计,得到基准语音信号的多个统计频点对应的多个频点电压的第二统计均值;根据第二统计均值确定第二统计灵敏度。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:通过以下方式,得到第一统计均值:统计指定语音信号的多个统计频点对应的多个频点电压的平均值或者均方根值,得到第一统计均值;和/或,通过以下方式,得到第二统计均值:统计基准语音信号的多个统计频点对应的多个频点电压的平均值或者均方根值,得到第二统计均值。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:根据获取的第一参考灵敏度、第一统计灵敏度,以及基准语音信号的参考频点的第二参考灵敏度和多个统计频点的第二统计灵敏度,调整终端的语音增益包括:分别确定第一参考灵敏度与第一统计灵敏度的第一差值以及第二参考灵敏度与第二统计灵敏度的第二差值;根据第一参考灵敏度相对于第二参考灵敏度的变化,以及第一差值相对于第二差值的变化,调整终端的语音增益。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:根据第一参考灵敏度相对于第二参考灵敏度的变化,以及第一差值相对于第二差值的变化,调整终端的语音增益包括:在第一参考灵敏度大于第二参考灵敏度,且第一差值大于第二差值的情况下,将第三差值与第四差值之差作为增益调整值,调整终端的语音增益;和/或,在第一参考灵敏度小于第二参考灵敏度,且第一差值小于第二差值的情况下,将第三差值与第四差值之和的绝对值作为增益调整值,调整终端的语音增益;其中,第三差值为第一差值与第二差值之差,第四差值为第一参考灵敏度与第二参考灵敏度之差。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:根据第一参考灵敏度相对于第二参考灵敏度的变化,以及第一差值相对于第二差值的变化,调整终端的语音增益包括:在第一参考灵敏度大于第二参考 灵敏度,且第一差值小于第二差值,或者第一参考灵敏度小于第二参考灵敏度,且第一差值大于第二差值的情况下,重新获取第二参考灵敏度以及第二差值。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在利用语音频响根据音源距离变化从而实现语音增益调整的。所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
本申请提供了一种语音增益的调整方法、装置及终端,其中,所述方法包括:获取指定语音信号的预定频点的灵敏度;根据获取的所述灵敏度,以及基准语音信号的所述预定频点的基准灵敏度,调整终端的语音增益。本申请可解决相关技术中根据终端与用户之间的距离调整终端增益存在的无法保证用户语音响度稳定的问题,进而达到了保证用户语音响度稳定,提高用户体验的效果。

Claims (15)

  1. 一种语音增益的调整方法,该方法包括:
    获取指定语音信号的预定频点的灵敏度;
    根据获取的所述预定频点的灵敏度,以及基准语音信号的所述预定频点的基准灵敏度,调整终端的语音增益。
  2. 根据权利要求1所述的方法,其中,在所述预定频点包括参考频点和多个统计频点的情况下,
    所述获取指定语音信号的预定频点的灵敏度,包括:获取指定语音信号的所述参考频点的第一参考灵敏度和所述多个统计频点的第一统计灵敏度;相应的,
    所述根据获取的所述灵敏度,以及基准语音信号的所述预定频点的基准灵敏度,调整终端的语音增益,包括:根据获取的所述第一参考灵敏度、所述第一统计灵敏度,以及所述基准语音信号的所述参考频点的第二参考灵敏度、所述多个统计频点的第二统计灵敏度,调整终端的语音增益。
  3. 根据权利要求2所述的方法,其中,
    通过以下方式,获取所述第一统计灵敏度:对所述指定语音信号的所述多个统计频点对应的多个频点电压进行统计,得到所述指定语音信号的所述多个统计频点对应的多个频点电压的第一统计均值;根据所述第一统计均值确定所述第一统计灵敏度;
    和/或,
    通过以下方式,获取所述第二统计灵敏度:对所述基准语音信号的所述多个统计频点对应的多个频点电压进行统计,得到所述基准语音信号的所述多个统计频点对应的多个频点电压的第二统计均值;根据所述第二统计均值确定所述第二统计灵敏度。
  4. 根据权利要求3所述的方法,其中,
    通过以下方式,得到所述第一统计均值:统计所述指定语音信号的所述多个统计频点对应的多个频点电压的平均值或者均方根值,得到所述第一统计均值;
    和/或,
    通过以下方式,得到所述第二统计均值:统计所述基准语音信号的所述多个统计频点对应的多个频点电压的平均值或者均方根值,得到所述第二统计均值。
  5. 根据权利要求2所述的方法,其中,根据获取的所述第一参考灵敏度、所述第一统计灵敏度,以及所述基准语音信号的所述参考频点的第二参考灵敏度和所述多个统计频点的第二统计灵敏度,调整终端的语音增益,包括:
    分别确定所述第一参考灵敏度与所述第一统计灵敏度的第一差值以及所述第二参考灵敏度与所述第二统计灵敏度的第二差值;
    根据所述第一参考灵敏度相对于所述第二参考灵敏度的变化,以及所述第一差值相对于所述第二差值的变化,调整终端的语音增益。
  6. 根据权利要求5所述的方法,其中,根据所述第一参考灵敏度相对于所述第二参考灵敏度的变化,以及所述第一差值相对于所述第二差值的变化,调整终端的语音增益,包括:
    在所述第一参考灵敏度大于所述第二参考灵敏度,且所述第一差值大于所述第二差值的情况下,将第三差值与第四差值之差作为增益调整值,调整所述终端的语音增益;和/或,
    在所述第一参考灵敏度小于所述第二参考灵敏度,且所述第一差值小于所述第二差值的情况下,将第三差值与第四差值之和的绝对值作为增益调整值,调整所述终端的语音增益;
    其中,所述第三差值为所述第一差值与所述第二差值之差,所述第四差值为所述第一参考灵敏度与所述第二参考灵敏度之差。
  7. 根据权利要求5所述的方法,其中,根据所述第一参考灵敏度相对于所述第二参考灵敏度的变化,以及所述第一差值相对于所述第二差值的变化,调整终端的语音增益,包括:
    在所述第一参考灵敏度大于所述第二参考灵敏度,且所述第一差值小于所述第二差值,或者、所述第一参考灵敏度小于所述第二参考灵敏度,且所述第一差值大于所述第二差值的情况下,重新获取所述第二参考灵敏度以及所述第二差值。
  8. 一种语音增益的调整装置,该装置包括:
    获取模块,设置为获取指定语音信号的预定频点的灵敏度;
    调整模块,设置为根据获取的所述预定频点的灵敏度,以及基准语音信号的所述预定频点的基准灵敏度,调整终端的语音增益。
  9. 根据权利要求8所述的装置,其中,
    所述获取模块,还设置为在所述预定频点包括参考频点和多个统计频点的情况下,获取指定语音信号的所述参考频点的第一参考灵敏度和所述多个统计频点的第一统计灵敏度;相应的,
    所述调整模块,还设置为在所述预定频点包括参考频点和多个统计频点的情况下,根据获取的所述第一参考灵敏度、所述第一统计灵敏度,以及所述基准语音信号的所述参考频点的第二参考灵敏度、所述多个统计频点的第二统计灵敏度,调整终端的语音增益。
  10. 根据权利要求9所述的装置,其中,
    所述获取模块,还设置为通过以下方式,获取所述第一统计灵敏度:对所述指定语音信号的所述多个统计频点对应的多个频点电压进行统计,得到所述指定语音信号的多个统计频点对应的多个频点电压的第一统计均值;根据所述第一统计均值确定所述第一统计灵敏度;
    和/或,
    设置为通过以下方式,获取所述第二统计灵敏度:对所述基准语音信号的所述多个统计频点对应的多个频点电压进行统计,得到所述基准语音信号的所述多个统计频点对应的多个频点电压的第二统计均值;根据所述第二统计均值确定所述第二统计灵敏度。
  11. 根据权利要求10所述的装置,其中,
    所述获取模块,还设置为通过以下方式,得到所述第一统计均值:统计所述指定语音信号的所述多个统计频点对应的多个频点电压的平均值或者均方根值,得到所述第一统计均值;
    和/或,
    设置为通过以下方式,得到所述第二统计均值:统计所述基准语音信号的所述多个统计频点对应的多个频点电压的平均值或者均方根值,得到所述第二统计均值。
  12. 根据权利要求11所述的装置,其中,所述调整模块包括:
    确定单元,设置为分别确定所述第一参考灵敏度与所述第一统计灵敏度的第一差值以及所述第二参考灵敏度与所述第二统计灵敏度的第二差值;
    调整单元,设置为根据所述第一参考灵敏度相对于所述第二参考灵敏度的变化,以及所述第一差值相对于所述第二差值的变化,调整终端的语音增益。
  13. 根据权利要求12所述的装置,其中,所述调整单元包括:
    第一调整子单元,设置为在所述第一参考灵敏度大于所述第二参考灵敏度,且所述第一差值大于所述第二差值的情况下,将第三差值与第四差值之差作为增益调整值,调整所述终端的语音增益;和或,
    第二调整子单元,设置为在所述第一参考灵敏度小于所述第二参考灵敏度,且所述第一差值小于所述第二差值的情况下,将第三差值与第四差值之和的绝对值作为增益调整值,调整所述终端的语音增益;
    其中,所述第三差值为所述第一差值与所述第二差值之差,所述第四差值为所述第一参考灵敏度与所述第二参考灵敏度之差。
  14. 根据权利要求12所述的装置,其中,所述调整单元包括:
    获取子单元,设置为在所述第一参考灵敏度大于第二参考灵敏度,且所述第一差值小于所述第二差值,或者所述第一参考灵敏度小于所述第二参考灵敏度,且所述第一差值大于所述第二差值的情况下,重新获取所述第二参考灵敏度以及所述第二差值。
  15. 一种终端,该终端包括:权利要求8至14中任一项所述的装置。
PCT/CN2016/092373 2016-05-26 2016-07-29 语音增益的调整方法、装置及终端 WO2017201868A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610362311.1A CN107438130A (zh) 2016-05-26 2016-05-26 语音增益的调整方法、装置及终端
CN201610362311.1 2016-05-26

Publications (1)

Publication Number Publication Date
WO2017201868A1 true WO2017201868A1 (zh) 2017-11-30

Family

ID=60412663

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/092373 WO2017201868A1 (zh) 2016-05-26 2016-07-29 语音增益的调整方法、装置及终端

Country Status (2)

Country Link
CN (1) CN107438130A (zh)
WO (1) WO2017201868A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827337A (zh) * 2021-01-19 2022-07-29 博泰车联网(南京)有限公司 音量调整的方法、装置、设备及存储介质
US11617035B2 (en) 2020-05-04 2023-03-28 Shure Acquisition Holdings, Inc. Intelligent audio system using multiple sensor modalities
US11985488B2 (en) 2021-05-26 2024-05-14 Shure Acquisition Holdings, Inc. System and method for automatically tuning digital signal processing configurations for an audio system

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10857909B2 (en) * 2019-02-05 2020-12-08 Lear Corporation Electrical assembly
CN111918123A (zh) * 2020-08-07 2020-11-10 冠捷显示科技(厦门)有限公司 根据用户环境自适应调整电视音效的方法及其电视系统
CN112420083B (zh) * 2020-10-23 2022-07-22 东风汽车股份有限公司 一种车载影音12v、24v电源通用控制系统及方法
CN114615599A (zh) * 2022-03-11 2022-06-10 游密科技(深圳)有限公司 音频处理方法、装置、计算机设备、存储介质和程序产品

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201182004Y (zh) * 2008-03-26 2009-01-14 上海华平信息技术股份有限公司 一种带有自动增益控制功能的麦克风
CN101383982A (zh) * 2008-10-21 2009-03-11 松翰科技股份有限公司 适用于自动控制装置的音调检测方法及音调检测装置
US20110150209A1 (en) * 2008-06-24 2011-06-23 Wilhelm Ernst Riedl Full duplex telephone system employing automatic level control for improved digital signal processing of audio signals
CN103024125A (zh) * 2011-09-28 2013-04-03 宏碁股份有限公司 在免提模式下提供最佳化音响特性的方法和移动通信装置
CN103226952A (zh) * 2012-01-25 2013-07-31 索尼公司 语音处理装置、方法和程序

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201182004Y (zh) * 2008-03-26 2009-01-14 上海华平信息技术股份有限公司 一种带有自动增益控制功能的麦克风
US20110150209A1 (en) * 2008-06-24 2011-06-23 Wilhelm Ernst Riedl Full duplex telephone system employing automatic level control for improved digital signal processing of audio signals
CN101383982A (zh) * 2008-10-21 2009-03-11 松翰科技股份有限公司 适用于自动控制装置的音调检测方法及音调检测装置
CN103024125A (zh) * 2011-09-28 2013-04-03 宏碁股份有限公司 在免提模式下提供最佳化音响特性的方法和移动通信装置
CN103226952A (zh) * 2012-01-25 2013-07-31 索尼公司 语音处理装置、方法和程序

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11617035B2 (en) 2020-05-04 2023-03-28 Shure Acquisition Holdings, Inc. Intelligent audio system using multiple sensor modalities
CN114827337A (zh) * 2021-01-19 2022-07-29 博泰车联网(南京)有限公司 音量调整的方法、装置、设备及存储介质
CN114827337B (zh) * 2021-01-19 2023-08-18 博泰车联网(南京)有限公司 音量调整的方法、装置、设备及存储介质
US11985488B2 (en) 2021-05-26 2024-05-14 Shure Acquisition Holdings, Inc. System and method for automatically tuning digital signal processing configurations for an audio system

Also Published As

Publication number Publication date
CN107438130A (zh) 2017-12-05

Similar Documents

Publication Publication Date Title
WO2017201868A1 (zh) 语音增益的调整方法、装置及终端
US10705791B2 (en) Volume adjustment method and terminal
JP5525508B2 (ja) 周囲ノイズ検出を使用する明瞭度コントロール
JP6489563B2 (ja) 音量調節方法、システム、デバイス及びプログラム
US9305568B2 (en) Active acoustic filter with socially determined location-based filter characteristics
US8903097B2 (en) Information processing device and method and program
CN106162427B (zh) 一种声音获取元件的指向性调整方法和装置
CN103152668B (zh) 输出音频调节方法及其系统
CN112954115B (zh) 一种音量调节方法、装置、电子设备及存储介质
CN108235181B (zh) 在音频处理装置中降噪的方法
WO2016145856A1 (zh) 音量调节方法、可穿戴设备、终端设备及音量调节系统
CN105704321B (zh) 利用降噪麦克风动态调节通话音量的方法和系统
CN108882115B (zh) 响度调节方法、装置及终端
CN106961509B (zh) 通话参数处理方法、装置及电子设备
CN108766468B (zh) 一种智能语音检测方法、无线耳机、tws耳机及终端
CN107395873B (zh) 音量调节方法、装置、存储介质及终端
CN113010139B (zh) 一种投屏方法、装置及电子设备
JP6381062B2 (ja) 通信デバイスのための音声信号を処理するための方法及びデバイス
WO2019062751A1 (zh) 一种语音数据的异常检测方法及装置
US20240257795A1 (en) Noise reduction parameter setting method and apparatus, earphone device and storage medium
CN113963716A (zh) 通话式门铃的音量均衡方法、装置、设备和可读存储介质
CN105848061B (zh) 一种控制方法及电子设备
US11010126B1 (en) Headset, control module and method for automatic adjustment of volume of headset, and storage medium
CN111863006B (zh) 一种音频信号处理方法、音频信号处理装置和耳机
WO2023197474A1 (zh) 一种耳机模式对应的参数确定方法、耳机、终端和系统

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16902855

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16902855

Country of ref document: EP

Kind code of ref document: A1