Audio processing method and device, ear wearable device and storage medium
By acquiring environmental and ear canal sound signals from ear wearable devices and automatically adjusting the output configuration, it solves the problem of earphone sound quality deterioration caused by external noise interference and improves listening sensitivity and sound quality consistency.
Patent Information
- Application Number
- CN202310183579.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-08-30
AI Technical Summary
External noise interference causes the sound quality of headphones to deteriorate, and users cannot effectively adjust to improve listening sensitivity.
By acquiring environmental sound signals and ear canal sound signals in ear wearable devices, calculating correlation coefficients and signal thresholds, the output configuration is automatically adjusted to match the noisy environment, including adjusting volume, gain and frequency.
Adaptively adjust the output sound signal in different noise environments, improving the consistency of listening sensitivity and sound quality, and reducing the need for manual operation by users.
Smart Images

Figure CN118574050A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of headphones, and in particular to an audio processing method and apparatus, an ear-worn device, and a storage medium. Background Art
[0002] With the advancement of science and technology, ear-wearable devices such as headphones have become indispensable electronic devices in people's daily lives. They can actively or passively adjust the headphones according to factors such as different wearing states, different user ear canal shapes, and different user hearing losses to improve the sound quality experience and adapt to personalized hearing.
[0003] However, due to the acoustic masking effect, external noise can seriously affect the user's listening experience. For example, under the interference of external noise, the user cannot hear the music clearly and can only adjust the volume manually, which is inconvenient. For another example, when the interference of noise in different frequency bands in the environment increases, the frequency response of the music heard by the user will change, making the three frequencies unbalanced and causing poor sound quality. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides an audio processing method and device, an ear wearable device, and a storage medium, which can improve the hearing sensitivity.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an audio processing method, including:
[0006] When the ear-worn device is in working state, obtaining environmental sound signals and ear canal sound signals through the ear-worn device;
[0007] Based on the ambient sound signal and the ear canal sound signal, an acoustic signal output by the ear-worn device is adjusted.
[0008] In some embodiments, adjusting the sound signal output by the ear-worn device based on the ambient sound signal and the ear canal sound signal includes:
[0009] When the ear-worn device is in a wearing state, determining a correlation coefficient between the ambient sound signal and the ear canal sound signal;
[0010] When the signal value of the ear canal sound signal is greater than the signal threshold and the correlation coefficient is greater than the coefficient threshold, adjusting the output configuration of the ear-worn device;
[0011] The acoustic signal is output based on the adjusted output configuration.
[0012] In some embodiments, adjusting the output configuration of the ear-worn device includes:
[0013] Acquire a sound frequency band in which the correlation coefficient between the ear canal sound signal and the ambient sound signal is greater than the coefficient threshold;
[0014] Compare the sound amplitude corresponding to the sound frequency band with the standard amplitude to obtain an output parameter;
[0015] The output configuration is adjusted based on the output parameter.
[0016] In some embodiments, the step of comparing the sound amplitude corresponding to the sound frequency band with a standard amplitude to obtain an output parameter includes:
[0017] Based on the difference between the sound amplitude and the standard amplitude, the output parameter corresponding to the difference is obtained.
[0018] In some embodiments, the output parameter includes at least one of the following:
[0019] Output gain; output frequency; output volume.
[0020] In some embodiments, when the signal value of the ear canal sound signal is greater than a signal threshold and the correlation coefficient is greater than a coefficient threshold, adjusting the output configuration of the ear-worn device includes:
[0021] When the signal value of the ear canal sound signal is greater than the signal threshold and the correlation coefficient is greater than the coefficient threshold, obtaining a duration in which the ear canal sound signal is greater than the signal threshold and the correlation coefficient is greater than the coefficient threshold;
[0022] In case the duration is greater than a time threshold, adjusting the output configuration is initiated.
[0023] In some embodiments, the method further comprises:
[0024] When the signal value of the ear canal sound signal is less than or equal to the signal threshold, directly using the output configuration to output the sound signal;
[0025] Alternatively, when the correlation coefficient is less than or equal to the coefficient threshold, the output configuration is directly used to output the acoustic signal.
[0026] In some embodiments, the method further comprises:
[0027] Based on the correlation coefficient between the ambient sound signal and the ear canal sound signal, a wearing state of the ear-worn device is output.
[0028] In some embodiments, obtaining the ambient sound signal and the ear canal sound signal through the ear wearable device includes:
[0029] Acquiring the ambient sound signal through an ambient microphone module in the ear-worn device;
[0030] Acquiring the ear canal sound signal through an ear canal microphone module in the ear wearable device;
[0031] Wherein, the environmental microphone module includes: a call microphone module and / or a feedforward microphone module;
[0032] The ear canal microphone module includes: a bone conduction microphone module and / or a feedback microphone module.
[0033] In some embodiments, the method further comprises:
[0034] When an end instruction for adjusting the acoustic signal is detected, adjusting the acoustic signal of the ear-worn device is stopped.
[0035] According to a second aspect of an embodiment of the present disclosure, there is provided an information processing device, comprising at least:
[0036] an acquisition module, configured to acquire an ambient sound signal and an ear canal sound signal through the ear wearable device when the ear wearable device is in a working state;
[0037] The first adjustment module is configured to adjust the sound signal output by the ear-worn device based on the ambient sound signal and the ear canal sound signal.
[0038] According to a third aspect of an embodiment of the present disclosure, there is provided an ear wearable device, comprising at least:
[0039] processor;
[0040] a memory for storing processor-executable instructions;
[0041] Wherein, the processor is configured to execute the audio processing method as described in the first aspect above.
[0042] According to a fourth aspect of an embodiment of the present disclosure, there is provided a storage medium, including:
[0043] When the instructions in the storage medium are executed by the processor of the ear-worn device, the ear-worn device is enabled to perform the audio processing method as described in the first aspect above.
[0044] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0045] In the embodiment of the present disclosure, when the ear-worn device is in working state, the ambient sound signal and the ear canal sound signal are obtained by the ear-worn device; based on the ambient sound signal and the ear canal sound signal, the sound signal output by the ear-worn device is adjusted. That is to say, on the one hand, the output sound signal can be actively adjusted by the acquired ambient sound signal and the ear canal sound signal, without the need for manual operation by the user, making the ear-worn device more intelligent; on the other hand, since the ear-worn device can adjust the output sound signal based on the ambient sound signal, the sound signal can be adaptively adjusted to the ambient noise in different noise environments, thereby matching the output sound signal with the ambient noise, ensuring the consistency of the listening experience in different noise environments, and improving the listening sensitivity.
[0046] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0048] Figure 1 is a flowchart of an audio processing method according to an exemplary embodiment. Figure 1 .
[0049] Figure 2 is a flowchart of an audio processing method according to an exemplary embodiment. Figure 2 .
[0050] Figure 3 is a flowchart of an audio processing method according to an exemplary embodiment. Figure 3 .
[0051] Figure 4 is a structural block diagram of an audio processing device according to an exemplary embodiment.
[0052] Figure 5 It is a block diagram of a mobile terminal according to an exemplary embodiment. DETAILED DESCRIPTION
[0053] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0054] The disclosed embodiment proposes an audio processing method, which can be applied in scenarios where external noise interferes with the sound signal output by an ear-worn device and thus affects the hearing sensitivity. For example, in scenarios where the sound quality deteriorates when listening to music through an ear-worn device in noisy environments such as subways and buses. Another example is in scenarios where audio and video calls are made through ear-worn devices in noisy environments such as outdoor squares and stations.
[0055] Figure 1 is a flowchart of an audio processing method according to an exemplary embodiment. Figure 1 .like Figure 1 As shown, the ear-worn device performs the audio processing method including the following steps:
[0056] S101, when the ear wearable device is in a working state, obtaining an ambient sound signal and an ear canal sound signal through the ear wearable device;
[0057] S102: Adjust the sound signal output by the ear-worn device based on the ambient sound signal and the ear canal sound signal.
[0058] In the embodiments of the present disclosure, the ear-worn device may include headphones or in-ear headphones; the ear-worn device may also include wired headphones or true wireless stereo (True Wireless Stereo, TWS) headphones, which is not limited in the embodiments of the present disclosure.
[0059] In step S101, in the process of obtaining the ear canal sound signal, the ear wearable device is worn, and the ear wearable device is located at the ear position, not placed in the earphone box or other positions. The ear wearable device is in a working state, indicating that the output module (audio output module or call module) of the ear wearable device is in an on state, and the downstream end of the ear wearable device may be outputting a sound signal, for example, the ear wearable device is playing music or making a call.
[0060] In the disclosed embodiment, the ear-worn device has a plurality of microphone modules, through which the environmental sound signals and the ear canal sound signals can be collected. The plurality of microphone modules may include an environmental microphone module and an ear canal microphone module. Here, when it is detected that the ear-worn device is in a working state, the environmental microphone module and the ear canal microphone module are turned on to monitor the ear canal sound signal in the ear and the environmental sound signal in the environment outside the ear, respectively.
[0061] In some embodiments, obtaining the ambient sound signal and the ear canal sound signal through the ear wearable device includes:
[0062] Acquiring the ambient sound signal through an ambient microphone module in the ear-worn device;
[0063] Acquiring the ear canal sound signal through an ear canal microphone module in the ear wearable device;
[0064] Wherein, the environmental microphone module includes: a call microphone module and / or a feedforward microphone module;
[0065] The ear canal microphone module includes: a bone conduction microphone module and / or a feedback microphone module.
[0066] The above-mentioned environmental microphone module can be used to collect environmental sound signals in the external environment. The environmental microphone module can be set at a position far away from the ear and the speaker, so that the environmental microphone module can collect more accurately.
[0067] The ear canal microphone module can be used to collect ear canal sound signals in the ear. The ear canal microphone module can be set at a position close to the ear canal and away from the speaker to make the collection of the ear canal microphone module more accurate.
[0068] It should be noted that when the ear wearable device is in working state, there are not only ear canal sound signals but also audio signals in the ear. The ear canal sound signals are formed by noise in the external environment, and the audio signals may include music or calls output by the ear wearable device.
[0069] In the embodiment of the present disclosure, in the process of obtaining the ambient sound signal, the ear-worn device can obtain the ambient sound signal through the call microphone module, and can also obtain the ambient sound signal through the feedforward microphone module, and can also obtain the ambient sound signal through the call microphone module and the feedforward microphone module together.
[0070] It should be noted that the ear-worn device can choose to turn on at least one of the call microphone module and the feedforward microphone module to obtain the ambient sound signal, which is not limited in the embodiments of the present disclosure.
[0071] In the embodiment of the present disclosure, in the process of obtaining ear canal sound signals, the ear-wearable device can obtain ear canal sound signals through a bone conduction microphone module, can also obtain ear canal sound signals through a feedback microphone module, and can also obtain ear canal sound signals through both the bone conduction microphone module and the feedback microphone module.
[0072] It should be noted that the ear-worn device can choose to turn on at least one of the call microphone module and the feedforward microphone module to obtain the ambient sound signal, which is not limited in the embodiments of the present disclosure.
[0073] In step S102, after obtaining the ambient sound signal and the ear canal sound signal, the sound signal output by the ear wearable device may be adjusted based on the ambient sound signal and the ear canal sound signal. The adjusting of the sound signal output by the ear wearable device includes adjusting the output configuration of the ear wearable device, and outputting the sound signal according to the adjusted output configuration.
[0074] That is to say, the embodiment of the present disclosure no longer adjusts the output configuration only by the ear canal sound signal in the ear and the output audio signal, but adjusts the output configuration based on the ambient sound signal and the ear canal sound signal together.
[0075] It should be noted that by comparing the ambient sound signal and the ear canal sound signal, the impact of noise in the external environment on the ear can be more accurately obtained, and then the output configuration can be adjusted based on the impact to improve the hearing sensitivity.
[0076] In an embodiment of the present disclosure, adjusting the sound signal output by the ear-worn device based on the ambient sound signal and the ear canal sound signal may include: adjusting the sound signal output by the ear-worn device when the correlation coefficient between the ambient sound signal and the ear canal sound signal is greater than a coefficient threshold; it may also include: adjusting the sound signal output by the ear-worn device when the signal value of the ambient sound signal is greater than a noise threshold and the signal value of the ear canal sound signal is greater than a signal threshold; it may also include: adjusting the sound signal output by the ear-worn device when the signal value of the ear canal sound signal is greater than a signal threshold and the correlation coefficient is greater than a coefficient threshold.
[0077] In the embodiment of the present disclosure, when the ear-worn device is in working state, the ear-worn device obtains the ambient sound signal and the ear canal sound signal through the ear-worn device; based on the ambient sound signal and the ear canal sound signal, the sound signal output by the ear-worn device is adjusted. That is to say, on the one hand, the output sound signal can be actively adjusted by the acquired ambient sound signal and the ear canal sound signal, without the need for manual operation by the user, making the ear-worn device more intelligent; on the other hand, since the ear-worn device can adjust the output sound signal based on the ambient sound signal, the sound signal can be adaptively adjusted to the ambient noise in different noise environments, thereby achieving matching of the output sound signal with the ambient noise, ensuring the consistency of the listening experience in different noise environments, and improving the listening sensitivity.
[0078] In some embodiments, Figure 2 As shown, the output configuration of the ear-worn device is adjusted based on the ambient sound signal and the ear canal sound signal, that is, step S102 may also include the following steps:
[0079] S1021. When the ear-worn device is in a wearing state, determining a correlation coefficient between the ambient sound signal and the ear canal sound signal;
[0080] S1022: When the signal value of the ear canal sound signal is greater than the signal threshold and the correlation coefficient is greater than the coefficient threshold, adjust the output configuration of the ear-worn device;
[0081] S1023. Adjust the acoustic signal based on the adjusted output configuration.
[0082] In the embodiment of the present disclosure, if the signal value of the ear canal sound signal is greater than the signal threshold and the correlation coefficient is greater than the coefficient threshold, it can be characterized as the external noisy environment causing interference to the hearing sense in the ear, affecting the audio intelligibility and hearing sensitivity. For example, in a noisy environment, the user cannot hear a voice call clearly or the sound quality changes when listening to music.
[0083] It should be noted that the signal threshold can be set according to actual needs. For example, the signal threshold can be set within the range of 50 dB and 100 dB.
[0084] In the embodiment of the present disclosure, the correlation coefficient is used to characterize the degree of correlation between the ambient sound signal and the ear canal sound signal. For example, if the ambient sound signal is monitored in a noisy environment but the ear canal sound signal is not detected, it indicates that the correlation coefficient between the ambient sound signal and the ear canal sound signal is less than or equal to the coefficient threshold, that is, the degree of correlation between the ambient sound signal and the ear canal sound signal is small.
[0085] It should be noted that before the adjustment, the correlation coefficient between the ambient sound signal and the ear canal sound signal may be calculated according to the correlation coefficient module. The correlation coefficient module may include a Pearson correlation coefficient module, which is not limited in the embodiment of the present disclosure.
[0086] Here, the ear-worn device can not only adjust the acoustic signal of the ear-worn device based on the correlation coefficient, but also be used to adjust the wearing state. In some embodiments, the wearing state of the ear-worn device is output based on the correlation coefficient between the ambient sound signal and the ear canal sound signal.
[0087] That is to say, the correlation coefficient can be used to determine whether the wearing state of the ear wearable device is abnormal, so as to give a prompt when the wearing state of the ear wearable device is abnormal. For example, if the ear wearable device is worn crookedly at the ear position, the user can be prompted to adjust the ear wearable device in time to improve the hearing sense. For another example, if the depth of the ear wearable device inserted into the ear is less than the preset depth, the user can be prompted to adjust the depth of the ear wearable device.
[0088] It should be noted that outputting the wearing status of the ear-worn device may include: outputting the wearing status of the ear-worn device through voice, and may also include: outputting the wearing status of the ear-worn device to a mobile terminal to display it to the user through the mobile terminal, which is not limited in the embodiments of the present disclosure.
[0089] In the embodiment of the present disclosure, the output configuration may include volume configuration, gain configuration, frequency configuration, frequency band width for gain or attenuation, etc., which is not limited in the embodiment of the present disclosure.
[0090] For example, in the process of adjusting the output configuration, in one case, the volume configuration may be adjusted to increase the volume based on the initial volume configuration; in another case, the gain configuration may be adjusted to increase the gain value based on the initial gain configuration.
[0091] In the embodiment of the present disclosure, after the output configuration of the ear wearable device is adjusted, the sound signal is output according to the adjusted output configuration. In other words, the embodiment of the present disclosure will actively adjust the output configuration according to the ambient sound signal and the ear canal sound signal to achieve the purpose of adjusting the output sound signal.
[0092] For example, when adjusting the volume configuration, the volume of the output sound signal is increased by the adjusted volume configuration, so that the consistency of the listening experience can be guaranteed in a noisy external environment; when adjusting the gain configuration, the gain value of the output sound signal is increased by the adjusted gain configuration to ensure that different noise environments match the output gain.
[0093] Here, the embodiment of the present disclosure adjusts the output configuration of the ear wearable device when the signal value of the ear canal sound signal is greater than the signal threshold and the correlation coefficient is greater than the coefficient threshold, so that the ear wearable device can adjust the output configuration when the external noisy environment interferes with the audio signal in the ear, which can improve the hearing sensitivity. In addition, the embodiment of the present disclosure does not adjust the output configuration based on the ear canal sound signal alone, but adjusts the output configuration based on the signal value of the ear canal sound signal and the correlation coefficient together, thereby improving the adjustment accuracy.
[0094] In some embodiments, adjusting the output configuration of the ear-worn device includes:
[0095] Acquire a sound frequency band in which the correlation coefficient between the ear canal sound signal and the ambient sound signal is greater than the coefficient threshold;
[0096] Compare the sound amplitude corresponding to the sound frequency band with the standard amplitude to obtain an output parameter;
[0097] The output configuration is adjusted based on the output parameter.
[0098] In the embodiment of the present disclosure, the sound frequency band in which the correlation coefficient of the ear canal sound signal is greater than the coefficient threshold can be obtained through the ear canal microphone module of the ear wearable device, and the output configuration can be adjusted based on the output parameters obtained in the sound frequency band. It can be seen that the embodiment of the present disclosure can adaptively adjust the output parameters based on the sound frequency band, which can not only reduce the frequency response affected by ambient noise and improve the hearing sensitivity, but also improve the accuracy of the adjustment.
[0099] The above-mentioned sound frequency band may be composed of at least one sub-frequency band in the entire frequency band, or may be the entire frequency band, which is not limited in the embodiment of the present disclosure.
[0100] In the specification, the horizontal axis of the amplitude spectrum diagram is frequency and the vertical axis is amplitude. In the amplitude spectrum diagram, the sound frequency band whose correlation coefficient is greater than the coefficient threshold corresponds to a sound amplitude. The sound amplitude is greater than the standard amplitude. Among them, the standard amplitude can be the experimental amplitude corresponding to the audio frequency band in the experimental conditions, and the experimental conditions can include quiet environmental conditions or environmental conditions where noise does not affect the hearing sense.
[0101] In the embodiments of the present disclosure, the output parameter can be obtained by different comparison conditions. In some embodiments, the sound amplitude corresponding to the sound frequency band is compared with the standard amplitude to obtain the output parameter, which may include obtaining the output parameter corresponding to the difference between the sound amplitude and the standard amplitude based on the difference between the sound amplitude and the standard amplitude. In other embodiments, the sound amplitude corresponding to the sound frequency band is compared with the standard amplitude to obtain the output parameter, which may also include obtaining the output parameter corresponding to the quotient value based on the quotient of the sound amplitude and the standard amplitude.
[0102] It should be noted that the ear wearable device stores a difference mapping relationship table between the difference value and the output parameter, and the output parameter corresponding to the difference value can be obtained by searching the difference mapping relationship table. Of course, the ear wearable device also stores a quotient mapping relationship table between the quotient value and the output parameter, and the output parameter corresponding to the quotient value can be obtained by searching the quotient mapping relationship table.
[0103] In the embodiment of the present disclosure, after obtaining the output parameter, the output configuration can be adjusted based on the output parameter. In some embodiments, the output parameter includes at least one of the following:
[0104] Output gain; output frequency; output volume.
[0105] That is to say, when the output parameter is output gain, the gain configuration in the output configuration can be adjusted based on the output gain; when the output parameters are output gain and output frequency, the gain configuration in the output configuration can be adjusted based on the output gain while the frequency configuration in the frequency output configuration can be adjusted based on the output frequency.
[0106] It can be seen that the embodiments of the present disclosure can not only adjust a single configuration, but also flexibly adjust different configurations, so that the adjustment of the output configuration is more flexible and can better maintain the consistency of the hearing sense in a noisy external environment.
[0107] In some embodiments, when the signal value of the ear canal sound signal is greater than a signal threshold and the correlation coefficient is greater than a coefficient threshold, adjusting the output configuration of the ear-worn device includes:
[0108] When the signal value of the ear canal sound signal is greater than the signal threshold and the correlation coefficient is greater than the coefficient threshold, obtaining a duration in which the ear canal sound signal is greater than the signal threshold and the correlation coefficient is greater than the coefficient threshold;
[0109] In case the duration is greater than a time threshold, adjusting the output configuration is initiated.
[0110] In the disclosed embodiment, the duration can be obtained through a timer in the ear-worn device.
[0111] It should be noted that the time threshold can be set according to the adjustment switching frequency acceptable to the user. For example, the time threshold can be set between 10 seconds and 120 seconds.
[0112] In the disclosed embodiment, the output configuration of the ear-worn device is adjusted when the duration is greater than a time threshold. This can reduce the poor user experience caused by frequent adjustment of the output configuration, better meet user needs, and improve the user experience.
[0113] In some embodiments, the method further comprises:
[0114] When the signal value of the ear canal sound signal is less than or equal to the signal threshold, directly using the output configuration to output the sound signal;
[0115] Alternatively, when the correlation coefficient is less than or equal to the coefficient threshold, the output configuration is directly used to output the acoustic signal.
[0116] In the embodiments of the present disclosure, the two situations that the signal value of the ear canal sound signal is less than or equal to the signal threshold and the correlation coefficient is less than or equal to the coefficient threshold can be characterized as the external noisy environment not interfering with the hearing sense in the ear, or the interference caused is small and acceptable to the user. In this case, the ear wearable device will not adjust the output configuration and directly output the sound signal through the output configuration.
[0117] In this way, the embodiment of the present disclosure does not adjust the output configuration upon detecting an ear canal sound signal, but rather measures the interference caused by external noise, so that the adjustment of the output configuration is more refined and meets the user experience requirements.
[0118] In the embodiment of the present disclosure, after the ear wearable device outputs the sound signal according to the adjusted output configuration, if the signal value of the ear canal sound signal detected within the preset period is less than or equal to the signal threshold, the sound signal is directly output through the output configuration; if the correlation coefficient is detected within the preset period is less than or equal to the coefficient threshold, the sound signal is directly output through the output configuration. In this way, the ear wearable device can be adaptively closed and adjusted.
[0119] In some embodiments, the method further comprises:
[0120] When an end instruction is detected, adjusting the acoustic signal of the ear-worn device is stopped.
[0121] The above-mentioned end instruction can be obtained by switching the switch key on the ear wearable device. For example, the switch is switched from the on state to the off state. The end instruction can also be sent to the ear wearable device via a mobile terminal or a wrist wearable device.
[0122] In the disclosed embodiment, by detecting the end instruction to stop adjusting the output sound signal, the adjustment scenarios of the output sound signal are enriched, so that the adjustment of the output sound signal in a noisy external environment can better meet the different needs of users, and the intelligence of the ear-worn device is further increased.
[0123] In order to better understand one or more of the above embodiments of the present disclosure, the present disclosure also provides the following examples:
[0124] like Figure 3 As shown, the ear-worn device may further include the following steps to perform the audio processing method:
[0125] S201, the ear wearable device is in working state;
[0126] S202, turning on the ambient microphone module and the ear canal microphone module;
[0127] S203, obtaining an environmental sound signal and an ear canal sound signal;
[0128] S204, determine whether the signal value of the ear canal sound signal is greater than the signal threshold; if so, go to step S205; if not, go to step 206;
[0129] S205, determining whether the correlation coefficient between the ambient sound signal and the ear canal sound signal is greater than a coefficient threshold; if so, proceed to step S207; if not, proceed to step S206;
[0130] S206, directly adopting the output configuration to output the sound signal;
[0131] S207, adjusting the output configuration of the ear wearable device;
[0132] S208. Output the sound signal according to the adjusted output configuration.
[0133] In the disclosed embodiment, the ear wearable device can automatically adjust the output configuration according to the ambient sound signal and the ear canal sound signal, which can simplify the user operation and improve the intelligence of the earphone; and the output configuration of the output sound signal is automatically adjusted in different noise environments, so that the output sound signal matches the ambient noise, and the clarity and hearing sensitivity of the playback are improved. In addition, the output configuration is not adjusted according to the ear canal sound signal alone, but is adjusted according to the signal value and correlation coefficient of the ear canal sound signal together, which improves the adjustment accuracy.
[0134] The present disclosure also provides an audio processing device, such as Figure 4 As shown, the audio processing device 1000 includes:
[0135] The acquisition module 1001 is configured to acquire an ambient sound signal and an ear canal sound signal through the ear wearable device when the ear wearable device is in a working state;
[0136] The first adjustment module 1002 is configured to adjust the sound signal output by the ear-worn device based on the ambient sound signal and the ear canal sound signal.
[0137] In some embodiments, the first adjustment module is further configured to determine the correlation coefficient between the ambient sound signal and the ear canal sound signal when the ear-worn device is in a worn state; when the signal value of the ear canal sound signal is greater than a signal threshold and the correlation coefficient is greater than a coefficient threshold, adjust the output configuration of the ear-worn device, and output the sound signal based on the adjusted output configuration.
[0138] In some embodiments, the first adjustment module is further configured to obtain a sound frequency band in which the correlation coefficient between the ear canal sound signal and the ambient sound signal is greater than a coefficient threshold; compare the sound amplitude corresponding to the sound frequency band with a standard amplitude to obtain an output parameter; and adjust the output configuration based on the output parameter.
[0139] In some embodiments, the first adjustment module is further configured to obtain an output parameter corresponding to the difference between the sound amplitude and the standard amplitude based on the difference between the sound amplitude and the standard amplitude.
[0140] In some embodiments, the output parameter includes at least one of the following:
[0141] Output gain; output frequency; output volume.
[0142] In some embodiments, the first adjustment module is further configured to obtain the duration of the ear canal sound signal being greater than the signal threshold and the correlation coefficient being greater than the coefficient threshold when the signal value of the ear canal sound signal is greater than the signal threshold and the correlation coefficient is greater than the coefficient threshold; and start adjusting the output configuration when the duration is greater than the time threshold.
[0143] In some embodiments, the apparatus further comprises:
[0144] The second adjustment module is configured to directly use the output configuration to output the sound signal when the signal value of the ear canal sound signal is less than or equal to the signal threshold; or
[0145] The third adjustment module is configured to directly use the output configuration to output the sound signal when the signal value of the ear canal sound signal is greater than the signal threshold and the correlation coefficient is less than or equal to the coefficient threshold.
[0146] In some embodiments, the apparatus further comprises:
[0147] The output module is configured to output the wearing status of the ear-worn device based on the correlation coefficient between the ambient sound signal and the ear canal sound signal.
[0148] In some embodiments, the acquisition module is further configured to acquire the ambient sound signal through the ambient microphone module in the ear-worn device; acquire the ear canal sound signal through the ear canal microphone module in the ear-worn device; wherein the ambient microphone module includes: a call microphone module and / or a feedforward microphone module; the ear canal microphone module includes: a bone conduction microphone module and / or a feedback microphone module.
[0149] In some embodiments, the apparatus further comprises:
[0150] The stop adjustment module is configured to stop adjusting the acoustic signal of the ear-worn device when an end instruction is detected.
[0151] The specific manner in which each module in the device of the above embodiment performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0152] Figure 5 8 is a block diagram of a mobile terminal according to an exemplary embodiment. For example, the mobile terminal 800 may be a mobile phone, a tablet device, a personal digital assistant, etc.
[0153] Reference Figure 5 The mobile terminal 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0154] The processing component 802 generally controls the overall operation of the mobile terminal 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0155] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the mobile terminal 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0156] The power component 806 provides power to various components of the mobile terminal 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the mobile terminal 800.
[0157] The multimedia component 808 includes a screen that provides an output interface between the mobile terminal 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0158] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the mobile terminal 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0159] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0160] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the mobile terminal 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the mobile terminal 800, and the sensor assembly 814 can also detect the position change of the mobile terminal 800 or a component of the mobile terminal 800, the presence or absence of user contact with the mobile terminal 800, the orientation or acceleration / deceleration of the mobile terminal 800, and the temperature change of the mobile terminal 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0161] The communication component 816 is configured to facilitate wired or wireless communication between the mobile terminal 800 and other devices. The mobile terminal 800 can access a wireless network based on a communication standard, such as WiFi, 3G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0162] In an exemplary embodiment, the mobile terminal 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.
[0163] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the mobile terminal 800 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0164] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an ear-worn device, enables the ear-worn device to perform an audio processing method, the method comprising: when the ear-worn device is in a working state, obtaining an ambient sound signal and an ear canal sound signal through the ear-worn device; based on the ambient sound signal and the ear canal sound signal, adjusting the sound signal output by the ear-worn device.
[0165] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0166] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An audio processing method, characterized in that: include: When the ear-worn device is in working state, obtaining environmental sound signals and ear canal sound signals through the ear-worn device; Based on the ambient sound signal and the ear canal sound signal, an acoustic signal output by the ear-worn device is adjusted.
2. The method according to claim 1, characterized in that The adjusting the sound signal output by the ear-worn device based on the ambient sound signal and the ear canal sound signal includes: When the ear-worn device is in a wearing state, determining a correlation coefficient between the ambient sound signal and the ear canal sound signal; When the signal value of the ear canal sound signal is greater than the signal threshold and the correlation coefficient is greater than the coefficient threshold, adjusting the output configuration of the ear-worn device; The acoustic signal is output based on the adjusted output configuration.
3. The method according to claim 2, characterized in that The adjusting the output configuration of the ear-worn device includes: Acquire a sound frequency band in which the correlation coefficient between the ear canal sound signal and the ambient sound signal is greater than the coefficient threshold; Compare the sound amplitude corresponding to the sound frequency band with the standard amplitude to obtain an output parameter; The output configuration is adjusted based on the output parameter.
4. The method according to claim 3, characterized in that The step of comparing the sound amplitude corresponding to the sound frequency band with the standard amplitude to obtain an output parameter includes: Based on the difference between the sound amplitude and the standard amplitude, the output parameter corresponding to the difference is obtained.
5. The method according to claim 3, characterized in that: The output parameters include at least one of the following: Output gain; output frequency; output volume.
6. The method according to claim 2, characterized in that When the signal value of the ear canal sound signal is greater than a signal threshold and the correlation coefficient is greater than a coefficient threshold, adjusting the output configuration of the ear-worn device includes: When the signal value of the ear canal sound signal is greater than the signal threshold and the correlation coefficient is greater than the coefficient threshold, obtaining a duration in which the ear canal sound signal is greater than the signal threshold and the correlation coefficient is greater than the coefficient threshold; In case the duration is greater than a time threshold, adjusting the output configuration is initiated.
7. The method according to claim 2, characterized in that The method further comprises: When the signal value of the ear canal sound signal is less than or equal to the signal threshold, directly using the output configuration to output the sound signal; Alternatively, when the correlation coefficient is less than or equal to the coefficient threshold, the output configuration is directly used to output the acoustic signal.
8. The method according to claim 2, characterized in that: The method further comprises: Based on the correlation coefficient between the ambient sound signal and the ear canal sound signal, a wearing state of the ear-worn device is output.
9. The method according to any one of claims 1 to 8, characterized in that: The obtaining of the ambient sound signal and the ear canal sound signal through the ear wearable device includes: Acquiring the ambient sound signal through an ambient microphone module in the ear-worn device; Acquiring the ear canal sound signal through an ear canal microphone module in the ear wearable device; Wherein, the environmental microphone module includes: a call microphone module and / or a feedforward microphone module; The ear canal microphone module includes: a bone conduction microphone module and / or a feedback microphone module.
10. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: When an end instruction is detected, adjusting the acoustic signal of the ear-worn device is stopped.
11. An audio processing device, characterized in that: The device comprises: an acquisition module, configured to acquire an ambient sound signal and an ear canal sound signal through the ear wearable device when the ear wearable device is in a working state; The first adjustment module is configured to adjust the sound signal output by the ear-worn device based on the ambient sound signal and the ear canal sound signal.
12. An ear wearable device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the audio processing method according to any one of claims 1 to 10.
13. A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an ear-worn device, enables the ear-worn device to perform the audio processing method according to any one of claims 1 to 10.
