CN112291689A - Sound playing method, wearable device and readable storage medium - Google Patents

Sound playing method, wearable device and readable storage medium Download PDF

Info

Publication number
CN112291689A
CN112291689A CN202011368106.9A CN202011368106A CN112291689A CN 112291689 A CN112291689 A CN 112291689A CN 202011368106 A CN202011368106 A CN 202011368106A CN 112291689 A CN112291689 A CN 112291689A
Authority
CN
China
Prior art keywords
distance
loudspeaker
human ear
sound playing
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011368106.9A
Other languages
Chinese (zh)
Other versions
CN112291689B (en
Inventor
铁广朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Optical 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 Goertek Optical Technology Co Ltd filed Critical Goertek Optical Technology Co Ltd
Priority to CN202011368106.9A priority Critical patent/CN112291689B/en
Publication of CN112291689A publication Critical patent/CN112291689A/en
Application granted granted Critical
Publication of CN112291689B publication Critical patent/CN112291689B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/06Loudspeakers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/02Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems using reflection of acoustic waves
    • G01S15/06Systems determining the position data of a target
    • G01S15/08Systems for measuring distance only
    • 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/20Arrangements for obtaining desired frequency or directional characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/02Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses a sound playing method, wearable equipment and a readable storage medium, wherein the sound playing method is used for the wearable equipment, the wearable equipment comprises a loudspeaker, and the sound playing method comprises the following steps: emitting a detection wave to human ears, and recording emission time, wherein the detection wave meets the back reflection of the human ears; receiving the reflected detection wave, recording the receiving time, and obtaining the distance between the loudspeaker and the human ear according to the transmitting time and the receiving time; determining an adjusting parameter according to the distance between the loudspeaker and the human ear; and adjusting the audio signal of the loudspeaker according to the adjusting parameter. The technical scheme of the invention can adjust the playing audio under the condition that the distances between the loudspeaker and the ears are different, so that the playing of the sound reaches an ideal state.

Description

Sound playing method, wearable device and readable storage medium
Technical Field
The present invention relates to the field of sound playing technologies, and in particular, to a sound playing method, a wearable device, and a readable storage medium.
Background
The wearable device is an electronic device which can be worn on the body of a user, and when the wearable device is worn by different people, the wearing state of the wearable device can be different, such as the sizes of the head types of the people are different. The wearable device is provided with the loudspeaker, and different users have different distances between the loudspeaker and the ears due to differences in body shapes when wearing the wearable device, so that the playing of sound is difficult to achieve an ideal state.
Disclosure of Invention
Therefore, in order to solve the problem that the playing of sound is difficult to reach an ideal state due to different distances between the speaker and the ear caused by differences in physical form, it is necessary to provide a sound playing method, a wearable device, and a readable storage medium, which aim to adjust the playing audio frequency to reach the ideal state under the condition that the distances between the speaker and the ear are different.
In order to achieve the above object, the present invention provides a sound playing method, where the sound playing method is used in a wearable device, the wearable device includes a speaker, and the sound playing method includes:
emitting a detection wave to human ears, and recording emission time, wherein the detection wave meets the back reflection of the human ears;
receiving the reflected detection wave, recording the receiving time, and obtaining the distance between the loudspeaker and the human ear according to the transmitting time and the receiving time;
determining an adjusting parameter according to the distance between the loudspeaker and the human ear;
and adjusting the audio signal of the loudspeaker according to the adjusting parameter.
Optionally, the human ear comprises an external auditory canal;
the step of obtaining the distance between the speaker and the human ear according to the transmitting time and the receiving time comprises the following steps:
obtaining the near point distance and the far point distance between the loudspeaker and the auricle of the human ear according to the transmitting time and the receiving time;
and calculating the distance between the loudspeaker and the entrance of the external auditory canal of the human ear according to the near point distance and the far point distance.
Optionally, the wearable device comprises a pickup microphone disposed proximate to the speaker, the probe waves comprising ultrasonic waves;
the step of emitting the probe wave to the human ear and recording the emission time comprises the following steps:
controlling the loudspeaker to emit ultrasonic waves, and recording the emission time of the ultrasonic waves;
the step of receiving the reflected probe wave and recording the reception time includes:
and controlling the pickup microphone to receive the reflected ultrasonic waves and recording the receiving time of the received reflected ultrasonic waves.
Optionally, the step of transmitting the probe wave to the human ear and recording the transmission time further includes:
and periodically transmitting the detection waves to the ears of the human body according to the preset time, and recording the transmission time.
Optionally, the step of determining an adjustment parameter according to the distance between the speaker and the ear includes:
comparing the distance between the loudspeaker and the human ear with a preset distance to generate a comparison result, wherein the preset distance comprises a plurality of preset distances, and different preset distances correspond to different adjustment parameters;
and calling an adjusting parameter corresponding to the preset distance according to the comparison result.
Optionally, after the step of comparing the distance between the speaker and the ear with a preset distance, the method further comprises:
and if the distance between the loudspeaker and the human ear is larger than the maximum value of the preset distance, prompting the user to check the position state of the wearable equipment.
Optionally, after the step of comparing the distance between the speaker and the ear with a preset distance, the method further includes:
and if the distance between the loudspeaker and the human ear is greater than the maximum value of the preset distance, and the difference between the distance between the loudspeaker and the human ear and the value of the preset distance exceeds a preset threshold value, cutting off the audio signal of the loudspeaker.
Optionally, the preset distances are sequentially arranged from small to large at equal intervals.
Further, in order to achieve the above object, the present invention also provides a wearable device including: the system comprises a memory, a processor and a sound playing program which is stored on the memory and can run on the processor; the sound playback program, when executed by the processor, implements the steps of the sound playback method as described above.
Further, in order to achieve the above object, the present invention also provides a readable storage medium having stored thereon a sound playing program which, when executed by a processor, realizes the steps of the sound playing method as described above.
According to the technical scheme provided by the invention, when a user uses the wearable device, the wearing positions are different, and the distance between the loudspeaker and the ear of the user is far or near. The method comprises the steps of emitting detection waves to human ears, reflecting the detection waves after meeting the human ears, recording emission time and receiving time to obtain the distance between a loudspeaker and the human ears, and determining and adjusting the adjusting parameters of the loudspeaker through the distance. And adjusting the audio signal of the loudspeaker according to the adjusting parameter, so that the user can receive clear audio, and the sound playing is in an ideal state.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a sound playing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a sound playing method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a sound playing method according to a third embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a wearable device worn by a user according to the present invention;
FIG. 5 is a flowchart illustrating a sound playing method according to a fourth embodiment of the present invention;
FIG. 6 is a flowchart illustrating a sound playing method according to a fifth embodiment of the present invention;
FIG. 7 is a flowchart illustrating a sound playing method according to a sixth embodiment of the present invention;
fig. 8 is a flowchart illustrating a sound playing method according to a seventh embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
When the user is using wearable equipment, the size difference of human position can lead to wearing state to have the difference, and the distance of speaker and people's ear will be different to the broadcast that makes sound is difficult to reach ideal state, for example the sound volume of hearing is little, and is not clear enough.
In order to solve the above problem, referring to fig. 1, a first embodiment of the present invention is provided, and the present invention provides a sound playing method, where the sound playing method is used for a wearable device, and the wearable device includes an earphone, a VR (Virtual Reality) display device, and an ar (augmented Reality) display device. The wearable device includes a speaker, also referred to as a horn. The sound playing method comprises the following steps:
step S10, emitting a detection wave to human ears and recording the emission time, wherein the detection wave meets the back reflection of the human ears; be provided with the probe wave generator in the wearable equipment, through probe wave generator transmission probe wave, note emission time when probe wave generator transmission probe wave. The probe wave may be a light wave or an acoustic wave. The light wave generates diffuse reflection after meeting human ears, the sound wave is mechanical wave, and the sound wave can also be reflected after meeting human ears. The wearable device is provided with a processor, the processor is used for controlling the emission of the detection waves, and the emission time is recorded.
Step S20, receiving the reflected detection wave, recording the receiving time, and obtaining the distance between the loudspeaker and the human ear according to the transmitting time and the receiving time; be provided with the receiver of detection wave in the wearable equipment, receive the detection wave back of reflection through the receiver, note the receipt time. In the process of the propagation of the probe wave, the propagation speed is fixed, and the propagation distance of the probe wave is calculated by calculating the time difference between the transmitting time and the receiving time and multiplying the time difference by the propagation speed. The detection wave is transmitted back and forth between the wearable device and the human ear, and then the transmission distance is divided by two, so that the distance between the wearable device and the human ear is obtained. The detection wave receiver and the loudspeaker are close to each other, and the distance between the wearable device and the human ear can be understood as the distance between the loudspeaker and the human ear.
Step S30, determining adjusting parameters according to the distance between the loudspeaker and the human ear; when the user uses the wearable device, the wearing position is different, and the distance between the loudspeaker and the human ear is also different. By adjusting the audio signal at different distance positions, the user is given a clear sound. And recording the adjusting parameters which make the sound clear at different distances, and storing the adjusting parameters corresponding to the distances. The distances between the speakers and the ears are in one-to-one correspondence with the adjustment parameters, and after the distances between the speakers and the ears are calculated in step S20, the uniquely determined adjustment parameters can be found according to the distance values.
And step S40, adjusting the audio signal of the loudspeaker according to the adjusting parameter. After the adjusting parameter is determined, the audio signal of the loudspeaker is adjusted according to the adjusting parameter, so that a user can quickly obtain a clear audio signal at the distance between the loudspeaker and the human ear.
In the technical scheme provided by the embodiment, when the user uses the wearable device, the wearing positions are different, and the distance between the loudspeaker and the ear of the user is far away or close to the ear of the user. The method comprises the steps of emitting detection waves to human ears, reflecting the detection waves after meeting the human ears, recording emission time and receiving time to obtain the distance between a loudspeaker and the human ears, and determining and adjusting the adjusting parameters of the loudspeaker through the distance. And adjusting the audio signal of the loudspeaker according to the adjusting parameter, so that the user can receive clear audio, and the sound playing is in an ideal state.
Referring to fig. 2, a second embodiment of the present invention is proposed on the basis of the first embodiment of the present invention, in which the human ear includes an external auditory meatus through which the user receives sound transmitted mainly, and the sound is transmitted into the cochlea through the entrance of the external auditory meatus.
The step of obtaining the distance between the loudspeaker and the human ear according to the transmitting time and the receiving time comprises the following steps:
step S201, obtaining the distance between a near point and a far point of a speaker and the auricle of a human ear according to the transmitting time and the receiving time; the shape structure of human ear is complicated, and the structure forms the auricle around the human ear, and external auditory canal is located the auricle inside. When the user wears the wearable device, the speaker is far away from the position of the auricle, namely, the speaker is far away from the near point of the auricle of the human ear, and the speaker is far away from the far point of the auricle of the human ear.
Step S202, calculating the distance between the loudspeaker and the entrance of the external auditory canal of the human ear according to the near point distance and the far point distance. In order to be able to accurately find the distance between the speaker and the entrance of the external auditory canal of the human ear, the average value is calculated by summing up the near point distance and the far point distance, and this average value is understood as the distance between the speaker and the entrance of the external auditory canal of the human ear. When measuring the distance, the probe wave generator is aligned with the human ear to emit, and a plurality of near point distances and a plurality of far point distances can be measured for more accurate calculation results. And averaging for multiple times, thereby improving the detection accuracy.
Referring to fig. 3, a third embodiment of the present invention is proposed on the basis of the first embodiment of the present invention, and referring to fig. 4, a schematic diagram of the user 10 wearing the wearable device 20 is shown, the wearable device 20 includes a sound pickup microphone 210, and the sound pickup microphone 210 is disposed adjacent to the speaker 220. Fig. 4 also shows a schematic diagram of the speaker 220 emitting ultrasonic waves to a near point of the auricle 110 and emitting ultrasonic waves to a far point of the auricle 110. The probe wave includes an ultrasonic wave. The frequency range of sound which can be heard by human ears is 20 Hz-20000 Hz, and the sound cannot be heard by human ears when the frequency exceeds the range. On being greater than 20000Hz frequency, for the ultrasonic wave scope, through ultrasonic detection, can avoid the normal outside sound of answering of the human ear of interference in the in-process that detects.
The step of transmitting the detection wave to human ears and recording the transmission time comprises the following steps:
step S110, controlling a loudspeaker to emit ultrasonic waves, and recording the emission time of the ultrasonic waves;
receiving the reflected probe wave and recording the receiving time, comprising:
and step S210, controlling the sound pickup microphone to receive the reflected ultrasonic waves, and recording the receiving time of the received reflected ultrasonic waves. The loudspeaker is a component for emitting sound waves, and the electronic devices arranged in the wearable equipment can be fully utilized by emitting ultrasonic waves through the loudspeaker, so that the space and the cost for additionally installing the component are saved. In addition, in the present embodiment, the probe wave generator is referred to as a speaker. The pickup microphone receives the sound wave through the pickup function, records the time that the speaker transmitted ultrasonic wave as emission time, records the time that the pickup microphone received ultrasonic wave as receiving time. Be provided with the timing unit in the wearable equipment, the timing unit notes emission time and receipt time to transmit emission time and receipt time for the treater, the treater reachs near point distance and distance through the operation. Note that, in calculating the near point distance and the far point distance, the transmission time is the same for both, but the reception time is different. That is, a short reception time is used to calculate the near point distance, and a long reception time is used to calculate the far point distance.
Referring to fig. 5, a fourth embodiment of the present invention is proposed on the basis of the first embodiment of the present invention, and the step of transmitting the probe waves to the human ear and recording the transmission time further includes:
and S101, periodically transmitting detection waves to human ears according to preset time, and recording the transmission time. That is, the probe wave is transmitted in the form of a pulse wave. When a user wears the wearable device, the user can swing or move, and the distance between the loudspeaker and the ears of the user can be changed. In order to continuously ensure that the human ear can obtain clear sound, the distance between the loudspeaker and the human ear needs to be adjusted frequently. For example, the preset time is 1 second, the detection wave is emitted to the human ear every 1 second, and the audio signal of the loudspeaker can be timely and accurately adjusted by periodically emitting the detection wave to the human ear, so that the user can obtain better tone quality.
Referring to fig. 6, on the basis of the above embodiment of the present invention, a fifth embodiment of the present invention is provided, wherein the step of determining the adjustment parameter according to the distance between the speaker and the human ear includes:
step S310, comparing the distance between the loudspeaker and the human ear with a preset distance to generate a comparison result, wherein the preset distance comprises a plurality of preset distances, and different preset distances correspond to different adjustment parameters;
in step S320, an adjustment parameter corresponding to the preset distance is retrieved according to the comparison result. When the user uses the loudspeaker, the wearing position is different, and the parameters for playing the sound by the loudspeaker are also different. For example, when the speaker is close to the human ear, the volume of the sound to be played is low, and when the speaker is far from the human ear, the volume of the sound to be played is high. For this purpose, a plurality of different control parameters are provided in the wearable device, each control parameter corresponding to a predetermined distance. After comparing the distance between the loudspeaker and the human ear with the preset distance, finding out the preset distance value which is consistent with the distance between the loudspeaker and the human ear and the preset distance, and calling the stored adjusting parameter according to the preset distance value. The distance between the speaker and the ear may be equal to the preset distance, or the preset distance may be a range value, and the speaker is within the range value.
Referring to fig. 7, a sixth embodiment of the present invention is proposed on the basis of the fifth embodiment of the present invention, and the step of comparing the distance between the speaker and the human ear with the preset distance includes:
in step S311, if the distance between the speaker and the ear is greater than the maximum value of the preset distance, the user is prompted to check the position state of the wearable device. The loudspeaker in the wearable equipment launches the sound wave, because the sound wave is mechanical wave, the sound wave is energy in the in-process of transmission and is reduced gradually, and the distance between user's human ear and the speaker exceeds certain range from this, and the human ear can't hear clearly the sound. When the wearing position of the user is incorrect, so that the distance between the loudspeaker and the ear of the user is too large, a prompt needs to be sent to the user, and therefore the effectiveness of the sound is further ensured. The prompting mode can be a voice prompt, a vibration prompt, a music prompt and the like. The user can check the position of the wearable device and send an adjustment completion prompt after the wearable device is correctly adjusted. For example, it may be set that the preset distance is 10cm at the maximum, and when the distance between the speaker and the human ear is detected to be greater than 10cm, the user is prompted to check the position of the wearable device.
In addition, a safe distance can be set, in order to reduce misjudgment of the speaker on the position of the human ear and reduce the possibility that the speaker regards a peripheral object as the human ear, and only a measured value within the safe distance is understood as the distance between the speaker and the human ear.
Referring to fig. 8, on the basis of the sixth embodiment of the present invention, a seventh embodiment of the present invention is proposed, which further includes, after the step of comparing the distance between the speaker and the ear with the preset distance:
in step S312, if the distance between the speaker and the ear is greater than the maximum value of the preset distance, and the difference between the distance between the speaker and the ear and the preset distance exceeds the preset threshold, the audio signal of the speaker is cut off. When the user uses the wearable device, the user needs to take the wearable device off in some cases. For example, a user needs to remove the wearable device in order to represent respect when communicating with a person. At this time, the wearable device is in normal operation, and the speaker still plays sound, so easily cause the loss of power. After the user takes off the wearable device, the positions of the loudspeaker and the ear of the user can be gradually increased. The difference between the distance between the loudspeaker and the ear of the person and the value of the preset distance is calculated, the difference value is compared with a preset threshold value, if the difference value is smaller than the preset threshold value, the loudspeaker is continuously maintained to normally operate, if the difference value exceeds the preset threshold value, the power supply of the wearable equipment is turned off, then the audio signal of the loudspeaker is cut off, and the loss of electric power is reduced. The preset threshold value can be changed and set according to the needs of the user. For example, the preset threshold may be 5cm, 10cm, or the like.
On the basis of the above embodiment of the present invention, an eighth embodiment of the present invention is proposed, in which the plurality of preset distances are sequentially arranged from small to large at equal intervals. Each preset distance corresponds to one adjusting parameter, and the loudspeaker adjusting parameters are orderly classified through the equal-interval distribution of the preset distances. Therefore, the adjustment direction of the audio signal can be clearly obtained through the arrangement of equal intervals from small to large. And when the adjusting parameters are obtained in advance, the method is quicker.
The present invention also provides a wearable device, comprising: the system comprises a memory, a processor and a sound playing program which is stored on the memory and can run on the processor; the sound reproduction program when executed by the processor implements the steps of the sound reproduction method as above.
The specific implementation of the wearable device of the present invention may refer to the embodiments of the sound playing method, which are not described herein again.
The present invention also provides a readable storage medium, on which a sound playing program is stored, which when executed by a processor implements the steps of the sound playing method as above.
The specific implementation of the readable storage medium of the present invention may refer to the embodiments of the sound playing method, which are not described herein again.
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, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A sound playing method is used for a wearable device, the wearable device comprises a loudspeaker, and the sound playing method comprises the following steps:
emitting a detection wave to human ears, and recording emission time, wherein the detection wave meets the back reflection of the human ears;
receiving the reflected detection wave and recording the receiving time;
obtaining the distance between the loudspeaker and the human ear according to the transmitting time and the receiving time;
determining an adjusting parameter according to the distance between the loudspeaker and the human ear;
and adjusting the audio signal of the loudspeaker according to the adjusting parameter.
2. The sound playing method according to claim 1, wherein the human ear includes an external auditory canal;
the step of obtaining the distance between the speaker and the human ear according to the transmitting time and the receiving time comprises the following steps:
obtaining the near point distance and the far point distance between the loudspeaker and the auricle of the human ear according to the transmitting time and the receiving time;
and calculating the distance between the loudspeaker and the entrance of the external auditory canal of the human ear according to the near point distance and the far point distance.
3. The sound playing method of claim 1, wherein the wearable device comprises a pickup microphone disposed proximate to the speaker, the probe waves comprising ultrasonic waves;
the step of emitting the probe wave to the human ear and recording the emission time comprises the following steps:
controlling the loudspeaker to emit ultrasonic waves, and recording the emission time of the ultrasonic waves;
the step of receiving the reflected probe wave and recording the reception time includes:
and controlling the pickup microphone to receive the reflected ultrasonic waves and recording the receiving time of the received reflected ultrasonic waves.
4. The sound reproducing method of claim 1, wherein the step of emitting the probe wave to the human ear and recording the emission time further comprises:
and periodically transmitting the detection waves to the ears of the human body according to the preset time, and recording the transmission time.
5. The sound playing method according to any one of claims 1 to 4, wherein the step of determining the adjustment parameter according to the distance between the speaker and the human ear comprises:
comparing the distance between the loudspeaker and the human ear with a preset distance to generate a comparison result, wherein the preset distance comprises a plurality of preset distances, and different preset distances correspond to different adjustment parameters;
and calling an adjusting parameter corresponding to the preset distance according to the comparison result.
6. The sound playing method of claim 5, wherein the step of comparing the distance between the speaker and the ear with a preset distance is followed by:
and if the distance between the loudspeaker and the human ear is larger than the maximum value of the preset distance, prompting the user to check the position state of the wearable equipment.
7. The sound playing method of claim 6, wherein the step of comparing the distance between the speaker and the ear with a preset distance further comprises:
and if the distance between the loudspeaker and the human ear is greater than the maximum value of the preset distance, and the difference between the distance between the loudspeaker and the human ear and the value of the preset distance exceeds a preset threshold value, cutting off the audio signal of the loudspeaker.
8. The sound playing method of claim 5, wherein the preset distances are sequentially arranged from small to large at equal intervals.
9. A wearable device, characterized in that the wearable device comprises: the system comprises a memory, a processor and a sound playing program which is stored on the memory and can run on the processor; the sound playback program, when executed by the processor, implements the steps of the sound playback method of any one of claims 1 to 8.
10. A readable storage medium, characterized in that a sound playing program is stored thereon, which when executed by a processor implements the steps of the sound playing method according to any one of claims 1 to 8.
CN202011368106.9A 2020-11-27 2020-11-27 Sound playing method, wearable device and readable storage medium Active CN112291689B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011368106.9A CN112291689B (en) 2020-11-27 2020-11-27 Sound playing method, wearable device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011368106.9A CN112291689B (en) 2020-11-27 2020-11-27 Sound playing method, wearable device and readable storage medium

Publications (2)

Publication Number Publication Date
CN112291689A true CN112291689A (en) 2021-01-29
CN112291689B CN112291689B (en) 2022-07-22

Family

ID=74425772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011368106.9A Active CN112291689B (en) 2020-11-27 2020-11-27 Sound playing method, wearable device and readable storage medium

Country Status (1)

Country Link
CN (1) CN112291689B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095835A (en) * 2021-11-18 2022-02-25 歌尔科技有限公司 Method and device for controlling transparent mode of earphone, earphone equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB200123A (en) * 1922-02-04 1923-07-04 Signal Gmbh Improvements in methods of and apparatus for determining distances by means of reflected sound waves
EP1174732A2 (en) * 2000-06-30 2002-01-23 Nokia Mobile Phones Ltd. Acoustical proximity detection for mobile terminals and other devices
US20150125020A1 (en) * 2013-11-05 2015-05-07 Acer Incorporated Wearable portable electronic device
CN106973349A (en) * 2017-05-24 2017-07-21 广东小天才科技有限公司 Directional loudspeaker control method, directional loudspeaker control device and intelligent terminal
CN108718431A (en) * 2018-04-28 2018-10-30 歌尔股份有限公司 A kind of wireless headset and its alarm method
US20180343519A1 (en) * 2017-05-26 2018-11-29 International Business Machines Corporation Method and system for speaker array assembly and porous display device
CN108924355A (en) * 2018-06-29 2018-11-30 努比亚技术有限公司 Signal frequency method of adjustment, mobile terminal and computer readable storage medium
CN109765784A (en) * 2019-01-11 2019-05-17 深圳市迷购网络科技有限公司 Headset control method, earphone and computer readable storage medium
CN110161508A (en) * 2019-06-03 2019-08-23 Oppo广东移动通信有限公司 Distance measuring method, device, terminal and storage medium
US20190387299A1 (en) * 2018-06-14 2019-12-19 Apple Inc. Display System Having An Audio Output Device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB200123A (en) * 1922-02-04 1923-07-04 Signal Gmbh Improvements in methods of and apparatus for determining distances by means of reflected sound waves
EP1174732A2 (en) * 2000-06-30 2002-01-23 Nokia Mobile Phones Ltd. Acoustical proximity detection for mobile terminals and other devices
US20150125020A1 (en) * 2013-11-05 2015-05-07 Acer Incorporated Wearable portable electronic device
CN106973349A (en) * 2017-05-24 2017-07-21 广东小天才科技有限公司 Directional loudspeaker control method, directional loudspeaker control device and intelligent terminal
US20180343519A1 (en) * 2017-05-26 2018-11-29 International Business Machines Corporation Method and system for speaker array assembly and porous display device
CN108718431A (en) * 2018-04-28 2018-10-30 歌尔股份有限公司 A kind of wireless headset and its alarm method
US20190387299A1 (en) * 2018-06-14 2019-12-19 Apple Inc. Display System Having An Audio Output Device
CN108924355A (en) * 2018-06-29 2018-11-30 努比亚技术有限公司 Signal frequency method of adjustment, mobile terminal and computer readable storage medium
CN109765784A (en) * 2019-01-11 2019-05-17 深圳市迷购网络科技有限公司 Headset control method, earphone and computer readable storage medium
CN110161508A (en) * 2019-06-03 2019-08-23 Oppo广东移动通信有限公司 Distance measuring method, device, terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱兆华: "针对耳机定制设计的人耳甲腔曲面形态层级聚类算法研究与应用", 《机械科学与技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095835A (en) * 2021-11-18 2022-02-25 歌尔科技有限公司 Method and device for controlling transparent mode of earphone, earphone equipment and storage medium
WO2023087468A1 (en) * 2021-11-18 2023-05-25 歌尔科技有限公司 Method and apparatus for controlling transparency mode of earphones, and earphone device and storage medium

Also Published As

Publication number Publication date
CN112291689B (en) 2022-07-22

Similar Documents

Publication Publication Date Title
US11569789B2 (en) Compensation for ambient sound signals to facilitate adjustment of an audio volume
CN113709614B (en) Volume adjustment method and device and computer readable storage medium
CN108540906B (en) Volume adjusting method, earphone and computer readable storage medium
CN103517192B (en) Hearing aid including feedback alarm
CN112584293B (en) Microphone hole blockage detection method and related product
US10951972B2 (en) Dynamic on ear headset detection
CN110267144B (en) Information processing method and apparatus, and storage medium
WO2020019857A1 (en) Microphone hole blocking detection method and related product
CN110213707A (en) Earphone and its hearing-aid method, computer readable storage medium
US9525954B2 (en) Audio device and audio producing method
US20200252738A1 (en) Acoustical listening area mapping and frequency correction
CN113038337A (en) Audio playing method, wireless earphone and computer readable storage medium
CN112291689B (en) Sound playing method, wearable device and readable storage medium
WO2009023633A1 (en) Musical, diagnostic and operational earcon
CN110267155B (en) Sound box control method and sound box
CN113099336A (en) Method and device for adjusting audio parameters of earphone, earphone and storage medium
US20230199368A1 (en) Acoustic device and methods
CN109068213B (en) Earphone loudness control method and device
CN112690782B (en) Hearing compensation test method, intelligent terminal and computer readable storage medium
CN118140493A (en) Parasitic oscillation detection of wearable audio device based on zero crossing point
KR102139599B1 (en) Sound transferring apparatus
CN114466278A (en) Method for determining parameters corresponding to earphone mode, earphone, terminal and system
WO2022185725A1 (en) Information processing device, information processing method, and program
EP4207194A1 (en) Audio device with audio quality detection and related methods
JP2010087889A (en) Sound receiver and cellular phone

Legal Events

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

Effective date of registration: 20221219

Address after: 266104 No. 500, Songling Road, Laoshan District, Qingdao, Shandong

Patentee after: GOERTEK TECHNOLOGY Co.,Ltd.

Address before: 261031 east of Dongming Road, north of Yuqing East Street, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronics office building)

Patentee before: GoerTek Optical Technology Co.,Ltd.

TR01 Transfer of patent right