WO2023070917A1 - 降噪调整方法、耳机及计算机可读存储介质 - Google Patents

降噪调整方法、耳机及计算机可读存储介质 Download PDF

Info

Publication number
WO2023070917A1
WO2023070917A1 PCT/CN2021/140700 CN2021140700W WO2023070917A1 WO 2023070917 A1 WO2023070917 A1 WO 2023070917A1 CN 2021140700 W CN2021140700 W CN 2021140700W WO 2023070917 A1 WO2023070917 A1 WO 2023070917A1
Authority
WO
WIPO (PCT)
Prior art keywords
noise
value
noise reduction
noise value
hearing threshold
Prior art date
Application number
PCT/CN2021/140700
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 WO2023070917A1 publication Critical patent/WO2023070917A1/zh

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/1083Reduction of ambient noise
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • G10K11/1781Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase characterised by the analysis of input or output signals, e.g. frequency range, modes, transfer functions
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • G10K11/1787General system configurations
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K2210/00Details of active noise control [ANC] covered by G10K11/178 but not provided for in any of its subgroups
    • G10K2210/10Applications
    • G10K2210/108Communication systems, e.g. where useful sound is kept and noise is cancelled
    • G10K2210/1081Earphones, e.g. for telephones, ear protectors or headsets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2460/00Details of hearing devices, i.e. of ear- or headphones covered by H04R1/10 or H04R5/033 but not provided for in any of their subgroups, or of hearing aids covered by H04R25/00 but not provided for in any of its subgroups
    • H04R2460/01Hearing devices using active noise cancellation

Definitions

  • the invention relates to the technical field of earphones, in particular to a noise reduction adjustment method, earphones and a computer-readable storage medium.
  • the main purpose of the present invention is to provide a noise reduction adjustment method, an earphone and a computer-readable storage medium, aiming at solving the technical problem of how to improve the noise reduction effect of the earphone.
  • the present invention provides a noise reduction adjustment method, comprising the following steps:
  • the target noise value is greater than the standard hearing threshold corresponding to the target noise value, output a sound signal with the same amplitude and opposite phase as the noise corresponding to the target noise value, and calculate the target noise value and the standard hearing threshold the difference between
  • the step of outputting a sound signal with the same amplitude and opposite phase as the noise corresponding to the target noise value includes:
  • the step of outputting a sound signal with the same amplitude and opposite phase as the noise corresponding to the target noise value according to the comparison result includes:
  • the noise value of the left ear is greater than the standard hearing threshold of the left ear, and the noise value of the right ear is greater than the standard hearing threshold of the right ear, the corresponding left ear canal and right ear canal of the earphone will simultaneously output the
  • the above target noise value corresponds to the sound signal with the same amplitude and opposite phase of the noise.
  • the step of outputting a sound signal with the same amplitude and opposite phase as the noise corresponding to the target noise value according to the comparison result includes:
  • the noise value of the left ear is greater than the standard hearing threshold of the left ear, and the noise value of the right ear is less than or equal to the standard hearing threshold of the right ear, then the corresponding left ear canal output of the earphone is equal to the target noise
  • the value corresponds to a sound signal in which the noise has the same amplitude and opposite phase.
  • the step of outputting a sound signal with the same amplitude and opposite phase as the noise corresponding to the target noise value according to the comparison result includes:
  • the noise value of the left ear is less than or equal to the standard hearing threshold of the left ear, and the noise value of the right ear is greater than the standard hearing threshold of the right ear, then the corresponding right ear canal output of the earphone is equal to the target noise
  • the value corresponds to a sound signal in which the noise has the same amplitude and opposite phase.
  • the steps include:
  • the left ear noise value is less than or equal to the left ear standard hearing threshold
  • the right ear noise value is less than or equal to the right ear standard hearing threshold
  • the step of adjusting the noise reduction parameters of the earphones includes:
  • the difference is smaller than the minimum value, it is determined that the difference does not match the preset decibel interval, and the noise reduction parameter of the earphone is adjusted.
  • the step of adjusting the noise reduction parameters of the noise reduction circuit in the earphone includes:
  • the target noise value is updated, obtain the updated updated noise value, if the updated noise value is greater than the updated standard threshold corresponding to the updated noise value, and the updated noise value and the updated standard noise If the difference between the thresholds does not match the preset decibel range, the maximum noise reduction mode among the active noise reduction modes remains unchanged.
  • the present invention also provides an earphone.
  • the earphone includes a memory, a processor, and a noise reduction adjustment program stored in the memory and operable on the processor.
  • the noise reduction adjustment program is executed by the processor, the following The steps of the above-mentioned noise reduction adjustment method.
  • the present invention also provides a computer-readable storage medium, on which a noise reduction adjustment program is stored.
  • a noise reduction adjustment program is stored on which a noise reduction adjustment program is stored.
  • the active noise reduction mode of the earphone when the active noise reduction mode of the earphone is turned on, when the acquired target noise value is greater than the standard hearing threshold, it will output a sound signal with the same amplitude and opposite phase as the noise corresponding to the target noise value, so as to achieve the noise reduction effect, and in order to To avoid the phenomenon of negative pressure caused by too low noise, so when the difference between the target noise value and the standard hearing threshold does not match the preset decibel range, the noise reduction parameters in the earphones will be adjusted until the adjustment The difference between the two matches the preset decibel range, so that the noise reduction effect meets the user's needs, and the noise reduction effect of the earphone is improved.
  • Fig. 1 is a schematic diagram of the terminal/device structure of the hardware operating environment involved in the solution of the embodiment of the present invention
  • FIG. 2 is a schematic flowchart of the first embodiment of the noise reduction adjustment method of the present invention.
  • Fig. 3 is a schematic diagram of the device unit of the noise reduction adjustment device of the present invention.
  • Figure 1 is a schematic diagram of the terminal structure of the hardware operating environment involved in the solution of the embodiment of the present invention.
  • the terminal in this embodiment of the present invention is an earphone.
  • the terminal may include: a processor 1001 , such as a CPU, a network interface 1004 , a user interface 1003 , a memory 1005 , and a communication bus 1002 .
  • the communication bus 1002 is used to realize connection and communication between these components.
  • the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 can be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory.
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
  • the terminal may also include a camera, an RF (Radio Frequency, radio frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.
  • sensors such as light sensors, motion sensors and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, where the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and/or backlight.
  • the terminal device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which will not be repeated here.
  • terminal structure shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or less components than those shown in the figure, or combine some components, or arrange different components.
  • the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a noise reduction adjustment program.
  • the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
  • the user interface 1003 is mainly used to connect to the client (client) and perform data communication with the client;
  • the processor 1001 can be used to call the noise reduction adjustment program stored in memory 1005, and perform the following operations:
  • the target noise value is greater than the standard hearing threshold corresponding to the target noise value, output a sound signal with the same amplitude and opposite phase as the noise corresponding to the target noise value, and calculate the target noise value and the standard hearing threshold the difference between
  • the present invention provides a noise reduction adjustment method.
  • the noise reduction adjustment method includes the following steps:
  • Step S10 when it is detected that the active noise reduction mode of the earphone is turned on, acquire the collected target noise value
  • Active noise-canceling earphones pick up the noise in the external environment through the noise-canceling microphone, and generate sound waves with the same amplitude and opposite phase as the external noise through the noise-canceling system to be played by the speaker to offset the external environmental sound signal, thereby achieving the effect of noise reduction .
  • Active noise reduction includes feedforward noise reduction, feedback noise reduction, and hybrid noise reduction with both. Because active noise reduction can effectively reduce low-frequency noise, and most of the noise in life is low-frequency noise, such as ambient noise in scenes such as buses, subways, high-speed rails, trains, cars, buses, airplanes, gyms, and bars. Therefore, it is more and more popular among consumers.
  • a noise reduction earphone that can adjust the noise reduction effect according to the in-ear noise and the user's hearing threshold is provided. And it is for different users of the noise reduction earphones, the response of the noise reduction circuit is the same design, which cannot accommodate the needs of different users.
  • the ear canal Depending on whether the volume of the sound is higher than the user's hearing threshold, different noise reduction circuit responses are set.
  • the noise reduction adjustment method is applied to earphones, such as noise reduction earphones.
  • the noise reduction earphones include a speaker for playing signals, and a feedback microphone located in the front cavity of the earphone is used to detect residual noise in the ear canal. Control chip for signal processing.
  • a feed-forward microphone can also be placed in the rear cavity of the noise-canceling earphone to collect environmental noise.
  • the terminal such as a mobile phone or a computer
  • the user's hearing can be tested through the installed applications (such as music) in the terminal.
  • the connection between the noise-cancelling headset and the terminal can be established through Bluetooth or wired transmission, and after entering the hearing threshold detection mode, the speaker in the noise-cancelling headset can be controlled to play sounds of different volumes and different frequency bands through the application in the terminal.
  • Hearing thresholds for different frequency bands store the test results of the test (including the test results of the left and right ears) in the memory module of the control chip of the noise-canceling earphone, and define it as Threshold_L(f) and Threshold_R(f), where f is a different frequency, detect The frequency band is 20-2kHz, L is the left ear, R is the right ear.
  • the standard hearing threshold of the left ear and the standard hearing threshold of the right ear may be used as the standard hearing threshold.
  • the noise-canceling module when it is detected that the user is using a noise-cancelling headset, and the active noise-cancelling mode of the noise-cancelling headset is turned on, the noise-canceling module does not work at this time, and the microphone of the noise-cancelling headset will first collect the data passed through the earmuffs/ears. Set the noise that penetrates into the ear canal, and perform spectrum analysis through the analysis module of the control chip to obtain the noise value of the noise, which is used as the target noise value. And since the noise-cancelling earphones include left-ear earphones and right-ear earphones, the target noise value may include left-ear noise values and right-ear noise values.
  • Step S20 if the target noise value is greater than the standard hearing threshold corresponding to the target noise value, output a sound signal with the same amplitude and opposite phase as the noise corresponding to the target noise value, and calculate the difference between the target noise value and the the difference between standard hearing thresholds;
  • the target noise value when the target noise value is acquired, it is necessary to determine the corresponding standard hearing threshold according to the frequency band and frequency corresponding to the target noise value.
  • the standard hearing threshold of the left ear corresponds to the noise value of the left ear
  • the standard hearing threshold of the right ear corresponds to the noise value of the right ear. Then, the target noise value is compared with the standard hearing threshold corresponding to the target noise value.
  • the control command issues an instruction, the noise reduction module is turned on, and enters the maximum noise reduction mode, and the speaker output communicates with the target
  • the noise value corresponds to the sound signal with the same amplitude and opposite phase of the noise, so as to offset the noise and achieve the noise reduction effect.
  • the noise reduction module when the user uses headphones, if the active noise reduction mode is turned on, the noise reduction module does not work first, and the feedback microphone collects the noise that penetrates into the ear canal through the earmuffs/earmuffs, and performs spectrum analysis through the analysis module of the control chip to obtain FB_L (f) and FB_R(f), the judgment module judges, if FB_L(f) is lower than Threshold_L(f) at 20-2kHz and FB_R(f) is lower than Threshold_R(f) at 20-2kHz, it will penetrate into the left and right ear canals The noise is lower than the user's hearing threshold, and the control module does not need to turn on the noise reduction module to perform active noise reduction.
  • the control module sends an instruction, the noise reduction module is turned on, and enters the maximum noise reduction mode.
  • the loudspeaker plays a signal with the same amplitude and opposite phase to cancel the noise signal.
  • the comparison between the target noise value and the standard hearing threshold will also be performed in real time, such as calculating the difference between the target noise value and the standard hearing threshold, and according to This difference determines whether to adjust the noise reduction circuit.
  • Step S30 if the difference does not match the preset decibel range, then adjust the noise reduction parameters of the earphone until the adjusted difference matches the preset decibel range.
  • the target noise value when the noise corresponding to the target noise value is within 20-2kHz, the target noise value is constantly compared with the standard hearing threshold, so after the difference is calculated, the difference and the preset The decibel range (any decibel range set by the user in advance, such as -3dB-0dB) is compared with the minimum value. If the difference is less than the minimum value, it is determined that the difference does not match the preset decibel range.
  • the noise reduction parameters of the noise circuit are adjusted so that the calculated difference after adjustment matches the preset decibel range, but if it does not match after adjustment, the maximum noise reduction mode remains unchanged, so that the earphone maintains the maximum noise reduction effect.
  • FB_i(f)-Threshold_i(f) ⁇ -3dB that is, when the target noise value-standard hearing threshold ⁇ -3dB, it is determined that the difference does not match the preset decibel range, and at this time, the drop in the earphone can be adjusted.
  • Adjust the noise reduction parameters of the noise circuit such as the adjustment of the noise reduction circuit response Hb and Hf, weaken the noise reduction effect until -3dB ⁇ FB_i(f)-Threshold_i(f) ⁇ 0dB makes the residual noise of the ear canal and Threshold_i( f) There is not much difference at 20-2kHz, so as to avoid low noise and negative pressure feeling for users.
  • the noise reduction module adjusts to strengthen the noise reduction effect until it meets -3dB ⁇ FB_i(f)-Threshold_i(f) ⁇ 0dB, if the noise reduction module adjusts When reaching the maximum noise reduction mode, it still cannot satisfy -3dB ⁇ FB_i(f)-Threshold_i(f) ⁇ 0dB, and maintain the maximum noise reduction effect.
  • Hb is the response of the feedback noise reduction circuit.
  • Hf is the response of the feedforward noise reduction circuit.
  • the active noise reduction mode of the earphone when the active noise reduction mode of the earphone is turned on, when the acquired target noise value is greater than the standard hearing threshold, a sound signal with the same amplitude and opposite phase as the noise corresponding to the target noise value will be output to achieve noise reduction. effect, and in order to avoid the phenomenon of negative pressure caused by too low noise, so when the difference between the target noise value and the standard listening threshold does not match the preset decibel range, the noise reduction parameters of the earphones will be adjusted. Until the adjusted difference matches the preset decibel range, so that the noise reduction effect meets the needs of the user, and the noise reduction effect of the earphone is improved.
  • step S20 of the above-mentioned embodiment if the target noise value is greater than the target noise value
  • the refinement of the step of outputting the sound signal with the same amplitude and anti-phase of the noise corresponding to the target noise value includes:
  • Step a determining the noise value of the left ear and the noise value of the right ear in the target noise value, and determining the standard hearing threshold of the left ear and the standard hearing threshold of the right ear in the standard hearing threshold;
  • the noise value of the noise obtained through the left-ear earphone is first determined and used as the left-ear noise value. And determine the noise value of the noise obtained through the earphone of the right ear, and use it as the noise value of the right ear. Then determine the standard hearing threshold of the left ear corresponding to the noise value of the left ear in the storage module, and determine the standard hearing threshold of the right ear corresponding to the noise value of the right ear in the storage module.
  • the method of determining the standard hearing threshold of the left ear or the standard hearing threshold of the right ear may be determined according to frequency and frequency band.
  • Step b respectively comparing the noise value of the left ear with the standard hearing threshold of the left ear and the noise value of the right ear with the standard hearing threshold of the right ear, and outputting the corresponding noise corresponding to the target noise value according to the comparison result phase of the sound signal.
  • the difference between the noise value of the left ear and the standard hearing threshold of the left ear can be calculated The difference is determined by calculating the difference between the right ear noise value and the right ear standard hearing threshold. You can also perform direct comparisons between values. And the timing of comparing the noise value of the left ear with the standard hearing threshold of the left ear, and comparing the noise value of the right ear with the standard hearing threshold of the right ear can be carried out at the same time, or in order according to the rules set in advance, which will not be done here limit. And after the comparison results of the two comparisons are obtained, it is determined whether to output the sound signal with the same amplitude and opposite phase as the noise corresponding to the target noise value.
  • the step of outputting a sound signal with the same amplitude and opposite phase as the noise corresponding to the target noise sound value according to the comparison result includes:
  • the noise value of the left ear is greater than the standard hearing threshold of the left ear, and the noise value of the right ear is greater than the standard hearing threshold of the right ear, the corresponding left ear canal and right ear canal of the earphone will simultaneously output the
  • the above target noise value corresponds to the sound signal with the same amplitude and opposite phase of the noise.
  • the noise value of the left ear Compare the noise value of the left ear with the standard hearing threshold of the left ear, and compare the noise value of the right ear with the standard hearing threshold of the right ear. If the noise value of the left ear is greater than the standard hearing threshold of the left ear, and the noise value of the right ear is greater than the standard hearing threshold of the right ear Listening threshold, it can be determined that there is a large noise in the left ear canal corresponding to the left earphone and in the right ear canal corresponding to the right earphone, and noise reduction processing is required.
  • the left ear canal where the earphone is located is offset by the sound signal of the same amplitude and opposite phase as the noise value of the left ear corresponding to the noise, so as to achieve the noise reduction effect.
  • the microphone in the right earphone the sound signal with the same amplitude and opposite phase as the noise corresponding to the noise value of the right ear is played to the right ear canal where the right earphone is located to cancel, so as to achieve the noise reduction effect.
  • the corresponding left ear canal and right ear canal of the earphone simultaneously output the target noise value Corresponding to the sound signal of the same amplitude and opposite phase of the noise, thereby improving the noise reduction effect of the earphone.
  • the step of outputting a sound signal with the same amplitude and opposite phase as the noise corresponding to the target noise value according to the comparison result includes:
  • Step c if the noise value of the left ear is greater than the standard hearing threshold of the left ear, and the noise value of the right ear is less than or equal to the standard hearing threshold of the right ear, then output the corresponding left ear canal of the earphone to the corresponding
  • the above target noise value corresponds to the sound signal with the same amplitude and opposite phase of the noise.
  • the noise value of the left ear when comparing the noise value of the left ear with the standard hearing threshold of the left ear, and comparing the noise value of the right ear with the standard hearing threshold of the right ear, it is found that the noise value of the left ear is greater than the standard hearing threshold of the left ear, and The noise value of the right ear is less than or equal to the standard hearing threshold of the right ear. Then it can be determined that there is relatively large noise in the left ear canal corresponding to the left earphone, and noise reduction processing is required, while there is no large noise in the right ear canal corresponding to the right earphone, and no noise reduction processing is required.
  • the microphone in the left earphone can be used to play a sound signal with the same amplitude and opposite phase as the noise corresponding to the noise value of the left ear to the left ear canal where the left earphone is located, so as to achieve the noise reduction effect. No other noise reduction treatment is performed on the right ear canal where the right earphone is located.
  • the noise corresponding to the left ear canal output corresponding to the earphone is equal to the noise corresponding to the target noise value. Sound signals with amplitudes and phases reversed, thereby improving the noise reduction effect of the headphones.
  • the step of outputting a sound signal with the same amplitude and opposite phase as the noise corresponding to the target noise value according to the comparison result includes:
  • Step d if the noise value of the left ear is less than or equal to the standard hearing threshold of the left ear, and the noise value of the right ear is greater than the standard hearing threshold of the right ear, output the corresponding right ear canal of the earphone to the corresponding
  • the above target noise value corresponds to the sound signal with the same amplitude and opposite phase of the noise.
  • the noise value of the left ear is compared with the standard hearing threshold of the left ear
  • the noise value of the right ear is compared with the standard hearing threshold of the right ear
  • the noise value of the right ear is greater than the standard hearing threshold of the right ear. Then it can be determined that there is relatively large noise in the right ear canal corresponding to the right earphone, and noise reduction processing is required, while there is no large noise in the left ear canal corresponding to the left earphone, and no noise reduction processing is required.
  • the microphone in the right earphone can be used to play a sound signal with the same amplitude and opposite phase as the noise corresponding to the noise value of the right ear to the right ear canal where the right earphone is located, so as to achieve the noise reduction effect. No other noise reduction treatment is performed on the left ear canal where the left earphone is located.
  • the earphone corresponding to the right ear canal outputs the same noise as the noise corresponding to the target noise value. Sound signals with amplitudes and phases reversed, thereby improving the noise reduction effect of the headphones.
  • the left ear noise value with the left ear standard hearing threshold and the right ear noise value with the right ear standard hearing threshold includes:
  • Step e if the noise value of the left ear is less than or equal to the standard hearing threshold of the left ear, and the noise value of the right ear is less than or equal to the standard hearing threshold of the right ear, stop the noise reduction corresponding to the active noise reduction mode noise processing.
  • the noise reduction module is not turned on for active noise reduction processing.
  • the noise reduction process is stopped, thereby ensuring good earphone sound While playing the effect, it can save resources.
  • the step of adjusting the noise reduction parameters of the noise reduction circuit in the earphone includes:
  • Step f determining the minimum value in the preset decibel range, and detecting whether the difference is smaller than the minimum value
  • the difference between the noise value of the left ear and the standard hearing threshold of the left ear, or the difference between the noise value of the right ear and the standard hearing threshold of the right ear is obtained, it will be compared with the preset decibel
  • the interval is compared, that is, the minimum value in the preset decibel interval is determined first, such as -3dB. Then check whether all the differences are smaller than the minimum value, so as to perform different operations according to different detection results.
  • Step g if the difference is less than the minimum value, it is determined that the difference does not match the preset decibel range, and the noise reduction parameters of the earphone are adjusted.
  • the difference value does not match the preset decibel range. If the difference is the difference between the noise value of the left ear and the standard hearing threshold of the left ear, the noise reduction parameters of the noise reduction circuit where the left earphone is located need to be adjusted to weaken the noise reduction effect. If the difference is the difference between the noise value of the right ear and the standard hearing threshold of the right ear, it is necessary to adjust the noise reduction parameters of the noise reduction circuit where the right earphone is located to weaken the noise reduction effect.
  • the noise reduction parameters of the earphone are adjusted, so as to avoid the phenomenon that the noise is too low and the user feels negative pressure.
  • the step of adjusting the noise reduction parameters of the noise reduction circuit in the earphone it includes:
  • Step h if it is detected that the target noise value is updated, obtain the updated updated noise value, if the updated noise value is greater than the updated standard listening threshold corresponding to the updated noise value, and the updated noise value and the If the difference between the updated standard listening thresholds does not match the preset decibel range, then the maximum noise reduction mode in the active noise reduction modes remains unchanged.
  • the updated noise value in this embodiment may be the updated noise value of the left ear noise value corresponding to the left earphone, or the updated noise value of the right ear noise value corresponding to the right earphone, or An updated noise value for the left ear noise value corresponding to the left earphone and an updated noise value for the right ear noise value corresponding to the right earphone.
  • the noise reduction module adjusts through the noise reduction module to strengthen the noise reduction effect until the difference between the updated noise value and the updated standard hearing threshold is satisfied.
  • Default decibel range matching if the noise reduction module is adjusted to the maximum noise reduction mode, the difference between the updated noise value and the updated standard hearing threshold still cannot match the preset decibel range, and the maximum noise reduction effect will be maintained.
  • the updated noise value is determined, and when the updated noise value is greater than the updated standard hearing threshold, and the difference between the updated noise value and the updated standard hearing threshold and the preset decibel When the intervals do not match, the maximum noise reduction mode remains unchanged, thereby ensuring the maximum noise reduction effect of the headphones.
  • an embodiment of the present invention also provides a noise reduction adjustment device, including:
  • the acquisition unit A10 is configured to acquire the collected target noise value when it is detected that the active noise reduction mode of the earphone is turned on;
  • Calculation unit A20 for if the target noise value is greater than the standard hearing threshold corresponding to the target noise value, then output a sound signal with the same amplitude and opposite phase as the noise corresponding to the target noise value, and calculate the target noise value and the difference between the standard hearing threshold;
  • the adjustment unit A30 is configured to adjust the noise reduction parameters of the noise reduction circuit in the earphone until the adjusted difference matches the preset decibel range if the difference does not match the preset decibel range.
  • calculation unit A20 is used for:
  • calculation unit A20 is used for:
  • the noise value of the left ear is greater than the standard hearing threshold of the left ear, and the noise value of the right ear is greater than the standard hearing threshold of the right ear, the corresponding left ear canal and right ear canal of the earphone will simultaneously output the
  • the above target noise value corresponds to the sound signal with the same amplitude and opposite phase of the noise.
  • calculation unit A20 is used for:
  • the noise value of the left ear is greater than the standard hearing threshold of the left ear, and the noise value of the right ear is less than or equal to the standard hearing threshold of the right ear, then the corresponding left ear canal output of the earphone is equal to the target noise
  • the value corresponds to a sound signal in which the noise has the same amplitude and opposite phase.
  • calculation unit A20 is used for:
  • the noise value of the left ear is less than or equal to the standard hearing threshold of the left ear, and the noise value of the right ear is greater than the standard hearing threshold of the right ear, the corresponding right ear canal output of the earphone is equal to the target noise
  • the value corresponds to a sound signal in which the noise has the same amplitude and opposite phase.
  • calculation unit A20 is used for:
  • the left ear noise value is less than or equal to the left ear standard hearing threshold
  • the right ear noise value is less than or equal to the right ear standard hearing threshold
  • the adjustment unit A30 is used for:
  • the difference is smaller than the minimum value, it is determined that the difference does not match the preset decibel range, and a noise reduction parameter of the noise reduction circuit in the earphone is adjusted.
  • adjust unit A30 for:
  • the target noise value is updated, obtain the updated updated noise value, if the updated noise value is greater than the updated standard threshold corresponding to the updated noise value, and the updated noise value and the updated standard noise If the difference between the thresholds does not match the preset decibel range, the maximum noise reduction mode among the active noise reduction modes remains unchanged.
  • the present invention also provides an earphone, which includes: a memory, a processor, and a noise reduction adjustment program stored in the memory; the processor is used to execute the noise reduction adjustment program to achieve the above noise reduction Adjust the steps of the various embodiments of the method.
  • the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores one or more programs, and the one or more programs can also be executed by one or more processors to implement Steps in the embodiments of the above-mentioned noise reduction adjustment method.
  • the term “comprises”, “comprises” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or system comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or system. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article or system comprising that element.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present invention can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , magnetic disk, optical disk), including several instructions to make a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) execute the method described in each embodiment of the present invention.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Headphones And Earphones (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

本发明公开了一种降噪调整方法、耳机及计算机可读存储介质,降噪调整方法包括:当检测到耳机的主动降噪模式开启时,获取采集的目标噪声值;若所述目标噪声值大于所述目标噪声值对应的标准听阈值,则输出与所述目标噪声值对应噪声同幅度反相位的声音信号,并计算所述目标噪声值与所述标准听阈值之间的差值;若所述差值和预设分贝区间不匹配,则对所述耳机的降噪参数进行调整,直至调整后的差值和所述预设分贝区间匹配。本发明提高了耳机的降噪效果。

Description

降噪调整方法、耳机及计算机可读存储介质
本申请要求于2021年10月28日提交中国专利局、申请号为202111268121.0、发明名称为“降噪调整方法、耳机及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及耳机技术领域,尤其涉及一种降噪调整方法、耳机及计算机可读存储介质。
背景技术
目前市面上存在的大多数耳机采用单一的降噪模式,不管用户所处的环境是安静还是嘈杂,当主动降噪开启时,都会采用同样的模式在低频对噪声进行抵消。这种设计的耳机,在充满噪声的环境和较安静的环境下的听觉体验是不同的。在安静的环境,如果再对低频噪声降低,使得用户会产生负压感,产生不舒服的体验。另外,由于不同的用户对不同频率的声音敏感程度不同,左右耳之间还可能存在差异。产品在设计时并没有兼容用户的不同特点,因此很难达到用户都满意的降噪效果和体验。
发明内容
本发明的主要目的在于提供一种降噪调整方法、耳机及计算机可读存储介质,旨在解决如何提高耳机的降噪效果的技术问题。
为实现上述目的,本发明提供一种降噪调整方法,包括以下步骤:
当检测到耳机的主动降噪模式开启时,获取采集的目标噪声值;
若所述目标噪声值大于所述目标噪声值对应的标准听阈值,则输出与所述目标噪声值对应噪声同幅度反相位的声音信号,并计算所述目标噪声值与所述标准听阈值之间的差值;
若所述差值和预设分贝区间不匹配,则对所述耳机的降噪参数进行调整,直至调整后的差值和所述预设分贝区间匹配。
可选地,若所述目标噪声值大于所述目标噪声值对应的标准听阈值,则输出与所述目标噪声值对应噪声同幅度反相位的声音信号的步骤,包括:
确定所述目标噪声值中的左耳噪声值和右耳噪声值,并确定所述标准听阈值中的左耳标准听阈值和右耳标准听阈值;
分别比较所述左耳噪声值与所述左耳标准听阈值以及所述右耳噪声值与所述右耳标准听阈值,根据比较结果输出与所述目标噪声值对应噪声同幅度反相位的声音信号。
可选地,根据比较结果输出与所述目标噪声值对应噪声同幅度反相位的声音信号的步骤,包括:
若所述左耳噪声值大于所述左耳标准听阈值,且所述右耳噪声值大于所述右耳标准听阈值,则对所述耳机对应的左耳道和右耳道同时输出与所述目标噪声值对应噪声同幅度反相位的声音信号。
可选地,根据比较结果输出与所述目标噪声值对应噪声同幅度反相位的声音信号的步骤,包括:
若所述左耳噪声值大于所述左耳标准听阈值,且所述右耳噪声值小于或等于所述右耳标准听阈值,则对所述耳机对应的左耳道输出与所述目标噪声值对应噪声同幅度反相位的声音信号。
可选地,根据比较结果输出与所述目标噪声值对应噪声同幅度反相位的声音信号的步骤,包括:
若所述左耳噪声值小于或等于所述左耳标准听阈值,且所述右耳噪声值大于所述右耳标准听阈值,则对所述耳机对应的右耳道输出与所述目标噪声值对应噪声同幅度反相位的声音信号。
可选地,分别比较左耳噪声值与所述左耳标准听阈值以及所述右耳噪声值与所述右耳标准听阈值的步骤之后,包括:
若所述左耳噪声值小于或等于所述左耳标准听阈值,且所述右耳噪声值小于或等于所述右耳标准听阈值,则停止所述主动降噪模式对应的降噪处理。
可选地,若所述差值和预设分贝区间不匹配,则对所述耳机的降噪参数进行调整的步骤,包括:
确定所述预设分贝区间中的最小值,检测所述差值是否小于所述最小值;
若所述差值小于所述最小值,则确定所述差值和预设分贝区间不匹配,对所述耳机的降噪参数进行调整。
可选地,对所述耳机中降噪电路的降噪参数进行调整的步骤之后,包括:
若检测到所述目标噪声值发生更新,获取更新后的更新噪声值,若所述更新噪声值大于所述更新噪声值对应的更新标准听阈值,且所述更新噪声值和所述更新标准听阈值之间的差值和所述预设分贝区间不匹配,则保持所述主动降噪模式中的最大降噪模式不变。
此外,为实现上述目的,本发明还提供一种耳机,耳机包括存储器、处理器及存储在存储器上并可在处理器上运行的降噪调整程序,降噪调整程序被处理器执行时实现如上述的降噪调整方法的步骤。
此外,为实现上述目的,本发明还提供一种计算机可读存储介质,计算机可读存储介质上存储有降噪调整程序,降噪调整程序被处理器执行时实现如上述的降噪调整方法的步骤。
本发明通过在耳机的主动降噪模式开启时,获取到的目标噪声值大于标准听阈值时,会输出与目标噪声值对应噪声同幅度反相位的声音信号,以达到降噪效果,并且为了避免噪声过低,造成负压感的现象发生,因此会在目标噪声值与标准听阈值之间的差值和预设分贝区间不匹配时,对耳机中的降噪参数进行调整,直至调整后的差值和预设分贝区间匹配,从而使得降噪效果符合用户的需求,提高了耳机的降噪效果。
附图说明
图1是本发明实施例方案涉及的硬件运行环境的终端\装置结构示意图;
图2为本发明降噪调整方法第一实施例的流程示意图;
图3为本发明降噪调整装置的装置单元示意图。
本发明目的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
如图1所示,图1是本发明实施例方案涉及的硬件运行环境的终端结构 示意图。
本发明实施例终端为耳机。
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。
可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在终端设备移动到耳边时,关闭显示屏和/或背光。当然,终端设备还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作***、网络通信模块、用户接口模块以及降噪调整程序。
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的降噪调整程序,并执行以下操作:
当检测到耳机的主动降噪模式开启时,获取采集的目标噪声值;
若所述目标噪声值大于所述目标噪声值对应的标准听阈值,则输出与所述目标噪声值对应噪声同幅度反相位的声音信号,并计算所述目标噪声值与所述标准听阈值之间的差值;
若所述差值和预设分贝区间不匹配,则对所述耳机的降噪参数进行调整,直至调整后的差值和所述预设分贝区间匹配。
参照图2,本发明提供一种降噪调整方法,在降噪调整方法的第一实施例中,降噪调整方法包括以下步骤:
步骤S10,当检测到耳机的主动降噪模式开启时,获取采集的目标噪声值;
主动降噪耳机,通过降噪麦克风拾取外界环境中的噪声,通过降噪***产生与外界噪声幅度相同,相位反向的声波由喇叭进行播放,以抵消外界环境声音信号,从而实现降噪的效果。主动降噪包含前馈降噪,反馈降噪,两种都兼具的混合降噪。因为主动降噪对低频噪音可以有效降低,而生活中的噪音大部分都是低频噪音,例如公交车、地铁、高铁、火车、汽车、巴士、飞机、健身房、酒吧等场景下的环境噪音。因此越来越受到广大消费者的喜爱。但由于目前的耳机很难达到用户都满意的降噪效果和体验。因此在本实施例中提供一种可以根据入耳噪声和用户听阈值调整降噪效果的降噪耳机。并且是针对降噪耳机对应不同的用户,降噪电路的响应是相同的设计,不能包容不同用户的需求进行的,在本实施例中,是根据不同用户对不同频段声音敏感程度,进入耳道的声音大小是否高于用户听阈值来设置不同的降噪电路响应。
在本实施例中,降噪调整方法应用于耳机,如降噪耳机,降噪耳机包括用于播放信号的喇叭,位于耳机前腔的反馈麦克风用于检测耳道残余的噪声。用于信号处理的控制芯片。可选的,还可以在降噪耳机后腔前馈麦克风,用于采集环境噪声。并且在降噪耳机与终端(如手机或电脑)连接后,可以通过终端中已安装的应用(如音乐)来对用户的听力进行测试。
因此,在本实施例中,需要先构建各个频段对应的标准听阈值。即可以通过蓝牙或有线传输建立降噪耳机与终端的连接,并在进入听阈检测模式后,可以通过终端中的应用来控制降噪耳机中的喇叭播放不同音量不同频段的声音,通过测试得到用户不同频段的听阈值。并将测试的测试结果(包括左右耳的测试结果)存储在降噪耳机的控制芯片的存储模块中,并将其定义为Threshold_L(f)和Threshold_R(f),其中f为不同的频率,检测的频段为20-2kHz,L为左耳,R为右耳。也就是左耳标准听阈值和右耳标准听阈值。 并且在本实施例中,可以将同一频段,且同一频率的左耳标准听阈值和右耳标准听阈值作为标准听阈值。
在本实施例中,当检测到用户使用降噪耳机,且降噪耳机的主动降噪模式开启时,此时降噪模块不工作,会先通过降噪耳机的麦克风来采集通过耳罩/耳套渗透进耳道的噪声,并通过控制芯片的分析模块进行频谱分析得到该噪声的噪声值,将其作为目标噪声值。并且由于降噪耳机包括左耳耳机和右耳耳机,因此目标噪声值可以包括左耳噪声值和右耳噪声值。
步骤S20,若所述目标噪声值大于所述目标噪声值对应的标准听阈值,则输出与所述目标噪声值对应噪声同幅度反相位的声音信号,并计算所述目标噪声值与所述标准听阈值之间的差值;
在本实施例中,当获取到目标噪声值,需要根据目标噪声值对应的频段和频率确定与之对应的标准听阈值。比如左耳噪声值对应的左耳标准听阈值,右耳噪声值对应的右耳标准听阈值。然后再将目标噪声值和目标噪声值对应的标准听阈值进行比较。若目标噪声值大于目标噪声值对应的标准听阈值,且目标噪声值对应的噪声处于20-2kHz范围内,则控制指令发出指令,降噪模块开启,进入最大降噪模式,通过喇叭输出与目标噪声值对应噪声同幅度反相位的声音信号,以对噪声进行抵消,达到降噪效果。例如,用户使用耳机时,若开启了主动降噪模式,首先降噪模块不工作,反馈麦克风采集通过耳罩/耳套渗透进耳道的噪声,通过控制芯片的分析模块进行频谱分析,得到FB_L(f)和FB_R(f),判断模块进行判断,如果FB_L(f)在20-2kHz低于Threshold_L(f)且FB_R(f)在20-2kHz低于Threshold_R(f),渗透到左右耳道的噪声均低于用户的听阈值,控制模块发出指令不需要开启降噪模块,进行主动降噪。
当左耳耳机和右耳耳机中的两边或其中一边的FB_i(f)高于Threshold_i(f)时,i=L或R,控制模块发出指令,降噪模块开启,进入最大降噪模式,通过喇叭播放同幅度反相位的信号对噪声信号进行抵消。
并且在本实施例中,除了通过喇叭播放进行降噪处理外,还会实时进行目标噪声值与标准听阈值之间的比较,如计算目标噪声值与标准听阈值之间的差值,并根据此差值确定是否进行降噪电路的调整。
步骤S30,若所述差值和预设分贝区间不匹配,则对所述耳机的降噪参数 进行调整,直至调整后的差值和所述预设分贝区间匹配。
在本实施例中,由于是在目标噪声值对应的噪声在20-2kHz内时,将目标噪声值不断与标准听阈值进行比较的,因此在计算得到差值后,会将差值和预设分贝区间(用户提前设置的任意分贝区间,如-3dB-0dB)的最小值进行比较,若差值小于最小值,则确定差值和预设分贝区间不匹配,此时就可以对耳机中降噪电路的降噪参数进行调整,以使调整后计算得到的差值和预设分贝区间匹配,但若调整后一直不匹配,则保持最大降噪模式不变,使耳机保持最大降噪效果。
例如,当出现FB_i(f)-Threshold_i(f)<-3dB时,也就是目标噪声值-标准听阈值<-3dB时,确定差值和预设分贝区间不匹配,此时可以对耳机中降噪电路的降噪参数进行调整,如对降噪电路响应Hb和Hf的调整,削弱降噪效果,直至满足-3dB<FB_i(f)-Threshold_i(f)≤0dB使得耳道残留噪声与Threshold_i(f)在20-2kHz没有太大的差异,避免噪声过低,用户感受到负压感。当周围噪声发生变化,出现FB_i(f)>Threshold_i(f)时,降噪模块调整,加强降噪效果,直至满足-3dB<FB_i(f)-Threshold_i(f)≤0dB,如果降噪模块调整至最大降噪模式时,仍然无法满足-3dB<FB_i(f)-Threshold_i(f)≤0dB,保持在最大降噪效果。其中,Hb为反馈降噪电路的响应。Hf为前馈降噪电路的响应。
在本实施例中,通过在耳机的主动降噪模式开启时,获取到的目标噪声值大于标准听阈值时,会输出与目标噪声值对应噪声同幅度反相位的声音信号,以达到降噪效果,并且为了避免噪声过低,造成负压感的现象发生,因此会在目标噪声值与标准听阈值之间的差值和预设分贝区间不匹配时,对耳机的降噪参数进行调整,直至调整后的差值和预设分贝区间匹配,从而使得降噪效果符合用户的需求,提高了耳机的降噪效果。
进一步地,基于上述本发明的第一实施例,提出本发明降噪调整方法的第二实施例,在本实施例中,上述实施例步骤S20,若所述目标噪声值大于所述目标噪声值对应的标准听阈值,则输出与所述目标噪声值对应噪声同幅度反相位的声音信号的步骤的细化,包括:
步骤a,确定所述目标噪声值中的左耳噪声值和右耳噪声值,并确定所述标准听阈值中的左耳标准听阈值和右耳标准听阈值;
在本实施例中,当获取到噪声的目标噪声值,且噪声处于20-2kHz范围内时,先确定通过左耳耳机获取到的噪声的噪声值,并将其作为左耳噪声值。并确定通过右耳耳机获取到的噪声的噪声值,并将其作为右耳噪声值。然后在确定存储模块中和左耳噪声值对应的左耳标准听阈值,并确定存储模块中和右耳噪声值对应的右耳标准听阈值。而确定左耳标准听阈值或右耳标准听阈值的方式可以是通过根据频率和频段来确定。
步骤b,分别比较所述左耳噪声值与所述左耳标准听阈值以及所述右耳噪声值与所述右耳标准听阈值,根据比较结果输出与所述目标噪声值对应噪声同幅度反相位的声音信号。
在比较左耳噪声值与左耳标准听阈值之间的大小,以及比较右耳噪声值与右耳标准听阈值之间的大小时,可以通过计算左耳噪声值与左耳标准听阈值之间的差值来确定,计算右耳噪声值与右耳标准听阈值之间的差值来确定。还可以直接进行数值之间的比较。并且进行比较左耳噪声值与左耳标准听阈值,以及比较右耳噪声值与右耳标准听阈值的时机可以是同时进行,也可以是根据提前设置的规则分先后顺序进行,在此不做限制。并在得到两个比较的比较结果后,才会确定是否输出与目标噪声值对应噪声同幅度反相位的声音信号。
在本实施例中,通过比较左耳噪声值与左耳标准听阈值,以及比较右耳噪声值与右耳标准听阈值来确定输出与目标噪声值对应噪声同幅度反相位的声音信号,从而保障了耳机的降噪效果。
具体地,根据比较结果输出与所述目标噪声声值对应噪声同幅度反相位的声音信号的步骤,包括:
若所述左耳噪声值大于所述左耳标准听阈值,且所述右耳噪声值大于所述右耳标准听阈值,则对所述耳机对应的左耳道和右耳道同时输出与所述目标噪声值对应噪声同幅度反相位的声音信号。
将左耳噪声值和左耳标准听阈值进行比较,同时将右耳噪声值和右耳标准听阈值进行比较,若左耳噪声值大于左耳标准听阈值,且右耳噪声值大于右耳标准听阈值,则可以确定左耳耳机对应的左耳道和右耳耳机对应的右耳道中均存在较大的噪声,需要进行降噪处理,此时就可以通过左耳耳机中的麦克风向左耳耳机所在的左耳道播放与左耳噪声值对应噪声同幅度反相位的 声音信号进行抵消,以达到降噪效果。并且同时通过右耳耳机中的麦克风向右耳耳机所在的右耳道播放与右耳噪声值对应噪声同幅度反相位的声音信号进行抵消,以达到降噪效果。
在本实施例中,通过在确定左耳噪声值大于左耳标准听阈值,且右耳噪声值大于右耳标准听阈值时,对耳机对应的左耳道和右耳道同时输出与目标噪声值对应噪声同幅度反相位的声音信号,从而提高了耳机的降噪效果。
具体地,根据比较结果输出与所述目标噪声值对应噪声同幅度反相位的声音信号的步骤,包括:
步骤c,若所述左耳噪声值大于所述左耳标准听阈值,且所述右耳噪声值小于或等于所述右耳标准听阈值,则对所述耳机对应的左耳道输出与所述目标噪声值对应噪声同幅度反相位的声音信号。
在本实施例中,在将左耳噪声值和左耳标准听阈值进行比较,同时将右耳噪声值和右耳标准听阈值进行比较时,发现左耳噪声值大于左耳标准听阈值,且右耳噪声值小于或等于右耳标准听阈值。则可以确定左耳耳机对应的左耳道中存在较大的噪声,需要进行降噪处理,而右耳耳机对应的右耳道中不存在较大的噪声,无需进行降噪处理。
此时就可以通过左耳耳机中的麦克风向左耳耳机所在的左耳道播放与左耳噪声值对应噪声同幅度反相位的声音信号进行抵消,以达到降噪效果。对右耳耳机所在的右耳道不做其它降噪处理。
在本实施例中,通过在确定左耳噪声值大于左耳标准听阈值,且右耳噪声值小于或等于右耳标准听阈值时,对耳机对应的左耳道输出与目标噪声值对应噪声同幅度反相位的声音信号,从而提高了耳机的降噪效果。
具体地,根据比较结果输出与所述目标噪声值对应噪声同幅度反相位的声音信号的步骤,包括:
步骤d,若所述左耳噪声值小于或等于所述左耳标准听阈值,且所述右耳噪声值大于所述右耳标准听阈值,则对所述耳机对应的右耳道输出与所述目标噪声值对应噪声同幅度反相位的声音信号。
在本实施例中,在将左耳噪声值和左耳标准听阈值进行比较,同时将右耳噪声值和右耳标准听阈值进行比较时,发现左耳噪声值小于或等于左耳标准听阈值,且右耳噪声值大于右耳标准听阈值。则可以确定右耳耳机对应的 右耳道中存在较大的噪声,需要进行降噪处理,而左耳耳机对应的左耳道中不存在较大的噪声,无需进行降噪处理。
此时就可以通过右耳耳机中的麦克风向右耳耳机所在的右耳道播放与右耳噪声值对应噪声同幅度反相位的声音信号进行抵消,以达到降噪效果。对左耳耳机所在的左耳道不做其它降噪处理。
在本实施例中,通过在确定左耳噪声值小于或等于左耳标准听阈值,且右耳噪声值大于右耳标准听阈值时,对耳机对应的右耳道输出与目标噪声值对应噪声同幅度反相位的声音信号,从而提高了耳机的降噪效果。
具体地,分别比较左耳噪声值与所述左耳标准听阈值以及所述右耳噪声值与所述右耳标准听阈值的步骤之后,包括:
步骤e,若所述左耳噪声值小于或等于所述左耳标准听阈值,且所述右耳噪声值小于或等于所述右耳标准听阈值,则停止所述主动降噪模式对应的降噪处理。
在本实施例中,在将左耳噪声值和左耳标准听阈值进行比较,同时将右耳噪声值和右耳标准听阈值进行比较时,发现左耳噪声值小于或等于左耳标准听阈值,且右耳噪声值小于或等于右耳标准听阈值。则可以确定左耳耳机对应的左耳道和右耳耳机对应的右耳道中不存在较大的噪声,无需进行降噪处理。即不开启降噪模块进行主动降噪处理。
在本实施例中,通过在确定左耳噪声值小于或等于左耳标准听阈值,且右耳噪声值小于或等于右耳标准听阈值时,则停止降噪处理,从而在保障良好的耳机声音播放效果的同时,又能节约资源。
进一步地,若所述差值和预设分贝区间不匹配,则对所述耳机中降噪电路的降噪参数进行调整的步骤,包括:
步骤f,确定所述预设分贝区间中的最小值,检测所述差值是否小于所述最小值;
在本实施例中,当获取到左耳噪声值和左耳标准听阈值之间的差值,或右耳噪声值和右耳标准听阈值之间的差值后,会将其和预设分贝区间进行比较,即先确定预设分贝区间中的最小值,如-3dB。然后再检测所有的差值是否小于最小值,以便根据不同的检测结果执行不同的操作。
步骤g,若所述差值小于所述最小值,则确定所述差值和预设分贝区间不 匹配,对所述耳机的降噪参数进行调整。
当经过判断发现存在差值小于最小值,则确定差值和预设分贝区间不匹配。若该差值为左耳噪声值和左耳标准听阈值之间的差值,则需要对左耳耳机所在的降噪电路的降噪参数进行调整,削弱降噪效果。若该差值为右耳噪声值和右耳标准听阈值之间的差值,则需要对右耳耳机所在的降噪电路的降噪参数进行调整,削弱降噪效果。
在本实施例中,通过在差值小于预设分贝区间的最小值时,对耳机的降噪参数进行调整,从而避免了噪声过低,让用户感觉到负压感的现象发生。
具体地,对所述耳机中降噪电路的降噪参数进行调整的步骤之后,包括:
步骤h,若检测到所述目标噪声值发生更新,获取更新后的更新噪声值,若所述更新噪声值大于所述更新噪声值对应的更新标准听阈值,且所述更新噪声值和所述更新标准听阈值之间的差值和所述预设分贝区间不匹配,则保持所述主动降噪模式中的最大降噪模式不变。
在本实施例中,当通过耳机检测到周围噪声发生变化,获取到的目标噪声值发生更新,则需要确定更新后的噪声值,并将其作为更新噪声值,并在确定更新噪声值在频段为20-2kHz范围内时,确定存储模块中更新噪声值对应的标准听阈值,并将其作为更新标准听阈值。需要说明的是,本实施例中的更新噪声值可以为左耳耳机对应的左耳噪声值更新后的噪声值,还可以为右耳耳机对应的右耳噪声值更新后的噪声值,还可以为左耳耳机对应的左耳噪声值更新后的噪声值和右耳耳机对应的右耳噪声值更新后的噪声值。
然后比较更新噪声值和更新标准听阈值,若更新噪声值大于更新标准听阈值,则通过降噪模块进行调整,加强降噪效果,直至满足更新噪声值和更新标准听阈值之间的差值和预设分贝区间匹配。但是若降噪模块调整至最大降噪模式时,仍无法满足更新噪声值和更新标准听阈值之间的差值和预设分贝区间匹配,则保持在最大降噪效果。
在本实施例中,通过在确定目标噪声值发生更新时,确定更新噪声值,并在更新噪声值大于更新标准听阈值,且更新噪声值和更新标准听阈值之间的差值和预设分贝区间不匹配时,保持最大降噪模式不变,从而保障了耳机的最大降噪效果。
此外,参照图3,本发明实施例还提供一种降噪调整装置,包括:
获取单元A10,用于当检测到耳机的主动降噪模式开启时,获取采集的目标噪声值;
计算单元A20,用于若所述目标噪声值大于所述目标噪声值对应的标准听阈值,则输出与所述目标噪声值对应噪声同幅度反相位的声音信号,并计算所述目标噪声值与所述标准听阈值之间的差值;
调整单元A30,用于若所述差值和预设分贝区间不匹配,则对所述耳机中降噪电路的降噪参数进行调整,直至调整后的差值和所述预设分贝区间匹配。
可选地,计算单元A20,用于:
确定所述目标噪声值中的左耳噪声值和右耳噪声值,并确定所述标准听阈值中的左耳标准听阈值和右耳标准听阈值;
分别比较所述左耳噪声值与所述左耳标准听阈值以及所述右耳噪声值与所述右耳标准听阈值,根据比较结果输出与所述目标噪声值对应噪声同幅度反相位的声音信号。
可选地,计算单元A20,用于:
若所述左耳噪声值大于所述左耳标准听阈值,且所述右耳噪声值大于所述右耳标准听阈值,则对所述耳机对应的左耳道和右耳道同时输出与所述目标噪声值对应噪声同幅度反相位的声音信号。
可选地,计算单元A20,用于:
若所述左耳噪声值大于所述左耳标准听阈值,且所述右耳噪声值小于或等于所述右耳标准听阈值,则对所述耳机对应的左耳道输出与所述目标噪声值对应噪声同幅度反相位的声音信号。
可选地,计算单元A20,用于:
若所述左耳噪声值小于或等于所述左耳标准听阈值,且所述右耳噪声值大于所述右耳标准听阈值,则对所述耳机对应的右耳道输出与所述目标噪声值对应噪声同幅度反相位的声音信号。
可选地,计算单元A20,用于:
若所述左耳噪声值小于或等于所述左耳标准听阈值,且所述右耳噪声值小于或等于所述右耳标准听阈值,则停止所述主动降噪模式对应的降噪处理。
可选地,调整单元A30,用于:
确定所述预设分贝区间中的最小值,检测所述差值是否小于所述最小值;
若所述差值小于所述最小值,则确定所述差值和预设分贝区间不匹配,对所述耳机中降噪电路的降噪参数进行调整。
可选地,调整单元A30,用于:
若检测到所述目标噪声值发生更新,获取更新后的更新噪声值,若所述更新噪声值大于所述更新噪声值对应的更新标准听阈值,且所述更新噪声值和所述更新标准听阈值之间的差值和所述预设分贝区间不匹配,则保持所述主动降噪模式中的最大降噪模式不变。
其中,降噪调整装置的各个功能单元实现的步骤可参照本发明降噪调整方法的各个实施例,此处不再赘述。
此外,本发明还提供一种耳机,所述耳机包括:存储器、处理器及存储在所述存储器上的降噪调整程序;所述处理器用于执行所述降噪调整程序,以实现上述降噪调整方法各实施例的步骤。
本发明还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序还可被一个或者一个以上的处理器执行以用于实现上述降噪调整方法各实施例的步骤。
本发明计算机可读存储介质具体实施方式与上述降噪调整方法各实施例基本相同,在此不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者***不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者***所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者***中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体 现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (10)

  1. 一种降噪调整方法,其特征在于,所述降噪调整方法包括以下步骤:
    当检测到耳机的主动降噪模式开启时,获取采集的目标噪声值;
    若所述目标噪声值大于所述目标噪声值对应的标准听阈值,则输出与所述目标噪声值对应噪声同幅度反相位的声音信号,并计算所述目标噪声值与所述标准听阈值之间的差值;
    若所述差值和预设分贝区间不匹配,则对所述耳机的降噪参数进行调整,直至调整后的差值和所述预设分贝区间匹配。
  2. 如权利要求1所述的降噪调整方法,其特征在于,所述若所述目标噪声值大于所述目标噪声值对应的标准听阈值,则输出与所述目标噪声值对应噪声同幅度反相位的声音信号的步骤,包括:
    确定所述目标噪声值中的左耳噪声值和右耳噪声值,并确定所述标准听阈值中的左耳标准听阈值和右耳标准听阈值;
    分别比较所述左耳噪声值与所述左耳标准听阈值以及所述右耳噪声值与所述右耳标准听阈值,根据比较结果输出与所述目标噪声值对应噪声同幅度反相位的声音信号。
  3. 如权利要求2所述的降噪调整方法,其特征在于,所述根据比较结果输出与所述目标噪声值对应噪声同幅度反相位的声音信号的步骤,包括:
    若所述左耳噪声值大于所述左耳标准听阈值,且所述右耳噪声值大于所述右耳标准听阈值,则对所述耳机对应的左耳道和右耳道同时输出与所述目标噪声值对应噪声同幅度反相位的声音信号。
  4. 如权利要求2所述的降噪调整方法,其特征在于,所述根据比较结果输出与所述目标噪声值对应噪声同幅度反相位的声音信号的步骤,包括:
    若所述左耳噪声值大于所述左耳标准听阈值,且所述右耳噪声值小于或等于所述右耳标准听阈值,则对所述耳机对应的左耳道输出与所述目标噪声 值对应噪声同幅度反相位的声音信号。
  5. 如权利要求2所述的降噪调整方法,其特征在于,所述根据比较结果输出与所述目标噪声值对应噪声同幅度反相位的声音信号的步骤,包括:
    若所述左耳噪声值小于或等于所述左耳标准听阈值,且所述右耳噪声值大于所述右耳标准听阈值,则对所述耳机对应的右耳道输出与所述目标噪声值对应噪声同幅度反相位的声音信号。
  6. 如权利要求2所述的降噪调整方法,其特征在于,所述分别比较左耳噪声值与所述左耳标准听阈值以及所述右耳噪声值与所述右耳标准听阈值的步骤之后,包括:
    若所述左耳噪声值小于或等于所述左耳标准听阈值,且所述右耳噪声值小于或等于所述右耳标准听阈值,则停止所述主动降噪模式对应的降噪处理。
  7. 如权利要求1至6任一项所述的降噪调整方法,其特征在于,所述若所述差值和预设分贝区间不匹配,则对所述耳机的降噪参数进行调整的步骤,包括:
    确定所述预设分贝区间中的最小值,检测所述差值是否小于所述最小值;
    若所述差值小于所述最小值,则确定所述差值和预设分贝区间不匹配,对所述耳机的降噪参数进行调整。
  8. 如权利要求7所述的降噪调整方法,其特征在于,所述对所述耳机中降噪电路的降噪参数进行调整的步骤之后,包括:
    若检测到所述目标噪声值发生更新,获取更新后的更新噪声值,若所述更新噪声值大于所述更新噪声值对应的更新标准听阈值,且所述更新噪声值和所述更新标准听阈值之间的差值和所述预设分贝区间不匹配,则保持所述主动降噪模式中的最大降噪模式不变。
  9. 一种耳机,其特征在于,所述耳机包括:存储器、处理器及存储在所 述存储器上并可在所述处理器上运行的降噪调整程序,所述降噪调整程序被所述处理器执行时实现如权利要求1至8中任一项所述的降噪调整方法的步骤。
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有降噪调整程序,所述降噪调整程序被处理器执行时实现如权利要求1至8中任一项所述的降噪调整方法的步骤。
PCT/CN2021/140700 2021-10-28 2021-12-23 降噪调整方法、耳机及计算机可读存储介质 WO2023070917A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111268121.0A CN114125625B (zh) 2021-10-28 2021-10-28 降噪调整方法、耳机及计算机可读存储介质
CN202111268121.0 2021-10-28

Publications (1)

Publication Number Publication Date
WO2023070917A1 true WO2023070917A1 (zh) 2023-05-04

Family

ID=80377466

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/140700 WO2023070917A1 (zh) 2021-10-28 2021-12-23 降噪调整方法、耳机及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN114125625B (zh)
WO (1) WO2023070917A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120389A (zh) * 2015-08-17 2015-12-02 惠州Tcl移动通信有限公司 一种根据场景进行降噪处理的方法及耳机
CN106254990A (zh) * 2016-09-12 2016-12-21 歌尔股份有限公司 耳机降噪方法及降噪耳机
CN109378012A (zh) * 2018-10-11 2019-02-22 苏州思必驰信息科技有限公司 用于单通道语音设备录制音频的降噪方法及***
US20210266658A1 (en) * 2018-08-16 2021-08-26 Goertek Inc. Method and device for detecting earphone wearing status, and earphone

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2866474A3 (en) * 2002-04-25 2015-05-13 GN Resound A/S Fitting methodology and hearing prosthesis based on signal-to-noise ratio loss data
CN206481426U (zh) * 2017-01-05 2017-09-08 歌尔科技有限公司 一种抵消环境噪声的装置及一种主动降噪耳机
CN208908482U (zh) * 2018-06-19 2019-05-28 美特科技(苏州)有限公司 可调降噪的耳机
DK180471B1 (en) * 2019-04-03 2021-05-06 Gn Audio As Headset with active noise cancellation
EP4035420A1 (en) * 2019-09-27 2022-08-03 Widex A/S A method of operating an ear level audio system and an ear level audio system
CN112055279A (zh) * 2020-09-10 2020-12-08 江苏紫米电子技术有限公司 一种耳机降噪方法、装置、耳机及介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120389A (zh) * 2015-08-17 2015-12-02 惠州Tcl移动通信有限公司 一种根据场景进行降噪处理的方法及耳机
CN106254990A (zh) * 2016-09-12 2016-12-21 歌尔股份有限公司 耳机降噪方法及降噪耳机
US20210266658A1 (en) * 2018-08-16 2021-08-26 Goertek Inc. Method and device for detecting earphone wearing status, and earphone
CN109378012A (zh) * 2018-10-11 2019-02-22 苏州思必驰信息科技有限公司 用于单通道语音设备录制音频的降噪方法及***

Also Published As

Publication number Publication date
CN114125625A (zh) 2022-03-01
CN114125625B (zh) 2022-07-22

Similar Documents

Publication Publication Date Title
US10810989B2 (en) Method and device for acute sound detection and reproduction
CN110972014B (zh) 一种有源降噪耳机的参数调整方法、装置及无线耳机
EP2202998B1 (en) A device for and a method of processing audio data
US8315400B2 (en) Method and device for acoustic management control of multiple microphones
US20140254828A1 (en) System and Method for Personalization of an Audio Equalizer
US20140044275A1 (en) Active noise control with compensation for error sensing at the eardrum
WO2017215657A1 (zh) 音效处理方法及终端设备
JP2009530950A (ja) ウェアラブル装置のためのデータ処理
WO2021103260A1 (zh) 耳机的控制方法以及耳机
US11438711B2 (en) Hearing assist device employing dynamic processing of voice signals
WO2017143714A1 (zh) 自动调整音量的耳机及耳机自动调整音量的方法
CN207652638U (zh) 耳机
WO2022252781A1 (zh) 降噪控制方法、电子设备及计算机可读存储装置
CN111885458A (zh) 音频播放方法、耳机及计算机可读存储介质
CN112954530A (zh) 一种耳机降噪方法、装置、***及无线耳机
CN114071308B (zh) 耳机自适应调音方法、装置、耳机及可读存储介质
CN114071306B (zh) 降噪耳机音频处理方法、降噪耳机、装置及可读存储介质
WO2022227399A1 (zh) 一种无线耳机及其透传方法、装置及***
WO2023197474A1 (zh) 一种耳机模式对应的参数确定方法、耳机、终端和***
WO2023070917A1 (zh) 降噪调整方法、耳机及计算机可读存储介质
WO2023087468A1 (zh) 耳机通透模式的控制方法、装置、耳机设备及存储介质
US20120057714A1 (en) Automatic Tunable Earphone And Method For Tuning The Same
CN114071307A (zh) 耳机的音量调节方法、装置、设备及介质
WO2022151156A1 (en) Method and system for headphone with anc
WO2023159716A1 (zh) Anc参数的自适应调整方法、设备及存储介质

Legal Events

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

Ref document number: 21962259

Country of ref document: EP

Kind code of ref document: A1