A method and device for adjusting fade-in and fade-out mechanism triggered by strong wind noise
Through the adjustment of the fade-in and fade mechanism by triggering high wind noise, the problem of inconsistent state transition of noise-reducing headphones is solved, and a good environmental transparency experience in the transparent mode is achieved and design costs are reduced.
Patent Information
- Application Number
- CN202011544125.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-23
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2040-12-23
AI Technical Summary
After the high wind noise detection is triggered, the state transition of existing noise-cancelling headphones is inconsistent, resulting in poor user experience and high design and R&D costs.
The fade-in and fade mechanism is adjusted by debugging filter parameters, and the feed-forward microphone whistles are suppressed. The external sound signal is converted into electrical signals by using dual noise reduction microphones and information sensors, and the fade-in and fade process is carried out to smooth the state transition, and according to the outside world Noise conditions adjust the noise reduction depth.
It realizes the clarity of the external ambient sound in the transparent mode, reduces wind noise, improves user experience, and reduces design and R&D costs.
Smart Images

Figure CN112866854B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of noise reduction, and in particular relates to a method and device for adjusting a fade-in and fade-out mechanism triggered by strong wind noise. Background Art
[0002] With the rapid development of modern software development and digital signal processing technology, headphones have become the mainstream development trend of the headphone industry in the future. At present, giants including Huawei, Harman, BOSE, etc. have joined the research and development of noise-canceling headphones. In addition to the noise reduction function of reducing external noise, noise-canceling headphones also need to pay more attention to external sounds in certain usage scenarios, such as the announcement sound of buses or subway stations, the sound of whistles when crossing the road, etc., so that the headphones can monitor the surrounding environment in real time and reduce the noise reduction effect in order to obtain a better user experience. In the actual headphone design, due to defects in the structural cavity design, or the resulting feedforward microphone is not completely sealed, the headphones will block the feedforward microphone after turning on the transparent mode, and howling will occur. How to debug the noise-canceling headphones in the transparent mode to prevent the headphones from howling, ensure that most of the external environmental sounds picked up by the headphones are not weakened, satisfy the user's good user experience in terms of hearing, and save the cost of the design and development stage at the same time, is a matter of certain practical significance.
[0003] However, in the prior art, hybrid active noise reduction of feedforward and feedback, or adaptive feedforward noise reduction, generally has a wind noise detection trigger mechanism, which picks up energy through the feedforward microphone and calculates the external wind noise energy to reduce the wind noise; if the strong wind noise detection trigger mechanism is triggered, the earphones will enter another state due to the interference of external signals, and how to enter from one state to another and poor transition between states will usually introduce the influence of other factors, resulting in uncoordinated conversion and poor user experience.
[0004] To this end, we propose a method and device for adjusting the fade-in and fade-out mechanism triggered by strong wind noise to solve the problems existing in the prior art, so that the transition between states can be controlled through the mechanism, so that the transition between two states can be slow. Summary of the invention
[0005] The purpose of the present invention is to provide a method and device for adjusting the fade-in and fade-out mechanism triggered by strong wind noise, so as to solve the problem proposed in the above background technology that if the strong wind noise detection trigger mechanism is triggered in the prior art, due to the interference of external signals, the earphones will enter another state, and how to enter from one state to another, the poor transition between states will usually introduce the influence of other factors, resulting in uncoordinated conversion and poor user experience. By debugging the filter parameters, the frequency point that blocks the howling of the feedforward microphone is suppressed by the filter, and the transparent mode of most of the environmental reception is retained, providing users with a good environmental transparency experience.
[0006] To achieve the above object, the present invention adopts the following technical solutions:
[0007] A method and device for adjusting a fade-in and fade-out mechanism triggered by strong wind noise, comprising the following steps:
[0008] S1. The external sound signal is converted into an electrical signal by the dual noise reduction microphones through physical resonance, and the original sound information is recorded;
[0009] S2. Convert the information contained in the original sound clock into an electrical signal through a sensor to generate a continuous analog signal;
[0010] S3, converting analog signals into discrete digital signals, quantizing continuous analog signals into discrete values through signal acquisition, signal quantization and signal encoding, and then representing the discrete values with binary digital representation;
[0011] S4. Perform linear processing on the audio data, collect discrete value data signals, obtain a frame of audio data and put it into the cache, and judge the status. There are two situations as follows:
[0012] A. When external wind noise is introduced, the external input signal is turned off to reduce the wind noise heard by the human ear, and the data is faded in and out to allow an adaptation process. No other problems can be introduced during the adaptation process, and it is used for a smooth transition from one state to another;
[0013] B. When no external wind noise is introduced, the external introduction signal is turned on, external sound processing is introduced, and the signal with the opposite phase is played through the algorithm to achieve noise reduction, and the noise reduction depth gain is converted;
[0014] S5, the audio data is transmitted, and the audio data processed in different states is transmitted through the headphone sound outlet.
[0015] Preferably, the physical resonance in step 1 is to select the required audio signal and filter out the unwanted signal to avoid interference, and the electrical signal is expressed in the form of amplitude or spectrum characteristics, and the data information of the amplitude or spectrum characteristics obtained is the original sound information.
[0016] Preferably, the sound bell in step 2 refers to the oscillation of sound, and the information sensor is configured as a noise reduction microphone, which demodulates the high-frequency amplitude modulation signal of the original sound oscillation into the original audio signal through the microphone, and sends the demodulated audio signal to the earphone.
[0017] Preferably, the signal acquisition in step 3 refers to replacing the original time-continuous signal with a sequence of signal sample values at regular time intervals; the signal quantization refers to approximating the original amplitude value that changes continuously in time with a finite number of amplitudes, converting the continuous amplitude of the analog signal into a finite number of discrete values with regular time intervals; the signal encoding is to represent the quantized discrete values with binary digits according to a certain rule.
[0018] Preferably, the fade-in in step 4 means that the initial volume of the audio selection is very small or even silent, while the final volume is relatively large, and the volume gradually increases within a period of time; the fade-out means that the initial volume of the audio selection is relatively large, while the final volume is very small or even silent, and the volume gradually decreases within a period of time.
[0019] Preferably, the audio data in step 4 changes gradually, and the gradual change of audio data is a linear algebra problem. Line processing is performed on each frame of data. The fade-in and fade-out processing step is to divide the difference between the target position and the current position by the fade-in or fade-out time length, and prevent calculation errors. Then, each collected data is linearly converted, and the fade-in and fade-out processing of a frame of data is completed.
[0020] Preferably, the conversion formula of the noise reduction depth gain in step 4 is as follows:
[0021] Y=c*t / d+b
[0022] Wherein, b represents the starting gain; c represents the difference between the target gain and the starting gain; d represents the number of samples that need to be processed, that is, d=200 (the time for data slow motion processing)*sr (sampling rate) / 1000; and t represents the frame count of processing.
[0023] Preferably, the adaptation process in step 4 refers to entering from one state to another, and the entire transition is made smoother by adjusting the step size. For example, within the same degree from 0→1 or 1→0, different steps will have inconsistent performance on state transition. For large steps, a clicking sound will be introduced due to the sudden change of sound. Through testing and research, it was found that the reason is the sudden change of state and the step size is too large. Therefore, the entire transition is made smoother by adjusting the step size.
[0024] A device for adjusting the fade-in and fade-out mechanism according to the method of triggering strong wind noise as described above, comprising a receiving module, a conversion module, an acquisition module, a control module, a noise reduction module, an outgoing module and a power supply module, wherein the receiving module is electrically connected to the conversion module, the conversion module is electrically connected to the acquisition module, the acquisition module is electrically connected to the control module, the control module is electrically connected to the noise reduction module, the noise reduction module is electrically connected to the outgoing module, and the power supply module is electrically connected to the receiving module, the conversion module, the acquisition module, the control module, the noise reduction module and the outgoing module respectively.
[0025] Preferably, the receiving module is used to receive external sound signals; the conversion module is used to convert the external sound signals into electrical signals through physical resonance and convert the information contained in the original sound clock into the electrical signals to generate continuous analog signals, and convert the analog signals into discrete digital signals; the acquisition module is used to receive discrete digital signals, the control module is used to judge the state of the received digital signals, and control the noise reduction module to perform noise reduction processing, and the transmission module transmits the processed audio data in different states through the headphone sound outlet.
[0026] The method and device for adjusting the fade-in and fade-out mechanism triggered by strong wind noise proposed in the present invention have the following advantages over the prior art:
[0027] The present invention mainly uses a control module to judge the state of the digital signal received by the acquisition module, and controls the noise reduction module to perform noise reduction processing according to the data in different states. When external wind noise is introduced, the external introduction signal is turned off to reduce the wind noise and abnormal sound heard by the human ear, and the data is faded in and out so that it has an adaptation process. No other problems can be introduced in the middle of the adaptation process, and it is used for a smooth transition from one state to another; when no external wind noise is introduced, the external introduction signal is turned on, the external sound processing is introduced, and the signal of the opposite phase is played through the algorithm to achieve noise reduction, and the noise reduction depth gain is converted, so that the earphone has a noise reduction function, and can realize mixed noise reduction or single feedforward noise reduction according to the actual state, so that it can adapt to adjust the step size of the fade-in and fade-out mechanism according to each scene, which is convenient for coordinated conversion between the two states and improves the user experience effect to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 A flow chart of a method for adjusting a fade-in and fade-out mechanism triggered by strong wind noise according to the present invention;
[0029] Figure 2 The present invention is a system block diagram of a device for a method of adjusting a fade-in and fade-out mechanism triggered by strong wind noise. DETAILED DESCRIPTION
[0030] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. The specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0031] The present invention provides a method for adjusting a fade-in and fade-out mechanism triggered by strong wind noise, comprising the following steps:
[0032] S1. The external sound signal is converted into an electrical signal by the dual noise reduction microphones through physical resonance, and the original sound information is recorded;
[0033] S2. Convert the information contained in the original sound clock into an electrical signal through a sensor to generate a continuous analog signal;
[0034] S3, converting analog signals into discrete digital signals, quantizing continuous analog signals into discrete values through signal acquisition, signal quantization and signal encoding, and then representing the discrete values with binary digital representation;
[0035] S4. Perform linear processing on the audio data, collect discrete value data signals, obtain a frame of audio data and put it into the cache, and judge the status. There are two situations as follows:
[0036] A. When external wind noise is introduced, the external input signal is turned off to reduce the wind noise heard by the human ear, and the data is faded in and out to allow an adaptation process. No other problems can be introduced during the adaptation process, and it is used for a smooth transition from one state to another;
[0037] B. When no external wind noise is introduced, the external introduction signal is turned on, external sound processing is introduced, and the signal with the opposite phase is played through the algorithm to achieve noise reduction, and the noise reduction depth gain is converted;
[0038] S5, transmitting the audio data, the processed audio data in different states are transmitted through the headphone sound outlet;
[0039] Among them, the physical resonance in step 1 is to select the required audio signal and filter out the unwanted signal to avoid interference, and the electrical signal is expressed in the form of amplitude or spectrum characteristics, and the data information of the amplitude or spectrum characteristics obtained is the original sound information;
[0040] The sound clock in step 2 refers to the oscillation of the sound, and the information sensor is set to a noise reduction microphone, which demodulates the high-frequency amplitude modulation signal of the original sound oscillation into the original audio signal through the microphone, and sends the demodulated audio signal to the earphone;
[0041] Among them, signal acquisition in step 3 refers to replacing the original continuous signal in time with a sequence of signal sample values at regular intervals; signal quantization refers to using a finite number of amplitudes to approximate the original amplitude value that changes continuously in time, and converting the continuous amplitude of the analog signal into a finite number of discrete values with a certain time interval; signal encoding is to represent the quantized discrete values with binary digits according to a certain rule;
[0042] Among them, the fade-in in step 4 means that the initial volume of the audio selection is very small or even silent, and the final volume is relatively large, then the volume gradually increases within a period of time; fade-out means that the initial volume of the audio selection is relatively large, and the final volume is very small or even silent, then the volume gradually decreases within a period of time. In addition, for the system, fade-in and fade-out means gradually entering; for pictures or texts, it means that the color changes from light to dark when they appear, and from deep to light when they are hidden; for audio, the beginning or end part adopts a fade-in and fade-out effect. The fade-in effect means that the sound is silent at the beginning, and then the sound gain slowly increases in a linear manner. The fade-out effect means that the sound slowly decreases at the end, which belongs to a linear change process until the sound is inaudible;
[0043] Among them, the audio data in step 4 changes gradually, and the gradual change of audio data is a linear algebra problem. Line processing is performed on each frame of data. The fade-in and fade-out processing step is to divide the difference between the target position and the current position by the fade-in or fade-out time length, and prevent calculation errors. Then, linear conversion is performed on each collected data, that is, the fade-in and fade-out processing of one frame of data is completed;
[0044] Among them, the conversion formula of the noise reduction depth gain in step 4 is as follows:
[0045] Y=c*t / d+b
[0046] Wherein, b represents the starting gain; c represents the difference between the target gain and the starting gain; d represents the number of samples to be processed, i.e., d = 200 (the time for data slow motion processing) * sr (sampling rate) / 1000; t represents the frame count of processing;
[0047] Among them, the adaptation process in step 4 refers to entering from one state to another state, and the entire transition is made smoother by adjusting the step size. For example, within the same degree, from 0→1 or 1→0, different steps will have inconsistent performances on state transition. For large steps, due to the sudden change of sound, a clicking sound will be introduced. Through testing and research, it is found that the reason is due to the sudden change of state and the step size is too large. Therefore, the entire transition is made smoother by adjusting the step size;
[0048] A device for adjusting the fade-in and fade-out mechanism according to the method of triggering the strong wind noise described above, comprising a receiving module, a conversion module, a collection module, a control module, a noise reduction module, an outgoing module and a power supply module, wherein the receiving module is electrically connected to the conversion module, the conversion module is electrically connected to the collection module, the collection module is electrically connected to the control module, the control module is electrically connected to the noise reduction module, the noise reduction module is electrically connected to the outgoing module, and the power supply module is electrically connected to the receiving module, the conversion module, the collection module, the control module, the noise reduction module and the outgoing module respectively;
[0049] Among them, the receiving module is used to receive external sound signals; the conversion module is used to convert external sound signals into electrical signals through physical resonance and convert the information contained in the original sound clock into electrical signals to generate continuous analog signals, and convert the analog signals into discrete digital signals; the acquisition module is used to receive discrete digital signals, the control module is used to judge the state of the received digital signals, and control the noise reduction module to perform noise reduction processing, and the transmission module transmits the processed audio data in different states through the headphone sound outlet.
[0050] Working principle: The control module judges the state of the digital signal received by the acquisition module, and controls the noise reduction module to perform noise reduction processing according to the data in different states. When external wind noise is introduced, the external introduction signal is turned off to reduce the wind noise heard by the human ear, and the data is faded in and out to give it an adaptation process. No other problems can be introduced during the adaptation process, and it is used to smoothly transition from one state to another. When no external wind noise is introduced, the external introduction signal is turned on, external sound processing is introduced, and the signal of the opposite phase is played through the algorithm to achieve noise reduction, and the noise reduction depth gain is converted, so that the headphones have noise reduction function, and can realize mixed noise reduction or single feedforward noise reduction according to the actual state, so that it can adapt to adjust the step size of the fade-in and fade-out mechanism according to each scene, which is convenient for coordinated conversion between the two states and improves the user experience effect to a certain extent.
[0051] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for adjusting a fade-in and fade-out mechanism triggered by strong wind noise, characterized in that: The method comprises the following steps: S1, converting external sound signals, which are converted into electrical signals by physical resonance of dual noise reduction microphones, and recording the original sound information; S2, converting the information contained in the original sound clock, converting the information contained in the original sound clock into electrical signals through sensors, and generating continuous analog signals; S3, converting analog signals into discrete digital signals, quantizing the continuous analog signals into discrete values through signal acquisition, signal quantization and signal encoding, and then representing the discrete values with binary digital numbers; S4, linearly processing the audio data, acquiring the data signals of discrete values, obtaining a frame of audio data and putting it into a buffer There are two situations in which the state is judged: A. When external wind noise is introduced, the external introduction signal is turned off to reduce the wind noise heard by the human ear, and the data is faded in and out to allow an adaptation process. No other problems can be introduced during the adaptation process, and it is used to smoothly transition from one state to another; B. When no external wind noise is introduced, the external introduction signal is turned on, external sound processing is introduced, and the signal with the opposite phase is played through the algorithm to achieve noise reduction, and the noise reduction depth gain is converted; S5. The transmission of audio data, the processed audio data in different states is transmitted through the headphone sound outlet; The physical resonance described in step 1 is to select the required audio signal and filter out the unwanted signal to avoid interference, and the electrical signal is expressed in the form of amplitude or spectrum characteristics, and the data information of the amplitude or spectrum characteristics obtained is the original sound information; The sound bell in step 2 refers to the oscillation of the sound, and the information sensor is set to a noise reduction microphone, which demodulates the high-frequency amplitude modulation signal of the original sound oscillation into the original audio signal through the microphone, and sends the demodulated audio signal to the earphone; The signal acquisition in step 3 refers to replacing the original continuous signal in time with a sequence of signal sample values at regular intervals; the signal quantization refers to approximating the original amplitude value that changes continuously in time with a finite number of amplitudes, and converting the continuous amplitude of the analog signal into a finite number of discrete values with a certain time interval; the signal encoding is to represent the quantized discrete values with binary digits according to a certain rule; The fade-in in step 4 means that the initial volume of the audio selection is very low or even silent, and the final volume is relatively large, and the volume gradually increases within a period of time; the fade-out means that the initial volume of the audio selection is relatively large, and the final volume is very low or even silent, and the volume gradually decreases within a period of time; The audio data in step 4 changes gradually, and the gradual change of audio data is a linear algebra problem. Line processing is performed on each frame of data. The fade-in and fade-out processing step is to divide the difference between the target position and the current position by the fade-in or fade-out time length, and prevent calculation errors. Then, each collected data is linearly converted, that is, the fade-in and fade-out processing of one frame of data is completed; The adaptation process described in step 4 refers to entering from one state to another state, and the entire transition is made smoother by adjusting the size of the step; The device using the method of adjusting the fade-in and fade-out mechanism triggered by heavy wind noise comprises a receiving module, a conversion module, a collection module, a control module, a noise reduction module, an outgoing module and a power supply module, wherein the receiving module is electrically connected to the conversion module, the conversion module is electrically connected to the collection module, the collection module is electrically connected to the control module, the control module is electrically connected to the noise reduction module, the noise reduction module is electrically connected to the outgoing module, and the power supply module is electrically connected to the receiving module, the conversion module, the collection module, the control module, the noise reduction module and the outgoing module respectively; The receiving module is used to receive external sound signals; the conversion module is used to convert external sound signals into electrical signals through physical resonance and convert the information contained in the original sound clock into electrical signals to generate continuous analog signals, and convert the analog signals into discrete digital signals; the acquisition module is used to receive discrete digital signals, the control module is used to judge the state of the received digital signals, and control the noise reduction module to perform noise reduction processing, and the transmission module transmits the processed audio data in different states through the headphone sound outlet.
