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

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

Info

Publication number
CN113099336A
CN113099336A CN202010017453.0A CN202010017453A CN113099336A CN 113099336 A CN113099336 A CN 113099336A CN 202010017453 A CN202010017453 A CN 202010017453A CN 113099336 A CN113099336 A CN 113099336A
Authority
CN
China
Prior art keywords
audio
level
audio signal
amplitude
phase difference
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.)
Granted
Application number
CN202010017453.0A
Other languages
Chinese (zh)
Other versions
CN113099336B (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

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Headphones And Earphones (AREA)

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 an earphone; the audio signals comprise a first audio signal which is not reflected and a second audio signal which is reflected; acquiring an amplitude difference and a phase difference of the first audio signal and the second audio signal; acquiring an audio grade corresponding to the ear where the earphone is located based on the amplitude difference and the phase difference; and when the audio level is a level other than the target level, adjusting the audio parameters of the earphone based on the audio level until the audio level acquired later becomes the target level. In this embodiment, through the audio frequency parameter of adjustment earphone, can make the amplitude and the phase place and the ear phase-match of the sound wave that this earphone sent, reach the same audio frequency and have the same effect of listening to different users, can promote user experience.

Description

Method and device for adjusting audio parameters of earphone, earphone and storage medium
Technical Field
The present disclosure relates to the field of audio technologies, and in particular, to a method and an apparatus for adjusting an audio parameter of an earphone, and a storage medium.
Background
Currently, many users prefer to wear earphones in public places or during sports, and listen to music or talk using the earphones. 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 and has different hearing perceptions for the same audio, e.g., some users sound just, some users feel louder, and some users feel louder, thus reducing the user experience.
Disclosure of Invention
The present disclosure provides a method and apparatus for adjusting audio parameters of a headset, and a storage medium, so as to solve the deficiencies of the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for adjusting headphone audio parameters, including:
acquiring an audio signal acquired by an echo receiving device in an earphone; the audio signals comprise a first audio signal which is not reflected and a second audio signal which is reflected;
acquiring an amplitude difference and a phase difference of the first audio signal and the second audio signal;
acquiring an audio grade corresponding to the ear where the earphone is located based on the amplitude difference and the phase difference;
and when the audio level is a level other than the target level, adjusting the audio parameters of the earphone based on the audio level until the audio level acquired later becomes the target level.
Optionally, the amplitude-phase difference obtaining module includes:
the original waveform acquisition unit is used for acquiring an original waveform of the currently played audio data of the earphone;
an audio signal obtaining 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, which is established in advance, obtain a difference waveform between an actual waveform of the audio signal and the original waveform, and use the difference waveform as the second audio signal;
an amplitude-phase difference acquisition unit configured to acquire an amplitude difference and a phase difference between the first audio signal and the second audio signal; the amplitude difference is used for representing the amplitude attenuation degree of the ear auditory canal to the first audio signal, and the phase difference is used for representing the time delay degree of the ear middle eardrum 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 level of the ear wearing the earphone according to the first comparison result and the second comparison result.
Optionally, obtaining an audio level of an ear wearing the headset according to the first comparison result and the second comparison result comprises:
determining the audio level as 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; alternatively, the first and second electrodes may be,
determining the audio level as a second level when the first comparison result indicates that the magnitude difference is greater than the magnitude 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 magnitude difference is less than the magnitude difference threshold and the second comparison result indicates that the phase difference is greater than the phase difference threshold; alternatively, the first and second electrodes may be,
determining the audio level as 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 parameter of the headset based on the audio level until the audio level acquired later becomes a target level, including:
when the audio level is a first level, adjusting the cavity structure of the earphone until the audio level acquired later is changed from the first level to a second level;
and when the audio level is a second level, adjusting the frequency response characteristic of a loudspeaker in the earphone so as to perform amplitude adjustment and frequency equalization on the sound wave emitted by the loudspeaker until the acquired audio level is changed from the second level to a third level, wherein the third level is a target level.
Optionally, adjusting the cavity structure of the earphone comprises:
moving a movable element within the earpiece to a target position that increases or decreases the volume of the cavity.
Optionally, adjusting the audio parameter of the headset based on the audio level until the audio level acquired later becomes a target level, including:
acquiring a historical user list using the earphone; the historical user list comprises amplitude difference, phase difference, audio level and audio parameters corresponding to a target level corresponding to ears;
acquiring a target grade and a corresponding audio parameter 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 that the audio level acquired later becomes the target level.
Optionally, before obtaining 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 parameter of the earphone does not need to be adjusted; and if the amplitude of the second audio signal is greater than the preset amplitude threshold, continuing to execute the step of obtaining the amplitude difference and the phase difference between the first audio signal and the second audio signal.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for adjusting headphone audio parameters, including:
the audio signal acquisition module is used for acquiring an audio signal acquired by an echo receiving device in the earphone; the audio signals comprise a first audio signal which is not reflected and a second audio signal which is reflected;
an amplitude and phase difference obtaining module, configured to obtain an amplitude difference and a phase difference between the first audio signal and the second audio signal;
the audio grade acquisition module is used for acquiring the audio grade corresponding to the ear where the earphone is located based on the amplitude difference and the phase difference;
and the audio parameter adjusting 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, obtaining an amplitude difference and a phase difference of both the first audio signal and the second audio signal comprises:
acquiring an original waveform of audio data currently played by the earphone;
extracting a first audio signal from the audio signal based on a relationship between an original waveform and the first audio signal, which is established in advance, obtaining a difference waveform between an actual waveform of the audio signal and the original waveform, and taking the difference waveform as a second audio signal;
acquiring an amplitude 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 auditory canal to the first audio signal, and the phase difference is used for representing the time delay degree of the ear middle eardrum depth to the first audio signal.
Optionally, the audio level obtaining module includes:
the amplitude and phase threshold value acquisition unit is used for acquiring a preset amplitude difference threshold value and a preset phase difference threshold value;
a comparison result obtaining unit, 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, configured to obtain an audio level of an ear wearing the headset according to the first comparison result and the second comparison result.
Optionally, the audio level determination 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; alternatively, the first and second electrodes may be,
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; alternatively, the first and second electrodes may be,
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 adjusting module includes:
the cavity adjusting unit is used for adjusting the cavity structure of the earphone when the audio frequency grade is a first grade until the audio frequency grade acquired later is changed from the first grade to a second grade;
and the parameter adjusting unit is used for adjusting the frequency response characteristic of the loudspeaker in the earphone when the audio level is a second level so as to perform amplitude adjustment and frequency equalization on the sound wave emitted by the loudspeaker until the acquired audio level is changed from the second level to a third level, wherein the third level is a target level.
Optionally, the cavity adjusting 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 can be increased or reduced after the movable device is moved to the target position.
Optionally, the audio parameter adjusting module includes:
a history list acquisition unit for acquiring a history user list using the headset; the historical user list comprises amplitude difference, phase difference, audio level and audio parameters corresponding to a target level corresponding to ears;
the audio parameter acquisition unit is used for acquiring a target grade and a corresponding audio parameter according to the audio grade, 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 level so as to change the acquired audio level into the target level.
Optionally, the apparatus further includes a detection module, where the detection module is configured to determine that an audio parameter of the headset 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 greater 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 a headset comprising:
a speaker for emitting sound waves;
a movable device disposed within a cavity of the earpiece; the movable device is used for adjusting the size of the cavity;
echo receiving devices respectively arranged at each sound channel; the echo receiving device is used for acquiring an audio signal of a channel, wherein 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 an audio grade corresponding to the ear where the earphone is located according to the audio signal, and adjusting the loudspeaker or the movable device and the loudspeaker according to the audio grade so as to enable the audio grade acquired later to be a target grade; the target rating is a rating matching 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 that, when executed by a processor, implement the steps of the method of any one of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the embodiment, the audio signal collected by the echo receiving device in the earphone is obtained; the audio signals comprise a first audio signal which is not reflected and a second audio signal which is reflected; then, obtaining an amplitude difference and a phase difference of the first audio signal and the second audio signal; then, acquiring the audio grade corresponding to the ear where the earphone is located based on the amplitude difference and the phase difference; and finally, when the audio level is a level other than the target level, adjusting the audio parameters of the earphone based on the audio level until the audio level acquired later becomes the target level. Like this, through the audio parameter of adjustment earphone in this embodiment, can make the amplitude and the phase place of the sound wave that this earphone sent and user ear phase-match, reach the audio frequency grade and the target level assorted effect of user ear, the same audio frequency has the same effect of listening to different users promptly, can promote user experience.
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 present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a diagram illustrating an application scenario in accordance with an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method of adjusting headphone audio parameters according to an exemplary embodiment.
FIG. 3 is a flow chart illustrating obtaining an amplitude difference and a phase difference according to an example embodiment.
FIG. 4 is a flow diagram illustrating obtaining audio levels according to an example embodiment.
FIG. 5 is a flow chart illustrating an audio adjustment according to an example embodiment.
FIG. 6 is a flow chart illustrating another audio adjustment according to an example embodiment.
Fig. 7 is a structural diagram illustrating a headset according to an exemplary embodiment.
FIG. 8 is a flow diagram illustrating adjusting audio parameters according to an example 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 illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of devices consistent with certain aspects of the present disclosure as recited in the claims below.
Currently, many users prefer to wear earphones in public places or during sports, and listen to music or talk using the earphones. 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 and has different hearing perceptions for the same audio, e.g., some users sound just, some users feel louder, and some users feel louder, thus reducing the user experience.
In order to solve the above technical problem, the present disclosure provides a method for adjusting an audio parameter of an earphone, referring to fig. 1, the inventive concept is that by providing an echo receiving device 12 on an earphone 10, a sound wave 111 emitted by a speaker 11 in the earphone and a sound wave 112 reflected by an ear canal and/or an eardrum can be received by the echo receiving device 12, 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 signal and acquire an amplitude difference and a phase difference of the first audio signal and the second audio signal; and determining the audio level corresponding to the ear where the earphone is located 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 thereafter is adjusted to a target level. In other words, the audio parameters of the earphone are adapted to the ear structure of the user, 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 sound wave signal, with continued reference to fig. 1, in the present embodiment, the echo receiving device 12 may be disposed on the side of the earphone 10 emitting the sound wave, so as to better receive the unreflected sound wave and the reflected sound wave. Wherein 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, which the technician can select according to the specific scenario, and is not limited herein.
The method for adjusting the audio parameters of the earphone provided in this embodiment is further described below with reference to an embodiment.
Fig. 2 is a flowchart illustrating a method for adjusting headphone audio parameters according to an exemplary embodiment, and referring to fig. 2, a method for adjusting headphone audio parameters includes steps 201 to 204, where:
in step 201, acquiring an audio signal collected by an echo receiving device in an earphone; the audio signals include a first audio signal that is not reflected and a second audio signal that is reflected.
In this embodiment, with 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 loudspeaker emits sound waves, and the sound wave signals radiate to the surroundings: a part of the sound wave will directly enter an echo receiving device (such as a microphone) in the earphone, i.e. the sound wave signal which is not reflected; a part of the sound wave will propagate to the ear canal and eardrum, and enter the echo receiving device after being reflected, i.e. the reflected sound wave signal. The echo receiving device converts mechanical energy and electric energy of the received sound wave signal to obtain an audio signal in the form of an electric signal. It will be appreciated that the converted audio signal may comprise a first audio signal that is not reflected and a second audio signal that is reflected.
In step 202, an amplitude 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 figure) in the earphone 10 may be electrically connected to the echo receiving device 12, so as to acquire 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 and the second audio signal. Referring to fig. 3, the processor may obtain an original waveform of audio data currently being played by the headphone (corresponding to step 301). Considering that there may be some attenuation from the original waveform to the first audio signal, the relationship between the original waveform and the waveform of the first audio signal may be established in advance, so as to obtain the attenuation amplitude and the delay of the original waveform, so that the processor may extract the first audio signal from the audio signal under the condition that the original waveform is known. 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 a waveform of the second audio signal, so as to obtain the second audio signal (corresponding to step 303).
It should be noted that, other related technologies may also be referred to in the processing procedure of the audio signal, and in the case that the first audio signal and the second audio signal can be separated, the corresponding scheme falls within the protection scope of the present disclosure.
With continued reference to fig. 3, the processor may obtain the amplitude difference and the phase difference of 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 time delay degree of the eardrum depth 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, it indicates that the echo receiving device does not receive the reflected sound wave, and at this time, it is determined that the audio parameter of the earphone is not required 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 the audio parameter adjustment is carried out after the user wears the earphone, so that the calculation 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, referring to fig. 4, the processor may obtain a preset amplitude difference threshold and a preset phase difference threshold (corresponding to step 401). The amplitude difference threshold and the phase difference threshold can be obtained by 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, it is also possible to use a large number of tests to determine how much the ear can sense the deterioration of the receiving effect when the amplitude difference and/or the amount of change in the phase difference are/is, and to use the amplitude difference and the phase difference corresponding to the variation in the receiving effect just sensed as the amplitude difference threshold and the phase difference threshold, respectively. Technicians can set an amplitude difference threshold and a 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 amplitude difference to an amplitude difference threshold and a phase difference to a phase difference threshold to obtain a first comparison result and a second comparison result, respectively (corresponding to step 402). Wherein the first comparison result comprises that the amplitude difference is greater 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 according to 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 level as a first level.
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 smaller than the phase difference threshold value, determining the audio level as a second level.
And determining the audio level as a second 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 larger than the phase difference threshold.
And determining the audio level as 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.
It should be noted that, the above embodiment only illustrates a case where there are 3 audio levels, and a technician may increase corresponding levels according to a specific scene, 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 levels may be increased to 9. The corresponding solutions fall within the scope of protection of the present disclosure.
In step 204, when the audio level is a level other than the target level, the 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 a 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 parameter 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 a first level, the cavity structure of the earphone is adjusted until the audio level acquired later changes from the first level to a second level (corresponding to step 501). For example, when the audio level is the first level, the processor adjusts the cavity structure of the earphone in a manner that the processor sends a control signal to the movable device, the movable device moves according to a preset length, and then the steps 201 to 203 are repeated to obtain the audio level obtained later. And if the acquired audio level is still the first level, continuing to adjust the audio parameters until the acquired audio level is changed into the second level, and stopping adjusting the cavity structure of the earphone, wherein the movable device is positioned at the target position.
It should be noted that 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 an ear which is not sensitive to the high-frequency component in the sound wave, for example, a scene of short ear canal caused by shallow eardrum. When the movable device moves away from the eardrum, the cavity structure of the earphone is enlarged, the low-frequency effect of the output sound wave is improved, and the earphone is suitable for the ear which is insensitive to low-frequency components in the sound wave, such as a scene with a long auditory canal caused by the depth of the 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 speaker in the headset to perform amplitude adjustment and frequency equalization on the sound waves emitted by the speaker until the acquired audio level changes from the second level to a third level, which is the target level (corresponding to step 502). For example, when the audio level is the second level, the processor adjusts the audio parameters of the headphones in the manner of eq (equal) and drc (dynamic Range control), and then repeats steps 201 to 203 to obtain the audio level obtained later. And if the audio level acquired later is still the second level, continuing to adjust the audio parameters until the audio level acquired later becomes the third level, 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 execute 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.
Considering the case where a plurality of users share one headphone, a historical user list may be stored in the headphone, and the historical user list may include audio parameters corresponding to the amplitude difference, the phase difference, the audio level, and the target level corresponding to the ear. 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). Then, the processor may obtain an audio parameter corresponding to the target level according to the audio level, the amplitude difference, the phase difference, and the audio level (corresponding to step 602). Then, the processor may adjust the audio parameter of the headphone to the audio parameter corresponding to the target level, so that the audio level obtained later becomes the target level (corresponding to step 603). Therefore, the user who uses the earphone can be identified in the embodiment, the target level can be achieved through one-time adjustment, the adjusting time can be shortened, and the user experience is improved.
To this end, in the embodiment of the present disclosure, an audio signal collected by an echo receiving device in an earphone is obtained; the audio signals comprise a first audio signal which is not reflected and a second audio signal which is reflected; then, obtaining an amplitude difference and a phase difference of the first audio signal and the second audio signal; then, acquiring the audio grade corresponding to the ear where the earphone is located based on the amplitude difference and the phase difference; and finally, when the audio level is a level other than the target level, adjusting the audio parameters of the earphone based on the audio level until the audio level acquired later becomes the target level. Like this, through the audio frequency parameter of adjustment earphone in this embodiment, can make the amplitude and the phase place and the ear phase-match of the sound wave that this earphone sent, reach the audio frequency grade and the effect of target grade assorted of ear, the same audio frequency has the same effect of listening to different users promptly, can promote user experience. 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 and right channels, taking the left channel as an example:
1, when a user pairs the earphones, a processor MCU in the earphones controls a left sound channel in the earphones to emit sound waves.
2, the sound wave emitted by the left sound channel meets the auditory canal and the eardrum and then is reflected by the surface.
The MIC of the left channel receives the acoustic surface emission signal 1 reflected back from the ear canal and the acoustic signal 2 directly transmitted from the speaker to the MIC, and converts the acoustic signal 1, the acoustic signal 2 into an electrical signal 1 (i.e., a second audio signal) and an electrical signal 2 (i.e., a first audio signal).
And 4, receiving the electric signal 1 and the electric signal 2 output by the MIC on the left sound channel by the MCU, and acquiring the amplitude difference and the phase difference of the electric signal 1 and the telecommunication signal 2 by the MCU so as to confirm the length of the auditory canal, the position of the eardrum and the audio level (A, B and C).
And 5, if the audio level is A, first-level regulation 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, namely, the EQ and DRC are regulated. The process of 1-4 is repeated until the adjustment level is C.
In steps 5 and 6, the adjustment targets are: the emitted sound waves are reflected by the auditory meatus and the eardrum in the ear 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 and DRC until the waveform reaches the expectation.
7. If the audio level is C, the frequency response is matched with the user, and the regulation and control are completed.
The embodiment of the present disclosure also provides an apparatus for adjusting audio parameters of a headphone, and fig. 9 is a block diagram illustrating an apparatus for adjusting audio parameters of a headphone according to an exemplary embodiment. Referring to fig. 9, an apparatus for adjusting an audio parameter of a headphone includes:
an audio signal acquiring module 901, configured to acquire an audio signal acquired by an echo receiving device in an earphone; the audio signals comprise a first audio signal which is not reflected and a second audio signal which is reflected;
an amplitude-phase difference obtaining module 902, configured to obtain an amplitude difference and a phase difference between the first audio signal and the second audio signal;
an audio level obtaining module 903, configured to obtain an audio level corresponding to an ear where the earphone is located based on the amplitude difference and the phase difference;
an audio parameter adjusting module 904, configured to, when the audio level is a level other than the target level, adjust an audio parameter of the headset based on the audio level until the audio level acquired later becomes the target level.
In one embodiment, referring to fig. 10, the magnitude-phase difference obtaining 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, which is established in advance, and obtain a difference waveform between an actual waveform of the audio signal and the original waveform, where the difference waveform is used as the second audio signal;
an amplitude-phase difference obtaining unit 1003 configured to obtain an amplitude difference and a phase difference between the first audio signal and the second audio signal; the amplitude difference is used for representing the amplitude attenuation degree of the ear auditory canal to the first audio signal, and the phase difference is used for representing the time delay degree of the ear middle eardrum depth to the first audio signal.
In one embodiment, referring to fig. 11, the audio level obtaining module 903 comprises:
an amplitude-phase 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, configured to obtain an audio level of an ear wearing the headset 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; alternatively, the first and second electrodes may be,
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; alternatively, the first and second electrodes may be,
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 comprises:
the cavity adjusting unit 1301 is configured to adjust the cavity structure of the earphone when the audio level is a first level until the audio level obtained later changes from the first level to a second level;
a parameter adjusting unit 1302, configured to, when the audio level is a second level, adjust a frequency response characteristic of a speaker in the headset, so as to perform amplitude adjustment and frequency equalization on a sound wave emitted by the speaker until an audio level obtained later changes from the second level to a third level, where the third level is a target level.
In an embodiment, the cavity adjusting 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 can be increased or reduced after the movable device is moved to the target position.
In one embodiment, referring to fig. 14, the audio parameter adjustment module 904 comprises:
a history list acquisition unit 1401 for acquiring a history user list using the headphones; the historical user list comprises amplitude difference, phase difference, audio level and audio parameters corresponding to a target level 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, configured to adjust the audio parameter of the headset to an audio parameter corresponding to the target level, so that the audio level obtained later becomes the target level.
In an embodiment, the apparatus further includes a detection module, where the detection module is configured to determine that an audio parameter of the headset 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 greater 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 embodiment of the present disclosure corresponds to the content of the above method embodiments, and specific content may refer to the content of each method embodiment, which is not described herein again.
To this end, in the embodiment of the present disclosure, an audio signal collected by an echo receiving device in an earphone is obtained; the audio signals comprise a first audio signal which is not reflected and a second audio signal which is reflected; then, obtaining an amplitude difference and a phase difference of the first audio signal and the second audio signal; then, acquiring the audio grade corresponding to the ear where the earphone is located based on the amplitude difference and the phase difference; and finally, when the audio level is a level other than the target level, adjusting the audio parameters of the earphone based on the audio level until the audio level acquired later becomes the target level. Like this, through the audio frequency parameter of adjustment earphone in this embodiment, can make the amplitude and the phase place and the ear phase-match of the sound wave that this earphone sent, reach the audio frequency grade and the effect of target grade assorted of ear, the same audio frequency has the same effect of listening to different users promptly, can promote user experience.
FIG. 15 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the electronic device 1500 may be a smart phone, a computer, a digital broadcast terminal, a tablet device, a medical device, a fitness device, a personal digital assistant, etc., that includes a transmitting coil, a first magnetic sensor, and a second magnetic sensor in a device that adjusts audio parameters of an earpiece.
Referring to fig. 15, electronic device 1500 may include one or more of the following components: processing component 1502, memory 1504, power component 1506, multimedia component 1508, audio component 1510, input/output (I/O) interface 1512, sensor component 1514, communication component 1516, and image capture component 1518.
The processing component 1502 generally provides for overall operation of the electronic device 1500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing components 1502 may include one or more processors 1520 to execute instructions. Further, processing component 1502 may include one or more modules that facilitate interaction between processing component 1502 and other components. For example, processing component 1502 may include a multimedia module to facilitate interaction between multimedia component 1508 and 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 the 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 non-volatile 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 disks.
The power supply component 1506 provides power to the various components of the electronic device 1500. The power components 1506 may 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 includes a screen providing an output interface between the electronic device 1500 and the target object. 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 an input signal from a target object. 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 boundary of a touch or slide action, but also detect 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 further be stored in the memory 1504 or transmitted via the communication component 1516. In some embodiments, audio component 1510 also includes a speaker for outputting audio signals. In addition, the audio component 1510 may also be a headset as shown in fig. 1, and the processor MCU within the headset may implement the steps of the above-described method.
The I/O interface 1512 provides an interface between the processing component 1502 and peripheral interface modules, which can be keyboards, click wheels, buttons, etc.
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 component 1514 can detect an open/closed state of the electronic device 1500, the relative positioning of components, such as a display screen and keypad of the electronic device 1500, the sensor component 1514 can also detect a change in position of the electronic device 1500 or a component, the presence or absence of a target object in contact with the electronic device 1500, 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 wired or wireless communication between the electronic device 1500 and other devices. 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 an exemplary embodiment, the communication component 1516 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an 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, micro-controllers, microprocessors, or other electronic components.
In an exemplary embodiment, there is also provided a headset, including:
a speaker for emitting sound waves;
a movable device disposed within a cavity of the earpiece; the movable device is used for adjusting the size of the cavity;
echo receiving devices respectively arranged at each sound channel; the echo receiving device is used for acquiring an audio signal of a channel, wherein 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 an audio grade corresponding to the ear where the earphone is located according to the audio signal, and adjusting the loudspeaker or the movable device and the loudspeaker according to the audio grade so as to enable the audio grade acquired later to be a target grade; the target rating is a rating matching 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 means may be a spring or a stepper motor. Taking a stepping motor as an example, the stepping motor may be electrically connected to a processor of the earphone, and drive the movable device to move closer to or away from (when wearing the earphone) the eardrum direction according to a control signal of the processor.
In an exemplary embodiment, a non-transitory readable storage medium including executable instructions, such as memory 1504 including instructions, that are executable by a processor within an audio component is also provided. The readable storage medium may be, among others, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosed solution 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 will be understood that the present disclosure is not limited to the precise arrangements 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 (18)

1. A method of adjusting audio parameters of a headset adapted to be worn to an ear of a user, comprising:
acquiring an audio signal acquired by an echo receiving device in the earphone; the audio signals comprise a first audio signal which is not reflected and a second audio signal which is reflected;
acquiring an amplitude difference and a phase difference of the first audio signal and the second audio signal;
acquiring an audio grade corresponding to the ear where the earphone is located based on the amplitude difference and the phase difference;
and when the audio level is a level other than the target level, adjusting the audio parameters of the earphone based on the audio level until the audio level acquired later becomes the target level.
2. The method of claim 1, wherein obtaining an amplitude difference and a phase difference for both the first audio signal and the second audio signal comprises:
acquiring an original waveform of audio data currently played by the earphone;
extracting a first audio signal from the audio signal based on a relationship between an original waveform and the first audio signal, which is established in advance, obtaining a difference waveform between an actual waveform of the audio signal and the original waveform, and taking the difference waveform as a second audio signal;
acquiring an amplitude 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 auditory canal to the first audio signal, and the phase difference is used for representing the time delay degree of the ear middle eardrum depth to the first audio signal.
3. The method of claim 1, wherein obtaining the audio level corresponding to the ear in which 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 level 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 from the first comparison result and the second comparison result comprises:
determining the audio level as 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; alternatively, the first and second electrodes may be,
determining the audio level as a second level when the first comparison result indicates that the magnitude difference is greater than the magnitude 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 magnitude difference is less than the magnitude difference threshold and the second comparison result indicates that the phase difference is greater than the phase difference threshold; alternatively, the first and second electrodes may be,
determining the audio level as 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.
5. The method of claim 1, wherein adjusting audio parameters of the headset based on the audio level until a later obtained audio level becomes a target level comprises:
when the audio level is a first level, adjusting the cavity structure of the earphone until the audio level acquired later is changed from the first level to a second level;
and when the audio level is a second level, adjusting the frequency response characteristic of a loudspeaker in the earphone so as to perform amplitude adjustment and frequency equalization on the sound wave emitted by the loudspeaker until the acquired audio level is changed from the second level to a third level, wherein the third level is a target level.
6. The method of claim 5, wherein adjusting the cavity structure of the earpiece comprises:
moving a movable element within the earpiece to a target position that increases or decreases the volume of the cavity.
7. The method of claim 1, wherein adjusting audio parameters of the headset based on the audio level until a later obtained audio level becomes a target level comprises:
acquiring a historical user list using the earphone; the historical user list comprises amplitude difference, phase difference, audio level and audio parameters corresponding to a target level corresponding to ears;
acquiring a target grade and a corresponding audio parameter 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 that the audio level acquired later becomes the target level.
8. The method of claim 1, wherein before obtaining 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 parameter of the earphone does not need to be adjusted; and if the amplitude of the second audio signal is greater than the preset amplitude threshold, continuing to execute the step of obtaining the amplitude difference and the phase difference between the first audio signal and the second audio signal.
9. An apparatus for adjusting audio parameters of headphones, comprising:
the audio signal acquisition module is used for acquiring an audio signal acquired by an echo receiving device in the earphone; the audio signals comprise a first audio signal which is not reflected and a second audio signal which is reflected;
an amplitude and phase difference obtaining module, configured to obtain an amplitude difference and a phase difference between the first audio signal and the second audio signal;
the audio grade acquisition module is used for acquiring the audio grade corresponding to the ear where the earphone is located based on the amplitude difference and the phase difference;
and the audio parameter adjusting 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.
10. The apparatus of claim 9, wherein the amplitude difference obtaining module comprises:
the original waveform acquisition unit is used for acquiring an original waveform of the currently played audio data of the earphone;
an audio signal obtaining 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, which is established in advance, obtain a difference waveform between an actual waveform of the audio signal and the original waveform, and use the difference waveform as the second audio signal;
an amplitude-phase difference acquisition unit configured to acquire an amplitude difference and a phase difference between the first audio signal and the second audio signal; the amplitude difference is used for representing the amplitude attenuation degree of the ear auditory canal to the first audio signal, and the phase difference is used for representing the time delay degree of the ear middle eardrum depth to the first audio signal.
11. The apparatus of claim 9, wherein the audio level obtaining module comprises:
the amplitude and phase threshold value acquisition unit is used for acquiring a preset amplitude difference threshold value and a preset phase difference threshold value;
a comparison result obtaining unit, 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, configured to obtain an audio level of an ear wearing the headset 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; alternatively, the first and second electrodes may be,
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; alternatively, the first and second electrodes may be,
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:
the cavity adjusting unit is used for adjusting the cavity structure of the earphone when the audio frequency grade is a first grade until the audio frequency grade acquired later is changed from the first grade to a second grade;
and the parameter adjusting unit is used for adjusting the frequency response characteristic of the loudspeaker in the earphone when the audio level is a second level so as to perform amplitude adjustment and frequency equalization on the sound wave emitted by the loudspeaker until the acquired audio level is changed from the second level to a third level, wherein the third level is a target level.
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 can be increased or reduced after the movable device is moved to the target position.
15. The apparatus of claim 9, wherein the audio parameter adjustment module comprises:
a history list acquisition unit for acquiring a history user list using the headset; the historical user list comprises amplitude difference, phase difference, audio level and audio parameters corresponding to a target level corresponding to ears;
the audio parameter acquisition unit is used for acquiring a target grade and a corresponding audio parameter according to the audio grade, 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 level so as to change the acquired audio level into the target level.
16. The apparatus according to claim 9, further comprising a detection module, configured to determine that the audio parameter of the headphone 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 greater 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 earpiece; the movable device is used for adjusting the size of the cavity;
echo receiving devices respectively arranged at each sound channel; the echo receiving device is used for acquiring an audio signal of a channel, wherein 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 an audio grade corresponding to the ear where the earphone is located according to the audio signal, and adjusting the loudspeaker or the movable device and the loudspeaker according to the audio grade so as to enable the audio grade acquired later to be a target grade; the target rating is a rating matching the ear.
18. A readable storage medium having stored thereon executable instructions, wherein the executable instructions when executed by a processor implement the steps of the method of any one 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 true CN113099336A (en) 2021-07-09
CN113099336B 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)

Cited By (3)

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

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104429096A (en) * 2012-07-13 2015-03-18 雷蛇(亚太)私人有限公司 An audio signal output device and method of processing an audio signal
CN104661153A (en) * 2014-12-31 2015-05-27 歌尔声学股份有限公司 Earphone sound effect compensation method and device as well as earphone
KR20170025840A (en) * 2015-08-31 2017-03-08 엘지전자 주식회사 Earset, earset system and controlling method thereof
CN108430003A (en) * 2018-03-30 2018-08-21 广东欧珀移动通信有限公司 Audio compensation method and device, readable storage medium storing program for executing, terminal
CN108540900A (en) * 2018-03-30 2018-09-14 广东欧珀移动通信有限公司 Volume adjusting method and related product
CN108551631A (en) * 2018-04-28 2018-09-18 维沃移动通信有限公司 A kind of sound quality compensation method and mobile terminal
CN110351625A (en) * 2019-07-12 2019-10-18 深圳市升弘创新科技有限公司 A kind of physics denoising device, method and application based on gas bleeder valve
CN110418232A (en) * 2019-07-10 2019-11-05 Oppo广东移动通信有限公司 A kind of volume adjusting method and device, computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104429096A (en) * 2012-07-13 2015-03-18 雷蛇(亚太)私人有限公司 An audio signal output device and method of processing an audio signal
CN104661153A (en) * 2014-12-31 2015-05-27 歌尔声学股份有限公司 Earphone sound effect compensation method and device as well as earphone
KR20170025840A (en) * 2015-08-31 2017-03-08 엘지전자 주식회사 Earset, earset system and controlling method thereof
CN108430003A (en) * 2018-03-30 2018-08-21 广东欧珀移动通信有限公司 Audio compensation method and device, readable storage medium storing program for executing, terminal
CN108540900A (en) * 2018-03-30 2018-09-14 广东欧珀移动通信有限公司 Volume adjusting method and related product
CN108551631A (en) * 2018-04-28 2018-09-18 维沃移动通信有限公司 A kind of sound quality compensation method and mobile terminal
CN110418232A (en) * 2019-07-10 2019-11-05 Oppo广东移动通信有限公司 A kind of volume adjusting method and device, computer readable storage medium
CN110351625A (en) * 2019-07-12 2019-10-18 深圳市升弘创新科技有限公司 A kind of physics denoising device, method and application based on gas bleeder valve

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023027634A3 (en) * 2021-08-27 2023-04-13 脸萌有限公司 Audio signal separation method and 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
CN114071220A (en) * 2021-11-04 2022-02-18 深圳Tcl新技术有限公司 Sound effect adjusting method and device, storage medium and electronic equipment
CN114071220B (en) * 2021-11-04 2024-01-19 深圳Tcl新技术有限公司 Sound effect adjusting method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN113099336B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
EP3249950B1 (en) Wireless sound equipment
CN107493500B (en) Multimedia resource playing method and device
CN106454644B (en) Audio playing method and device
US10893352B2 (en) Programmable interactive stereo headphones with tap functionality and network connectivity
CN113099336B (en) Method and device for adjusting earphone audio parameters, earphone and storage medium
CN108391205B (en) Left and right channel switching method and device, readable storage medium and terminal
CN108540900B (en) Volume adjusting method and related product
JP2018500859A (en) Volume adjustment method, apparatus and terminal
US10121491B2 (en) Intelligent volume control interface
CN108668018B (en) Mobile terminal, volume control method and related product
CN111510846B (en) Sound field adjusting method and device and storage medium
CN115038009B (en) Audio control method, wearable device and electronic device
CN108140400A (en) Control the method and device of volume
CN113099334B (en) Configuration parameter determining method and device and earphone
CN115714944A (en) Audio processing method and device, earphone and storage medium
CN113099358B (en) Method and device for adjusting earphone audio parameters, earphone and storage medium
CN115278441A (en) Voice detection method, device, earphone and storage medium
CN115065921A (en) Method and device for preventing hearing aid from howling
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
CN111337120A (en) Sound testing method, device and storage medium
CN113824838B (en) Sounding control method and device, electronic equipment and storage medium
CN116266896A (en) Method and device for processing audio of earphone, electronic equipment and storage medium
CN112118502B (en) Earphone control method, device, equipment and storage medium
US20240089671A1 (en) Hearing aid comprising a voice control interface

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