CN113099336B - Method and device for adjusting earphone audio parameters, earphone and storage medium - Google Patents

Method and device for adjusting earphone audio parameters, earphone and storage medium Download PDF

Info

Publication number
CN113099336B
CN113099336B CN202010017453.0A CN202010017453A CN113099336B CN 113099336 B CN113099336 B CN 113099336B CN 202010017453 A CN202010017453 A CN 202010017453A CN 113099336 B CN113099336 B CN 113099336B
Authority
CN
China
Prior art keywords
audio
grade
earphone
amplitude
level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010017453.0A
Other languages
Chinese (zh)
Other versions
CN113099336A (en
Inventor
孙长宇
孙伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010017453.0A priority Critical patent/CN113099336B/en
Publication of CN113099336A publication Critical patent/CN113099336A/en
Application granted granted Critical
Publication of CN113099336B publication Critical patent/CN113099336B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • 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/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Abstract

The disclosure relates to a method and a device for adjusting audio parameters of a headset, the headset and a storage medium. The method comprises the following steps: acquiring an audio signal acquired by an echo receiving device in the earphone; the audio signal comprises a first audio signal which is not reflected and a second audio signal which is reflected; acquiring amplitude differences and phase differences of the first audio signal and the second audio signal; acquiring an audio grade corresponding to the ear where the earphone is positioned based on the amplitude difference and the phase difference; and when the audio grade is a grade other than the target grade, adjusting the audio parameters of the earphone based on the audio grade until the audio grade acquired later becomes the target grade. In this embodiment, by adjusting the audio parameters of the earphone, the amplitude and the phase of the sound wave emitted by the earphone can be matched with the ear, so that the same audio has the same listening effect for different users, and the user experience can be improved.

Description

Method and device for adjusting earphone audio parameters, earphone and storage medium
Technical Field
The disclosure relates to the technical field of audio, and in particular relates to a method and device for adjusting audio parameters of headphones, headphones and a storage medium.
Background
Currently, many users prefer to wear headphones in public places or during sports, and use headphones to listen to music or talk. Typically, the configuration of the headset is fixed, i.e. the configuration parameters of the same model of headset are the same for each user. However, each user's ear is different, having a different auditory perception for the same audio, e.g., some users sound just like, some users feel loud, and some users feel soft, thus reducing the user experience.
Disclosure of Invention
The disclosure provides a method and a device for adjusting an audio parameter of an earphone, the earphone and a storage medium, so as to solve the defects of the related art.
According to a first aspect of embodiments of the present disclosure, there is provided a method of adjusting an audio parameter of a headset, including:
acquiring an audio signal acquired by an echo receiving device in the earphone; the audio signal comprises a first audio signal which is not reflected and a second audio signal which is reflected;
acquiring amplitude differences and phase differences of the first audio signal and the second audio signal;
acquiring an audio grade corresponding to the ear where the earphone is positioned based on the amplitude difference and the phase difference;
And when the audio grade is a grade other than the target grade, adjusting the audio parameters of the earphone based on the audio grade until the audio grade acquired later becomes the target grade.
Optionally, the amplitude phase difference acquisition module includes:
the original waveform acquisition unit is used for acquiring an original waveform of the audio data currently played by the earphone;
an audio signal acquisition unit configured to extract a first audio signal from the audio signal based on a relationship between an original waveform and the first audio signal established in advance, and acquire a difference waveform between an actual waveform of the audio signal and the original waveform, as the second audio signal;
a phase difference acquisition unit configured to acquire a phase difference and a phase difference of the first audio signal and the second audio signal; the amplitude difference is used for representing the amplitude attenuation degree of the ear canal to the first audio signal, and the phase difference is used for representing the delay degree of the ear middle ear membrane depth to the first audio signal.
Optionally, obtaining the audio level corresponding to the ear where the earphone is located based on the amplitude difference and the phase difference includes:
acquiring a preset amplitude difference threshold value and a preset phase difference threshold value;
Comparing the amplitude difference with the amplitude difference threshold value and the phase difference with the phase difference threshold value to respectively obtain a first comparison result and a second comparison result;
and obtaining the audio grade of the ear wearing the earphone according to the first comparison result and the second comparison result.
Optionally, obtaining the audio grade of the ear wearing the earphone according to the first comparison result and the second comparison result includes:
determining that the audio level is a first level when the first comparison result indicates that the amplitude difference is greater than the amplitude difference threshold and the second comparison result indicates that the phase difference is greater than the phase difference threshold; or alternatively, the process may be performed,
determining that the audio level is a second level when the first comparison result indicates that the amplitude difference is greater than the amplitude difference threshold and the second comparison result indicates that the phase difference is less than the phase difference threshold, or the first comparison result indicates that the amplitude difference is less than the amplitude difference threshold and the second comparison result indicates that the phase difference is greater than the phase difference threshold; or alternatively, the process may be performed,
determining that the audio level is a third level when the first comparison result indicates that the amplitude difference is less than the amplitude difference threshold and the second comparison result indicates that the phase difference is less than the phase difference threshold;
Optionally, adjusting the audio parameters of the earphone based on the audio level until the audio level acquired later becomes a target level, including:
when the audio grade is the first grade, adjusting the cavity structure of the earphone until the audio grade acquired later changes from the first grade to the second grade;
and when the audio grade is the second grade, adjusting the frequency response characteristic of the loudspeaker in the earphone so as to carry out amplitude adjustment and frequency equalization on sound waves emitted by the loudspeaker until the audio grade acquired later is changed from the second grade to a third grade, wherein the third grade is the target grade.
Optionally, adjusting the cavity structure of the earphone includes:
moving the movable device in the earphone to a target position increases or decreases the space of the cavity after the movable device reaches the target position.
Optionally, adjusting the audio parameters of the earphone based on the audio level until the audio level acquired later becomes a target level, including:
acquiring a history user list using the earphone; the history user list comprises amplitude differences, phase differences, audio frequency grades and audio frequency parameters corresponding to target grades corresponding to ears;
Acquiring a target grade and corresponding audio parameters according to the audio grade, the amplitude difference and the phase difference;
and adjusting the audio parameters of the earphone to the audio parameters corresponding to the target level so as to change the audio level acquired later into the target level.
Optionally, before acquiring the amplitude difference and the phase difference of both the first audio signal and the second audio signal, the method further comprises:
if the amplitude of the second audio signal is smaller than a preset amplitude threshold value, determining that the audio parameters of the earphone do not need to be adjusted; and if the amplitude of the second audio signal is larger than the preset amplitude threshold value, continuing to execute the step of acquiring the amplitude difference and the phase difference of the first audio signal and the second audio signal.
According to a second aspect of embodiments of the present disclosure, there is provided an apparatus for adjusting an audio parameter of a headset, including:
the audio signal acquisition module is used for acquiring the audio signals acquired by the echo receiving device in the earphone; the audio signal comprises a first audio signal which is not reflected and a second audio signal which is reflected;
the amplitude and phase difference acquisition module is used for acquiring amplitude differences and phase differences of the first audio signal and the second audio signal;
The audio grade obtaining module is used for obtaining the audio grade corresponding to the ear where the earphone is positioned based on the amplitude difference and the phase difference;
and the audio parameter adjustment module is used for adjusting the audio parameters of the earphone based on the audio grade when the audio grade is a grade other than the target grade until the audio grade acquired later becomes the target grade.
Optionally, acquiring the amplitude difference and the phase difference of both the first audio signal and the second audio signal includes:
acquiring an original waveform of the current playing audio data of the earphone;
extracting a first audio signal from the audio signal based on a pre-established relation between an original waveform and the first audio signal, and acquiring a difference waveform between an actual waveform of the audio signal and the original waveform, wherein the difference waveform is used as the second audio signal;
acquiring amplitude differences and phase differences of the first audio signal and the second audio signal; the amplitude difference is used for representing the amplitude attenuation degree of the ear canal to the first audio signal, and the phase difference is used for representing the delay degree of the ear middle ear membrane depth to the first audio signal.
Optionally, the audio level acquisition module includes:
the amplitude-phase threshold value acquisition unit is used for acquiring a preset amplitude value difference threshold value and a preset phase difference threshold value;
the comparison result obtaining unit is used for comparing the amplitude difference with the amplitude difference threshold value and the phase difference with the phase difference threshold value to obtain a first comparison result and a second comparison result respectively;
and the audio grade determining unit is used for obtaining the audio grade of the ear wearing the earphone according to the first comparison result and the second comparison result.
Optionally, the audio level determining unit includes:
a first determining unit configured to determine that the audio level is a first level when the first comparison result indicates that the amplitude difference is greater than the amplitude difference threshold and the second comparison result indicates that the phase difference is greater than the phase difference threshold; or alternatively, the process may be performed,
a second determining unit configured to determine that the audio level is a second level when the first comparison result indicates that the amplitude difference is greater than the amplitude difference threshold and the second comparison result indicates that the phase difference is less than the phase difference threshold, or the first comparison result indicates that the amplitude difference is less than the amplitude difference threshold and the second comparison result indicates that the phase difference is greater than the phase difference threshold; or alternatively, the process may be performed,
A third determining unit configured to determine that the audio level is a third level when the first comparison result indicates that the amplitude difference is smaller than the amplitude difference threshold and the second comparison result indicates that the phase difference is smaller than the phase difference threshold;
optionally, the audio parameter adjustment module includes:
a cavity adjusting unit, configured to adjust a cavity structure of the earphone when the audio level is a first level, until the audio level acquired later changes from the first level to a second level;
and the parameter adjusting unit is used for adjusting the frequency response characteristic of the loudspeaker in the earphone when the audio grade is the second grade so as to carry out amplitude adjustment and frequency equalization on sound waves sent by the loudspeaker until the audio grade obtained later is changed from the second grade to a third grade, and the third grade is the target grade.
Optionally, the cavity adjustment unit includes:
and the moving subunit is used for moving the movable device in the earphone to a target position, and the space of the cavity is increased or decreased after the movable device reaches the target position.
Optionally, the audio parameter adjustment module includes:
A history list acquisition unit configured to acquire a history user list using the headphones; the history user list comprises amplitude differences, phase differences, audio frequency grades and audio frequency parameters corresponding to target grades corresponding to ears;
an audio parameter obtaining unit, configured to obtain a target level and a corresponding audio parameter according to the audio level, the amplitude difference, and the phase difference;
and the audio parameter adjusting unit is used for adjusting the audio parameters of the earphone to the audio parameters corresponding to the target grade so as to change the audio grade acquired later into the target grade.
Optionally, the device further includes a detection module, where the detection module is configured to determine that the audio parameter of the earphone does not need to be adjusted when the amplitude of the second audio signal is smaller than a preset amplitude threshold, and send a trigger signal to the audio signal acquisition module; and when the amplitude of the second audio signal is larger than the preset amplitude threshold value, sending a trigger signal to the amplitude phase difference acquisition module.
According to a third aspect of embodiments of the present disclosure, there is provided an earphone comprising:
a speaker for emitting sound waves;
a movable device disposed within a cavity of the earphone; the movable device is used for adjusting the size of the cavity;
Echo receiving devices respectively arranged on the sound channels; the echo receiving device is used for acquiring an audio signal of the sound channel, and the audio signal comprises a first audio signal which is not reflected and a second audio signal which is reflected;
a processor electrically connected to the movable device and the echo receiving device, respectively; the processor is used for acquiring the audio grade corresponding to the ear where the earphone is positioned according to the audio signal, and adjusting the loudspeaker, or the movable device and the loudspeaker according to the audio grade, so that the audio grade acquired later is the target grade; the target grade is a grade that matches the ear.
According to a fourth aspect of embodiments of the present disclosure, there is provided a readable storage medium having stored thereon executable instructions which when executed by a processor implement the steps of the method of any of the first aspects.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
as can be seen from the above embodiments, in the embodiments of the present disclosure, the audio signal acquired by the echo receiving device in the earphone is acquired; the audio signal comprises a first audio signal which is not reflected and a second audio signal which is reflected; then, acquiring amplitude differences and phase differences of both the first audio signal and the second audio signal; then, acquiring an audio grade corresponding to the ear where the earphone is positioned based on the amplitude difference and the phase difference; finally, when the audio grade is a grade other than the target grade, adjusting the audio parameters of the earphone based on the audio grade until the audio grade acquired later becomes the target grade. Therefore, in the embodiment, by adjusting the audio parameters of the earphone, the amplitude and the phase of the sound waves sent by the earphone can be matched with the ears of the user, so that the effect that the audio grade of the ears of the user is matched with the target grade is achieved, namely, the same audio has the same listening effect on different users, and the user experience can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram of an application scenario, according to an example embodiment.
Fig. 2 is a flowchart illustrating a method of adjusting headphone audio parameters according to an exemplary embodiment.
FIG. 3 is a flow chart illustrating the acquisition of amplitude and phase differences according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating the acquisition of audio levels according to an exemplary embodiment.
Fig. 5 is a flow chart illustrating an audio adjustment according to an exemplary embodiment.
Fig. 6 is a flow chart illustrating another audio adjustment according to an exemplary embodiment.
Fig. 7 is a structural diagram of an earphone according to an exemplary embodiment.
Fig. 8 is a flowchart illustrating adjusting audio parameters according to an exemplary embodiment.
Fig. 9 to 14 are block diagrams illustrating an apparatus for adjusting an audio parameter of a headphone according to an exemplary embodiment.
Fig. 15 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus consistent with some aspects of the disclosure as detailed in the accompanying claims.
Currently, many users prefer to wear headphones in public places or during sports, and use headphones to listen to music or talk. Typically, the configuration of the headset is fixed, i.e. the configuration parameters of the same model of headset are the same for each user. However, each user's ear is different, having a different auditory perception for the same audio, e.g., some users sound just like, some users feel loud, and some users feel soft, thus reducing the user experience.
In order to solve the above-mentioned technical problems, the disclosed embodiments provide a method for adjusting the audio parameters of an earphone, referring to fig. 1, and the inventive concept is that, by disposing an echo receiving device 12 on the earphone 10, the echo receiving device 12 can be used to receive the sound wave 111 emitted by the speaker 11 in the earphone and the sound wave 112 reflected by the ear canal and/or the eardrum, so as to obtain an audio signal. The processor in the earphone can separate a first audio signal and a second audio signal from the audio signals, and acquire amplitude differences and phase differences of the first audio signal and the second audio signal; and the audio grade corresponding to the ear where the earphone is positioned can be determined according to the amplitude difference and the phase difference. Finally, the processor may adjust the audio parameters of the headphones based on the audio level, such that the audio level obtained later is adjusted to the target level. In other words, the audio parameters of the earphone are adapted to the ear structures of the users, so that the same sound has the same listening effect on different users, and the user experience is improved.
It should be noted that, in order to better receive the acoustic wave signal, with continued reference to fig. 1, in this embodiment, the echo receiving device 12 may be disposed on the side of the earphone 10 that emits the acoustic wave, so that the unreflected acoustic wave and the reflected acoustic wave may be better received. Where the echo receiving device 12 may be a Microphone (MIC).
It should be noted that the earphone 10 may include at least one of the following: wired headphones, wireless headphones, or digital headphones, analog headphones, or a combination thereof, the skilled artisan may choose according to the particular scenario, and is not limited herein.
The following describes a method for adjusting the audio parameters of the earphone according to the present embodiment.
Fig. 2 is a flowchart illustrating a method for adjusting headphone audio parameters, referring to fig. 2, according to an exemplary embodiment, a method for adjusting headphone audio parameters includes steps 201 to 204, wherein:
in step 201, an audio signal acquired by an echo receiving device in an earphone is acquired; the audio signal includes an unreflected first audio signal and a reflected second audio signal.
In this embodiment, with continued reference to fig. 1, after the user wears the earphone to the ear, the processor in the earphone may play the corresponding audio according to the user setting. The speaker emits sound waves, which are radiated to the surroundings: a portion of the sound waves may directly enter an echo receiving device (e.g., a microphone) within the earpiece, i.e., an unreflected sound wave signal; and part of sound waves can be transmitted to the ear canal and the eardrum, and reflected sound waves enter an echo receiving device, namely reflected sound wave signals. The echo receiving device performs mechanical energy and electric energy conversion on the received sound wave signals, and can obtain audio signals in the form of electric signals. It is understood that the converted audio signal may comprise an unreflected first audio signal and a reflected second audio signal.
In step 202, a magnitude difference and a phase difference of both the first audio signal and the second audio signal are obtained.
In this embodiment, a processor (not shown) in the earphone 10 may be electrically connected to the echo receiving device 12, so as to obtain the audio signal collected by the echo receiving device 12.
In this embodiment, the processor may process the audio signal to separate the first audio signal from the second audio signal. Referring to fig. 3, the processor may obtain an original waveform of audio data currently played by the headphones (corresponding to step 301). In view of the fact that there may be some attenuation of the original waveform to the first audio signal, a relation between the original waveform and the waveform of the first audio signal may be pre-established, resulting in an attenuation amplitude and a delay of the original waveform, so that the processor may extract the first audio signal from the audio signal given the original waveform. Then, the processor may obtain a difference waveform between the actual waveform and the original waveform of the audio signal, and use the difference waveform as the waveform of the second audio signal, so as to obtain the second audio signal (corresponding to step 303).
It should be noted that, in the processing process of the audio signal, reference may also be made to other related technologies, and in the case that the first audio signal and the second audio signal can be separated, the corresponding schemes fall within the protection scope of the disclosure.
With continued reference to fig. 3, the processor may obtain a magnitude difference and a phase difference for both the first audio signal and the second audio signal (corresponding to step 302). The amplitude difference is used for representing the amplitude attenuation degree of the ear canal to the first audio signal, and the phase difference is used for representing the delay degree of the depth of the eardrum to the first audio signal. For example, the first audio signal is Asin (wt+a) and the second audio signal is Bsin (wt+b), the amplitude difference may be-20 log (B/A), and the phase difference may be B-a.
It should be noted that, in an embodiment, the processor may determine the amplitude of the second audio signal, compare the amplitude with a preset amplitude threshold (adjustable), and when the amplitude is smaller than the amplitude threshold, indicate that the echo receiving device does not receive the reflected sound wave, and determine that the audio parameter of the earphone does not need to be adjusted. When the amplitude is greater than the amplitude threshold, step 202 may continue. Therefore, whether the user wears the earphone or not can be determined, and after the user wears the earphone, the audio parameter is adjusted, so that the calculated amount can be reduced.
In step 203, an audio level corresponding to the ear where the earphone is located is obtained based on the amplitude difference and the phase difference.
In this embodiment, the processor may obtain the audio level corresponding to the ear where the earphone is located according to the amplitude difference and the phase difference, see fig. 4, and the processor may obtain the preset amplitude difference threshold and the preset phase difference threshold (corresponding to step 401). The amplitude difference threshold and the phase difference threshold can be obtained through statistics in a big data mode, for example, the amplitude difference threshold can be a proportion value of 20%, and the phase difference can be 5-10 degrees. Of course, a large number of tests may be adopted to confirm the magnitude difference and/or the phase difference change amount, so that the ear can feel the deterioration of the receiving effect, and the magnitude difference and the phase difference corresponding to the moment of just feeling the deterioration of the receiving effect are respectively used as the magnitude difference threshold and the phase difference threshold. The technician can set the amplitude difference threshold and the phase difference threshold according to specific scenes, and the corresponding scheme falls into the protection scope of the disclosure.
With continued reference to fig. 4, the processor may compare the magnitude difference to a magnitude difference threshold and the phase difference to a phase difference threshold to obtain a first comparison result and a second comparison result, respectively (corresponding to step 402). The first comparison result comprises that the amplitude difference is larger than an amplitude difference threshold value or the amplitude difference is smaller than the amplitude difference threshold value; the second comparison result includes the phase difference being less than the phase difference threshold, or the phase difference being greater than the phase difference threshold.
With continued reference to fig. 4, the processor may obtain an audio level of an ear wearing the headset based on the first comparison result and the second comparison result (corresponding to step 403), and may include:
and when the first comparison result indicates that the amplitude difference is larger than the amplitude difference threshold value and the second comparison result indicates that the phase difference is larger than the phase difference threshold value, determining the audio grade as a first grade.
And when the first comparison result shows that the amplitude difference is larger than the amplitude difference threshold value and the second comparison result shows that the phase difference is smaller than the phase difference threshold value, determining that the audio grade is a second grade.
And when the first comparison result shows that the amplitude difference is smaller than the amplitude difference threshold value and the second comparison result shows that the phase difference is larger than the phase difference threshold value, determining that the audio grade is a second grade.
And when the first comparison result shows that the amplitude difference is smaller than the amplitude difference threshold value and the second comparison result shows that the phase difference is smaller than the phase difference threshold value, determining that the audio grade is a third grade.
It should be noted that, in the above embodiment, only the case that the audio level has 3 levels is illustrated, and a technician may increase the corresponding level according to a specific scene, and at this time, the number of the amplitude difference threshold and the phase difference threshold may be increased, for example, when the amplitude difference threshold and the phase difference threshold are respectively 2, the audio level may be increased to 9. Corresponding schemes fall within the protection scope of the present disclosure.
In step 204, when the audio level is a level other than the target level, audio parameters of the headphones are adjusted based on the audio level until the audio level acquired later becomes the target level.
In this embodiment, the third level may be taken as the target level, the processor determines whether the current audio level is the third level, and when the current audio level is the third level, the processor may not adjust the audio parameters of the earphone, and returns to step 201; when the current audio level is a level other than the third level, such as the first level or the second level, the processor determines to adjust the audio level of the headphones.
Referring to fig. 5, when the audio level is the first level, the cavity structure of the earphone is adjusted until the audio level acquired later is changed from the first level to the second level (corresponding to step 501). For example, the processor adjusts the cavity structure of the earphone in the first audio level, where the adjustment may be that the processor sends a control signal to the movable device, and the movable device moves according to a preset length, and then repeats steps 201 to 203 to obtain the audio level acquired later. If the audio grade obtained later is still the first grade, continuing to adjust the audio parameters until the audio grade obtained later becomes the second grade, stopping adjusting the cavity structure of the earphone, and positioning the movable device at the target position.
When the movable device moves close to the eardrum, the cavity structure of the earphone becomes smaller, and in this case, the high-frequency effect of the output sound wave becomes better, and the earphone is suitable for the ear insensitive to the high-frequency component in the sound wave, such as the short-ear-canal scene caused by the shallow eardrum. When the movable device moves away from the eardrum, the cavity structure of the earphone becomes large, the low-frequency effect of the output sound wave can be improved, and the earphone is suitable for ears insensitive to low-frequency components in the sound wave, such as scenes with long auditory canal caused by deep eardrum.
With continued reference to fig. 5, when the audio level is the second level, the processor may adjust the frequency response characteristics of the speakers in the headphones to amplitude adjust and frequency equalize the sound waves emitted by the speakers until the audio level acquired thereafter changes from the second level to a third level, which is the target level (corresponding to step 502). For example, the processor adjusts the audio parameters of the earphone in the second audio level, which may be EQ (equal) and DRC (Dynamic Range Control), and then repeats steps 201 to 203 to obtain the audio level obtained later. If the audio grade obtained later is still the second grade, continuing to adjust the audio parameters until the audio grade obtained later becomes the third grade, and stopping adjusting the audio parameters of the earphone.
It should be noted that, when the audio level is the first level, the processor needs to perform step 501 and step 502. The processor needs to perform step 502 when the audio level is the second level, the processor determines not to adjust the audio level when the audio level is the third level.
In consideration of the case where a plurality of users share one earphone, a history user list may be stored in the earphone, and the history user list may include the amplitude differences, the phase differences, the audio levels, and the audio parameters corresponding to the target levels corresponding to the ears. In one embodiment, after the user wears the headset, referring to fig. 6, the processor may obtain a list of historical users using the headset (corresponding to step 601). The processor may then obtain audio parameters corresponding to the target level based on the audio level, the amplitude difference, the phase difference, and the audio level (corresponding to step 602). The processor may then adjust the audio parameters of the headphones to the audio parameters corresponding to the target level, causing the audio level acquired later to become the target level (corresponding to step 603). Thus, in the embodiment, the user who uses the earphone can be identified, the target grade can be achieved through one-time adjustment, the adjustment time length can be shortened, and the user experience is improved.
So far, in the embodiment of the disclosure, the audio signal acquired by the echo receiving device in the earphone is acquired; the audio signal comprises a first audio signal which is not reflected and a second audio signal which is reflected; then, acquiring amplitude differences and phase differences of both the first audio signal and the second audio signal; then, acquiring an audio grade corresponding to the ear where the earphone is positioned based on the amplitude difference and the phase difference; finally, when the audio grade is a grade other than the target grade, adjusting the audio parameters of the earphone based on the audio grade until the audio grade acquired later becomes the target grade. Therefore, in the embodiment, by adjusting the audio parameters of the earphone, the amplitude and the phase of the sound waves sent by the earphone can be matched with the ear, the effect that the audio grade of the ear is matched with the target grade is achieved, namely, the same audio has the same listening effect on different users, and the user experience can be improved. The method for adjusting the audio parameters of the earphone is described below with reference to a scene, and referring to fig. 7 and 8, after the earphone acquires the audio data, the earphone controls the left channel and the right channel to emit sound waves. The same operation is performed for the left channel and the right channel, taking the left channel as an example:
1, after the user pairs the earphone, a processor MCU in the earphone controls a left sound channel in the earphone to emit sound waves.
2, the sound wave emitted by the left sound channel encounters the auditory canal and the eardrum to carry out surface reflection.
3, the MIC of the left channel receives the acoustic wave surface emission signal 1 reflected from the ear canal and the acoustic wave signal 2 directly transmitted from the speaker to the MIC, and converts the acoustic wave signal 1, the acoustic wave signal 2 into the electric signal 1 (i.e., the second audio signal) and the electric signal 2 (i.e., the first audio signal).
And 4, the MCU receives the electric signals 1 and 2 output by the MIC on the left sound channel, and the MCU acquires the amplitude difference and the phase difference of the electric signals 1 and the telecommunication 2, so that the length of the auditory canal and the position of the eardrum can be confirmed, and the audio frequency grades (A, B and C) can be confirmed.
And 5, if the audio frequency grade is A, the first-stage regulation and control is needed, namely, the structural shape of the cavity is regulated, so that the cavity is gradually changed from small to large or from large to small. The process of 1-4 is then repeated until the audio level is B.
6. If the audio level is B, the MCU performs a second level of regulation, i.e., regulating EQ and DRC. The procedure of 1-4 was repeated until the adjustment grade was C.
In steps 5 and 6, the adjustment targets are: the emitted sound wave is reflected by the ear canal and the eardrum and then transmitted to the MCU to receive the waveform to reach the expected ideal waveform, and the waveform shape is changed by adjusting the audio parameters such as EQ, DRC and the like until the expected waveform is reached.
7. If the audio frequency grade is C, the audio frequency grade indicates that the frequency response is matched with the user, and the regulation and control are completed.
The embodiment of the disclosure also provides a device for adjusting the audio parameters of the earphone, and fig. 9 is a block diagram of a device for adjusting the audio parameters of the earphone according to an exemplary embodiment. Referring to fig. 9, an apparatus for adjusting an audio parameter of a headset includes:
an audio signal obtaining module 901, configured to obtain an audio signal collected by an echo receiving device in the earphone; the audio signal comprises a first audio signal which is not reflected and a second audio signal which is reflected;
a phase difference obtaining module 902, configured to obtain a phase difference and a phase difference of both the first audio signal and the second audio signal;
an audio grade obtaining module 903, configured to obtain an audio grade corresponding to an ear where the earphone is located based on the amplitude difference and the phase difference;
and the audio parameter adjustment module 904 is configured to adjust the audio parameter of the earphone based on the audio level when the audio level is a level other than the target level, until the audio level acquired later becomes the target level.
In one embodiment, referring to fig. 10, the amplitude phase difference acquisition module 902 includes:
An original waveform obtaining unit 1001, configured to obtain an original waveform of audio data currently played by the earphone;
an audio signal obtaining unit 1002 configured to extract a first audio signal from the audio signal based on a relationship between an original waveform and the first audio signal established in advance, and obtain a difference waveform between an actual waveform of the audio signal and the original waveform, taking the difference waveform as the second audio signal;
a phase difference acquisition unit 1003 configured to acquire a phase difference and a phase difference of the first audio signal and the second audio signal; the amplitude difference is used for representing the amplitude attenuation degree of the ear canal to the first audio signal, and the phase difference is used for representing the delay degree of the ear middle ear membrane depth to the first audio signal.
In one embodiment, referring to fig. 11, the audio level acquisition module 903 includes:
an amplitude threshold value obtaining unit 1101, configured to obtain a preset amplitude difference threshold value and a preset phase difference threshold value;
a comparison result obtaining unit 1102, configured to compare the amplitude difference with the amplitude difference threshold and the phase difference with the phase difference threshold, and obtain a first comparison result and a second comparison result respectively;
An audio level determining unit 1103 is configured to obtain an audio level of an ear wearing the earphone according to the first comparison result and the second comparison result.
In an embodiment, referring to fig. 12, the audio level determining unit 1103 includes:
a first determining unit 1201, configured to determine that the audio level is a first level when the first comparison result indicates that the amplitude difference is greater than the amplitude difference threshold and the second comparison result indicates that the phase difference is greater than the phase difference threshold; or alternatively, the process may be performed,
a second determining unit 1202, configured to determine that the audio level is a second level when the first comparison result indicates that the amplitude difference is greater than the amplitude difference threshold and the second comparison result indicates that the phase difference is less than the phase difference threshold, or the first comparison result indicates that the amplitude difference is less than the amplitude difference threshold and the second comparison result indicates that the phase difference is greater than the phase difference threshold; or alternatively, the process may be performed,
a third determining unit 1203 configured to determine that the audio level is a third level when the first comparison result indicates that the amplitude difference is smaller than the amplitude difference threshold and the second comparison result indicates that the phase difference is smaller than the phase difference threshold;
In one embodiment, referring to fig. 13, the audio parameter adjustment module 904 includes:
a cavity adjusting unit 1301, configured to adjust, when the audio level is a first level, a cavity structure of the earphone until the audio level acquired later changes from the first level to a second level;
and a parameter adjusting unit 1302, configured to adjust the frequency response characteristic of the speaker in the earphone when the audio level is the second level, so as to perform amplitude adjustment and frequency equalization on the sound wave emitted by the speaker, until the audio level obtained later changes from the second level to a third level, where the third level is the target level.
In an embodiment, the cavity adjustment unit 1301 includes:
and the moving subunit is used for moving the movable device in the earphone to a target position, and the space of the cavity is increased or decreased after the movable device reaches the target position.
In one embodiment, referring to fig. 14, the audio parameter adjustment module 904 includes:
a history list acquiring unit 1401 for acquiring a history user list using the earphone; the history user list comprises amplitude differences, phase differences, audio frequency grades and audio frequency parameters corresponding to target grades corresponding to ears;
An audio parameter obtaining unit 1402, configured to obtain a target level and a corresponding audio parameter according to the audio level, the amplitude difference, and the phase difference;
an audio parameter adjusting unit 1403 is configured to adjust the audio parameter of the earphone to an audio parameter corresponding to the target level, so that the audio level acquired later becomes the target level.
In an embodiment, the device further includes a detection module, where the detection module is configured to determine that the audio parameter of the earphone does not need to be adjusted when the amplitude of the second audio signal is smaller than a preset amplitude threshold, and send a trigger signal to the audio signal acquisition module; and when the amplitude of the second audio signal is larger than the preset amplitude threshold value, sending a trigger signal to the amplitude phase difference acquisition module.
It can be understood that the apparatus provided in the embodiments of the present disclosure corresponds to the content of the embodiments of the method, and specific content may refer to the content of each embodiment of the method, which is not described herein again.
So far, in the embodiment of the disclosure, the audio signal acquired by the echo receiving device in the earphone is acquired; the audio signal comprises a first audio signal which is not reflected and a second audio signal which is reflected; then, acquiring amplitude differences and phase differences of both the first audio signal and the second audio signal; then, acquiring an audio grade corresponding to the ear where the earphone is positioned based on the amplitude difference and the phase difference; finally, when the audio grade is a grade other than the target grade, adjusting the audio parameters of the earphone based on the audio grade until the audio grade acquired later becomes the target grade. Therefore, in the embodiment, by adjusting the audio parameters of the earphone, the amplitude and the phase of the sound waves sent by the earphone can be matched with the ear, the effect that the audio grade of the ear is matched with the target grade is achieved, namely, the same audio has the same listening effect on different users, and the user experience can be improved.
Fig. 15 is a block diagram of an electronic device, according to an example embodiment. For example, electronic device 1500 may be a smart phone, a computer, a digital broadcast terminal, a tablet device, a medical device, an exercise device, a personal digital assistant, etc., that includes a transmit coil, a first magnetic sensor, and a second magnetic sensor in a device that adjusts the audio parameters of a headset.
Referring to fig. 15, an electronic device 1500 may include one or more of the following components: a processing component 1502, a memory 1504, a power component 1506, a multimedia component 1508, an audio component 1510, an input/output (I/O) interface 1512, a sensor component 1514, a communication component 1516, and an image acquisition component 1518.
The processing component 1502 generally provides overall operation of the electronic device 1500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1502 may include one or more processors 1520 to execute instructions. Further, the processing component 1502 may include one or more modules that facilitate interactions between the processing component 1502 and other components. For example, the processing component 1502 may include a multimedia module to facilitate interaction between the multimedia component 1508 and the processing component 1502.
The memory 1504 is configured to store various types of data to support operations at the electronic device 1500. Examples of such data include instructions for any application or method operating on electronic device 1500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1504 may be implemented by any type or combination of volatile or nonvolatile memory devices 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 or optical disk.
The power supply assembly 1506 provides power to the various components of the electronic device 1500. The power supply component 1506 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 1500.
The multimedia component 1508 comprises a screen between the electronic device 1500 and the target object that provides an output interface. 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 a target object. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation.
The audio component 1510 is configured to output and/or input audio signals. For example, the audio component 1510 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 1500 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 1504 or transmitted via the communication component 1516. In some embodiments, the audio component 1510 further comprises a speaker for outputting audio signals. In addition, the audio component 1510 may also be a headset as shown in fig. 1, where the processor MCU may implement the steps of the method described above.
The I/O interface 1512 provides an interface between the processing component 1502 and peripheral interface modules, which can be keyboards, click wheels, buttons, and the like.
The sensor assembly 1514 includes one or more sensors for providing status assessment of various aspects of the electronic device 1500. For example, the sensor assembly 1514 may detect an on/off state of the electronic device 1500, a relative positioning of the components, such as a display and keypad of the electronic device 1500, a change in position of the electronic device 1500 or one of the components, the sensor assembly 1514 may also detect the presence or absence of a target object in contact with the electronic device 1500, an orientation or acceleration/deceleration of the electronic device 1500, and a change in temperature of the electronic device 1500.
The communication component 1516 is configured to facilitate communication between the electronic device 1500 and other devices, either wired or wireless. The electronic device 1500 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1516 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 1516 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 1500 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 elements.
In an exemplary embodiment, there is also provided an earphone including:
a speaker for emitting sound waves;
A movable device disposed within a cavity of the earphone; the movable device is used for adjusting the size of the cavity;
echo receiving devices respectively arranged on the sound channels; the echo receiving device is used for acquiring an audio signal of the sound channel, and the audio signal comprises a first audio signal which is not reflected and a second audio signal which is reflected;
a processor electrically connected to the movable device and the echo receiving device, respectively; the processor is used for acquiring the audio grade corresponding to the ear where the earphone is positioned according to the audio signal, and adjusting the loudspeaker, or the movable device and the loudspeaker according to the audio grade, so that the audio grade acquired later is the target grade; the target grade is a grade that matches the ear.
It should be noted that the movable device may include a movable device and a power device, wherein the movable device is fixed on the power device. The power device may be a spring or a stepper motor. Taking a stepping motor as an example, the stepping motor can be electrically connected with a processor of the earphone, and the movable device is driven to move in a direction close to or far away from (when the earphone is worn) the eardrum according to a control signal of the processor.
In an exemplary embodiment, a non-transitory readable storage medium is also provided, such as memory 1504, including executable instructions executable by a processor within the audio component. The readable storage medium may be, among other things, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosed embodiments following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. A method of adjusting an audio parameter of a headset adapted to be worn to a user's ear, comprising:
acquiring an audio signal acquired by an echo receiving device in the earphone; the audio signal comprises a first audio signal which is not reflected and a second audio signal which is reflected;
acquiring amplitude differences and phase differences of the first audio signal and the second audio signal;
acquiring an audio grade corresponding to the ear where the earphone is positioned based on the amplitude difference and the phase difference;
when the audio grade is a grade outside a target grade, controlling a movable device in the earphone to move towards or away from eardrum based on the audio grade so as to change the size of a cavity structure of the earphone and adjust the frequency response characteristic of a loudspeaker in the earphone to adjust the audio parameter of the earphone until the audio grade acquired later becomes the target grade;
controlling a movable device within the headset to move toward or away from an eardrum based on the audio level to change a cavity structure size of the headset and adjust a frequency response characteristic of a speaker in the headset to adjust audio parameters of the headset until a later acquired audio level becomes a target level, comprising:
When the audio grade is a grade other than the target grade and is a first grade, controlling a movable device in the earphone to move towards or away from an eardrum based on the audio grade so as to change the size of a cavity structure of the earphone to adjust audio parameters of the earphone; and when the audio grade is still the first grade except the target grade, controlling the movable device in the earphone to move towards or away from the eardrum based on the audio grade so as to change the size of the cavity structure of the earphone, and continuously adjusting the audio parameters of the earphone until the audio grade acquired later becomes the second grade, and stopping adjusting the cavity structure of the earphone, wherein the movable device is positioned at the target position.
2. The method of claim 1, wherein obtaining the amplitude and phase differences of both the first audio signal and the second audio signal comprises:
acquiring an original waveform of the current playing audio data of the earphone;
extracting a first audio signal from the audio signal based on a pre-established relation between an original waveform and the first audio signal, and acquiring a difference waveform between an actual waveform of the audio signal and the original waveform, wherein the difference waveform is used as the second audio signal;
Acquiring amplitude differences and phase differences of the first audio signal and the second audio signal; the amplitude difference is used for representing the amplitude attenuation degree of the ear canal to the first audio signal, and the phase difference is used for representing the delay degree of the ear middle ear membrane depth to the first audio signal.
3. The method of claim 1, wherein the obtaining the audio level corresponding to the ear where the earphone is located based on the amplitude difference and the phase difference comprises:
acquiring a preset amplitude difference threshold value and a preset phase difference threshold value;
comparing the amplitude difference with the amplitude difference threshold value and the phase difference with the phase difference threshold value to respectively obtain a first comparison result and a second comparison result;
and obtaining the audio grade of the ear wearing the earphone according to the first comparison result and the second comparison result.
4. The method of claim 3, wherein obtaining an audio level of an ear wearing the headset based on the first comparison result and the second comparison result comprises:
determining that the audio level is a first level when the first comparison result indicates that the amplitude difference is greater than the amplitude difference threshold and the second comparison result indicates that the phase difference is greater than the phase difference threshold; or alternatively, the process may be performed,
Determining that the audio level is a second level when the first comparison result indicates that the amplitude difference is greater than the amplitude difference threshold and the second comparison result indicates that the phase difference is less than the phase difference threshold, or the first comparison result indicates that the amplitude difference is less than the amplitude difference threshold and the second comparison result indicates that the phase difference is greater than the phase difference threshold; or alternatively, the process may be performed,
and when the first comparison result indicates that the amplitude difference is smaller than the amplitude difference threshold value and the second comparison result indicates that the phase difference is smaller than the phase difference threshold value, determining that the audio grade is a third grade.
5. The method of claim 1, wherein adjusting the audio parameters of the headphones based on the audio level until the later acquired audio level becomes a target level comprises:
when the audio grade is the first grade, adjusting the cavity structure of the earphone until the audio grade acquired later changes from the first grade to the second grade;
and when the audio grade is the second grade, adjusting the frequency response characteristic of the loudspeaker in the earphone so as to carry out amplitude adjustment and frequency equalization on sound waves emitted by the loudspeaker until the audio grade acquired later is changed from the second grade to a third grade, wherein the third grade is the target grade.
6. The method of claim 5, wherein adjusting the cavity structure of the earphone comprises:
moving the movable device in the earphone to a target position increases or decreases the space of the cavity after the movable device reaches the target position.
7. The method of claim 1, wherein adjusting the audio parameters of the headphones based on the audio level until the later acquired audio level becomes a target level comprises:
acquiring a history user list using the earphone; the history user list comprises amplitude differences, phase differences, audio frequency grades and audio frequency parameters corresponding to target grades corresponding to ears;
acquiring a target grade and corresponding audio parameters according to the audio grade, the amplitude difference and the phase difference;
and adjusting the audio parameters of the earphone to the audio parameters corresponding to the target level so as to change the audio level acquired later into the target level.
8. The method of claim 1, wherein prior to obtaining the amplitude and phase differences of both the first and second audio signals, the method further comprises:
if the amplitude of the second audio signal is smaller than a preset amplitude threshold value, determining that the audio parameters of the earphone do not need to be adjusted; and if the amplitude of the second audio signal is larger than the preset amplitude threshold value, continuing to execute the step of acquiring the amplitude difference and the phase difference of the first audio signal and the second audio signal.
9. An apparatus for adjusting an audio parameter of a headset, comprising:
the audio signal acquisition module is used for acquiring the audio signals acquired by the echo receiving device in the earphone; the audio signal comprises a first audio signal which is not reflected and a second audio signal which is reflected;
the amplitude and phase difference acquisition module is used for acquiring amplitude differences and phase differences of the first audio signal and the second audio signal;
the audio grade obtaining module is used for obtaining the audio grade corresponding to the ear where the earphone is positioned based on the amplitude difference and the phase difference;
an audio parameter adjustment module, configured to adjust an audio parameter of the earphone by adjusting a movable device in the earphone to move toward or away from an eardrum to change a size of a cavity structure of the earphone and adjusting a frequency response characteristic of a speaker in the earphone based on the audio level when the audio level is a level other than a target level, until an audio level acquired later becomes the target level;
an audio parameter adjustment module adjusts audio parameters of the headset by adjusting a movable device within the headset to move toward or away from an eardrum to change a cavity structure size of the headset and adjusting frequency response characteristics of speakers in the headset based on the audio level when the audio level is a level other than a target level, until a later acquired audio level becomes the target level, comprising:
When the audio grade is a grade other than the target grade and is a first grade, controlling a movable device in the earphone to move towards or away from an eardrum based on the audio grade so as to change the size of a cavity structure of the earphone to adjust audio parameters of the earphone; and when the audio grade is still the first grade except the target grade, controlling the movable device in the earphone to move towards or away from the eardrum based on the audio grade so as to change the size of the cavity structure of the earphone, and continuously adjusting the audio parameters of the earphone until the audio grade acquired later becomes the second grade, and stopping adjusting the cavity structure of the earphone, wherein the movable device is positioned at the target position.
10. The apparatus of claim 9, wherein the amplitude phase difference acquisition module comprises:
the original waveform acquisition unit is used for acquiring an original waveform of the audio data currently played by the earphone;
an audio signal acquisition unit configured to extract a first audio signal from the audio signal based on a relationship between an original waveform and the first audio signal established in advance, and acquire a difference waveform between an actual waveform of the audio signal and the original waveform, as the second audio signal;
A phase difference acquisition unit configured to acquire a phase difference and a phase difference of the first audio signal and the second audio signal; the amplitude difference is used for representing the amplitude attenuation degree of the ear canal to the first audio signal, and the phase difference is used for representing the delay degree of the ear middle ear membrane depth to the first audio signal.
11. The apparatus of claim 9, wherein the audio level acquisition module comprises:
the amplitude-phase threshold value acquisition unit is used for acquiring a preset amplitude value difference threshold value and a preset phase difference threshold value;
the comparison result obtaining unit is used for comparing the amplitude difference with the amplitude difference threshold value and the phase difference with the phase difference threshold value to obtain a first comparison result and a second comparison result respectively;
and the audio grade determining unit is used for obtaining the audio grade of the ear wearing the earphone according to the first comparison result and the second comparison result.
12. The apparatus of claim 11, wherein the audio level determination unit comprises:
a first determining unit configured to determine that the audio level is a first level when the first comparison result indicates that the amplitude difference is greater than the amplitude difference threshold and the second comparison result indicates that the phase difference is greater than the phase difference threshold; or alternatively, the process may be performed,
A second determining unit configured to determine that the audio level is a second level when the first comparison result indicates that the amplitude difference is greater than the amplitude difference threshold and the second comparison result indicates that the phase difference is less than the phase difference threshold, or the first comparison result indicates that the amplitude difference is less than the amplitude difference threshold and the second comparison result indicates that the phase difference is greater than the phase difference threshold; or alternatively, the process may be performed,
and a third determining unit configured to determine that the audio level is a third level when the first comparison result indicates that the amplitude difference is smaller than the amplitude difference threshold and the second comparison result indicates that the phase difference is smaller than the phase difference threshold.
13. The apparatus of claim 9, wherein the audio parameter adjustment module comprises:
a cavity adjusting unit, configured to adjust a cavity structure of the earphone when the audio level is a first level, until the audio level acquired later changes from the first level to a second level;
and the parameter adjusting unit is used for adjusting the frequency response characteristic of the loudspeaker in the earphone when the audio grade is the second grade so as to carry out amplitude adjustment and frequency equalization on sound waves sent by the loudspeaker until the audio grade obtained later is changed from the second grade to a third grade, and the third grade is the target grade.
14. The apparatus of claim 13, wherein the cavity adjustment unit comprises:
and the moving subunit is used for moving the movable device in the earphone to a target position, and the space of the cavity is increased or decreased after the movable device reaches the target position.
15. The apparatus of claim 9, wherein the audio parameter adjustment module comprises:
a history list acquisition unit configured to acquire a history user list using the headphones; the history user list comprises amplitude differences, phase differences, audio frequency grades and audio frequency parameters corresponding to target grades corresponding to ears;
an audio parameter obtaining unit, configured to obtain a target level and a corresponding audio parameter according to the audio level, the amplitude difference, and the phase difference;
and the audio parameter adjusting unit is used for adjusting the audio parameters of the earphone to the audio parameters corresponding to the target grade so as to change the audio grade acquired later into the target grade.
16. The apparatus of claim 9, further comprising a detection module configured to determine that no adjustment of the audio parameters of the headphones is required when the amplitude of the second audio signal is less than a preset amplitude threshold, and send a trigger signal to the audio signal acquisition module; and when the amplitude of the second audio signal is larger than the preset amplitude threshold value, sending a trigger signal to the amplitude phase difference acquisition module.
17. An earphone, comprising:
a speaker for emitting sound waves;
a movable device disposed within a cavity of the earphone; the movable device is used for adjusting the size of the cavity;
echo receiving devices respectively arranged on the sound channels; the echo receiving device is used for acquiring an audio signal of the sound channel, and the audio signal comprises a first audio signal which is not reflected and a second audio signal which is reflected;
a processor electrically connected to the movable device and the echo receiving device, respectively;
the processor is configured to:
acquiring the first audio signal and the first audio signal acquired by the echo receiving device;
acquiring amplitude differences and phase differences of the first audio signal and the second audio signal;
acquiring an audio grade corresponding to the ear where the earphone is positioned based on the amplitude difference and the phase difference;
when the audio grade is a grade outside a target grade, controlling a movable device in the earphone to move towards or away from eardrum based on the audio grade so as to change the size of a cavity structure of the earphone and adjust the frequency response characteristic of a loudspeaker in the earphone to adjust the audio parameter of the earphone until the audio grade acquired later becomes the target grade;
Controlling a movable device within the headset to move toward or away from an eardrum based on the audio level to change a cavity structure size of the headset and adjust a frequency response characteristic of a speaker in the headset to adjust audio parameters of the headset until a later acquired audio level becomes a target level, comprising:
when the audio grade is a grade other than the target grade and is a first grade, controlling a movable device in the earphone to move towards or away from an eardrum based on the audio grade so as to change the size of a cavity structure of the earphone to adjust audio parameters of the earphone; and when the audio grade is still the first grade except the target grade, controlling the movable device in the earphone to move towards or away from the eardrum based on the audio grade so as to change the size of the cavity structure of the earphone, and continuously adjusting the audio parameters of the earphone until the audio grade acquired later becomes the second grade, and stopping adjusting the cavity structure of the earphone, wherein the movable device is positioned at the target position.
18. A readable storage medium having stored thereon executable instructions, which when executed by a processor, implement the steps of the method of any of claims 1 to 8.
CN202010017453.0A 2020-01-08 2020-01-08 Method and device for adjusting earphone audio parameters, earphone and storage medium Active CN113099336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010017453.0A CN113099336B (en) 2020-01-08 2020-01-08 Method and device for adjusting earphone audio parameters, earphone and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010017453.0A CN113099336B (en) 2020-01-08 2020-01-08 Method and device for adjusting earphone audio parameters, earphone and storage medium

Publications (2)

Publication Number Publication Date
CN113099336A CN113099336A (en) 2021-07-09
CN113099336B true CN113099336B (en) 2023-07-25

Family

ID=76663290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010017453.0A Active CN113099336B (en) 2020-01-08 2020-01-08 Method and device for adjusting earphone audio parameters, earphone and storage medium

Country Status (1)

Country Link
CN (1) CN113099336B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115731941A (en) * 2021-08-27 2023-03-03 脸萌有限公司 Audio signal separation method, apparatus, device, storage medium, and program
CN113709619A (en) * 2021-08-31 2021-11-26 Oppo广东移动通信有限公司 Audio processing method and device, user terminal and computer readable medium
CN114071220B (en) * 2021-11-04 2024-01-19 深圳Tcl新技术有限公司 Sound effect adjusting method and device, storage medium and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351625A (en) * 2019-07-12 2019-10-18 深圳市升弘创新科技有限公司 A kind of physics denoising device, method and application based on gas bleeder valve

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2012384922B2 (en) * 2012-07-13 2015-11-12 Razer (Asia-Pacific) Pte. Ltd. An audio signal output device and method of processing an audio signal
CN104661153B (en) * 2014-12-31 2018-02-02 歌尔股份有限公司 A kind of compensation method of earphone audio, device and earphone
KR102369589B1 (en) * 2015-08-31 2022-03-03 엘지전자 주식회사 Earset, earset system and controlling method thereof
CN108430003B (en) * 2018-03-30 2020-01-14 Oppo广东移动通信有限公司 Sound effect compensation method and device, readable storage medium and terminal
CN108540900B (en) * 2018-03-30 2021-03-12 Oppo广东移动通信有限公司 Volume adjusting method and related product
CN108551631A (en) * 2018-04-28 2018-09-18 维沃移动通信有限公司 A kind of sound quality compensation method and mobile terminal
CN113709613A (en) * 2019-07-10 2021-11-26 Oppo广东移动通信有限公司 Volume adjusting method and device and computer readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351625A (en) * 2019-07-12 2019-10-18 深圳市升弘创新科技有限公司 A kind of physics denoising device, method and application based on gas bleeder valve

Also Published As

Publication number Publication date
CN113099336A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
US10129647B2 (en) Wireless sound equipment
EP4125279A1 (en) Fitting method and apparatus for hearing earphone
CN113099336B (en) Method and device for adjusting earphone audio parameters, earphone and storage medium
US8582789B2 (en) Hearing enhancement systems
US10893352B2 (en) Programmable interactive stereo headphones with tap functionality and network connectivity
CN106454644B (en) Audio playing method and device
CN107493500B (en) Multimedia resource playing method and device
CN108540900B (en) Volume adjusting method and related product
EP2138009A1 (en) Dynamic volume adjusting and band-shifting to compensate for hearing loss
US10121491B2 (en) Intelligent volume control interface
EP1385324A1 (en) A system and method for reducing the effect of background noise
US11877122B2 (en) Hearing aid with wireless transmission function
CN113824838B (en) Sounding control method and device, electronic equipment and storage medium
TWI630828B (en) Personalized system of smart headphone device for user-oriented conversation and use method thereof
CN115714944A (en) Audio processing method and device, earphone and storage medium
CN113099334B (en) Configuration parameter determining method and device and earphone
CN115038009A (en) Audio control method, wearable device and electronic device
CN113495713B (en) Method and device for adjusting earphone audio parameters, earphone and storage medium
CN113099335A (en) Method and device for adjusting audio parameters of earphone, electronic equipment and earphone
CN109218875B (en) Intelligent earphone device personalization system with directional conversation function and use method
CN113099358A (en) Method and device for adjusting audio parameters of earphone, earphone and storage medium
CN116266896A (en) Method and device for processing audio of earphone, electronic equipment and storage medium
WO2012144887A1 (en) Voice immersion smartphone application or headset for reduction of mobile annoyance
EP3941090A1 (en) Method for adjusting a hear-through mode of a hearing device
KR100810702B1 (en) Method and apparatus for automatic volume control, and mobile communication terminal using the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant