CN112399319A - Earphone calibration method and device, storage medium and intelligent terminal - Google Patents

Earphone calibration method and device, storage medium and intelligent terminal Download PDF

Info

Publication number
CN112399319A
CN112399319A CN201910746075.7A CN201910746075A CN112399319A CN 112399319 A CN112399319 A CN 112399319A CN 201910746075 A CN201910746075 A CN 201910746075A CN 112399319 A CN112399319 A CN 112399319A
Authority
CN
China
Prior art keywords
sound
earphone
sound information
volume value
playing device
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.)
Withdrawn
Application number
CN201910746075.7A
Other languages
Chinese (zh)
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.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen 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 Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201910746075.7A priority Critical patent/CN112399319A/en
Publication of CN112399319A publication Critical patent/CN112399319A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements

Abstract

The application discloses a method and a device for calibrating an earphone, a storage medium and an intelligent terminal, wherein the method comprises the following steps: sequentially acquiring first sound information acquired by the first sound acquisition device and second sound information acquired by the second sound acquisition device; calculating a loudness difference of the first sound information and the second sound information; judging whether the loudness difference value is smaller than a preset difference value or not; if not, adjusting the gain output of the first earphone and/or the second earphone so as to enable the loudness difference value to be smaller than the preset difference value; the method and the device can conveniently keep the loudness balance of the first earphone and the second earphone, and reduce the material control cost and the labor cost in the production stage; in addition, after the earphone leaves the factory, when a user finds that the loudness of two ears is unbalanced in the using process, the earphone can be conveniently calibrated.

Description

Earphone calibration method and device, storage medium and intelligent terminal
Technical Field
The application relates to the field of mobile communication, in particular to an earphone calibration method, an earphone calibration device, a storage medium and an intelligent terminal.
Background
With the development of science and technology, the types and functions of earphones on the market are more and more, and the requirements of users on the use experience of the earphones are higher and higher. Therefore, in the production process of the earphones, strict requirements are required for the loudness balance of the left earphone and the right earphone. At present, in an assembly process, a pair of earphones is assembled by manually selecting two loudspeakers with sensitivity difference within a preset range, so that the loudness difference between two ears is reduced. However, the requirement for the consistency of the sensitivity of the horn is very high, a large amount of manpower is needed for selection, and the production management and control cost and the labor cost are increased. Furthermore, this also fails to address the difference in loudness between the two ears caused by production/assembly errors of other components of the headset.
Disclosure of Invention
The application aims to provide an earphone calibration method, an earphone calibration device, a storage medium and an intelligent terminal, and aims to solve the problem that the loudness balance of two ears of an earphone is difficult to maintain in the prior art.
The application provides an earphone calibration method, the earphone comprises a first earphone and a second earphone, the first earphone is provided with a first sound collection device, the second earphone is provided with a second sound collection device, and the earphone calibration method comprises the following steps:
sequentially acquiring first sound information acquired by the first sound acquisition device and second sound information acquired by the second sound acquisition device;
calculating a loudness difference of the first sound information and the second sound information;
judging whether the loudness difference value is smaller than a preset difference value or not;
if not, adjusting the gain output of the first earphone and/or the second earphone so as to enable the loudness difference value to be smaller than the preset difference value.
Further, the earphone is connected with the mobile terminal in a communication manner, and the steps of sequentially acquiring the first sound information acquired by the first sound acquisition device and the second sound information acquired by the second sound acquisition device comprise:
and sending a calibration operation instruction to the mobile terminal, wherein the calibration operation instruction is used for controlling the mobile terminal to send a preset calibration audio signal to the earphone.
Further, the earphone is connected with the mobile terminal in a communication mode, the first earphone is further provided with a first sound playing device, the second earphone is further provided with a second sound playing device, and the steps of sequentially acquiring the first sound information collected by the first sound collecting device and the second sound information collected by the second sound collecting device comprise:
controlling the first sound playing device and the first sound collecting device to be in an opening state, and controlling the second sound playing device to be in a closing state;
acquiring the first sound information acquired by the first sound acquisition device, wherein the first sound information at least comprises an audio frequency played by the first sound playing device;
controlling the second sound playing device and the second sound collecting device to be in an open state, and controlling the first sound playing device to be in a closed state;
and acquiring the second sound information acquired by the second sound acquisition device, wherein the second sound information at least comprises the audio played by the second sound playing device.
Further, the earphone is connected with the mobile terminal in a communication mode, the first earphone is further provided with a first sound playing device, the second earphone is further provided with a second sound playing device, and the steps of sequentially acquiring the first sound information collected by the first sound collecting device and the second sound information collected by the second sound collecting device comprise:
controlling the second sound playing device and the first sound collecting device to be in an opening state, and controlling the first sound playing device to be in a closing state;
acquiring the first sound information acquired by the first sound acquisition device, wherein the first sound information at least comprises audio played by the second sound playing device;
controlling the first sound playing device and the second sound collecting device to be in an opening state, and controlling the second sound playing device to be in a closing state;
and acquiring the second sound information acquired by the second sound acquisition device, wherein the second sound information at least comprises the audio played by the first sound playing device.
Further, before the step of sequentially acquiring the first sound information acquired by the first sound acquisition device and the second sound information acquired by the second sound acquisition device, the method includes:
acquiring a current set volume value of the earphone;
judging whether the current set volume value is the maximum volume value or not;
if not, adjusting the volume value of the earphone to the maximum volume value.
Further, after the step of adjusting the gain output of the first headphone and/or the second headphone so that the loudness difference value is smaller than the preset difference value, the method includes:
setting a volume value of the headset to a default volume value.
Further, before the step of setting the volume value of the earphone as the default volume value, the method includes:
extracting a set volume value corresponding to the maximum use time from a historical volume database of the earphone, and taking the set volume value corresponding to the maximum use time as the default volume value, wherein the set volume value and the use time are stored in the historical volume database in a correlation manner, and the use time is the use time of the earphone under the set volume value.
The application also provides an earphone calibrating device, the earphone includes first earphone and second earphone, first earphone sets up first sound collection system, the second earphone sets up second sound collection system, earphone calibrating device includes:
the acquisition unit is used for sequentially acquiring first sound information acquired by the first sound acquisition device and second sound information acquired by the second sound acquisition device;
a calculating unit configured to calculate a loudness difference between the first sound information and the second sound information;
the judging unit is used for judging whether the loudness difference value is smaller than a preset difference value or not;
and the adjusting unit is used for adjusting the gain output of the first earphone and/or the second earphone if the loudness difference is smaller than a preset difference value, so that the loudness difference value is smaller than the preset difference value.
The application also provides an intelligent terminal, which comprises a memory and a processor, wherein the memory is stored with a computer program, and the processor executes the computer program to realize the steps of the method.
The present application also proposes a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method.
The beneficial effect of this application:
according to the earphone calibration method, the earphone calibration device, the storage medium and the intelligent terminal, first sound information collected by the first sound collection device and second sound information collected by the second sound collection device are sequentially obtained; then calculating a loudness difference value of the first sound information and the second sound information; then judging whether the loudness difference value is smaller than a preset difference value or not; if not, adjusting the gain output of the first earphone and/or the second earphone so as to enable the loudness difference value to be smaller than the preset difference value; therefore, the loudness balance of the first earphone and the second earphone can be conveniently kept; the material control cost and the labor cost in the production stage are reduced; in addition, after the earphone leaves the factory, when a user finds that the loudness of two ears is unbalanced in the using process, the earphone can be conveniently calibrated.
Drawings
Fig. 1 is a schematic flowchart of a headset calibration method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a headset calibration method according to another embodiment of the present application;
fig. 3 is a schematic block diagram of a structure of an earphone calibration apparatus according to an embodiment of the present application;
fig. 4 is a block diagram illustrating a structure of an intelligent terminal according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, the present application provides a headset calibration method, where the headset includes a first headset and a second headset, the first headset is provided with a first sound collection device, and the second headset is provided with a second sound collection device, the headset calibration method includes:
s1, sequentially acquiring first sound information acquired by the first sound acquisition device and second sound information acquired by the second sound acquisition device;
s2, calculating a loudness difference value of the first sound information and the second sound information;
s3, judging whether the loudness difference value is smaller than a preset difference value or not;
and S4, if not, adjusting the gain output of the first earphone and/or the second earphone so as to enable the loudness difference value to be smaller than the preset difference value.
In this embodiment, the earphones comprise a left earphone and a right earphone, wherein the first earphone is the left earphone, and the second earphone is the right earphone; or the first earphone is a right earphone, and the second earphone is a left earphone. The processor executing the headset calibration method may be installed in the first headset or the second headset; the method can also be installed in mobile terminals, such as mobile phones, tablets and other terminals. Before the earphones leave the factory, or when the user finds that the loudness of the first earphones and the second earphones are inconsistent, the calibration of the earphones can be performed through the steps S1 to S4. The earphone is connected with the mobile terminal communication, when the earphone needs to be calibrated, a calibration instruction can be sent out from the mobile terminal, the mobile terminal opens the audio loop switch, the control earphone enters a calibration mode, the mobile terminal continuously sends a preset calibration audio signal to the earphone, the earphone plays a corresponding audio frequency, in the calibration mode, only one earphone of the first earphone and the second earphone is in an open state at the same moment, the other earphone is in a closed state, and the first sound acquisition device and the second sound acquisition device acquire corresponding sound information according to a preset acquisition sequence.
In step S1, the first sound collection device and the second sound collection device may be microphones, and the first sound collection device and the second sound collection device are symmetrically disposed on the first earphone and the second earphone to avoid interference of distance factors. The first sound collection device and the second sound collection device collect sound information independently from each other. The first sound information comprises audio played by a first earphone, and the second sound information comprises audio played by a second earphone; or the first sound information comprises the audio played by the second sound earphone, and the second sound information comprises the audio played by the first earphone. The sound collected by the first/second sound collection devices may include ambient noise in addition to the audio played by the headphones. Therefore, when performing earphone calibration, it is preferable to perform earphone calibration in a quiet environment to avoid acquiring an ambient noise signal, and when in a specific quiet environment, it may be considered that the first sound information is an audio played by a first earphone and the second sound information is an audio played by a second earphone; or the first sound information is the audio played by the second earphone, and the second sound information is the audio played by the first earphone. The first sound information and the second sound information can be respectively transmitted to the processor through wireless for loudness analysis. And after the first sound information is collected, collecting second sound information. Therefore, mutual interference of sound information between the first earphone and the second earphone can be avoided, and the calibration accuracy is improved.
In the steps S2 to S3, the first sound information and the second sound information are analyzed to obtain the loudness corresponding to the first sound information and the loudness corresponding to the second sound information. Specifically, the loudness can be determined according to an equal loudness curve by analyzing the sound pressure level and the frequency of the sound. The loudness may also be calculated by other calculation methods, which are conventional for those skilled in the art and will not be described herein. When the loudness difference is smaller than the preset difference, the human ear cannot obviously feel the loudness difference between the two ears.
In step S4, when the loudness difference is greater than or equal to the preset difference, the gain output of the first earphone and/or the second earphone needs to be adjusted. The process of regulation can only carry out the regulation of gain output to first earphone, also can only carry out the regulation of gain output to the second earphone, perhaps also can all carry out the regulation of gain output to first earphone and second earphone to can realize adjusting the loudness difference value of first earphone and second earphone to within the difference value of predetermineeing. The gain adjustment output may be implemented by using a self-adaptive adjustment algorithm, which is a conventional technical means for those skilled in the art, and is not described herein again.
According to the earphone calibration method, through the steps, first sound information collected by the first sound collection device and second sound information collected by the second sound collection device are sequentially obtained; then calculating a loudness difference value of the first sound information and the second sound information; judging whether the loudness difference value is smaller than a preset difference value or not; if not, adjusting the gain output of the first earphone and/or the second earphone so as to enable the loudness difference value to be smaller than the preset difference value; therefore, the loudness balance of the first earphone and the second earphone can be conveniently kept; the material control cost and the labor cost in the production stage are reduced; in addition, after the earphone leaves the factory, when a user finds that the loudness of two ears is unbalanced in the using process, the earphone can be conveniently calibrated.
Referring to fig. 2, in an embodiment, the step of communicatively connecting the earphone with the mobile terminal and sequentially acquiring the first sound information collected by the first sound collection device and the second sound information collected by the second sound collection device before the step S1 includes:
and S01, sending a calibration operation instruction to the mobile terminal, wherein the calibration operation instruction is used for controlling the mobile terminal to send a preset calibration audio signal to the earphone.
In this embodiment, when the processor is installed on the headset and the user needs to calibrate the headset, the processor sends a calibration operation instruction to the mobile terminal from the headset to control the mobile terminal to enter a calibration mode. The preset calibration audio signal is preferably a high frequency tone signal.
In another embodiment, the processor is installed on the mobile terminal, and the headset is controlled by the mobile terminal to enter the calibration mode.
In one embodiment, the step S1 of sequentially acquiring the first sound information collected by the first sound collection device and the second sound information collected by the second sound collection device includes:
s101, controlling the first sound playing device and the first sound collecting device to be in an opening state, and controlling the second sound playing device to be in a closing state;
s102, acquiring the first sound information acquired by the first sound acquisition device, wherein the first sound information at least comprises an audio frequency played by the first sound playing device;
s103, controlling the second sound playing device and the second sound collecting device to be in an opening state, and controlling the first sound playing device to be in a closing state;
s104, acquiring the second sound information acquired by the second sound acquisition device, wherein the second sound information at least comprises the audio played by the second sound playing device.
In this embodiment, the earphone plays audio through the sound playing device. The first sound playing device and the second sound playing device may be speakers, and in order to avoid interference of distance factors, the first sound playing device and the second sound playing device are symmetrically disposed on the first earphone and the second earphone.
In the above steps S101 to S102, when the first sound playing device is turned on and the second sound playing device is turned off, only the first sound playing device plays the preset calibration audio. The current audio is collected by a first sound collection device. When the environment is a specific quiet environment, the first sound information may be considered as the audio played by the first sound playing device. In this embodiment, it is preferable that the second sound collection device is turned off.
In the above steps S103 to S104, after the first sound information is collected, the first sound playing device is turned off, and the second sound playing device and the second sound collecting device are turned on. Only the second sound playing device plays the preset calibration audio. The current audio is captured by the second sound capture means. When the environment is a specific quiet environment, the second sound information may be considered to be the audio played by the second sound playing apparatus. In this embodiment, it is preferable that the first sound collection device is turned off.
And analyzing the first sound information and the second sound information which are sequentially collected in the steps S101-S104, calculating a loudness difference value, and controlling the loudness difference value to be smaller than a preset difference value by adjusting the gain output. In the embodiment, when the first sound information is collected, the first sound playing device is started, and the second sound playing device is closed; when second sound information is collected, the second sound playing device is started, and the first sound playing device is closed; therefore, only the sound information generated by a single sound source is collected, the mutual interference among a plurality of sound sources is avoided, and the complexity of data analysis is reduced.
In one embodiment, the step S1 of sequentially acquiring the first sound information collected by the first sound collection device and the second sound information collected by the second sound collection device includes:
s111, controlling the second sound playing device and the first sound collecting device to be in an opening state, and controlling the first sound playing device to be in a closing state;
s112, acquiring the first sound information acquired by the first sound acquisition device, wherein the first sound information at least comprises an audio frequency played by the second sound playing device;
s113, controlling the first sound playing device and the second sound collecting device to be in an open state, and controlling the second sound playing device to be in a closed state;
and S114, acquiring the second sound information acquired by the second sound acquisition device, wherein the second sound information at least comprises the audio played by the first sound playing device.
In this embodiment, in order to achieve a better measurement result, when performing calibration, the first earphone and the second earphone are placed at a preset calibration position, and at this time, a first distance is equal to a second distance, where the first distance is a distance between the first sound playing device and the first sound collecting device, and the second distance is a distance between the second sound playing device and the second sound collecting device, so that two ears can be crossed to collect sound signals.
In the above steps S111 to S112, when the second sound playing device is turned on and the first sound playing device is turned off, only the second sound playing device plays the preset calibration audio. The current audio is collected by a first sound collection device. When the environment is a specific quiet environment, the first sound information may be considered as the audio played by the second sound playing apparatus. In this embodiment, it is preferable that the second sound collection device is turned off.
In the above steps S113 to S114, after the first sound information is collected, the second sound playing device is turned off, and the first sound playing device and the second sound collecting device are turned on. At this time, only the first sound playing device plays the preset calibration audio. The current audio is captured by the second sound capture means. When the environment is a specific quiet environment, the second sound information may be considered to be the audio played by the first sound playing apparatus. In this embodiment, it is preferable that the first sound collection device is turned off.
And analyzing the first sound information and the second sound information sequentially collected in the steps S111-S114, calculating a loudness difference value, and controlling the loudness difference value to be smaller than a preset difference value by adjusting the gain output. In the embodiment, when the first sound information is collected, the second sound playing device is started, and the first sound playing device is closed; when second sound information is collected, the first sound playing device is started, and the second sound playing device is closed; therefore, only the sound information generated by a single sound source is collected, the mutual interference among a plurality of sound sources is avoided, and the complexity of data analysis is reduced.
In an embodiment, before the step S1 of sequentially acquiring the first sound information collected by the first sound collection device and the second sound information collected by the second sound collection device, the method includes:
s02, acquiring the current set volume value of the earphone;
s03, judging whether the current set volume value is the maximum volume value;
and S04, if not, adjusting the volume value of the earphone to the maximum volume value.
In this embodiment, when the current set volume value is the maximum volume value, the loudness of the audio played by the first/second sound playing device is higher, and the intensity of the sound signal collected by the first/second sound collecting device is higher, which is convenient for data analysis of the signal.
In one embodiment, after the step S4 of adjusting the gain output of the first headphone and/or the second headphone so that the loudness difference is smaller than the preset difference, the method includes:
and S5, setting the volume value of the earphone as a default volume value.
In this embodiment, the default volume value is a volume value that the user is accustomed to, and may be set manually by the user, or may be automatically extracted as the default volume value by analyzing the historical volume data. Since the step S04 tunes the volume value of the earphone to the maximum volume value, the step S5 tunes the set volume value back to the volume value to which the user is accustomed after the gain output adjustment, without the user having to manually adjust.
In one embodiment, before the step S5 of setting the volume value of the earphone to the default volume value, the method includes:
s05, extracting a set volume value corresponding to the maximum use duration from a historical volume database of the earphone, and taking the set volume value corresponding to the maximum use duration as the default volume value, wherein the set volume value and the use duration are stored in the historical volume database in a correlation manner, and the use duration is the use duration of the earphone under the set volume value.
In this embodiment, data in the historical volume database is analyzed, a set volume value corresponding to the maximum duration of use is extracted, and the set volume value is used as a default volume value. Preferably, the data of the most recent specified time period in the historical volume database is analyzed to ensure that the analyzed default volume value is the volume value to which the user is currently accustomed.
Referring to fig. 3, an embodiment of the present application provides an earphone calibration apparatus, where the earphone includes a first earphone and a second earphone, the first earphone is provided with a first sound collection device, and the second earphone is provided with a second sound collection device, the earphone calibration apparatus includes:
an obtaining unit 10, configured to sequentially obtain first sound information collected by the first sound collection device and second sound information collected by the second sound collection device;
a calculating unit 20, configured to calculate a loudness difference between the first sound information and the second sound information;
a judging unit 30, configured to judge whether the loudness difference value is smaller than a preset difference value;
and the adjusting unit 40 is configured to adjust the gain output of the first headphone and/or the second headphone if the loudness difference is smaller than a preset difference, so that the loudness difference is smaller than the preset difference.
In this embodiment, the implementation processes of the functions and actions of the obtaining unit 10, the calculating unit 20, the judging unit 30, and the adjusting unit 40 in the earphone calibration device are specifically described in the implementation processes corresponding to steps S1 to S4 in the earphone calibration method, and are not described herein again.
According to the earphone calibration device, first sound information collected by the first sound collection device and second sound information collected by the second sound collection device are sequentially obtained; then calculating a loudness difference value of the first sound information and the second sound information; judging whether the loudness difference value is smaller than a preset difference value or not; if not, adjusting the gain output of the first earphone and/or the second earphone so as to enable the loudness difference value to be smaller than the preset difference value; therefore, the loudness balance of the first earphone and the second earphone can be conveniently kept; the material control cost and the labor cost in the production stage are reduced; in addition, after the earphone leaves the factory, when a user finds that the loudness of two ears is unbalanced in the using process, the earphone can be conveniently calibrated.
Referring to fig. 4, an embodiment of the present application further provides an intelligent terminal, where the intelligent terminal may be an earphone or a mobile terminal, and an internal structure of the intelligent terminal may be as shown in fig. 4. The intelligent terminal comprises a processor, a memory, a communication interface and a database which are connected through a system bus. Wherein the processor of the intelligent terminal is designed to provide computing and control capabilities. The memory of the intelligent terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the intelligent terminal is used for storing data such as volume and the like. The communication interface of the intelligent terminal is used for being connected and communicated with an external terminal through a network. The computer program is executed by a processor to implement a headset calibration method.
The processor executes the steps of the earphone calibration method:
sequentially acquiring first sound information acquired by the first sound acquisition device and second sound information acquired by the second sound acquisition device;
calculating a loudness difference of the first sound information and the second sound information;
judging whether the loudness difference value is smaller than a preset difference value or not;
if not, adjusting the gain output of the first earphone and/or the second earphone so as to enable the loudness difference value to be smaller than the preset difference value.
It will be understood by those skilled in the art that the structure shown in fig. 4 is only a block diagram of a part of the structure related to the present application, and does not constitute a limitation of the earphone to which the present application is applied.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for calibrating an earphone, and specifically:
sequentially acquiring first sound information acquired by the first sound acquisition device and second sound information acquired by the second sound acquisition device;
calculating a loudness difference of the first sound information and the second sound information;
judging whether the loudness difference value is smaller than a preset difference value or not;
if not, adjusting the gain output of the first earphone and/or the second earphone so as to enable the loudness difference value to be smaller than the preset difference value.
In summary, according to the earphone calibration method, the earphone calibration device, the storage medium and the intelligent terminal, first sound information collected by the first sound collection device and second sound information collected by the second sound collection device are sequentially obtained; then calculating a loudness difference value of the first sound information and the second sound information; then judging whether the loudness difference value is smaller than a preset difference value or not; if not, adjusting the gain output of the first earphone and/or the second earphone so as to enable the loudness difference value to be smaller than the preset difference value; therefore, the loudness balance of the first earphone and the second earphone can be conveniently kept; the material control cost and the labor cost in the production stage are reduced; in addition, after the earphone leaves the factory, when a user finds that the loudness of two ears is unbalanced in the using process, the earphone can be conveniently calibrated.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware associated with instructions of a computer program, which may be stored on a non-volatile computer-readable storage medium, and when executed, may include processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A method of calibrating headphones, the headphones comprising a first headphone and a second headphone, the first headphone being provided with a first sound collection device and the second headphone being provided with a second sound collection device, the method comprising:
sequentially acquiring first sound information acquired by the first sound acquisition device and second sound information acquired by the second sound acquisition device;
calculating a loudness difference of the first sound information and the second sound information;
judging whether the loudness difference value is smaller than a preset difference value or not;
if not, adjusting the gain output of the first earphone and/or the second earphone so as to enable the loudness difference value to be smaller than the preset difference value.
2. The method for calibrating an earphone according to claim 1, wherein the earphone is connected to a mobile terminal in a communication manner, and before the step of sequentially acquiring the first sound information collected by the first sound collection device and the second sound information collected by the second sound collection device, the method comprises:
and sending a calibration operation instruction to the mobile terminal, wherein the calibration operation instruction is used for controlling the mobile terminal to send a preset calibration audio signal to the earphone.
3. The method for calibrating earphones according to claim 1, wherein the earphones are communicatively connected to a mobile terminal, the first earphone is further provided with a first sound playing device, the second earphone is further provided with a second sound playing device, and the step of sequentially acquiring the first sound information collected by the first sound collecting device and the second sound information collected by the second sound collecting device comprises:
controlling the first sound playing device and the first sound collecting device to be in an opening state, and controlling the second sound playing device to be in a closing state;
acquiring the first sound information acquired by the first sound acquisition device, wherein the first sound information at least comprises an audio frequency played by the first sound playing device;
controlling the second sound playing device and the second sound collecting device to be in an open state, and controlling the first sound playing device to be in a closed state;
and acquiring the second sound information acquired by the second sound acquisition device, wherein the second sound information at least comprises the audio played by the second sound playing device.
4. The method for calibrating earphones according to claim 1, wherein the earphones are communicatively connected to a mobile terminal, the first earphone is further provided with a first sound playing device, the second earphone is further provided with a second sound playing device, and the step of sequentially acquiring the first sound information collected by the first sound collecting device and the second sound information collected by the second sound collecting device comprises:
controlling the second sound playing device and the first sound collecting device to be in an opening state, and controlling the first sound playing device to be in a closing state;
acquiring the first sound information acquired by the first sound acquisition device, wherein the first sound information at least comprises audio played by the second sound playing device;
controlling the first sound playing device and the second sound collecting device to be in an opening state, and controlling the second sound playing device to be in a closing state;
and acquiring the second sound information acquired by the second sound acquisition device, wherein the second sound information at least comprises the audio played by the first sound playing device.
5. The method for calibrating earphones according to claim 1, wherein the step of sequentially acquiring the first sound information collected by the first sound collecting device and the second sound information collected by the second sound collecting device comprises:
acquiring a current set volume value of the earphone;
judging whether the current set volume value is the maximum volume value or not;
if not, adjusting the volume value of the earphone to the maximum volume value.
6. The headphone calibration method as recited in claim 5, wherein the step of adjusting the gain output of the first headphone and/or the second headphone to cause the loudness difference to be less than the preset difference comprises:
setting a volume value of the headset to a default volume value.
7. The method of calibrating a headset according to claim 6, wherein the step of setting the volume value of the headset to a default volume value is preceded by the step of:
extracting a set volume value corresponding to the maximum use time from a historical volume database of the earphone, and taking the set volume value corresponding to the maximum use time as the default volume value, wherein the set volume value and the use time are stored in the historical volume database in a correlation manner, and the use time is the use time of the earphone under the set volume value.
8. An earphone calibration device, wherein the earphone comprises a first earphone and a second earphone, the first earphone is provided with a first sound collection device, the second earphone is provided with a second sound collection device, the earphone calibration device comprises:
the acquisition unit is used for sequentially acquiring first sound information acquired by the first sound acquisition device and second sound information acquired by the second sound acquisition device;
a calculating unit configured to calculate a loudness difference between the first sound information and the second sound information;
the judging unit is used for judging whether the loudness difference value is smaller than a preset difference value or not;
and the adjusting unit is used for adjusting the gain output of the first earphone and/or the second earphone if the loudness difference is smaller than a preset difference value, so that the loudness difference value is smaller than the preset difference value.
9. An intelligent terminal comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201910746075.7A 2019-08-13 2019-08-13 Earphone calibration method and device, storage medium and intelligent terminal Withdrawn CN112399319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910746075.7A CN112399319A (en) 2019-08-13 2019-08-13 Earphone calibration method and device, storage medium and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910746075.7A CN112399319A (en) 2019-08-13 2019-08-13 Earphone calibration method and device, storage medium and intelligent terminal

Publications (1)

Publication Number Publication Date
CN112399319A true CN112399319A (en) 2021-02-23

Family

ID=74602689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910746075.7A Withdrawn CN112399319A (en) 2019-08-13 2019-08-13 Earphone calibration method and device, storage medium and intelligent terminal

Country Status (1)

Country Link
CN (1) CN112399319A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113382348A (en) * 2021-05-27 2021-09-10 深圳市豪恩声学股份有限公司 Earphone detection method, device and system and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105548998A (en) * 2016-02-02 2016-05-04 北京地平线机器人技术研发有限公司 Sound positioning device based on microphone array and method
CN106851451A (en) * 2016-12-26 2017-06-13 努比亚技术有限公司 A kind of earpiece volume control method and device
US20180213317A1 (en) * 2015-07-17 2018-07-26 Zte Corporation Method and Apparatus for Adjusting Sound Field of an Earphone and a Terminal
CN108401217A (en) * 2018-02-12 2018-08-14 广东小天才科技有限公司 Signal exports and TWS earphones test method, terminal, equipment and storage medium
CN108810717A (en) * 2018-08-21 2018-11-13 歌尔科技有限公司 A kind of left and right acoustic channels degree of balance adjusting method, device, control chip and earphone
CN108966080A (en) * 2018-06-26 2018-12-07 Oppo广东移动通信有限公司 volume adjusting method, device, storage medium and terminal device
CN108966084A (en) * 2018-08-09 2018-12-07 歌尔科技有限公司 A kind of loudspeaking equipment and its calibration method, device, equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180213317A1 (en) * 2015-07-17 2018-07-26 Zte Corporation Method and Apparatus for Adjusting Sound Field of an Earphone and a Terminal
CN105548998A (en) * 2016-02-02 2016-05-04 北京地平线机器人技术研发有限公司 Sound positioning device based on microphone array and method
CN106851451A (en) * 2016-12-26 2017-06-13 努比亚技术有限公司 A kind of earpiece volume control method and device
CN108401217A (en) * 2018-02-12 2018-08-14 广东小天才科技有限公司 Signal exports and TWS earphones test method, terminal, equipment and storage medium
CN108966080A (en) * 2018-06-26 2018-12-07 Oppo广东移动通信有限公司 volume adjusting method, device, storage medium and terminal device
CN108966084A (en) * 2018-08-09 2018-12-07 歌尔科技有限公司 A kind of loudspeaking equipment and its calibration method, device, equipment
CN108810717A (en) * 2018-08-21 2018-11-13 歌尔科技有限公司 A kind of left and right acoustic channels degree of balance adjusting method, device, control chip and earphone

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113382348A (en) * 2021-05-27 2021-09-10 深圳市豪恩声学股份有限公司 Earphone detection method, device and system and computer readable storage medium

Similar Documents

Publication Publication Date Title
US20030064746A1 (en) Sound enhancement for mobile phones and other products producing personalized audio for users
US20110051963A1 (en) Method for fine-tuning a hearing aid and hearing aid
KR20100004111A (en) Dynamic volume adjusting and band-shifting to compensate for hearing loss
US20220225039A1 (en) Self-fitting hearing aid having built-in pure tone signal generator
CA2646514A1 (en) System for customizing hearing assistance devices
US20100098262A1 (en) Method and hearing device for parameter adaptation by determining a speech intelligibility threshold
EP2999235A1 (en) A hearing device comprising a gsc beamformer
US20170164124A1 (en) Self-fitting of a hearing device
CN112383870A (en) Adaptive hearing parameter fitting method and device
CN113746983B (en) Hearing aid method and device, storage medium and intelligent terminal
CN112399319A (en) Earphone calibration method and device, storage medium and intelligent terminal
CN111263263A (en) Earphone loudness gain adjustment method and device, computer equipment and storage medium
CN110753295B (en) Calibration method for customizable personal sound delivery system
US10511917B2 (en) Adaptive level estimator, a hearing device, a method and a binaural hearing system
US20210141595A1 (en) Calibration Method for Customizable Personal Sound Delivery Systems
US11032656B2 (en) Audition of hearing device settings, associated system and hearing device
CN111800699B (en) Volume adjustment prompting method and device, earphone equipment and storage medium
US20100316227A1 (en) Method for determining a frequency response of a hearing apparatus and associated hearing apparatus
US10993056B1 (en) Preprogrammed hearing assistance device with preselected algorithm
CN110623677A (en) Equipment and method for simulating hearing correction
CN113495713B (en) Method and device for adjusting earphone audio parameters, earphone and storage medium
WO2023070917A1 (en) Noise reduction adjustment method, earphone, and computer-readable storage medium
CN115002635A (en) Sound self-adaptive adjusting method and system
CN114302295A (en) Parameter configuration method and device, electronic equipment and storage medium
CN113613155A (en) Hearing aid method and device adaptive to environment

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20210223