CN111711881B - Self-adaptive volume adjustment method according to environmental sound and wireless earphone - Google Patents

Self-adaptive volume adjustment method according to environmental sound and wireless earphone Download PDF

Info

Publication number
CN111711881B
CN111711881B CN202010603530.0A CN202010603530A CN111711881B CN 111711881 B CN111711881 B CN 111711881B CN 202010603530 A CN202010603530 A CN 202010603530A CN 111711881 B CN111711881 B CN 111711881B
Authority
CN
China
Prior art keywords
sound
far
volume
channel
echo
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010603530.0A
Other languages
Chinese (zh)
Other versions
CN111711881A (en
Inventor
郭霞云
刘玉诚
其他发明人请求不公开姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Cannice Technology Co Ltd
Original Assignee
Shenzhen Cannice Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Cannice Technology Co Ltd filed Critical Shenzhen Cannice Technology Co Ltd
Priority to CN202010603530.0A priority Critical patent/CN111711881B/en
Publication of CN111711881A publication Critical patent/CN111711881A/en
Application granted granted Critical
Publication of CN111711881B publication Critical patent/CN111711881B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1083Reduction of ambient noise
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/02Circuits for transducers, loudspeakers or microphones for preventing acoustic reaction, i.e. acoustic oscillatory feedback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Abstract

The invention discloses a method for self-adapting volume adjustment according to environmental sound and a wireless earphone, which are used for enabling a user to have better use experience in the conversation process. The invention includes the following steps S1, detect the echo of the near-end sound channel, and eliminate the echo of the near-end sound channel; s2, detecting a near-end sound channel, and recording the intensity of the detected near-end environment sound as A; s3, detecting the far-end sound channel, and recording the intensity of the detected far-end human voice as B; s4, calculating the ratio number of B and A as M0, adjusting the convergence level of a coefficient G for correspondingly controlling the volume of the far-end sound through the ratio number M0, setting the ratio judgment number for judging whether to increase the volume of the far-end sound or decrease the volume of the far-end sound as M, wherein G is initialized to 1, and each frame of processing converges in a form of G being 0.99+ 0.01M/M0; when M0 is larger than M and G is smaller than 1, turning down the volume of the far-end sound; when M0 is less than M, G is greater than 1, increasing the far-end sound volume.

Description

Self-adaptive volume adjustment method according to environmental sound and wireless earphone
Technical Field
The invention relates to the technical field of earphone volume adjustment, in particular to a volume adjustment method self-adapting according to environmental sound and a wireless earphone.
Background
The user wears wireless earphone in the conversation process, often because surrounding environment's noisy and not listening clearly, can adopt among the present advanced audio technology to fall the technology of making an uproar (fall the noise voluntarily or fall the noise passively) and stop the noise propagation to the duct in, but the ambient noise is contingency, irregular, fall the technology of making an uproar and can not eliminate totally, or sometimes can not eliminate, so the problem that leads to is that the noise always can get into and produces the influence in the duct, the simple technique of making an uproar and can not satisfy the conversation condition under the complex environment.
In this context, some technologies propose solutions for adaptively adjusting the volume of a call, for example, CN201610404367.9 adjusts the volume when detecting the ambient noise level, and most of the technologies are currently implemented in the market by using this technology, and certainly, some algorithm processes built in the existing technologies need to be combined. But it has problems in that: the processing effect is not optimal, firstly, the adjusting function can be realized only under partial conditions (under the condition that no speech is detected), when the speech is detected, the algorithm is set to be in a non-working state, so that the algorithm can not adjust the volume along with the near-end environment sound when the speech is continuously spoken, and the downlink volume is adjusted according to the environment sound pitch, and secondly, the algorithm only adjusts the downlink volume according to the change of the near-end environment sound, and under the condition that the downlink sound is larger than the near-end environment sound, even if the near-end environment sound is slightly larger, the downlink volume does not need to be adjusted, or under the condition that the downlink volume is very small, the downlink volume does not need to be adjusted even if the near-end environment sound is smaller. In the communication process of the actual communication, the above manner may bring poor user experience.
Therefore, in order to solve the above technical problems, finding a method for adaptively adjusting volume according to environmental sound and a wireless headset become important issues studied by those skilled in the art.
Disclosure of Invention
The embodiment of the invention discloses a method for self-adapting volume adjustment according to environmental sound and a wireless earphone, which are used for enabling a user to have better use experience in a conversation process.
The invention provides a method for self-adapting volume adjustment according to environmental sound, which comprises the following steps:
s1, detecting the echo of the near-end sound channel and eliminating the echo of the near-end sound channel;
s2, detecting a near-end sound channel, and recording the intensity of the detected near-end environment sound as A;
s3, detecting the far-end sound channel, and recording the intensity of the detected far-end human voice as B;
s4, calculating the ratio number of B and A as M0, adjusting the convergence level of a coefficient G for correspondingly controlling the volume of the far-end sound through the ratio number M0, setting the ratio judgment number for judging whether to increase the volume of the far-end sound or decrease the volume of the far-end sound as M, wherein G is initialized to 1, and each frame of processing converges in a form of G being 0.99+ 0.01M/M0;
when M0 is larger than M and G is smaller than 1, turning down the volume of the far-end sound;
when M0 is less than M, G is greater than 1, increasing the far-end sound volume.
Optionally, the process of detecting an echo of the near-end channel in step S1 specifically includes:
recording the audio frequency of a near-end sound channel as Λ 1, and acquiring the audio frequency of a far-end sound channel as Λ 2;
adding a double self-adaptive filter, adjusting the coefficient of the double self-adaptive filter according to the difference value of the lambada 1 and the lambada 2, obtaining the filter coefficient closest to the echo by adopting a least square method, and switching the working states of the two filters according to the near-end voice and the far-end voice.
Optionally, the process of canceling the echo in the near-end channel in step S1 specifically includes:
recording the detected echo sound wave;
the convolution value of Λ 1 minus Λ 2 and the filter h n in operation is applied.
Optionally, the step S2 specifically includes:
and (4) picking up sound by using a single-ear microphone for the near-end sound channel, and recording the intensity of the near-end ambient sound as A if the near-end ambient sound is detected by VAD.
Optionally, the near-end sound channel is picked up by a monaural microphone, and if near-end voice is detected by VAD, the current near-end ambient sound is obtained by deriving the historical near-end ambient sound data, the derived near-end ambient sound is used to cover the near-end voice, and the strength of the derived near-end ambient sound is recorded as a.
Optionally, the step S2 specifically includes:
the near-end sound channel adopts a double-ear microphone to pick up sound, eliminates near-end human voice through the principle of fixed beam forming and records near-end environment sound as A.
Optionally, the step S3 specifically includes:
VAD detection is performed on the far-end sound channel, and the intensity of the detected far-end human voice is recorded as B.
Optionally, the step S4 further includes:
setting a maximum threshold value for increasing the volume of the far-end sound as Max and a minimum threshold value for reducing the volume of the far-end sound as Min;
when B is larger than or equal to Max, the volume of the far-end sound does not need to be adjusted;
when a is less than or equal to Min, then no adjustment of the far-end sound volume is required.
The invention provides a wireless earphone, which comprises a processor, a loudspeaker, a sound channel microphone, a storage device and a communication circuit, wherein the processor is used for processing sound signals of the loudspeaker;
the loudspeaker, the sound channel microphone, the storage device and the communication circuit are all electrically connected with the processor;
the storage device is adapted to store a plurality of instructions, the instructions adapted to be loaded and executed by the processor, the instructions comprising:
detecting the echo of the near-end sound channel and eliminating the echo of the near-end sound channel;
detecting a near-end sound channel, and recording the intensity of the detected near-end environment sound as A;
detecting a far-end sound channel, and recording the intensity of the detected far-end human voice as B;
calculating the ratio number of B and A as M0, adjusting the convergence level of a coefficient G for correspondingly controlling the far-end sound volume by the ratio number M0, wherein G is initialized to 1, each frame of processing converges in a form of G being 0.99+0.01M/M0, and setting the ratio judgment number for judging to increase the far-end sound volume or reduce the far-end sound volume as M;
when M0 is larger than M and G is smaller than 1, turning down the volume of the far-end sound;
when M0 is less than M, G is greater than 1, increasing the far-end sound volume.
Optionally, the channel microphone is a monaural microphone or a binaural microphone.
According to the technical scheme, the embodiment of the invention has the following advantages:
compared with the prior art, the adaptive volume adjustment method in the embodiment has a more definite purpose, the method in the embodiment does not only complete volume adjustment by detecting the change of the near-end environmental sound, but compares the M0 with the preset ratio judgment number M by setting the ratio number M0 of the far-end human sound intensity and the near-end environmental sound intensity during the call, and then adjusts the far-end sound volume according to the compared result, so that the adaptive volume adjustment is realized. In summary, the adaptive volume adjustment method according to the environmental sound in this embodiment can provide better use experience for the user, so that the user can hear the far-end speech more clearly under different volume conditions at the near-end and the far-end.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic main flow chart of a method for adaptive volume adjustment according to environmental sounds according to the present invention;
fig. 2 is a schematic flow chart of a method for adaptive volume adjustment according to ambient sound according to the present invention.
Detailed Description
The embodiment of the invention discloses a method for self-adapting volume adjustment according to environmental sound and a wireless earphone, which are used for enabling a user to have better use experience in a conversation process.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1 to fig. 2, a method for adaptively adjusting volume according to ambient sound according to an embodiment includes the following steps:
s1, detecting the echo of the near-end sound channel and eliminating the echo of the near-end sound channel;
s2, detecting a near-end sound channel, and recording the intensity of the detected near-end environment sound as A;
s3, detecting the far-end sound channel, and recording the intensity of the detected far-end human voice as B;
s4, calculating the ratio number of B and A as M0, adjusting the convergence level of a coefficient G for correspondingly controlling the volume of the far-end sound through the ratio number M0, and setting the ratio judgment number for judging whether to increase the volume of the far-end sound or decrease the volume of the far-end sound as M, wherein each frame of processing is initialized to 1 by G, and G is converged in a form of 0.99+ 0.01M/M0;
the frame mentioned above refers to an audio frame, the audio data is streaming, there is no clear concept of one frame per se, and in practical applications, for the convenience of audio algorithm processing/transmission, the data amount taking 10ms to 20ms as a unit is generally taken as one frame of audio. This time is called the "sampling time" and has no particular criteria for its length, which is determined by the requirements of the codec and the particular application.
When M0 is greater than M, G is less than 1, and G converges to a smaller value, then the far-end sound volume is turned down;
when M0 is less than M, G is greater than 1, and G converges to a larger value, the far-end sound volume is increased.
In step S4, G is initialized to 1, but not limited to 1, and the ratio of the far-end sound volume increase or the far-end sound volume decrease is determined as M, M is substantially the ratio of the preset intensity B0 of the far-end human voice to the preset intensity a0 of the near-end ambient sound, M is B0/a0, i.e., the signal-to-noise ratio is greater than MdB, and the ratio determination number M is adjusted according to the designer, for example, the value of M may be a certain value within a range of (6 ± 2).
The meaning of the near end in this embodiment is that the user is at the earphone end, and the other party is called the far end, and the near end can also be called the upstream end, and the far end can also be called the downstream end.
Compared with the prior art, the adaptive volume adjustment method in the embodiment has a more definite purpose, the method in the embodiment does not only complete volume adjustment by detecting the change of the near-end environmental sound, but compares the M0 with the preset ratio judgment number M by setting the ratio number M0 of the far-end human sound intensity and the near-end environmental sound intensity during the call, and then adjusts the far-end sound volume according to the compared result, so that the adaptive volume adjustment is realized. In summary, the adaptive volume adjustment method according to the environmental sound in this embodiment can provide better use experience for the user, so that the user can hear the far-end speech more clearly under different volume conditions at the near-end and the far-end.
Further, the process of detecting the echo of the near-end channel in step S1 specifically includes:
recording the audio frequency of a near-end sound channel as Λ 1, and acquiring the audio frequency of a far-end sound channel as Λ 2;
adding a double self-adaptive filter, adjusting the coefficient of the double self-adaptive filter according to the difference value of the lambada 1 and the lambada 2, obtaining the filter coefficient closest to the echo by adopting a least square method, and switching the working states of the two filters according to the near-end voice and the far-end voice.
The process of eliminating the echo in the near-end channel in step S1 specifically includes:
recording the detected echo sound wave;
the convolution value of Λ 1 minus Λ 2 and the filter h n in operation is applied.
Wherein, the convolution value is Λ 1- Λ 2 × h [ n ];
it should be noted that the above echo detection and cancellation method is only one implementation manner, and the present embodiment does not limit the echo detection and cancellation method, and the NLMS algorithm in the prior art may also be applied to echo detection and cancellation.
Optionally, the step S2 specifically includes:
the near-end sound channel adopts a single-ear microphone to pick up sound, if near-end environment sound is obtained through VAD detection, the intensity of the near-end environment sound is recorded as A, wherein the unit of A is energy J;
if the near-end voice is obtained through VAD detection, the current near-end environment voice is obtained through historical near-end environment voice data deduction, the deduced near-end environment voice is used for covering the near-end voice, and the deduced strength of the near-end environment voice is recorded as A, wherein the unit of A is energy J;
it should be noted that the near-end channel detection can distinguish the human (mainly user) speaking voice from the environmental noise, such as adopting the sound event recognition method technology based on the improved parallel model combination in CN201310239724.7 to distinguish the recognition;
in addition, if the near-end voice is detected by VAD, the user is judged to speak, historical environmental sounds are needed to infer the environmental sounds during the voice speaking at the moment, the environmental noises can be estimated on a frequency domain by adopting spectral subtraction, and a method for estimating the environmental noises adopts a minimum statistic control recursive average noise estimation algorithm which can reduce the sudden noises at the near-end to the maximum extent, so that the automatic regulation algorithm is more stable.
Optionally, the step S2 specifically includes:
the near-end sound channel adopts a double-ear microphone to pick up sound, eliminates near-end human voice through the principle of fixed beam forming and records near-end environment sound as A.
It should be noted that, in the case of binaural microphone pickup, the principle of fixed beam forming is used to eliminate human voice in the direction of the human mouth, and the remaining ambient sound is recorded directly without using VAD, and the algorithm can be adjusted without interruption by this design.
Further, the step S3 specifically includes:
performing VAD detection on a far-end sound channel, and recording the intensity of the detected far-end voice as B, wherein the unit of B is energy J;
it should be noted that, if VAD detection is performed on the far-end sound channel, and environmental noise is detected, no operation is performed, because in the course of actual conversation, the far-end sound has already been subjected to noise reduction processing, and there is no substantial effect in detecting the far-end environmental sound;
further, the VAD detection described in the present embodiment is voice activity detection.
Further, the step S4 further includes:
setting a maximum threshold value for increasing the volume of the far-end sound as Max and a minimum threshold value for reducing the volume of the far-end sound as Min;
when B is larger than or equal to Max, the volume of the far-end sound does not need to be adjusted;
when a is less than or equal to Min, then no adjustment of the far-end sound volume is required.
It should be noted that, when the far-end voice is greater than or equal to the maximum volume value of the hardware speaker, the volume of the far-end voice does not need to be adjusted; the near-end ambient sound is less than or equal to the minimum audible volume of human ears, and the volume of the far-end sound does not need to be adjusted.
Example two
The present embodiments provide a wireless headset, comprising:
the system comprises a processor, a loudspeaker, a sound channel microphone, a storage device and a communication circuit;
it should be noted that the communication circuit in this embodiment is a communication circuit in the prior art;
the loudspeaker, the sound channel microphone, the storage device and the communication circuit are all electrically connected with the processor;
the storage device is adapted to store a plurality of instructions, the instructions adapted to be loaded and executed by the processor, the instructions comprising:
detecting the echo of the near-end sound channel and eliminating the echo of the near-end sound channel;
detecting a near-end sound channel, and recording the intensity of the detected near-end environment sound as A;
detecting a far-end sound channel, and recording the intensity of the detected far-end human voice as B;
calculating the ratio number of B and A as M0, adjusting the convergence level of a coefficient G for correspondingly controlling the far-end sound volume by the ratio number M0, wherein G is initialized to 1, each frame of processing converges in a form of G being 0.99+0.01M/M0, and setting the ratio judgment number for judging to increase the far-end sound volume or reduce the far-end sound volume as M;
when M0 is larger than M and G is smaller than 1, turning down the volume of the far-end sound;
when M0 is less than M, G is greater than 1, increasing the far-end sound volume.
It should be noted that the sound channel microphone is a monaural microphone or a binaural microphone;
if a single-earphone type sound channel microphone is adopted, the near-end environment sound is obtained through VAD detection, and the intensity of the near-end environment sound is recorded as A; if the near-end voice is obtained through VAD detection, the current near-end environmental voice is obtained by using historical near-end environmental voice data in a deduction mode, the deduced near-end environmental voice is used for covering the near-end voice, and the strength of the deduced near-end environmental voice is recorded as A;
if a binaural microphone is used, the near-end human voice is cancelled and the near-end ambient sound is recorded as a by the principle of fixed beam forming.
Further, in the above wireless headset, an external microphone may be further included, which is disposed in a damaged housing of the wireless headset, because the reliability of software control is not 100%, when an algorithm failure occurs, a great influence on a user may even cause a danger to the ear of the user, and in order to overcome the above algorithm failure problem, the following method may be adopted, which mainly includes:
1. an external microphone (different from the sound channel microphone, generally disposed on the housing and directly connected to the environment) connected to the external environment detects the environmental noise and gives a corresponding noise level, for example, 50dB noise is defined as a B level (for example, 0-20 dB is set as an a level, 20-50 dB is set as a B level, 50-80 dB is set as a C level, and more than 80dB is set as a D level);
2. searching the compensation decibel sound corresponding to the corresponding noise level (for example, setting A level compensation to be 10dB, B level compensation to be 20dB, C level compensation to be 30dB and D level compensation to be 40 dB);
3. and outputting the searched compensation decibels to a loudspeaker for automatically adjusting the volume, wherein the compensation corresponding to each noise level cannot be the noise monitoring decibel, otherwise, the compensation is unacceptable for human ears, for example, the C level cannot compensate 50dB, and at this time, too high sound is harmful to a user. It should be noted that the compensation decibel sound is added on the original playing basis (reference sound), so that the reference sound is basically unchanged in size and adaptively changes along with the compensated sound.
The processor in the wireless headset in this embodiment can load and execute the instruction mentioned in the first embodiment, and by setting the ratio number M0 between the intensity of the far-end voice and the intensity of the near-end ambient sound during a call, compare M0 with the preset ratio judgment number M, and adjust the far-end sound volume according to the result after comparison, thereby implementing adaptive volume adjustment. In summary, the wireless headset in this embodiment can provide better user experience for the user, so that the user can hear the far-end speech more clearly under different sound volumes at the near-end and the far-end.
While the adaptive volume adjustment method according to the environmental sound and the wireless headset provided by the present invention have been described in detail, for those skilled in the art, the idea of the embodiment of the present invention may be changed in the specific implementation manner and the application scope.

Claims (6)

1. An adaptive volume adjustment method according to environmental sound, characterized by comprising the following steps:
s1, detecting the echo of the near-end sound channel and eliminating the echo of the near-end sound channel;
s2, detecting a near-end channel;
the near-end sound channel adopts a single-ear microphone to pick up sound, if near-end environment sound is obtained through VAD detection, the intensity of the near-end environment sound is recorded as A, if near-end human sound is obtained through VAD detection, current near-end environment sound is obtained through historical near-end environment sound data deduction, the deduced near-end environment sound is used for covering the near-end human sound, and the deduced intensity of the near-end environment sound is recorded as A;
or the near-end sound channel adopts a double-ear microphone to pick up sound, near-end human sound is eliminated through a fixed beam forming principle, and near-end environment sound is recorded as A;
s3, performing VAD detection on the far-end sound channel, and recording the detected intensity of the far-end voice as B;
s4, calculating the ratio number of B and A as M0, adjusting the convergence level of a coefficient G for correspondingly controlling the volume of the far-end sound through the ratio number M0, setting the ratio judgment number for judging whether to increase the volume of the far-end sound or decrease the volume of the far-end sound as M, wherein G is initialized to 1, and each frame of processing converges in a form of G being 0.99+ 0.01M/M0;
when M0 is larger than M and G is smaller than 1, turning down the volume of the far-end sound;
when M0 is less than M, G is greater than 1, increasing the far-end sound volume.
2. The adaptive volume adjustment method according to the environmental sound as claimed in claim 1, wherein the step S1 of detecting the echo of the near-end channel specifically comprises:
recording the audio frequency of a near-end sound channel as Λ 1, and acquiring the audio frequency of a far-end sound channel as Λ 2;
adding a double self-adaptive filter, adjusting the coefficient of the double self-adaptive filter according to the difference value of the lambada 1 and the lambada 2, obtaining the filter coefficient closest to the echo by adopting a least square method, and switching the working states of the two filters according to the near-end voice and the far-end voice.
3. The adaptive volume adjustment method according to the environmental sound as claimed in claim 2, wherein the step S1 of eliminating the echo in the near-end channel specifically comprises:
recording the detected echo sound wave;
the convolution value of Λ 1 minus Λ 2 and the filter h n in operation is applied.
4. The adaptive volume adjusting method according to the environmental sound according to claim 1, wherein the step S4 further comprises:
setting a maximum threshold value for increasing the volume of the far-end sound as Max and a minimum threshold value for reducing the volume of the far-end sound as Min;
when B is larger than or equal to Max, the volume of the far-end sound does not need to be adjusted;
when a is less than or equal to Min, then no adjustment of the far-end sound volume is required.
5. A wireless headset is characterized by comprising a processor, a loudspeaker, a sound channel microphone, a storage device and a communication circuit;
the loudspeaker, the sound channel microphone, the storage device and the communication circuit are all electrically connected with the processor;
the storage device is adapted to store a plurality of instructions, the instructions adapted to be loaded and executed by the processor, the instructions comprising:
detecting the echo of the near-end sound channel and eliminating the echo of the near-end sound channel;
detecting a near-end sound channel;
the near-end sound channel adopts a single-ear microphone to pick up sound, if near-end environment sound is obtained through VAD detection, the intensity of the near-end environment sound is recorded as A, if near-end human sound is obtained through VAD detection, current near-end environment sound is obtained through historical near-end environment sound data deduction, the deduced near-end environment sound is used for covering the near-end human sound, and the deduced intensity of the near-end environment sound is recorded as A;
or the near-end sound channel adopts a double-ear microphone to pick up sound, near-end human sound is eliminated through a fixed beam forming principle, and near-end environment sound is recorded as A;
VAD detection is carried out on the far-end sound channel, and the detected intensity of the far-end voice is recorded as B;
calculating the ratio number of B and A as M0, adjusting the convergence level of a coefficient G for correspondingly controlling the far-end sound volume by the ratio number M0, wherein G is initialized to 1, each frame of processing converges in a form of G being 0.99+0.01M/M0, and setting the ratio judgment number for judging to increase the far-end sound volume or reduce the far-end sound volume as M;
when M0 is larger than M and G is smaller than 1, turning down the volume of the far-end sound;
when M0 is less than M, G is greater than 1, increasing the far-end sound volume.
6. The wireless headset of claim 5, wherein the channel microphone is a monaural microphone or a binaural microphone.
CN202010603530.0A 2020-06-29 2020-06-29 Self-adaptive volume adjustment method according to environmental sound and wireless earphone Active CN111711881B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010603530.0A CN111711881B (en) 2020-06-29 2020-06-29 Self-adaptive volume adjustment method according to environmental sound and wireless earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010603530.0A CN111711881B (en) 2020-06-29 2020-06-29 Self-adaptive volume adjustment method according to environmental sound and wireless earphone

Publications (2)

Publication Number Publication Date
CN111711881A CN111711881A (en) 2020-09-25
CN111711881B true CN111711881B (en) 2022-02-18

Family

ID=72543726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010603530.0A Active CN111711881B (en) 2020-06-29 2020-06-29 Self-adaptive volume adjustment method according to environmental sound and wireless earphone

Country Status (1)

Country Link
CN (1) CN111711881B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067927A (en) * 2007-04-19 2007-11-07 北京中星微电子有限公司 Sound volume adjusting method and device
CN103310789A (en) * 2013-05-08 2013-09-18 北京大学深圳研究生院 Sound event recognition method based on optimized parallel model combination
EP2733847A2 (en) * 2012-11-16 2014-05-21 GN Netcom A/S A communication device with motion dependent automatic volume control
CN104104800A (en) * 2014-07-25 2014-10-15 Tcl通讯(宁波)有限公司 Method for adjusting volume output of mobile terminal according to environment noises and mobile terminal
CN106055304A (en) * 2016-06-08 2016-10-26 乐视控股(北京)有限公司 Volume regulating method and device for earphone
CN106791067A (en) * 2016-12-14 2017-05-31 广东欧珀移动通信有限公司 A kind of In Call adjusting method, device and mobile terminal
CN111225317A (en) * 2020-01-17 2020-06-02 四川长虹电器股份有限公司 Echo cancellation method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018059030A1 (en) * 2016-09-27 2018-04-05 华为技术有限公司 Volume adjustment method and terminal
CN107277209B (en) * 2017-07-27 2020-05-29 维沃移动通信有限公司 Call adjustment method and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067927A (en) * 2007-04-19 2007-11-07 北京中星微电子有限公司 Sound volume adjusting method and device
EP2733847A2 (en) * 2012-11-16 2014-05-21 GN Netcom A/S A communication device with motion dependent automatic volume control
CN103310789A (en) * 2013-05-08 2013-09-18 北京大学深圳研究生院 Sound event recognition method based on optimized parallel model combination
CN104104800A (en) * 2014-07-25 2014-10-15 Tcl通讯(宁波)有限公司 Method for adjusting volume output of mobile terminal according to environment noises and mobile terminal
CN106055304A (en) * 2016-06-08 2016-10-26 乐视控股(北京)有限公司 Volume regulating method and device for earphone
CN106791067A (en) * 2016-12-14 2017-05-31 广东欧珀移动通信有限公司 A kind of In Call adjusting method, device and mobile terminal
CN111225317A (en) * 2020-01-17 2020-06-02 四川长虹电器股份有限公司 Echo cancellation method

Also Published As

Publication number Publication date
CN111711881A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
US9462376B2 (en) Systems and methods for hybrid adaptive noise cancellation
CA2796397C (en) Active noise cancellation decisions in a portable audio device
US9633646B2 (en) Oversight control of an adaptive noise canceler in a personal audio device
US9099077B2 (en) Active noise cancellation decisions using a degraded reference
US5598468A (en) Method and apparatus for echo removal in a communication system
US9373339B2 (en) Speech intelligibility enhancement system and method
US5251263A (en) Adaptive noise cancellation and speech enhancement system and apparatus therefor
US8693678B2 (en) Device and method for controlling damping of residual echo
US9699554B1 (en) Adaptive signal equalization
US20150334215A1 (en) Far-end sound quality indication for telephone devices
KR20130043124A (en) Systems methods devices apparatus and computer program products for audio equalization
US10789933B1 (en) Frequency domain coefficient-based dynamic adaptation control of adaptive filter
CN111294719A (en) Method and device for detecting in-ear state of ear-wearing type device and mobile terminal
JP2918025B2 (en) 2-wire audio conference device
EP1584178B1 (en) Device and method for suppressing echo, in particular in telephones
CN111711881B (en) Self-adaptive volume adjustment method according to environmental sound and wireless earphone
WO2021016000A2 (en) Frequency domain adaptation with dynamic step size adjustment based on analysis of statistic of adaptive filter coefficient movement
US20230328462A1 (en) Method, device, headphones and computer program for actively suppressing the occlusion effect during the playback of audio signals
US11323804B2 (en) Methods, systems and apparatus for improved feedback control

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