CN115474118A - Earphone volume adjusting method, device, medium and earphone - Google Patents

Earphone volume adjusting method, device, medium and earphone Download PDF

Info

Publication number
CN115474118A
CN115474118A CN202211083982.6A CN202211083982A CN115474118A CN 115474118 A CN115474118 A CN 115474118A CN 202211083982 A CN202211083982 A CN 202211083982A CN 115474118 A CN115474118 A CN 115474118A
Authority
CN
China
Prior art keywords
earphone
sound signal
amplitude value
picked
volume
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.)
Pending
Application number
CN202211083982.6A
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN202211083982.6A priority Critical patent/CN115474118A/en
Publication of CN115474118A publication Critical patent/CN115474118A/en
Pending 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
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1083Reduction of ambient noise
    • 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

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

Abstract

The disclosure relates to an earphone volume adjusting method, an earphone volume adjusting device, a medium and an earphone, wherein the earphone volume adjusting method comprises the steps of determining an earphone in-ear instruction; generating a detection sound signal based on the earphone in-ear instruction; acquiring a picked-up sound signal and determining an amplitude value of the picked-up sound signal; adjusting the volume of the earphone according to the amplitude value of the picked sound signal; wherein the detection sound signal is in the same frequency range as the pickup sound signal. The embodiment of the disclosure adjusts the volume in the earphone under the condition that the user wears the earphone and deviates or relaxes, realizes the dynamic stability of sound playing, ensures that the auditory effect cannot be influenced due to sound leakage, and improves the user experience.

Description

Earphone volume adjusting method, device, medium and earphone
Technical Field
The present disclosure relates to the field of earphone technologies, and in particular, to an earphone volume adjustment method, an apparatus, a medium, and an earphone.
Background
The earphone all can be furnished with the silica gel cover, and suitable silica gel cover can promote the comfort level that the user wore the earphone to can give sound insulation, provide good result of use. But the user is at the in-process of wearing, even there is the silica gel cover, also can have the condition that the earphone wore the off normal, perhaps the user likes wearing the silica gel cover less than normal for the comfort level.
Under this kind of scene, the syllable-dividing effect of silica gel cover can be discounted greatly, the condition that the earphone leaked sound appears, and the result that causes just the sound that the earphone broadcast can become little a lot, perhaps appears the sound size unbalance phenomenon of left and right sound track, can only adjust the earphone or adjust the volume through manual, has greatly reduced user experience and user satisfaction.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present disclosure provides an earphone volume adjustment method, an apparatus, a medium, and an earphone, where the volume in the earphone is adjusted when a user wears the earphone and is deviated or loose, so as to achieve dynamic stability of sound playing, ensure that an auditory effect is not affected by sound leakage, and improve user experience.
In a first aspect, the present disclosure provides a method for adjusting earphone volume, including:
determining an earphone in-ear instruction;
generating a detection sound signal based on the earphone in-ear instruction;
acquiring a picked-up sound signal and determining an amplitude value of the picked-up sound signal;
adjusting the volume of the earphone according to the amplitude value of the picked sound signal;
wherein the detection sound signal is in the same frequency range as the pickup sound signal.
In some embodiments, the detection sound signal comprises ultrasonic waves and/or infrasonic waves.
In some embodiments, said adjusting the earphone volume according to the amplitude value of the picked-up sound signal comprises:
and if the amplitude value of the picked sound signal is larger than a preset amplitude value, adjusting the volume of the earphone.
In some embodiments, further comprising:
and if the amplitude value of the picked-up sound signal is smaller than or equal to a preset amplitude value, keeping the current earphone volume.
In some embodiments, if the amplitude value of the picked-up sound signal is greater than a predetermined amplitude value, adjusting the volume of the headset includes:
if the amplitude value of the picked-up sound signal is larger than a preset amplitude value, adjusting the volume of the earphone according to the difference value between the amplitude value of the picked-up sound signal and the preset amplitude value;
and the larger the difference value between the amplitude value of the picked-up sound signal and the preset amplitude value is, the larger the volume of the earphone is after adjustment.
In some embodiments, further comprising:
and if the duration time that the amplitude value of the picked-up sound signal is greater than the preset amplitude value is greater than the preset time threshold, closing the earphone.
In some embodiments, the amplitude values of the picked-up sound signal include amplitude values of a left-ear headphone picked-up sound signal and amplitude values of a right-ear headphone picked-up sound signal;
the adjusting the volume of the earphone according to the amplitude value of the picked sound signal comprises the following steps:
and adjusting the volume of the left ear earphone according to the amplitude value of the sound signal picked up by the left ear earphone, and adjusting the volume of the right ear earphone according to the amplitude value of the sound signal picked up by the right ear earphone.
In a second aspect, the present disclosure also provides an earphone volume adjusting device, including:
the in-ear instruction determining module is used for determining an in-ear instruction of the earphone;
the detection sound signal generation module is used for generating a detection sound signal based on the earphone in-ear instruction;
the amplitude value determining module is used for acquiring a picked-up sound signal and determining an amplitude value of the picked-up sound signal;
the volume adjusting module is used for adjusting the volume of the earphone according to the amplitude value of the picked sound signal;
wherein the detection sound signal is in the same frequency range as the pickup sound signal.
In a third aspect, the present disclosure also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any of the embodiments of the first aspect.
In a fourth aspect, the present disclosure also provides a headset, including a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the method described in any embodiment of the first aspect when executing the computer program.
The earphone volume adjusting method provided by the embodiment of the disclosure determines an earphone in-ear instruction; generating a detection sound signal based on the earphone in-ear instruction; acquiring a picked-up sound signal and determining an amplitude value of the picked-up sound signal; adjusting the volume of the earphone according to the amplitude value of the picked sound signal; wherein the frequency range of the detection sound signal is the same as the frequency range of the pickup sound signal. When the earphone is used, a detection sound signal is generated according to an earphone in-ear instruction, the amplitude value of the sent detection sound signal is fixed, the frequency range of the detection sound signal is consistent with that of a pickup sound signal, the pickup sound signal is acquired from sound leaked from the earphone, the volume of the leakage is different, the amplitude value of the pickup sound signal is also different, and therefore the volume of the earphone can be adjusted through the amplitude value of the pickup sound signal. The embodiment of the disclosure adjusts the volume in the earphone under the condition that the user wears the earphone and deviates or relaxes, realizes the dynamic stability of sound playing, ensures that the auditory effect cannot be influenced due to sound leakage, and improves the user experience.
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.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the embodiments or technical solutions in the prior art description will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic flow chart of a method for adjusting the volume of an earphone according to an embodiment of the present disclosure;
fig. 2 is a block diagram of a structure of an earphone volume adjusting device according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an earphone according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
An embodiment of the present disclosure provides a method for adjusting earphone volume, and fig. 1 is a schematic flow chart of the method for adjusting earphone volume provided by the embodiment of the present disclosure, where the method may be executed by an apparatus for adjusting earphone volume provided by the embodiment of the present disclosure, and may be implemented in a software and/or hardware manner, and is integrated in a playing terminal for executing the method, and a playing device for executing the method in this embodiment may be any one of an intelligent terminal such as a smart phone, a tablet computer, a notebook, a desktop, and an MP 4. As shown in fig. 1, the earphone volume adjusting method includes S110-S140:
and S110, determining an earphone in-ear instruction.
When the user uses the earphone to play, the user can put the earphone into the ear and connect the earphone with the playing equipment, so that the earphone can synchronously play the sound in the playing equipment connected with the earphone. Thus, it is determined whether the headphone is in the ear, for example, when the headphone is connected to the playback device and the connection is successfully synchronized, it can be determined that the headphone is in the ear. The earphone in-ear instruction is not limited to the connection between the earphone and the playing device, a sensor can be arranged on the earphone, the sensor senses the distance between the earphone and the ear canal, and the earphone in-ear instruction can be obtained to determine the earphone in-ear instruction.
And S120, generating a detection sound signal based on the earphone in-ear instruction.
Based on the earphone-in-ear instruction, after the earphone is determined to be in the ear, a detection sound signal is generated, and the detection sound signal is a sound signal with a fixed frequency range and a fixed amplitude value and is played together with a sound signal required by a user, for example, through a sound playing device, such as a loudspeaker, arranged on the earphone.
S130, acquiring the picked-up sound signal and determining an amplitude value of the picked-up sound signal.
After the earphone plays the sound signal, a sound pickup device, such as a microphone, may be arranged on the earphone, and may be an original microphone of the earphone, or a microphone may be added to acquire the picked-up sound signal. Because the ear canal that the earphone speaker place side is close to the ear to the sound signal of broadcast is acquireed by the ear, and the earphone when wearing the use, can have the off normal or lax situation, so that the gap between earphone and the ear canal grow, the sound signal of broadcast can outwards leak, is acquireed by the external world, and the sound signal that user's ear received can weaken. The microphone arranged on the earphone can acquire a leaked sound signal, namely a picked-up sound signal, the distance between the microphone and the loudspeaker is fixed, the amplitude value of the sound signal is related to the volume of sound, the volume changes, and the amplitude value of the sound signal also changes. And determining the amplitude value of the picked-up sound signal according to the acquired picked-up sound signal.
The frequency range of the detection sound signal is the same as that of the pickup sound signal, the frequency range of the sound signal does not change, and the frequency range of the detection sound signal is fixed, so that when the pickup sound signal is obtained, the sound signal with the same frequency range as that of the detection sound signal can be picked up.
And S140, adjusting the volume of the earphone according to the amplitude value of the picked sound signal.
The change situation of the amplitude value of the picked-up sound signal is related to the volume of the leakage, when the volume of the leakage is large, the amplitude value of the picked-up sound signal is also large, at the moment, the volume of the leakage is large, the volume acquired by the ear of the user is relatively small, in order to not influence the hearing effect of the user, the volume of the earphone can be increased, the volume acquired by the ear of the user is compensated, and therefore the stability of the playing volume is achieved. When the leaked volume is small, the amplitude value of the picked-up sound signal is small, the leaked volume is small, more ears of a user are obtained, and the volume of the earphone can not be adjusted.
When a user uses the earphone, the detection sound signal can be generated according to the earphone in-ear instruction, the amplitude value of the sent detection sound signal is fixed, the frequency range of the detection sound signal is consistent with that of the pickup sound signal, the pickup sound signal is acquired from sound leaked by the earphone, the leaked volume is different in size, and the amplitude value of the pickup sound signal is also different, so that the earphone volume can be adjusted through the amplitude value of the pickup sound signal. The embodiment of the disclosure adjusts the volume in the earphone under the condition that the user wears the earphone and deviates or relaxes, realizes the dynamic stability of sound playing, ensures that the auditory effect cannot be influenced due to sound leakage, and improves the user experience.
In some embodiments, the detection sound signal comprises ultrasonic waves and/or infrasonic waves.
The detected sound signal is a frequency-specific, amplitude-value-specific sound signal, and is played together with a sound signal required by the user, which may be set as an ultrasonic signal or an infrasonic signal. The frequency range of the ultrasonic signal and the frequency range of the infrasonic signal are frequency ranges which cannot be sensed by human ears, and the detection sound cannot influence the normal use of the earphone by a user in the frequency range. Meanwhile, the frequency ranges of the ultrasonic signal and the infrasonic signal are fixed, the range of the amplitude value is fixed, when the infrasonic signal is picked up as a detection sound signal, the infrasonic signal is easy to distinguish, cannot be mixed with other sound signals to generate interference, the detection sound signal is relatively stable, and the sound signal in the frequency range can be accurately obtained in the process of obtaining the picked-up sound signal.
In some embodiments, adjusting the headphone volume according to the amplitude value of the picked-up sound signal comprises:
and if the amplitude value of the picked-up sound signal is larger than the preset amplitude value, adjusting the volume of the earphone.
The amplitude value of the picked-up sound signal changes according to the change of the volume, the picked-up sound signal is a leaked sound signal, and when the volume of the earphone is fixed, the more the leaked sound signal, the smaller the sound signal acquired by the human ear, and the smaller the volume heard by the human ear. Therefore, a preset amplitude value can be set, once the amplitude value of the picked-up sound signal exceeds the preset amplitude value, the volume of the picked-up sound signal is determined to be too large, the volume acquired by human ears is less, the volume of the picked-up sound signal is determined to be too large, when the volume played by the earphone is constant, the volume acquired by human ears is too large, the leaked volume is greater, the volume acquired by human ears is less, and the volume of the earphone can be adjusted in order to maintain the stability of the volume acquired by human ears.
In some embodiments, adjusting the headset volume according to the magnitude value of the picked-up sound signal further comprises:
and if the amplitude value of the picked sound signal is less than or equal to the preset amplitude value, keeping the current earphone volume.
When the volume of the earphone is played for a certain time, if the amplitude value of the picked-up sound signal is smaller than or equal to the preset amplitude value, the earphone can be determined to be in good contact with the ear at the moment, deviation or looseness does not occur, the sound leakage degree is low, and therefore the amplitude value of the picked-up sound signal is small.
In some embodiments, if the amplitude value of the picked-up sound signal is greater than the predetermined amplitude value, the adjusting the volume of the earphone includes:
if the amplitude value of the picked-up sound signal is larger than the preset amplitude value, adjusting the volume of the earphone according to the difference value between the amplitude value of the picked-up sound signal and the preset amplitude value;
the larger the difference between the amplitude value of the picked-up sound signal and the preset amplitude value is, the larger the volume of the adjusted earphone is.
When the volume of the earphone is adjusted according to the amplitude value of the picked sound signal, the volume of the earphone can be adjusted according to the difference value of the amplitude value. Similarly, a preset amplitude value is set, after the amplitude value of the picked-up sound signal is obtained, the two relations are compared, and when the amplitude value of the picked-up sound signal is larger than the preset amplitude value, the volume of the leaked sound is larger, less sound is obtained by human ears, and the volume played by the earphone needs to be adjusted. The preset amplitude value is a fixed value, but the amplitude value of the picked-up sound signal varies with the volume of the leakage, so that the difference between the amplitude value of the picked-up sound signal and the preset amplitude value varies and is not fixed. The larger the difference between the amplitude value of the picked-up sound signal and the preset amplitude value is, the larger the volume of the leaked sound is, the less the sound is acquired by human ears, and in order to keep the volume acquired by the human ears stable, the larger the volume of the earphone needs to be adjusted, so that the leaked part is supplemented.
In some embodiments, the earphone volume adjusting method further comprises:
and if the duration of the amplitude value of the picked sound signal being larger than the preset amplitude value is larger than the preset time threshold, closing the earphone.
By picking up the duration of the amplitude value of the sound signal, the state of the current user using the headset can be determined. If the amplitude value of the picked-up sound signal is larger than the preset amplitude value, the earphone can be determined to be deviated or loosened, on the basis, if the duration is long and nobody can adjust the amplitude value all the time, the state of the earphone can be determined that the user does not pay attention to the earphone, no matter the user does not listen to the content played in the earphone or the user sleeps while wearing the earphone, at the moment, whether the earphone continues playing or not can not pay attention to the user, and the earphone can be turned off in order to not interfere with the user. In the judging process, a time threshold value can be preset, if the duration time exceeds the preset time, the judgment is that the time is too long, the user does not use the earphone, and the earphone is closed; and if the duration time does not exceed the preset time, the earphone is not turned off. By the method in the embodiment, the hearing system of the user can be protected, and if the wireless earphone is adopted, the method can also save the electric quantity of the earphone.
In some embodiments, the amplitude values of the picked-up sound signal include amplitude values of a left-ear headphone picked-up sound signal and amplitude values of a right-ear headphone picked-up sound signal;
adjusting the earphone volume according to the amplitude value of the picked sound signal, comprising:
and adjusting the volume of the left ear earphone according to the amplitude value of the sound signal picked up by the left ear earphone, and adjusting the volume of the right ear earphone according to the amplitude value of the sound signal picked up by the right ear earphone.
The earphone comprises a left earphone and a right earphone, the left earphone and the right earphone are played together, a user can obtain more stereo sound, and when sound signals are picked up, the sound signals can be picked up respectively, and amplitude values of the sound signals picked up by the left earphone and amplitude values of the sound signals picked up by the right earphone are obtained. The sound pickup devices are respectively arranged on the left ear earphone and the right ear earphone to acquire the sound pickup signals of the sides where the sound pickup devices are located, and in the wearing process of the earphones, the fitting degree of the left ear earphone and the left ear is not necessarily the same as that of the right ear earphone and the right ear, and the deviation degree and the looseness degree are not determined, so that the sound volume needs to be respectively adjusted when the sound volume is adjusted.
In the embodiment of the present disclosure, the left ear and the right ear may respectively set the preset amplitude value, the amplitude value of the sound signal picked up by the left ear earphone is compared with the preset amplitude value of the left ear, the volume of the left ear earphone is adjusted, the amplitude value of the sound picked up by the right ear earphone is compared with the preset amplitude value of the right ear, and the volume of the right ear earphone is adjusted. For example, when music is played, for better music effect, the frequencies or volumes of sounds possibly played by the left and right ears are different, so that the frequency ranges of the sound signals detected by the left and right ears can be selected according to actual situations, and further, different preset amplitude values are set to adjust the playing volumes of the left and right ear earphones respectively according to the listening requirements of the left and right ears of a user. By the adjusting method, the volume balance of the sound field with the whole stereo effect can be kept, and the situation that the sound field of the left and right sound channels is unbalanced is prevented from influencing the sound effect and the user experience.
Corresponding to the method for adjusting the volume of an earphone provided by the embodiment of the present disclosure, an embodiment of the present disclosure further provides an earphone volume adjusting device, and fig. 2 is a block diagram of a structure of the earphone volume adjusting device provided by the embodiment of the present disclosure, and as shown in fig. 2, the method includes: an in-ear instruction determination module 21, a detection sound signal generation module 22, an amplitude value determination module 23, and a volume adjustment module 24.
The in-ear instruction determining module 21 is configured to determine an in-ear instruction of the earphone. The detection sound signal generation module 22 is configured to generate a detection sound signal based on the earphone in-ear instruction. The amplitude value determination module 23 is configured to acquire the picked-up sound signal and determine an amplitude value of the picked-up sound signal. The volume adjusting module 24 is used for adjusting the earphone volume according to the amplitude value of the picked-up sound signal. Wherein the frequency range of the detection sound signal is the same as the frequency range of the pickup sound signal.
Optionally, the detection sound signal comprises ultrasonic waves and/or infrasonic waves.
Optionally, the volume adjusting module 24 is further specifically configured to adjust the volume of the headset if the amplitude value of the picked-up sound signal is greater than the preset amplitude value.
Optionally, the volume adjusting module 24 is further specifically configured to maintain the current earphone volume if the amplitude value of the picked-up sound signal is smaller than or equal to the preset amplitude value.
Optionally, the volume adjusting module 24 is further specifically configured to adjust the volume of the headset according to a difference between the amplitude value of the picked-up sound signal and the preset amplitude value if the amplitude value of the picked-up sound signal is greater than the preset amplitude value;
the larger the difference between the amplitude value of the picked-up sound signal and the preset amplitude value is, the larger the volume of the adjusted earphone is.
Optionally, the apparatus further includes an earphone turning-off module, specifically configured to turn off the earphone if a duration that the amplitude value of the picked-up sound signal is greater than the preset amplitude value is greater than a preset time threshold.
Optionally, the amplitude value of the picked-up sound signal includes an amplitude value of the left-ear earphone picked-up sound signal and an amplitude value of the right-ear earphone picked-up sound signal; the volume adjusting module 24 is further specifically configured to adjust the volume of the left ear earphone according to the amplitude value of the sound signal picked up by the left ear earphone, and adjust the volume of the right ear earphone according to the amplitude value of the sound signal picked up by the right ear earphone.
The present disclosure also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the earphone volume adjustment method.
It should be noted that examples of readable storage media include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples (a non-exhaustive list) of the readable storage medium include: an Electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an erasable Programmable Read-Only Memory (EPROM), an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The storage medium provided by the above embodiment of the present disclosure and the earphone volume adjusting method provided by the embodiment of the present disclosure have the same advantages as the method adopted, executed or implemented by the application program or the instruction stored in the storage medium.
The present disclosure also provides an earphone, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the earphone volume adjusting method when executing the computer program.
It will be appreciated that the memory in this embodiment can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. In some embodiments, the memory stores the following elements: an executable unit or data structure, or a subset thereof, or an extended set of them, an operating system and an application program. In the embodiments of the present disclosure, the processor executes the steps of the embodiments corresponding to the methods provided by the embodiments of the present disclosure by calling the programs or instructions stored in the memory. It should be noted that the earphone provided in the embodiments of the present disclosure may include other necessary components and parts of the earphone capable of implementing the playing function. The earphone can be a wireless earphone or a wired earphone, and can also be a Bluetooth earphone and the like, and the type of the earphone is not particularly limited in real time in the disclosure.
Exemplarily, fig. 3 is a schematic structural diagram of an earphone according to an embodiment of the present disclosure, as shown in fig. 3, fig. 3 is a TWS (True Wireless Stereo) earphone, where the earphone includes an active noise reduction pickup microphone 1, a call pickup microphone 2, and a silicone sleeve 3. The silica gel cover 3 is plugged into an ear, a loudspeaker is wrapped in the silica gel cover, the loudspeaker is not shown in the loudspeaker, if the TWS earphone is used, the earphone is deviated or loosened, part of sound emitted by the loudspeaker leaks, the generated detection sound signal leaks out along with the sound, the active noise reduction pickup microphone 1 or the call pickup microphone 2 can acquire the pickup sound signal, the frequency range of the pickup sound signal is the same as that of the detection sound signal, after the active noise reduction pickup microphone 1 or the call pickup microphone 2 acquires the pickup sound signal, the amplitude value of the pickup sound signal can be acquired, the amplitude value of the pickup sound signal is compared with the preset amplitude value, the preset amplitude value is the pickup sound signal amplitude value when the leakage sound is less or not, the volume of the current pickup sound signal can be judged through comparison, the leakage condition of the earphone is confirmed, and the volume of the earphone is adjusted accordingly. If the amplitude value of the picked-up sound signal has large change and exceeds the preset amplitude value more, the sound leakage is serious, and the volume needs to be increased so as to compensate the volume acquired by the human ear; if the amplitude value change of the picked-up sound signal is small and does not exceed the preset amplitude value, it is indicated that the leakage sound is light or the leakage sound does not exist, the volume acquired by the human ear is stable, and the volume does not need to be adjusted. It should be noted that the present disclosure does not limit the position of the microphone, and a microphone may be additionally provided for acquiring the picked-up sound signal.
It is noted that, in this document, relational terms such as "first" and "second," and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An earphone volume adjusting method is characterized by comprising the following steps:
determining an earphone in-ear instruction;
generating a detection sound signal based on the earphone in-ear instruction;
acquiring a picked-up sound signal and determining an amplitude value of the picked-up sound signal;
adjusting the volume of the earphone according to the amplitude value of the picked sound signal;
wherein the detection sound signal is in the same frequency range as the pickup sound signal.
2. The earphone volume adjustment method according to claim 1, wherein the detection sound signal includes an ultrasonic wave and/or an infrasonic wave.
3. The headphone volume adjusting method according to claim 1, wherein the adjusting headphone volume according to the amplitude value of the picked-up sound signal includes:
and if the amplitude value of the picked sound signal is larger than a preset amplitude value, adjusting the volume of the earphone.
4. The earphone volume adjustment method according to claim 3, further comprising:
and if the amplitude value of the picked-up sound signal is smaller than or equal to a preset amplitude value, keeping the current earphone volume.
5. The method for adjusting the volume of a headset according to claim 3, wherein if the amplitude value of the picked-up sound signal is greater than a predetermined amplitude value, adjusting the volume of the headset comprises:
if the amplitude value of the picked-up sound signal is larger than a preset amplitude value, adjusting the volume of the earphone according to the difference value between the amplitude value of the picked-up sound signal and the preset amplitude value;
wherein, the larger the difference between the amplitude value of the picked-up sound signal and the preset amplitude value is, the larger the adjusted earphone volume is.
6. The headphone volume adjusting method according to any one of claims 1 to 5, further comprising:
and if the duration that the amplitude value of the picked-up sound signal is larger than the preset amplitude value is larger than the preset time threshold, closing the earphone.
7. The headphone volume adjusting method according to any one of claims 1 to 5, wherein the amplitude values of the picked-up sound signals include amplitude values of left-ear headphone picked-up sound signals and amplitude values of right-ear headphone picked-up sound signals;
the adjusting the volume of the earphone according to the amplitude value of the picked sound signal comprises:
and adjusting the volume of the left ear earphone according to the amplitude value of the sound signal picked up by the left ear earphone, and adjusting the volume of the right ear earphone according to the amplitude value of the sound signal picked up by the right ear earphone.
8. An earphone volume adjustment device, comprising:
the in-ear instruction determining module is used for determining an in-ear instruction of the earphone;
the detection sound signal generation module is used for generating a detection sound signal based on the earphone in-ear instruction;
the amplitude value determining module is used for acquiring a picked-up sound signal and determining an amplitude value of the picked-up sound signal;
the volume adjusting module is used for adjusting the volume of the earphone according to the amplitude value of the picked sound signal;
wherein the detection sound signal is in the same frequency range as the pickup sound signal.
9. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
10. A headset comprising a memory storing a computer program and a processor implementing the steps of the method of any one of claims 1 to 7 when the computer program is executed by the processor.
CN202211083982.6A 2022-09-06 2022-09-06 Earphone volume adjusting method, device, medium and earphone Pending CN115474118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211083982.6A CN115474118A (en) 2022-09-06 2022-09-06 Earphone volume adjusting method, device, medium and earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211083982.6A CN115474118A (en) 2022-09-06 2022-09-06 Earphone volume adjusting method, device, medium and earphone

Publications (1)

Publication Number Publication Date
CN115474118A true CN115474118A (en) 2022-12-13

Family

ID=84368640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211083982.6A Pending CN115474118A (en) 2022-09-06 2022-09-06 Earphone volume adjusting method, device, medium and earphone

Country Status (1)

Country Link
CN (1) CN115474118A (en)

Similar Documents

Publication Publication Date Title
CN110972014B (en) Parameter adjustment method and device for active noise reduction earphone and wireless earphone
US8855343B2 (en) Method and device to maintain audio content level reproduction
US9577596B2 (en) System and method for personalization of an audio equalizer
US8699742B2 (en) Sound system and a method for providing sound
CN110036654B (en) Electronic device and power control method thereof
WO2017215657A1 (en) Sound effect processing method, and terminal device
CN109688498B (en) Volume adjusting method, earphone and storage medium
US10104459B2 (en) Audio system with conceal detection or calibration
CN112954115B (en) Volume adjusting method and device, electronic equipment and storage medium
WO2016131266A1 (en) Method and apparatus for adjusting sound field of earphone, terminal and earphone
WO2014061578A1 (en) Electronic device and acoustic reproduction method
WO2021103260A1 (en) Control method for headphones and headphones
CN103685677A (en) Audio processing method and device, and terminal equipment
JPWO2019039128A1 (en) Control device, control method, program
KR101659410B1 (en) Sound optimization device and method about combination of personal smart device and earphones
CN111666061A (en) Method for controlling volume of digital earphone, electronic terminal and digital earphone
CN114466278B (en) Method for determining parameters corresponding to earphone mode, earphone, terminal and system
CN107404625B (en) Sound effect processing method and device of terminal
CN115474118A (en) Earphone volume adjusting method, device, medium and earphone
CN113507668B (en) Variable-bandwidth intelligent control method, audio equipment and readable storage medium
WO2011031271A1 (en) Electronic audio device
CN113689890A (en) Method and device for converting multi-channel signal and storage medium
CN113645547A (en) Method and system for adaptive volume control
CN106856537B (en) Volume adjustment method and device
WO2020255601A1 (en) Output sound control device, output sound control method, and program

Legal Events

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