WO2024032133A1 - 听力检测方法、装置、电子设备及存储介质 - Google Patents

听力检测方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2024032133A1
WO2024032133A1 PCT/CN2023/099456 CN2023099456W WO2024032133A1 WO 2024032133 A1 WO2024032133 A1 WO 2024032133A1 CN 2023099456 W CN2023099456 W CN 2023099456W WO 2024032133 A1 WO2024032133 A1 WO 2024032133A1
Authority
WO
WIPO (PCT)
Prior art keywords
volume
frequency point
target frequency
hearing
audio
Prior art date
Application number
PCT/CN2023/099456
Other languages
English (en)
French (fr)
Inventor
练添富
陈标
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2024032133A1 publication Critical patent/WO2024032133A1/zh

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/12Audiometering
    • A61B5/121Audiometering evaluating hearing capacity
    • A61B5/123Audiometering evaluating hearing capacity subjective methods

Definitions

  • the present application relates to the field of audio processing technology, and more specifically, to a hearing detection method, device, electronic equipment and storage medium.
  • Hearing testing is to understand the user's hearing function status by sending a sound source to the tested ear and observing the response caused by the sound stimulation.
  • the hearing test audio can be played to the user through an audio playback device, and the hearing test results can be obtained based on the user's feedback on the perception of the hearing test audio.
  • related hearing detection methods have the problem of low detection efficiency.
  • This application proposes a hearing detection method, device, electronic equipment and storage medium, which can improve the efficiency of hearing detection.
  • embodiments of the present application provide a hearing detection method for use in electronic devices.
  • the method includes: outputting a test audio of a target frequency point at an initial volume; in response to a user operation, based on the target frequency point corresponding to Volume adjustment relationship, adjust the playback volume of the test audio, wherein the volume adjustment relationship is determined based on the equal loudness curve; in response to the first confirmation instruction, determine the current playback volume of the test audio, and set the current The playback volume is used as the hearing threshold corresponding to the target frequency point.
  • inventions of the present application provide a hearing detection device for use in electronic equipment.
  • the device includes: an audio output module, a volume adjustment module, and a hearing threshold acquisition module, wherein the audio output module is used to detect the hearing loss with an initial volume. Output the test audio of the target frequency point; the volume adjustment module is used to respond to the user operation and adjust the playback volume of the test audio based on the volume adjustment relationship corresponding to the target frequency point, wherein the volume adjustment relationship is based on
  • the hearing threshold acquisition module is configured to determine the current playback volume of the test audio in response to the first confirmation instruction, and use the current playback volume as the hearing threshold corresponding to the target frequency point.
  • embodiments of the present application provide an electronic device, including: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and Configured to be executed by the one or more processors, the one or more application programs are configured to execute the hearing detection method provided in the first aspect above.
  • embodiments of the present application provide a computer-readable storage medium.
  • the computer-readable storage medium stores program code.
  • the program code can be called by a processor to execute the hearing aid provided in the first aspect. Detection method.
  • embodiments of the present application provide a computer program product, including a computer program that implements the hearing detection method provided in the first aspect when executed by a processor.
  • Figure 1 shows a schematic diagram of an application scenario provided by an embodiment of the present application.
  • Figure 2 shows another schematic diagram of the application scenario provided by the embodiment of the present application.
  • Figure 3 shows another schematic diagram of the application scenario provided by the embodiment of the present application.
  • Figure 4 shows a flow chart of a hearing detection method according to an embodiment of the present application.
  • Figure 5 shows a schematic diagram of the equal loudness curve provided by the embodiment of the present application.
  • Figure 6 shows a flow chart of a hearing detection method according to another embodiment of the present application.
  • Figure 7 shows a schematic diagram of an interface provided by an embodiment of the present application.
  • Figure 8 shows a flow chart of a hearing detection method according to yet another embodiment of the present application.
  • Figure 9 shows a flow chart of a hearing detection method according to yet another embodiment of the present application.
  • Figure 10 shows another schematic diagram of the interface provided by the embodiment of the present application.
  • Figure 11 shows a flow chart of a hearing detection method according to yet another embodiment of the present application.
  • Figure 12 shows a schematic diagram of the principle of hearing compensation provided by an embodiment of the present application.
  • Figure 13 shows a spectrum response diagram of hearing compensation provided by an embodiment of the present application.
  • Figure 14 shows a block diagram of a hearing detection device according to an embodiment of the present application.
  • FIG. 15 is a block diagram of an electronic device used to perform a hearing detection method according to an embodiment of the present application.
  • Figure 16 is a storage unit used to save or carry the program code for implementing the hearing detection method according to the embodiment of the present application.
  • hearing compensation is also widely used.
  • hearing aids and True Wireless Stereo (TWS) headphones are used for hearing compensation. Its function is mainly to enhance and amplify external environmental sound signals in the frequency band of personal hearing loss, without compensating for music signals or call signals.
  • TWS True Wireless Stereo
  • the principle of hearing detection and compensation is to obtain the user's hearing impairment by detecting the user's hearing threshold (such as hearing threshold) and then determine the sound compensation signal, so that the user can clearly hear the sound details and the original inability to hear due to hearing impairment. the sound of.
  • Hearing compensation requires testing the user's hearing status.
  • the main solution currently on the market is to store the pure tone signal of the hearing test at a fixed reference volume on the Bluetooth headset.
  • the Bluetooth headset is connected to the mobile device through Bluetooth.
  • the installation of the mobile device can control the hearing test.
  • the application of the interactive protocol performs hearing testing and interaction through the Bluetooth private protocol, and then calculates the hearing compensation filter through the hearing compensation algorithm based on the hearing test results.
  • the hearing compensation filter is sent to the headset through the Bluetooth private protocol and applied to the music. Pathway hearing compensation.
  • the left/right ears are usually tested separately, that is, after testing one side, the hearing status of the other ear is measured, and the initial volume of each frequency point in the hearing test is tested using the same reference volume.
  • the efficiency is low.
  • the inventor proposed the hearing detection method, device, electronic equipment and storage medium provided by the embodiments of the present application.
  • the volume adjustment relationship for volume adjustment when playing the test audio is based on the equal loudness curve ( It can also be called equal loudness curve), so it is more in line with the user's hearing characteristics, thus improving the speed of hearing detection.
  • equal loudness curve It can also be called equal loudness curve
  • the scene shown in FIG. 1 includes an electronic device 100 and a wireless earphone 200 .
  • the electronic device 100 is connected to the wireless earphone 200 , and the wireless earphone 200 is in the wearing state shown in the figure.
  • the wireless earphone 200 may include a first wireless earphone and a second wireless earphone.
  • the first wireless earphone and the second wireless earphone may be connected to an electronic device, so that when performing hearing testing, the electronic device may output test audio to the first wireless earphone and the second wireless earphone.
  • Wireless earphones are used to detect the hearing of the user's left and right ears.
  • the electronic device 100 is connected to a first wireless earphone 210 , and the first wireless earphone 210 is connected to a second wireless earphone 220 .
  • the first wireless earphone 210 is the second wireless earphone 220 and the relay earphone of the electronic device 100.
  • the first wireless earphone 210 can serve as the master earphone, and the second wireless earphone 220 can serve as the slave earphone.
  • the first wireless earphone 210 is used as a relay earphone for data transmission, that is, the data transmitted between the two is transmitted through the first wireless earphone 210; optionally, The second wireless earphone 220 can also obtain the data transmitted by the electronic device 100 to the second wireless earphone 220 by monitoring the communication between the electronic device 100 and the first wireless earphone 210 .
  • the electronic device 100 can be connected to the first wireless earphone 210 and the second wireless earphone 220 at the same time. Both the first wireless earphone 210 and the second wireless earphone 220 can be directly connected to the electronic device 100 . Data transmission between devices, such as using LE (Low Energy) Aduio low-power audio Bluetooth communication protocol.
  • LE Low Energy
  • Figure 4 shows a schematic flow chart of a hearing detection method provided by an embodiment of the present application.
  • the hearing detection method is applied to the hearing detection device 400 shown in Figure 14 and the electronic device 100 ( Figure 15) configured with the hearing detection device 400.
  • the following will take an electronic device as an example to illustrate the specific process of this embodiment.
  • the electronic device applied in this embodiment can be a smartphone, a tablet computer, a smart watch, an e-book, etc., and is not limited here. .
  • the process shown in Figure 4 will be described in detail below.
  • the hearing detection method may specifically include the following steps:
  • Step S110 Output the test audio of the target frequency point at the initial volume.
  • the target frequency point is any frequency point among multiple frequency points for hearing loss to be detected, and the multiple frequency points for hearing loss to be detected can be preset frequency points. Understandably, the hearing ability of the human ear has different sensitivities at different frequencies. Therefore, the user's hearing at the corresponding frequency point can be detected. Therefore, the user's hearing at the target frequency point can be measured by playing the test audio of the target frequency point. Perform testing.
  • the electronic device can output the test audio of the target frequency point to the wireless earphone at the initial volume, thereby playing the test audio through the wireless earphone, and then determining the hearing ability based on the user's feedback on the played test audio.
  • Test results For example, if the hearing test is currently being performed on the left ear of the human ear, the test audio can be played through the wireless earphone corresponding to the left ear; if the hearing test is currently being performed on the right ear of the human ear, the test audio can be played through the wireless earphone corresponding to the right ear. Test audio. Of course, you can also play it on wireless headphones corresponding to the left and right ears at the same time to conduct a hearing test on both ears.
  • test audio of each frequency point to be tested may be pre-stored in the electronic device, and the test audio may be pure tone audio of each frequency point.
  • the test audio of the target frequency point can be obtained from the pre-stored test audio of each frequency point, and the test audio of the target frequency point can be output as the initial audio.
  • the above multiple frequency points to be tested can be distributed in various frequency bands, that is, the multiple frequency bands can be distributed in low frequency bands, mid-low frequency bands, mid-high frequency bands, and high frequency bands.
  • multiple frequency points can be distinguished as 500Hz (Hertz), 1000Hz, 2000Hz, 4000Hz, 6000Hz and 8000Hz.
  • the frequency points to be tested can cover the frequency range that can be heard by the human ear.
  • the above frequency points are only examples. The specific value of the tested frequency point does not need to be limited.
  • the above initial volume may be a preset volume, for example, 20dB HL (decibel), 30dB HL, etc.
  • the initial volume can be set according to the hearing threshold of the target frequency point obtained by the historical listening test of the user currently performing the hearing test.
  • the initial volume can be the average value of the hearing thresholds of the target frequency point obtained by historical tests.
  • the initial volume can be the hearing threshold of the target frequency point obtained from the most recent hearing test. Therefore, since the initial volume is determined based on the hearing threshold of historical tests, it is convenient for the user to detect the result after a small amount of volume adjustment operations. Hearing threshold, so as to quickly complete the hearing test.
  • the electronic device may determine the above initial volume based on the historical volume of audio playback using wireless headphones.
  • the electronic device can obtain the historical volume when the audio of the above target frequency point is output, and determine the above initial volume based on the obtained volume. For example, you can obtain the average volume of the historical audio output at the target frequency point above, and adjust the average volume down to the target volume value (such as 10dB HL, 20dB HL, etc.) to obtain the initial volume. Understandably, when users play daily volume through wireless headphones, the volume they are accustomed to using is often related to the user's hearing. Therefore, the initial volume is determined based on the historical volume when playing the target frequency point, and the test is played at this initial volume. Audio allows users to determine the hearing test results with a small amount of volume adjustment operations, thus improving the speed of hearing tests.
  • Step S120 In response to user operation, adjust the playback volume of the test audio based on the volume adjustment relationship corresponding to the target frequency point, where the volume adjustment relationship is determined based on the equal loudness curve.
  • the input user operation can be detected, so that when the input user operation is detected, the playback volume of the test audio is adjusted based on the volume adjustment relationship corresponding to the target frequency point.
  • the hearing test results are then determined based on user feedback.
  • the user operation may be an operation on a control for adjusting the volume in the display interface, or it may be other touch operation in the display interface, or it may be input through a physical button of the electronic device (such as a physical volume adjustment button). Operations, specific user operations are not limited.
  • the volume adjustment relationship is used to determine the adjusted playback volume, that is, the adjustment range of the current playback volume, and the volume adjustment relationship is not a linear adjustment relationship, that is, in the volume adjustment relationship
  • the difference between adjacent volume values is not fixed.
  • the volume adjustment relationship is determined based on the equal loudness curve.
  • the determined volume adjustment relationship is a non-linear adjustment relationship, that is, the volume adjustment relationship is between adjacent volume values.
  • the size of the difference is not uniform.
  • the volume adjustment relationship determined based on the equal loudness curve can be more in line with the hearing characteristics of the human ear, so that through the adjustment operation The adjusted playback volume is also more consistent with the hearing characteristics, allowing the hearing threshold to be determined more quickly.
  • the equal loudness curve refers to a cluster of curves in which the subjective perception of sound loudness (loudness level) obtained through subjective measurement is equal.
  • the sound intensity of the standard sound The level is the loudness level of the sound.
  • the abscissa of the equal loudness curve can be frequency/Hz (or wavelength), and the ordinate is sound pressure level/dB (or sound intensity level).
  • the two equal loudness curves composed of hearing threshold and pain threshold are The upper and lower limits of equal loudness curves, the sound intensity levels (or sound pressure levels) of different wavelengths (or frequencies) corresponding to each curve are different, but the loudness perceived by the human ear is the same.
  • the equal loudness curve in this application can refer to the standard equal loudness curve, for example, as shown in Figure 5, which shows the GB_T 4963-2007 acoustic standard equal loudness level curve, or it can also be based on the subjective judgment of a large number of people with normal hearing. It is obtained through testing. Of course, it can also be adjusted based on the standard equal loudness curve, and there is no restriction on this.
  • the volume adjustment relationship may include multiple adjustable volume values, and the multiple adjustable volume values are determined based on equal loudness curves.
  • the volume value to be adjusted can be determined based on the current playback volume and the volume adjustment relationship.
  • the target frequency point is any preset frequency point (such as a preset frequency) among multiple preset frequency points to be tested, and each frequency point has a corresponding volume adjustment relationship.
  • the volume adjustment relationship includes volume adjustment relationships corresponding to multiple preset frequency points to be detected.
  • Each preset frequency point has multiple volume values.
  • each preset frequency point corresponds to multiple volume levels.
  • the volume value corresponding to each volume level can be determined based on the equal loudness curve; multiple preset frequencies
  • the volume value corresponding to the same volume level in the volume adjustment relationship can be determined based on the equal loudness curve.
  • the volume values corresponding to the same volume level at multiple preset frequency points are different.
  • the same gear at different frequencies may have different volume values.
  • the volume value (sound pressure level) corresponding to different positions in the slide bar under the frequency point, and further different positions can correspond to the different volume levels mentioned above.
  • the volume level (or adjustable volume value) of each frequency point can be determined based on the volume that a person with normal hearing can hear. The more volume levels are set, the greater the measured hearing threshold will be. precise.
  • the difference between the volume values corresponding to adjacent volume levels in the volume adjustment relationship of the same preset frequency point is also determined based on the equal loudness curve, and due to the characteristics of the equal loudness curve, adjacent volume levels
  • the difference between the volume values corresponding to the bits is not fixed.
  • the multiple adjustable volume values determined based on the equal loudness curve may be the sound pressure level corresponding to each loudness level in the equal loudness curve, that is, the dB SPL corresponding to each loudness level, dB SPL is the physical unit of sound intensity, which is the true intensity level of sound.
  • the volume adjustment relationship corresponding to each frequency point can be determined based on the equal loudness curve.
  • the electronic device can display selection controls corresponding to multiple volume levels in the display interface.
  • the selection controls corresponding to the multiple volume levels are arranged in order from small to large or from large to small.
  • the above volume adjustment relationship includes the volume value corresponding to each volume level, and the volume values corresponding to multiple volume levels are determined based on equal loudness curves and change non-linearly.
  • the electronic device can respond to the selection operation of the above selection control and determine the target volume value corresponding to the selected selection control based on the corresponding relationship between the volume gear and the volume value of the selection control in the volume adjustment relationship, and Adjust the playback volume of the test audio to the target volume value.
  • the electronic device can also display first prompt information in the display interface.
  • the first prompt information is used to prompt the user to follow the arrangement order of the volume levels based on the volume level corresponding to the current playback volume. Select the volume level until you can hear the test audio to just can't hear the test audio, or from not hearing the test audio to just being able to hear the test audio. This allows the user to select multiple volume levels in sequence to increase or decrease the volume, thereby determining the hearing threshold.
  • the playback volume of the test audio can be adjusted in response to a feedback operation input by the user.
  • the above volume adjustment relationship may include multiple volume values arranged in order from large to small or small to large. The multiple volume values are determined based on equal loudness curves and change non-linearly. .
  • the electronic device can increase the playback volume from the current playback volume to the order of the multiple volume values in the above volume adjustment relationship according to the first feedback operation input by the user.
  • multiple volume values in a certain target frequency point to be detected include: 120dB HL, 116dB HL, 112dB HL, 110dB HL, 108dB HL, 106dB HL, 104dB HL, 102dB HL, 100dB HL, 99dB HL, 98dB HL , 96dB HL, 94dB HL, 91dB HL, 88dB HL, 84dB HL, 80dB HL, 75dB HL, 70dB HL, 64dB HL, 58dB HL, 40dB HL and 0dB HL. If the current playback volume is 80dB HL, the audio will be tested. Increase the playback volume from 80dB HL to 84dB HL. If the current playback volume is 40dB HL, increase the playback volume of the test audio from 40dB HL to 58dB HL.
  • the electronic device can reduce the playback volume from the current playback volume to the order of the multiple volume values in the above volume adjustment relationship based on the second feedback operation input by the user based on the current playback volume.
  • multiple volume values in a target frequency point to be detected include: 120dB HL, 116dB HL, 112dB HL, 110dB HL, 108dB HL, 106dB HL, 104dB HL, 102dB HL, 100dB HL, 99dB HL, 98dB HL , 96dB HL, 94dB HL, 91dB HL, 88dB HL, 84dB HL, 80dB HL, 75dB HL, 70dB HL, 64dB HL, 58dB HL, 40dB HL and 0dB HL.
  • the volume adjustment relationship includes multiple volume levels arranged in order from small to large or from large to small, and the volume values corresponding to the multiple volume levels are determined based on the equal loudness curve, And it changes non-linearly.
  • the electronic device can respond to the volume increase operation by increasing the playback volume of the test audio from the volume value corresponding to the current volume level to the volume value corresponding to the volume level adjacent to the current volume level; electronic The device may also respond to the volume reduction operation by reducing the playback volume of the test audio from the volume value corresponding to the current volume level to the volume value corresponding to the volume level adjacent to the current volume level.
  • the volume increase operation may be a touch operation on a control for increasing the volume in the display interface, or a touch operation on a physical button for increasing the volume; the volume decrease operation may be a touch operation on a control in the display interface for increasing the volume. A touch on the control that reduces the volume, or a touch on the physical button that reduces the volume.
  • volume gears arranged from small to large include: volume gear 1, volume gear 2, volume gear 3, volume gear 4, volume gear 5, volume gear 6, volume gear 7 and volume Gear 8, the current playback volume is the volume value corresponding to volume gear 5. If a volume increase operation is detected, the playback volume of the test audio can be increased to the volume value corresponding to volume gear 6; if a volume decrease is detected With a small operation, you can reduce the playback volume of the test audio to the volume value corresponding to volume level 4.
  • the electronic device can also display second prompt information in the display interface.
  • the second prompt information is used to prompt the user to perform a volume reduction operation on the playback volume of the test audio based on the current playback volume until it is able to Listen to the test audio until you can barely hear the test audio, or increase the playback volume of the test audio until you can barely hear the test audio. This allows the user to adjust the playback volume to increase or decrease the playback volume of the test audio, thereby determining the hearing threshold.
  • the user operation may be an operation that triggers volume adjustment, and may be a volume selection operation, a feedback operation, a sliding operation, and other various operation forms.
  • Step S130 In response to the first confirmation instruction, determine the current playback volume of the test audio, and use the current playback volume as the hearing threshold corresponding to the target frequency point.
  • the electronic device after adjusting the playback volume of the test audio according to the input volume adjustment operation, when the electronic device detects the input first confirmation instruction, it can determine the hearing threshold corresponding to the target frequency point, that is, The user's hearing threshold at the target frequency point can specifically determine the current playback volume of the test audio, and use the current playback volume as the hearing threshold corresponding to the target frequency point.
  • the first confirmation instruction is an instruction fed back by the user based on the perception of the played test audio. The first confirmation instruction is used to instruct the user to change from being able to hear the test audio to just being unable to hear the test audio, or from From the state where the test audio cannot be heard to the state where the test audio can just be heard.
  • the first confirmation instruction may be input by the user on the display interface, or input through physical keys, or may be input by voice.
  • the specific input method of the first confirmation instruction may not be limited.
  • the electronic device displays a first confirmation control of the hearing threshold in the display interface. If the electronic device detects a confirmation operation for the first confirmation control, it can determine that the first confirmation instruction is detected, And use the current playback volume as the hearing threshold corresponding to the target frequency point. In this method, the user can touch the first confirmation control from a state where the test audio can be heard to a state where the test audio can just be heard, or from a state where the test audio cannot be heard to a state where the test audio can just be heard. Therefore, the electronic device can determine that the currently playing audio when detecting the touch operation is the hearing threshold corresponding to the target frequency point.
  • the electronic device can be adjusted in this manner.
  • the volume adjustment operation ends, it is determined that the first confirmation instruction is detected, and the current playback volume is used as the hearing threshold corresponding to the target frequency point.
  • the playback volume is adjusted according to the sliding operation of the slide bar, and the sliding operation is continuous sliding, then when the operation of releasing the slide bar is detected (that is, a lifting event is detected during the sliding operation) , it can be determined that the first confirmation instruction is detected, and the current playback volume is used as the hearing threshold corresponding to the target frequency point; for another example, the volume adjustment operation is for a volume adjustment control (a control used to increase or decrease the playback volume) Continuous pressing operation. In this method, the playback volume of the test audio can be continuously adjusted according to the pressing operation (for example, every time the pressing operation lasts for 1 second, the playback volume will be increased or decreased).
  • the pressing operation ends (that is, a lift event is detected during the pressing operation), it can be determined that the first confirmation instruction is detected, and the current playback volume is used as the hearing threshold corresponding to the target frequency point. Therefore, in this embodiment, if the user changes from a state where the test audio can be heard to a state where the test audio can just be heard, or from a state where the test audio cannot be heard to a state where the test audio can just be heard, the volume adjustment can be ended. Adjust the operation so that the electronic device can determine the volume threshold at the target frequency point.
  • the electronic device may also display a second confirmation control in the display interface.
  • the electronic device may respond to the touch operation on the second confirmation control, determine that the first confirmation instruction is detected, and use the current playback volume as the hearing threshold corresponding to the target frequency point.
  • the electronic device may respond to the touch operation on the second confirmation control, determine that the first confirmation instruction is detected, and use the current playback volume as the hearing threshold corresponding to the target frequency point.
  • the slide bar as an example, confirm that the user releases the
  • the second confirmation control such as clicking the next step control, the volume value corresponding to the corresponding position on the slide bar when the user releases the operation is used as the user's hearing threshold at that frequency point.
  • the touch operation of the second confirmation control is used as a trigger to input the first confirmation instruction, thereby avoiding the occurrence of user misoperation (for example, user misoperation).
  • the volume adjustment operation ends, resulting in the current playback volume being mistakenly used as the volume threshold of the target frequency point), thereby determining the volume threshold more accurately.
  • the hearing detection method provided by the embodiment of the present application outputs the test audio of the target frequency point at the initial volume, and responds to the user operation and adjusts the playback volume of the test audio based on the volume adjustment relationship corresponding to the target frequency point, and the volume adjustment relationship is Determined based on the equal loudness curve, in response to the first confirmation instruction, the current playback volume of the test audio is determined, and the current playback volume is used as the hearing threshold corresponding to the target frequency point. Since the volume adjustment relationship for volume adjustment when playing test audio is determined based on equal loudness curves, it is more in line with the user's hearing characteristics, thereby improving the speed of hearing detection.
  • FIG. 6 shows a schematic flow chart of a hearing detection method provided by another embodiment of the present application.
  • This hearing detection method is applied to the above-mentioned electronic equipment.
  • the process shown in Figure 6 will be described in detail below.
  • the hearing detection method may specifically include the following steps:
  • Step S210 Output the test audio of the target frequency point at the initial volume.
  • step S210 may be referred to other embodiments, and will not be described again here.
  • Step S220 In response to the touch operation on the target control in the display interface, adjust the playback volume of the test audio based on the volume adjustment relationship corresponding to the target frequency point, wherein the volume adjustment relationship is determined based on the equal loudness curve. of.
  • a target control when performing a hearing test on a user, a target control may be displayed in the display interface, and the target control is used to adjust the playback volume of the test audio.
  • the playback volume of the test audio can be adjusted based on the volume adjustment relationship corresponding to the target frequency point in response to the touch operation.
  • the display interface also displays target prompt information, which is used to prompt the user to perform a touch operation on the target control to adjust the playback volume of the test audio until the test audio can be heard to just right.
  • the test audio cannot be heard, or the playback volume of the test audio can be increased until the test audio can just be heard.
  • the user can perform a touch operation on the target control to increase or decrease the playback volume of the test audio, thereby determining the hearing threshold.
  • the target control may be a slide bar
  • the electronic device may adjust the playback volume of the test audio based on the above volume adjustment relationship in response to a control operation on the slide bar.
  • the volume adjustment relationship includes a first correspondence between multiple volume levels and multiple positions arranged in sequence on the slide bar, and a first correspondence between each of the multiple volume levels and a volume value.
  • the second corresponding relationship is that the volume values corresponding to multiple volume levels are determined based on equal loudness curves, and increase or decrease in a non-linear manner.
  • the volume adjustment relationship may also include: a third corresponding relationship between multiple positions arranged sequentially on the slide bar and volume values, where the volume values corresponding to the multiple positions increase non-linearly or sequentially. Decrease in turn.
  • the shape of the slide bar may not be limited, for example, it may be rectangular or arc-shaped; for example, the electronic device may also prompt the user to "drag the volume bar to a position where the prompt sound is just no longer heard.”
  • the electronic device when the electronic device detects a first selection operation for the first target position on the slide bar, in response to the first selection operation, based on the first correspondence relationship, the electronic device may determine the first selection operation.
  • the electronic device when the electronic device detects a first selection operation for the first target position on the slide bar, in response to the first selection operation, based on the third correspondence relationship, the electronic device determines the first selection operation.
  • the volume value corresponding to the target position It can be understood that the third relationship can also be determined based on the equal loudness curve.
  • the multiple positions on the slide bar can be evenly distributed (that is, the distance between adjacent positions is the same), or they can be unevenly distributed; the multiple positions on the slide bar correspond to the volume levels.
  • the corresponding volume value is determined based on the equal loudness curve, and increases or decreases non-linearly.
  • the above first selection operation may be a touch operation on the target position on the slide bar, such as a click operation, a pressing operation whose pressing conditions meet the preset pressing conditions, etc.
  • the user can adjust the playback volume of the test audio by performing the above first selection operation on different positions on the slide bar, and the volume values corresponding to the above multiple volume levels are based on the equal loudness curve. Determined, so the playback volume corresponding to the hearing threshold can be quickly adjusted, so that the hearing threshold can be quickly determined.
  • the above first selection operation may be a sliding operation on the sliding block on the sliding bar, and different positions on the sliding bar are selected by responding to the sliding operation.
  • the distance between every two adjacent positions on the slide bar may be the same.
  • the playback volume of the test audio can be controlled to increase or decrease based on the current playback volume, and according to the sliding distance of the control slider in the slide bar, the volume can be adjusted with different adjustment ranges.
  • the second corresponding relationship in is determined based on the equal loudness curve, and the volume values corresponding to multiple volume levels increase or decrease non-linearly, and every two adjacent positions in the multiple positions on the slide bar The spacing distance between them is the same (that is, evenly distributed), so when the sliding block is moved to the same sliding distance, the change amplitude of the adjusted volume is not fixed, which can better conform to the user's listening habits, so the sliding
  • the method of adjusting the volume of the slider allows the user to quickly adjust the playback volume corresponding to the hearing threshold by sliding the slider in the slider, thereby quickly determining the hearing threshold.
  • the above target control can also be an indication block.
  • the sliding direction and sliding distance of the sliding operation on the indication block can be adjusted according to the sliding operation, as well as the volume adjustment relationship.
  • the sliding direction corresponds to increasing or decreasing the playback volume. For example, if the sliding direction is the first direction, the playback volume of the test audio is increased, and if the sliding direction is the second direction, the playback volume of the test audio is decreased. Volume, the first direction is opposite to the second direction; the volume adjustment relationship may include multiple adjustable volume levels from small to large, each volume level corresponds to a playback volume, and the volume adjustment relationship may also include sliding The corresponding relationship between distance and the number of volume gear adjustments.
  • the number of volume gear adjustments is positively correlated with the sliding distance.
  • the volume values corresponding to multiple volume gears are determined based on the equal loudness curve. Based on this, the number of volume gear adjustments based on the current volume gear can be determined based on the sliding distance.
  • the volume gear includes volume gear 1, volume gear 2, volume gear 3,..., Volume gear 11 and volume gear 12. If the current volume gear is volume gear 5, the number of volume gear adjustments corresponding to the sliding distance is 3, and the playback volume of the test audio is increased based on the sliding direction. Then you can increase the volume level to volume level 8, that is, increase the playback volume of the test audio to the playback volume corresponding to volume level 8.
  • the above target control may be a roulette control used for volume adjustment.
  • the playback volume of the test audio may be adjusted based on the operation on the roulette control.
  • the operation on the roulette control may include one or more of a click operation, a pressing operation, a sliding operation, a rotating operation, and the like.
  • Figure 7 shows a schematic diagram of the roulette control A2 displayed in the display interface A1 provided by the embodiment of the present application.
  • the roulette control A2 in Figure 7 can be used to adjust the playback volume of the test audio, and The current playback volume can be displayed in the roulette control A2.
  • the roulette control may include a roulette area and a pointer.
  • the electronic device can display the roulette control in the display interface, display multiple scale values around the roulette area, and display the pointer at a designated position.
  • Each of the multiple scale values corresponds to the playback volume that can be adjusted.
  • This pointer is used to indicate the currently selected volume value.
  • the multiple scale values are arranged in order from small to large or from large to small, and the multiple adjustable volume values are determined based on the equal loudness curve.
  • the wheel control may include a pointer for selecting a volume value, and the pointer is used to indicate the currently selected volume value.
  • the scale value used to represent the volume value can be displayed outside the roulette area of the roulette control and distributed around the roulette area. Each scale value corresponds to a volume value, so that the user can rotate the roulette area, or Rotate the pointer to different positions to select different volume values.
  • multiple scale values can be evenly distributed outside the roulette area in order from small to large or small to large, and distributed along the circumference corresponding to the roulette area; as another way In this way, multiple scale values can also be randomly distributed outside the roulette area and distributed along the corresponding surroundings of the roulette area.
  • the volume values corresponding to the multiple volume levels match the user's hearing range. Specifically, the volume values corresponding to multiple volume levels can cover the human audible range.
  • volume values corresponding to the multiple volume levels and the volume values corresponding to the multiple positions include at least part of the volume values of at least one group of the following multiple groups of volume values:
  • the first set of volume values 125dB HL, 120dB HL, 114.5dB HL, 112.5dB HL, 110.5dB HL, 108.5dB HL, 104.5dB HL, 103.5dB HL, 102.5dB HL, 100dB HL, 95.5dB HL, 93dB HL, 84.5dB HL, 78.5dB HL, 77dB HL, 69.5dB HL, 63dB HL, 45dB HL and 0dB HL;
  • the second set of volume values 120dB HL, 116dB HL, 110dB HL, 108dB HL, 106dB HL, 104dB HL, 100dB HL, 99dB HL, 98dB HL, 96dB HL, 91dB HL, 88dB HL, 80dB HL, 75dB HL, 70dB HL , 65dB HL, 58dB HL, 40dB HL and 0dB HL;
  • the third set of volume values 122dB HL, 118dB HL, 112dB HL, 110dB HL, 108dB HL, 106dB HL, 102dB HL, 101dB HL, 100dB HL, 98dB HL, 93dB HL, 90dB HL, 82dB HL, 77dB HL, 72dB HL , 67dB HL, 60dB HL, 42dB HL and 0dB HL;
  • the fourth group of volume values 122.5dB HL, 118.5dB HL, 112.5dB HL, 110.5dB HL, 108.5dB HL, 106.5dB HL, 102.5dB HL, 101.5dB HL, 100.5dB HL, 98.5dB HL, 93.5dB HL, 90.5dB HL, 81.5dB HL, 77.5dB HL, 72.5dB HL, 67.5dB HL, 60.5dB HL, 42.5dB HL and 0dB HL;
  • the fifth group of volume values 128dB HL, 124dB HL, 119dB HL, 116dB HL, 114.5dB HL, 112dB HL, 109dB HL, 107.5dB HL, 106dB HL, 104.5dB HL, 99.5dB HL, 96.5dB HL, 87.5dB HL ,83.5 dB HL, 78.5dB HL, 73.5dB HL, 66.5dB HL, 48.5dB HL and 0dB HL;
  • the sixth group of volume values 126dB HL, 122dB HL, 116dB HL, 114dB HL, 112dB HL, 110dB HL, 106dB HL, 105dB HL, 104dB HL, 102dB HL, 97dB HL, 94dB HL, 86dB HL, 81dB HL, 74dB HL , 71dB HL, 64dB HL, 46dB HL and 0dB HL.
  • each of the above multiple sets of volume values corresponds to a different target frequency point.
  • the above first set of volume values can be multiple volume values corresponding to 500Hz
  • the above second set of volume values can be multiple corresponding to 1000Hz.
  • the third group of volume values above can be multiple volume values corresponding to 2000Hz.
  • the fourth group of volume values above can be multiple volume values corresponding to 4000Hz.
  • the fifth group of volume values above can be multiple volume values corresponding to 6000Hz.
  • the above sixth group of volume values can be multiple volume values corresponding to 8000Hz.
  • each volume value in each group of volume values has an adjustable range of -6dB HL ⁇ 6dB HL, that is to say, the adjustable range of each volume value is ⁇ 6dB HL, that is, each volume value has an adjustable range of -6dB HL ⁇ 6dB HL.
  • the volume value can be increased by a maximum of 6dB HL and decreased by a maximum of 6dB HL.
  • the volume values corresponding to the above multiple volume levels and the volume values corresponding to multiple positions can cover the hearing range of most people, so that the user's hearing threshold can be accurately detected.
  • the specific form of the target control in the embodiment of the present application is not limited.
  • it can also be the volume level selection control in the previous embodiment, a control for inputting the first feedback operation or the second feedback operation, Controls for inputting volume up operations or volume down operations, etc.
  • the playback volume of the test audio can be adjusted in response to the sliding operation.
  • the designated area may be a blank area in the display interface, and the specific designated area may not be limited.
  • it can be determined to increase or decrease the playback volume of the test audio according to the sliding direction of the sliding operation, and to determine the playback volume to be increased or decreased based on the sliding distance of the sliding operation.
  • Step S230 In response to the first confirmation instruction, determine the current playback volume of the test audio, and use the current playback volume as the hearing threshold corresponding to the target frequency point.
  • step S230 the content of step S230 can be referred to other embodiments, and will not be described again here.
  • the playback volume is adjusted based on the target control in the display interface. , which enables the user to quickly adjust the playback volume corresponding to the hearing threshold by using the touch operation on the target control, thereby quickly determining the hearing threshold.
  • FIG. 8 shows a schematic flow chart of a hearing detection method provided by yet another embodiment of the present application.
  • This hearing detection method is applied to the above-mentioned electronic equipment.
  • the process shown in Figure 8 will be described in detail below.
  • the hearing detection method may specifically include the following steps:
  • Step S310 Obtain the initial volume corresponding to the target frequency point, and output the test audio of the target frequency point at the initial volume, wherein the initial volume is based on the pre-tested minimum hearing level corresponding to the target frequency point. The corresponding target boost level is determined.
  • the initial volume corresponding to the target frequency point when starting to play the test audio of the target frequency point, the initial volume corresponding to the target frequency point can be obtained, so that the test audio of the target frequency point can be played at the initial volume, and the initial volume is based on the pre-test
  • the target boost level corresponding to the minimum hearing level corresponding to the target frequency point is determined. Therefore, based on the initial volume, when adjusting the playback volume of the test audio, the target can be detected by performing a small amount of volume adjustment operations.
  • the hearing threshold corresponding to the frequency point when adjusting the playback volume of the test audio, the target can be detected by performing a small amount of volume adjustment operations.
  • the target boost level corresponding to the above minimum hearing level is the dB SPL corresponding to 0dB HL.
  • dB HL is a sound intensity unit widely used in the audiology community. It is obtained by conducting experiments on hearing users aged 18-25. These people The minimum sound pressure level heard at each frequency is set to 0dB HL, and conversion between dB HL and dB SPL is possible.
  • the human ear has different sensitivity to sounds of different frequencies, the dB SPL corresponding to 0dB HL at different frequency points is different.
  • the conversion relationship between dB HL and dB SPL is as shown in the following table:
  • the above initial volume may be the sum of the above target sound pressure level corresponding to the target frequency point and the preset volume. That is to say, the preset volume is increased based on the above target sound pressure level corresponding to the target frequency point. Set the volume to obtain the above output volume.
  • the preset volume can be 15 ⁇ 25dB HL, and the specific value of the preset volume is not limited.
  • the above preset volume can be a volume obtained in advance through testing by multiple testers with normal hearing.
  • the sum of the target sound pressure level corresponding to the above minimum sound pressure level and the preset volume can be The initial volume that these testers can hear. Therefore, increasing the preset volume based on the above target sound pressure level can meet the hearing level of most users, so that the user can adjust the test volume after a small amount of volume adjustment operations.
  • the audio playback volume is adjusted to the volume corresponding to the hearing threshold.
  • the above preset volume that needs to be increased can be determined based on the historical volume of audio playback using wireless headphones, wherein the electronic device can obtain the history of outputting the audio at the above target frequency point. Volume, and based on the obtained volume, determine the above preset volume that needs to be increased. For example, based on the above historical volume, it can be determined whether the historical volume is greater than the volume threshold.
  • the volume threshold it means that the user is accustomed to a larger volume when listening to audio at the target frequency using wireless headphones, so the first volume can be used as the The above preset volume; if it is not greater than the volume threshold, it means that the user is accustomed to a smaller volume when listening to audio at the target frequency using wireless headphones, so the second volume can be used as the above preset volume, where the second volume is less than Above the first volume. Therefore, the user's hearing threshold can be detected faster by playing the test audio at the determined initial volume.
  • preset volumes set by different users may be pre-stored.
  • the electronic device can determine the preset volume corresponding to the target user's setting based on the identity information of the target user currently undergoing hearing testing, and determine the initial volume based on the preset volume and the minimum audible sound intensity level above. Based on this method, the user can set the above preset volume according to the estimation of his or her own hearing level, so that the determined initial volume can enable the user's hearing threshold to be detected faster.
  • Step S320 In response to user operation, adjust the playback volume of the test audio based on the volume adjustment relationship corresponding to the target frequency point, where the volume adjustment relationship is determined based on the equal loudness curve.
  • Step S330 In response to the first confirmation instruction, determine the current playback volume of the test audio, and use the current playback volume as the hearing threshold corresponding to the target frequency point.
  • step S330 can be referred to other embodiments, and will not be described again here.
  • the hearing detection method provided by the embodiment of the present application plays the test audio at an initial volume determined based on the target sound pressure level corresponding to the minimum sound pressure level corresponding to the target frequency point during the hearing test, thereby allowing the user to The hearing threshold can be quickly determined based on this initial volume. Moreover, since the volume adjustment relationship for volume adjustment when playing test audio is determined based on equal loudness curves, it is more in line with the user's hearing characteristics, thereby improving the speed of hearing detection.
  • FIG. 9 shows a schematic flow chart of a hearing detection method provided by yet another embodiment of the present application.
  • This hearing detection method is applied to the above-mentioned electronic equipment.
  • the process shown in Figure 9 will be described in detail below.
  • the hearing detection method may specifically include the following steps:
  • Step S410 Output the test audio of the target frequency point at the initial volume.
  • Step S420 In response to user operation, adjust the playback volume of the test audio based on the volume adjustment relationship corresponding to the target frequency point, where the volume adjustment relationship is determined based on the equal loudness curve.
  • Step S430 In response to the first confirmation instruction, determine the current playback volume of the test audio, and use the current playback volume as the hearing threshold corresponding to the target frequency point.
  • steps S410 to S430 may be referred to the contents of the previous embodiments, and will not be described again here.
  • Step S440 Determine whether the hearing threshold corresponding to each of the plurality of preset frequency points is obtained.
  • the above target frequency point is any preset frequency point among multiple preset frequency points to be tested. That is to say, the preset frequency point is the frequency point at which hearing is to be detected. Understandably, The hearing ability of the human ear has different sensitivity levels at different frequencies. Therefore, the user's hearing can be detected based on the corresponding frequency points.
  • the user's hearing threshold at the target frequency point is obtained through the above steps S410 to step S430, it can be determined whether the hearing test of all preset frequency points has been completed. Therefore, it can be determined whether each of the above multiple preset frequency points has been obtained.
  • the hearing threshold corresponding to the frequency point is preset to determine whether to return to step S410 based on the judgment result.
  • step S450 adjust the target frequency point, and return to step S410. If so, end the process.
  • the target frequency point can be adjusted to the preset frequency point for which the hearing test has not been completed. And return to step S410 to detect the adjusted hearing threshold of the target frequency point. Repeat this, and if it is determined that the hearing threshold corresponding to each of the above preset frequencies has been obtained, the process can be ended. At this time, the detection of the hearing thresholds of all preset frequencies has been completed.
  • a slide bar A3 when detecting the hearing of the user's left ear, a slide bar A3 can be displayed in the display interface A1.
  • the slide bar A3 is used to adjust the playback volume of the test audio, and there is also a slide bar A3 in the display interface A1.
  • a prompt message is displayed.
  • the prompt message is used to prompt the user to adjust the volume to a position where the sound is just no longer audible. Therefore, the user can operate the slide bar A3 based on the prompt message to adjust the playback volume of the test audio, and then complete the Hearing detection at target frequency point.
  • the display interface A1 may display indication information A5 of preset frequency points, and the preset frequency points for which the hearing threshold has been obtained and the preset frequency points for which the hearing threshold has not been obtained can be distinguished in different color states.
  • the hearing detection method provided by the embodiment of the present application in the process of detecting the user's hearing at different frequency points, due to The volume adjustment relationship for volume adjustment when playing test audio is determined based on the equal loudness curve, so it is more in line with the user's hearing characteristics, thereby improving the speed of hearing detection.
  • FIG 11 shows a schematic flow chart of a hearing detection method provided by yet another embodiment of the present application.
  • This hearing detection method is applied to the above-mentioned electronic equipment.
  • the process shown in Figure 11 will be described in detail below.
  • the hearing detection method may specifically include the following steps:
  • Step S510 Output the test audio of the target frequency point at the initial volume through the wireless earphone corresponding to the ear to be detected in both ears.
  • the wireless earphone includes a first wireless earphone corresponding to the left ear of both ears and a second wireless earphone corresponding to the right ear of both ears. If the hearing test is performed for the left ear, the test audio of the target frequency point can be output at the initial volume through the first wireless earphone, so that the hearing threshold of the left ear at the target frequency point can be determined by subsequent adjustment of the volume; For hearing testing of the right ear, the test audio of the target frequency point can be output at the initial volume through the second wireless earphone, and the hearing threshold of the right ear at the target frequency point can be determined by subsequent adjustment of the volume; of course, it can also be done at the same time Hearing tests are performed on both ears.
  • Step S520 In response to user operation, adjust the playback volume of the test audio based on the volume adjustment relationship corresponding to the target frequency point, where the volume adjustment relationship is determined based on the equal loudness curve.
  • Step S530 In response to the first confirmation instruction, determine the current playback volume of the test audio, and use the current playback volume as the hearing threshold corresponding to the target frequency point.
  • steps S510 to S530 may be referred to the contents of the foregoing embodiments, and will not be described again here.
  • the hearing threshold of one of the user's ears at the target frequency point can be detected through steps S510 to S530. That is, the hearing threshold obtained above is the hearing threshold of one of the two ears. The first hearing threshold at the target frequency point. After completing the detection of the first hearing threshold of one ear at the target frequency point, the above initial volume can be updated to the obtained hearing threshold, and return to the step of outputting the test audio of the target frequency point at the initial volume, That is, steps S510 to S530 are repeatedly executed to obtain the second hearing threshold of the other ear at the target frequency point.
  • the test audio at the target frequency point is played through the first wireless earphone above at the initial volume, and the volume of the test audio played by the first wireless earphone is adjusted in response to the user operation.
  • the current playback volume is used as the hearing threshold of the left ear at the target frequency point; when the hearing threshold at the target frequency point is detected for the child, the target is played at the initial volume through the above second wireless headset
  • the volume of the test audio played by the second wireless earphone is adjusted.
  • the current playback volume is used as the hearing threshold of the right ear at the target frequency point.
  • this implementation method can also be combined with the method of detecting the hearing thresholds of multiple preset frequency points in the previous embodiment. That is to say, the above steps S510 to S530 can be used to complete the detection of one ear at each preset frequency point.
  • the hearing threshold of the ear is detected, and based on the hearing threshold of the ear at each preset frequency point, the initial volume of the test audio is output when detecting the other ear at each preset frequency point, thereby alternately detecting the hearing thresholds of both ears and improving hearing. Detection efficiency.
  • the target frequency point can be set as the first preset frequency point, and through steps S510 to S530, the hearing threshold of the left ear at the first preset frequency point is detected to obtain the hearing threshold of the left ear at the first preset frequency point.
  • the hearing threshold After clicking the hearing threshold, use the hearing threshold as the initial volume and repeat steps S510 to S530 to complete the detection of the hearing threshold of the right ear of both ears at the first preset frequency point; then, adjust the target The frequency point is the second preset frequency point.
  • steps S510 to S530 the hearing threshold of the right ear at the second preset frequency point is obtained, and then the obtained hearing threshold is used as the initial volume.
  • the hearing threshold of the left ear of both ears is detected at the second preset frequency point; this is repeated, and the hearing thresholds of the left ear and the right ear at each preset frequency point are alternately detected.
  • the hearing threshold is detected, and when detecting the hearing threshold of the right ear at each preset frequency point, the hearing threshold of the left ear at each preset frequency point can be used as the initial volume, and steps S510 to S530 are performed, so that Get the hearing threshold of the right ear at each preset frequency point.
  • Step S540 Based on the hearing threshold, perform audio compensation on the audio of the target frequency point in the audio to be played.
  • audio compensation can also be performed on the audio to be played according to the detected hearing threshold when playing the audio, so that the user can clearly hear the sound details and the original inability to hear due to hearing damage. the sound of.
  • audio compensation for the audio to be played can be implemented based on multiple infinite impulse response (IIR) digital filters.
  • the audio compensation can be based on the obtained hearing loss of each preset frequency point. Threshold, determine multiple IIR digital filters, and compensate the audio to be played based on the obtained IIR digital filters.
  • the digital filter may be a second-order IIR digital filter.
  • multiple IIR digital filters can respectively correspond to the audio content of different frequency bands. Each IIR digital filter is used to compensate for the audio content of its corresponding frequency band.
  • the above hearing thresholds can be mapped to in the digital filter corresponding to the frequency band to which the target frequency point belongs.
  • the plurality of IIR digital filters may include a first IIR digital filter, a second IIR digital filter, a third IIR digital filter, a fourth IIR digital filter, and a fifth IIR digital filter.
  • the first IIR digital filter is used to compensate for the audio in the low-frequency band
  • the second IIR digital filter, the third IIR digital filter and the fourth IIR digital filter are used to compensate for the audio in different sub-bands in the mid-frequency band.
  • the fifth IIR digital filter is used to compensate for high-frequency audio.
  • the filter coefficients of each IIR filter can be determined by the preset frequency points corresponding to the frequency bands that need to be compensated.
  • the preset frequency points include 800Hz
  • the second IIR digital filter is used for compensation of audio content from 500Hz to 1000Hz.
  • the filter coefficient of the second IIR digital filter can be determined based on the hearing threshold corresponding to 800Hz. It is understood that the number of multiple IIR digital filters may not be limited. For example, there may be more than 5 IIR digital filters to more accurately compensate for audio in different frequency bands.
  • the cascaded multiple IIR digital filters are also connected to a limiter.
  • the limiter is used to limit the audio after passing through the multiple IIR digital filters to prevent digital signal overflow and Protect speakers.
  • the electronic device can separately detect the hearing thresholds of the left ear at each preset frequency and the right ear at each preset frequency.
  • Set the hearing threshold at the frequency determine the above IIR digital filter corresponding to the left ear and the above IIR digital filter corresponding to the right ear, and send the IIR digital filter corresponding to the left ear to the first wireless earphone in the wireless earphone, and
  • the IIR digital filter corresponding to the right ear is sent to the second wireless earphone in the wireless earphone, thereby allowing the first wireless earphone to compensate for the audio corresponding to the left ear, and the second wireless earphone to compensate for the audio corresponding to the right ear.
  • the frequency response diagram of hearing compensation is shown in Figure 13. It can be seen that using the above method to perform hearing compensation can focus on the audio in the high-frequency part. Compensation so that the user can clearly hear sounds that would otherwise be inaudible due to hearing loss.
  • the hearing detection method provided by the embodiment of the present application since the volume adjustment relationship for volume adjustment when playing the test audio is determined based on the equal loudness curve, it is more in line with the user's hearing characteristics, thereby improving the The speed of hearing testing.
  • the audio to be played is compensated, allowing the user to clearly hear sound details and sounds that were originally inaudible due to hearing damage.
  • FIG. 14 shows a structural block diagram of a hearing detection device 400 provided by an embodiment of the present application.
  • the hearing detection device 400 applies the above-mentioned electronic equipment.
  • the hearing detection device 400 includes: an audio output module 410, a volume adjustment module 420, and a hearing threshold acquisition module 430.
  • the audio output module 410 is used to output the test audio of the target frequency point at an initial volume;
  • the volume adjustment module 420 is used to adjust the test audio based on the volume adjustment relationship corresponding to the target frequency point in response to user operation.
  • the playback volume of the audio wherein the volume adjustment relationship is determined based on the equal loudness curve; the hearing threshold acquisition module 430 is used to determine the current playback volume of the test audio in response to the first confirmation instruction, and set the current The playback volume is used as the hearing threshold corresponding to the target frequency point.
  • the volume adjustment relationship includes multiple adjustable volume values, and the multiple adjustable volume values are determined based on equal loudness curves; and/or the target frequency point is Any preset frequency point among the plurality of preset frequency points to be detected, the volume adjustment relationship includes multiple volume levels, and the same volume level in the volume adjustment relationship of the multiple preset frequency points The corresponding volume value is determined according to the equal loudness curve, and the volume values corresponding to the same volume level of the plurality of preset frequency points are different.
  • the volume adjustment module 420 may be specifically configured to adjust the playback volume of the test audio based on the volume adjustment relationship corresponding to the target frequency point in response to a touch operation on the target control in the display interface.
  • the sliding control is a slide bar
  • the volume adjustment module 420 may also be specifically configured to: in response to a control operation for the slide bar in the display interface, adjust the volume corresponding to the target frequency point based on the control operation of the slide bar in the display interface. Adjust the relationship to adjust the playback volume of the test audio.
  • the volume adjustment relationship includes a first corresponding relationship between multiple volume gears and multiple positions arranged sequentially on the slide bar, and each volume gear in the multiple volume gears.
  • the second corresponding relationship between the volume value and the volume value is that the volume values corresponding to the multiple volume gears increase or decrease in a non-linear manner; or, the volume adjustment relationship includes: multiple volume levels arranged in sequence on the slide bar.
  • the volume adjustment module 420 may also be specifically configured to: in response to the first selection operation for the first target position on the slide bar in the display interface, determine the first target based on the first corresponding relationship. the first volume level corresponding to the position; based on the second correspondence, adjust the playback volume of the test audio to the volume value corresponding to the first volume level.
  • the volume values corresponding to the multiple volume levels match the hearing range of the user; the first The volume values corresponding to the plurality of positions in the three-correspondence relationship match the hearing range of the user.
  • volume values corresponding to the multiple volume gears and the volume values corresponding to the multiple positions include at least part of the volume values of at least one set of volume values among the following sets of volume values:
  • each group of volume values in the plurality of groups of volume values corresponds to a different target frequency point
  • each volume value in each group of volume values has an adjustable range of -6dB HL to 6dB HL.
  • the audio output module 410 may be specifically configured to: obtain the initial volume corresponding to the target frequency point, and output the test audio of the target frequency point at the initial volume, wherein the initial volume is based on a pre-test The target sound pressure level corresponding to the minimum audible level corresponding to the target frequency point is determined.
  • the initial volume is the sum of the target sound pressure level and the preset volume.
  • the preset volume is 15 ⁇ 25dB HL.
  • the target frequency point is any preset frequency point among multiple preset frequency points to be tested
  • the hearing detection device 400 may further include a frequency adjustment module.
  • the frequency adjustment module is configured to adjust the target frequency point after determining the current playback volume of the test audio in response to the first confirmation instruction and using the current playback volume as the hearing threshold corresponding to the target frequency point. , and return to the step of outputting the test audio of the target frequency point at the initial volume until the hearing threshold corresponding to each of the plurality of preset frequency points is obtained.
  • the hearing threshold is the first hearing threshold of one ear of both ears at the target frequency point.
  • the audio output module 410 may be specifically configured to output the test audio of the target frequency point at the initial volume through the wireless earphones corresponding to the ears to be detected in both ears.
  • the hearing detection device 400 may also include an initial volume update module.
  • the initial volume update module is configured to, after determining the current playback volume of the test audio in response to the first confirmation instruction, and using the current playback volume as the hearing threshold corresponding to the target frequency point, update the initial volume Update to the hearing threshold, and return to the step of outputting the test audio of the target frequency point at the initial volume through the wireless earphone corresponding to the ear to be detected in both ears, and obtain the target frequency of the other ear in both ears.
  • the second hearing threshold of the frequency point is configured to, after determining the current playback volume of the test audio in response to the first confirmation instruction, and using the current playback volume as the hearing threshold corresponding to the target frequency point, update the initial volume Update to the hearing threshold, and return to the step of outputting the test audio of the target frequency point at the initial volume through the wireless earphone corresponding to the ear to be detected in both ears, and obtain the target frequency of the other ear in both ears.
  • the second hearing threshold of the frequency point is configured to, after determining the current playback volume of the test audio in
  • the hearing detection device 400 may also include an audio compensation module.
  • the audio compensation module is configured to determine the current playback volume of the test audio in response to the first confirmation instruction, and use the current playback volume as the hearing threshold corresponding to the target frequency point, based on the hearing threshold, Perform audio compensation on the audio at the target frequency point in the audio to be played.
  • the coupling between modules may be electrical, mechanical or other forms of coupling. It should be noted that the embodiments, implementation modes and technical features in this application can be combined with each other without conflict.
  • each functional module in each embodiment of the present application can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software function modules.
  • the solution provided by this application responds to user operations by outputting the test audio at the target frequency point at the initial volume. Based on the volume adjustment relationship corresponding to the target frequency point, the playback volume of the test audio is adjusted, and the volume adjustment relationship is determined based on the equal loudness curve. In response to the first confirmation instruction, the current playback volume of the test audio is determined, and the current playback volume is As the hearing threshold corresponding to the target frequency point. Since the volume adjustment relationship for volume adjustment when playing test audio is determined based on equal loudness curves, it is more in line with the user's hearing characteristics, thereby improving the speed of hearing detection.
  • FIG. 15 shows a structural block diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device 100 may be a smartphone, a tablet computer, a smart watch, an e-book, or other electronic device capable of running applications.
  • the electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more application programs, wherein one or more application programs may be stored in the memory 120 and configured by One or more processors 110 execute, and one or more application programs are configured to execute the method as described in the foregoing method embodiments.
  • Processor 110 may include one or more processing cores.
  • the processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120.
  • Various functions and processing data of the electronic device 100 may use at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA field-programmable gate array
  • PROM programmable logic array
  • the processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, etc.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • modem etc.
  • the CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the display content; and the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110 and may be implemented solely through a communication chip.
  • the memory 120 may include random access memory (RAM) or read-only memory (Read-Only Memory). Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 120 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing each of the following method embodiments, etc.
  • the storage data area can also store data created during use of the electronic device 100 (such as phone book, audio and video data, chat record data), etc.
  • FIG. 16 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • Program code is stored in the computer-readable medium 800, and the program code can be called by the processor to execute the method described in the above method embodiment.
  • Computer-readable storage medium 800 may be electronic memory such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 800 includes non-transitory computer-readable storage medium.
  • the computer-readable storage medium 800 has storage space for program code 810 that performs any method steps in the above-described methods. These program codes can be read from or written into one or more computer program products.
  • Program code 810 may, for example, be compressed in a suitable form.
  • Embodiments of the present application also provide a computer program product, including a computer program that implements the hearing detection method described in the above method embodiment when executed by a processor.

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Medical Informatics (AREA)
  • Acoustics & Sound (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Otolaryngology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Multimedia (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

一种听力检测方法、装置、电子设备及存储介质,该听力检测方法包括:(S110)以初始音量输出目标频点的测试音频;(S120)响应于用户操作,基于目标频点对应的音量调整关系,调整测试音频的播放音量,其中,音量调整关系是基于等响度曲线确定的;(S130)响应于第一确认指令,确定测试音频的当前播放音量,并将当前播放音量作为目标频点对应的听力阈值。本方法可以实现对用户听力的快速检测。

Description

听力检测方法、装置、电子设备及存储介质
相关申请的交叉引用
本申请要求于2022年8月9日提交的申请号为202210951404.3的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。
技术领域
本申请涉及音频处理技术领域,更具体地,涉及一种听力检测方法、装置、电子设备及存储介质。
背景技术
听力检测是通过将声源送到受检耳,观察声刺激引起的反应,以了解用户的听觉功能状态。目前,在对用户进行听力检测时,可以通过音频播放设备向用户播放听力测试音频,并根据用户对该听力测试音频的感知情况的反馈,得到听力测试结果。但是相关的听力检测方式中,存在检测效率低的问题。
发明内容
本申请提出了一种听力检测方法、装置、电子设备及存储介质,可以提升听力检测的效率。
第一方面,本申请实施例提供了一种听力检测方法,应用于电子设备,所述方法包括:以初始音量输出目标频点的测试音频;响应于用户操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量,其中,所述音量调整关系是基于等响度曲线确定的;响应于第一确认指令,确定所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值。
第二方面,本申请实施例提供了一种听力检测装置,应用于电子设备,所述装置包括:音频输出模块、音量调整模块以及听阈获取模块,其中,所述音频输出模块用于以初始音量输出目标频点的测试音频;所述音量调整模块用于响应于用户操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量,其中,所述音量调整关系是基于等响度曲线确定的;所述听阈获取模块用于响应于第一确认指令,确定所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值。
第三方面,本申请实施例提供了一种电子设备,包括:一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个应用程序配置用于执行上述第一方面提供的听力检测方法。
第四方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述第一方面提供的听力检测方法。
第五方面,本申请实施例提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述第一方面提供的听力检测方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了本申请实施例提供的应用场景的一种示意图。
图2示出了本申请实施例提供的应用场景的另一种示意图。
图3示出了本申请实施例提供的应用场景的又一种示意图。
图4示出了根据本申请一个实施例的听力检测方法流程图。
图5示出了本申请实施例提供的等响度曲线的示意图。
图6示出了根据本申请另一个实施例的听力检测方法流程图。
图7示出了本申请实施例提供的一种界面示意图。
图8示出了根据本申请又一个实施例的听力检测方法流程图。
图9示出了根据本申请再一个实施例的听力检测方法流程图。
图10示出了本申请实施例提供的另一种界面示意图。
图11示出了根据本申请又另一个实施例的听力检测方法流程图。
图12示出了本申请实施例提供的听力补偿的原理示意图。
图13示出了本申请实施例提供的听力补偿的频谱响应图。
图14示出了根据本申请一个实施例的听力检测装置的一种框图。
图15是本申请实施例的用于执行根据本申请实施例的听力检测方法的电子设备的框图。
图16是本申请实施例的用于保存或者携带实现根据本申请实施例的听力检测方法的程序代码的存储单元。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。
目前,不同听力损伤的人群占比越来越多。因此听力补偿也被广泛应用,例如,利用助听器、真无线立体声(True Wireless Stereo,TWS)耳机进行听力补偿。其功能主要是针对个人听力损伤频段将外界环境声音信号进行提升放大,不对音乐信号或者通话信号进行补偿。一般来说,听力检测与补偿的原理是通过检测用户听力阈值(例如听觉阈)来获取用户的听力受损情况再确定声音补偿信号,使其能够清楚听见声音细节以及原本因听力损伤导致无法听见的声音。
听力补偿需要测试用户的听力状况,目前市场上主要的方案是通过将听力测试的纯音信号固定参考音量存放在蓝牙耳机端,蓝牙耳机与移动设备之间通过蓝牙连接,移动设备安装可以控制听力检测交互协议的应用程序,通过蓝牙私有协议进行听力测试与交互,然后再根据听力检测结果通过听力补偿算法计算听力补偿滤波器,最后将听力补偿滤波器通过蓝牙私有协议发送到耳机端并应用于音乐通路听力补偿。
在相关技术中,进行听力检测时,通常情况下左/右耳分别测试,即测完其中一侧再测另一侧耳朵听力状态,且听力检测各频点初始音量采用同一参考音量进行测试。但是,在听力检测的过程中的测试步骤多、效率低。
针对上述问题,发明人提出了本申请实施例提供的听力检测方法、装置、电子设备以及存储介质,进行听力检测的过程中,播放测试音频时进行音量调整的音量调整关系是基于等响度曲线(也可以称为等响曲线)确定的,因此更为符合用户的听觉特性,从而能够提升听力检测的速度。其中,具体的听力检测方法在后续的实施例中进行详细的说明。
下面先对本申请实施例涉及的场景进行介绍。
如图1所示,在图1所示的场景中包括有电子设备100以及无线耳机200,其中,电子设备100与无线耳机200连接,无线耳机200处于图中所示的佩戴状态。无线耳机200可以包括第一无线耳机以及第二无线耳机,第一无线耳机以及第二无线耳机可以与电子设备连接,从而进行听力检测时,电子设备可以输出测试音频至第一无线耳机和第二无线耳机,以对用户的左耳及右耳的听力进行检测。
作为一种实施方式,请参阅图2,电子设备100与第一无线耳机210连接,第一无线耳机210与第二无线耳机220连接。可选地,第一无线耳机210为第二无线耳机220以及电子设备100的中继耳机,第一无线耳机210可以作为主耳机,第二无线耳机220可以作为从耳机,该实施方式中,第二无线耳机220与电子设备100之间进行数据传输时,通过第一无线耳机210作为中继耳机进行数据传输,即两者之间传输的数据通过第一无线耳机210进行传输;可选地,第二无线耳机220也可以通过监听电子设备100与第一无线耳机210的通信,以获取到电子设备100传输至第二无线耳机220的数据。
作为另一种实施方式,请参阅图3,电子设备100能够同时与第一无线耳机210和第二无线耳机220连接,第一无线耳机210和第二无线耳机220均能够直接与电子设备100之间进行数据传输,例如采用LE(Low Energy)Aduio低功耗音频蓝牙通信协议。
下面再结合附图对本申请实施例提供的听力检测方法进行详细介绍。
请参阅图4,图4示出了本申请一个实施例提供的听力检测方法的流程示意图。在具体的实施例中,所述听力检测方法应用于如图14所示的听力检测装置400以及配置有所述听力检测装置400的电子设备100(图15)。下面将以电子设备为例,说明本实施例的具体流程,当然,可以理解的,本实施例所应用的电子设备可以为智能手机、平板电脑、智能手表、电子书等,在此不做限定。下面将针对图4所示的流程进行详细的阐述,所述听力检测方法具体可以包括以下步骤:
步骤S110:以初始音量输出目标频点的测试音频。
其中,目标频点为待检测听力的多个频点中的任一频点,待检测听力的多个频点可以为预先设置的频点。可以理解地,人耳的听觉能力在不同频率的敏感程度不同,因此,可以针对相应的频点检测用户的听力,故可以通过播放目标频点的测试音频,以对用户在目标频点的听力进行检测。
在一些实施方式中,电子设备可以以初始音量输出目标频点的测试音频至无线耳机,由此,通过无线耳机对该测试音频进行播放,进而根据用户对播放的测试音频的反馈,确定出听力检测结果。示例的,若当前对人耳的左耳进行听力检测,则可以通过左耳对应的无线耳机播放测试音频;若当前对人耳的右耳进行听力检测,则可以通过右耳对应的无线耳机播放测试音频。当然也可以左右耳对应的无线耳机同时播放,对双耳进行听力测试。
在一些实施方式中,电子设备中可以预先存储有待测试的各个频点的测试音频,测试音频可以为各个频点的纯音音频。在对用户在目标频点的听力进行检测时,可以从预先存储的各个频点的测试音频中,获取目标频点的测试音频,并以初始音频输出该目标频点的测试音频。
可选地,以上待测试的多个频点可以分布于各个频段,即多个频段可以分布于低频段、中低频段、中高频段以及高频段。例如,多个频点可以分辨为500Hz(赫兹)、1000Hz、2000Hz、4000Hz、6000Hz和8000Hz,从待测试的频点可覆盖人耳可听见的频率范围,当然,以上频点仅为举例,待测试的频点的具体数值可以不做限定。
在一些实施方式中,以上初始音量可以是预先设置的音量,例如,20dB HL(分贝)、30dB HL等。可选地,初始音量可以根据当前进行听力测试的用户历史进行听力测试所得到的该目标频点的听力阈值进行设置,例如初始音量可以为历史测试得到的目标频点的听力阈值的平均值,或者初始音量可以是最近一次听力检测得到的目标频点的听力阈值,由此,由于初始音量是根据历史测试的听力阈值所确定的,因此能够便于用户经过少量的音量调整操作,即可检测得到听力阈值,从而快速地完成听力检测。
可选地,电子设备可以根据利用无线耳机进行音频播放的历史音量,确定以上初始音量。其中,电子设备可以获取历史输出以上目标频点的音频时的音量,并根据获取的音量,确定以上初始音量。例如,可以获取历史输出以上目标频点的音频时的音量的平均值,并将该平均值下调目标音量值(比如10dB HL、20dB HL等)后得到初始音量。可以理解地,用户日常通过无线耳机播放音量时,其习惯使用的音量往往与用户的听力相关,因此基于历史播放目标频点的音量时的音量确定出的初始音量,并以该初始音量播放测试音频,能够使得用户经过少量的音量调整操作即可确定出听力检测结果,从而提升听力检测的速度。
步骤S120:响应于用户操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量,其中,所述音量调整关系是基于等响度曲线确定的。
在以初始音量输出目标频点的测试音频后,则可以对输入的用户操作进行检测,以在检测到输入的用户操作时,基于目标频点对应的音量调整关系,调整测试音频的播放音量,进而根据用户的反馈确定出听力检测结果。其中,用户操作可以是针对显示界面中的用于调整音量的控件的操作,也可以是显示界面中的其他触控操作,也可以是通过电子设备的实体按键(例如实体的音量调整按键)输入的操作,具体的用户操作可以不做限定。
在本申请的一些实施例中,该音量调整关系用于确定调整后的播放音量,也即本次播放音量的调整幅度,并且该音量调整关系并不是线性的调整关系,即该音量调整关系中相邻的音量值之间相差的大小不是固定不变的,该音量调整关系而是基于等响度曲线确定的,确定出的音量调整关系是非线性的调整关系,即音量调整关系相邻的音量值之间相差的大小不是均匀的。可以理解地,由于人的听觉能力对不同频率、同一频点不同声压的敏感程度不一样,因此基于等响度曲线所确定的该音量调整关系能够更加符合人耳的听觉特性,从而通过调整操作所调整的播放音量也更为符合听觉特性,进而能够更快地确定出听力阈值。
示例的,等响度曲线,是指通过主观测定所得出的声音响度主观感量(响度级)相等的一簇曲线,当某一声音的响度与标准音的响度相同时,标准音的这个声强级就是该声音的响度级。示例的,等响度曲线的横坐标可以是频率/Hz(或波长),纵坐标是声压级/dB(或声强级),由听觉阈和痛觉阈所构成的两条等响度曲线,是等响度曲线的上下限,每条曲线所对应的不同波长(或频率)的声强级(或声压级)是不相同的,但人耳感觉到的响度却是一样。示例的,本申请中的等响度曲线可以参考标准等响度曲线,例如,如图5所示,图5示出了GB_T 4963-2007声学标准等响度级曲线,也可以根据大量正常听力的人主观测试得到,当然也可以在标准等响度曲线基础上进行调整,对此不做限制。
在一些实施方式中,该音量调整关系中可以包括多个可调整至的音量值,多个可调整至的音量值是基于等响度曲线确定的。在响应于调整操作,调整测试音频的播放音量时,可以在当前播放音量的基础上,根据该音量调整关系,确定出待调整至的音量值。
在一些可行的实施例中,目标频点为待测试的多个预设频点中的任一预设频点(如预设频率),每一个频点都有对应的音量调整关系,当然在一些实施例中,也可以理解为音量调整关系中包括待检测的多个预设频点对应的音量调整关系。每个预设频点都有多个音量值,示例的,每个预设频点对应多个音量档位,每个音量档位对应的音量值可以根据等响度曲线确定;多个预设频点在音量调整关系中的同一个音量档位对应的音量值可以根据等响度曲线确定,示例的,多个预设频点的同一个音量档位对应的音量值不同。示例的,可以设置不同频点的同一个音量档位的响度相同,基于等响度曲线去确定该档位的音量值。也就是说,在不同频率下的同一个档位可能音量值不同。示例的,每个预设频点选取同一等响度曲线对应的音量值(声压级)作为每个预设频点同一音量档位对应的音量值(声压级),或者作为每个预设频点下滑动条中不同位置对应的音量值(声压级),进一步的不同位置可以对应上述不同音量档位。示例的,每个频点的音量档位(或可调至的音量值)可以是基于正常听力的人能够听到的音量大小确定的,音量档位设置的越多测得的听力阈值会越准确。
可以理解地,同一预设频点的音量调整关系中相邻的音量档位对应的音量值之间的差值也是根据等响度曲线确定的,并且由于等响度曲线的特性,相邻的音量档位对应的音量值之间的差值(也即音量值的步长)不是固定的。
在一种可能的实施方式中,基于等响度曲线确定的多个可调整至的音量值,可以是等响度曲线中各个响度级所对应的声压级,也即各个响度级对应的dB SPL,dB SPL是声音强度的物理单位,即声音真实的强度级别。另外,由于等响度曲线中不同频率下同一响度级对应的声压级不同,因此,基于等响度曲线可以确定出各个频点对应的音量调整关系。在对用户在目标频点下的听力进行检测时,可以根据目标频点对应的音量调整关系,对测试音频的播放音量进行调整。
在一种可能的实施方式中,电子设备可以在显示界面中显示多个音量档位对应的选取控件,多个音量档位对应的选取控件按照从小到大或者从大到小的顺序依次排列,以上音量调整关系中包括每个音量档位对应的音量值,且多个音量档位对应的音量值是基于等响度曲线确定,并且是呈非线性的变化的。该方式中,电子设备可以响应于针对以上选取控件的选择操作,并基于音量调整关系中选取控件对应的音量档位与音量值的对应关系,确定选择的选取控件所对应的目标音量值,并将测试音频的播放音量调整至目标音量值。
可选地,电子设备还可以于显示界面中显示第一提示信息,该第一提示信息用于提示用户在当前的播放音量对应的音量档位的基础上,按照音量档位的排布顺序依次对音量档位进行选取,直至从能够听到测试音频到刚好听不见测试音频,或者从听不到测试音频到刚好能够听到测试音频。由此,可以使得用户对多个音量档位依次进行选取,使音量增大或减小,从而确定出听力阈值。
在另一种可能的实施方式中,电子设备以初始音量输出以上测试音频后,可以响应于用户输入的反馈操作,对测试音频的播放音量进行调整。该实施方式中,以上音量调整关系中可以包括从大到小或者从小到大的顺序进行排列的多个音量值,该多个音量值是基于等响度曲线确定,并且是呈非线性的变化的。
可选地,电子设备可以在当前播放音量的基础上,根据用户输入的第一反馈操作,按照以上音量调整关系中多个音量值的排列顺序,将播放音量由当前播放音量增大至该排列顺序中与当前播放音量相邻的音量值,其中,第一反馈操作用于表征用户听不到测试音频。例如,某个待检测的目标频点中的多个音量值包括:120dB HL、116dB HL、112dB HL、110dB HL、108dB HL、106dB HL、104dB HL、102dB HL、100dB HL、99dB HL、98dB HL、96dB HL、94dB HL、91dB HL、88dB HL、84dB HL、80dB HL、75dB HL、70dB HL、64dB HL、58dB HL、40dB HL和0dB HL,若当前播放音量为80dB HL,则将测试音频的播放音量由80dB HL增大至84dB HL,若当前播放音量为40dB HL,则将测试音频的播放音量由40dB HL增大至58dB HL。
可选地,电子设备可以在当前播放音量的基础上,根据用户输入的第二反馈操作,按照以上音量调整关系中多个音量值的排列顺序,将播放音量由当前播放音量减小至该排列顺序中与当前播放音量相邻的音量值,其中,第二反馈操作用于表征用户能够听到测试音频。例如,某个待检测的目标频点中的多个音量值包括:120dB HL、116dB HL、112dB HL、110dB HL、108dB HL、106dB HL、104dB HL、102dB HL、100dB HL、99dB HL、98dB HL、96dB HL、94dB HL、91dB HL、88dB HL、84dB HL、80dB HL、75dB HL、70dB HL、64dB HL、58dB HL、40dB  HL和0dB HL,若当前播放音量为102dB HL,则将测试音频的播放音量由102dB HL减小至100dB HL,若当前播放音量为64dB HL,则将测试音频的播放音量由64dB HL减小至58dB HL。在又一种可能的实施方式中,音量调整关系中包括按照从小到大或者从大到小的顺序排列的多个音量档位,多个音量档位对应的音量值是基于等响度曲线确定,并且是呈非线性的变化的。该实施方式中,电子设备可以响应于音量增大操作,将测试音频的播放音量由当前音量档位对应的音量值增大至与当前音量档位相邻的音量档位对应的音量值;电子设备也可以响应于音量减小操作,将测试音频的播放音量由当前音量档位对应的音量值减小至与当前音量档位相邻的音量档位对应的音量值。其中,音量增大操作可以是针对显示界面中用于增大音量的控件的触控操作,或者是针对用于增大音量的实体按键的触控操作;音量减小操作可以是针对显示界面中用于减小音量的控件的触控操作,或者是针对用于减小音量的实体按键的触控操作。
例如,从小到大排列的多个音量档位包括:音量档位1、音量档位2、音量档位3、音量档位4、音量档位5、音量档位6、音量档位7和音量档位8,当前播放音量为音量档位5对应的音量值,若检测到音量增大操作,则可以将测试音频的播放音量增大至音量档位6对应的音量值;若检测到音量减小操作,则可以将测试音频的播放音量减小至音量档位4对应的音量值。
可选地,电子设备还可以于显示界面中显示第二提示信息,该第二提示信息用于提示用户在当前播放音量的基础上,对测试音频的播放音量进行音量减小操作,直至从能够听到测试音频到刚好听不见测试音频,或者对测试音频的播放音量进行音量增大操作,直至从听不到测试音频到刚好能够听到测试音频。由此,可以使得用户对播放音量进行调整,使测试音频的播放音量增大或减小,从而确定出听力阈值。
也就是说,在一些实施例中,用户操作可以是触发音量调节的操作,可以是音量大小选择操作、反馈操作、滑动操作等各种操作形式。
步骤S130:响应于第一确认指令,确定所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值。
在本申请实施例中,在根据输入的音量调整操作对测试音频的播放音量进行调整后,电子设备在检测到输入的第一确认指令时,则可以确定出目标频点对应的听力阈值,即用户在目标频点的听力阈值,具体可以确定测试音频的当前播放音量,并将当前播放音量作为目标频点对应的听力阈值。示例的,第一确认指令是用户基于对播放的测试音频的感知情况所反馈的指令,该第一确认指令用于指示用户从能够听到测试音频的状态,到刚好听不见测试音频,或者从听不到测试音频的状态到刚好能够听到测试音频的状态。
在一些实施方式中,第一确认指令可以是用户于显示界面中输入的,或者通过实体按键所输入的,也可以是语音输入的,第一确认指令的具体输入方式可以不做限定。
在一种可能的实施方式中,电子设备于显示界面中显示有听力阈值的第一确认控件,若电子设备检测到针对该第一确认控件的确认操作,则可以确定检测到第一确认指令,并以当前播放音量作为目标频点对应的听力阈值。该方式中,用户从能够听到测试音频的状态,到刚好听不见测试音频,或者从听不到测试音频的状态到刚好能够听到测试音频的状态,则可以针对该第一确认控件进行触控操作,由此,电子设备可以确定出检测到该触控操作时的当前播放音频为目标频点对应的听力阈值。
在又一种可能的实施方式中,若以上进行测试音频的播放音量的音量调整操作为持续性的操作,该方式中,测试音频的播放音量也在持续性地调整,则电子设备可以在该音量调整操作结束时,确定检测到第一确认指令,并以当前播放音量作为目标频点对应的听力阈值。例如,后续实施例中根据针对滑动条的滑动操作调整播放音量,并且滑动操作为持续性地滑动,则在检测到释放滑动条的操作(即在滑动操作的过程中检测到抬起事件)时,可以确定检测到第一确认指令,并以当前播放音量作为目标频点对应的听力阈值;又例如,音量调整操作为针对音量调整控件(用于增大播放音量或减小播放音量的控件)持续性地按压操作,该方式中,可以根据按压操作持续性地对测试音频的播放音量进行调整(例如按压操作每持续1秒,则增大或减小一次播放音量),在检测到按压操作结束(即在按压操作的过程中检测到抬起事件),则可以确定检测到第一确认指令,并以当前播放音量作为目标频点对应的听力阈值。由此,在该实施方式中,若用户从能够听到测试音频的状态,到刚好听不见测试音频,或者从听不到测试音频的状态到刚好能够听到测试音频的状态,则可以结束音量调整操作,从而使电子设备可以确定出目标频点的音量阈值。
可选地,在该实施方式中,电子设备也可以在显示界面中显示有第二确认控件。电子设备检测到持续性的音量调整操作结束后,可以响应于针对该第二确认控件的触控操作,确定检测到第一确认指令,并以当前播放音量作为目标频点对应的听力阈值。以滑动条为例,确认用户释放对 滑动条的操作,且用户操控第二确认控件,例如点击下一步控件,则以用户释放操作时在滑动条上对应的位置对应的音量值作为用户在该频点的听力阈值。由此,在该实施方式中,在持续性的音量调整操作结束后再以第二确认控件的触控操作,作为触发输入第一确认指令,从而可以避免用户误操作的情况发生(例如用户误结束了音量调整操作,而导致错误地以当前播放音量作为目标频点的音量阈值),进而更为准确地确定出音量阈值。
本申请实施例提供的听力检测方法,通过以初始音量输出目标频点的测试音频,响应于用户操作,基于目标频点对应的音量调整关系,调整测试音频的播放音量,并且该音量调整关系是基于等响度曲线确定的,响应于第一确认指令,确定测试音频的当前播放音量,并将当前播放音量作为该目标频点对应的听力阈值。由于播放测试音频时进行音量调整的音量调整关系是基于等响度曲线确定的,因此更为符合用户的听觉特性,从而能够提升听力检测的速度。
请参阅图6,图6示出了本申请另一个实施例提供的听力检测方法的流程示意图。该听力检测方法应用于上述电子设备,下面将针对图6所示的流程进行详细的阐述,所述听力检测方法具体可以包括以下步骤:
步骤S210:以初始音量输出目标频点的测试音频。
在本申请实施例中,步骤S210可以参阅其他实施例的内容,在此不再赘述。
步骤S220:响应于显示界面中针对目标控件的触控操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量,其中,所述音量调整关系是基于等响度曲线确定的。
在本申请实施例中,对用户进行听力检测时,可以于显示界面中显示有目标控件,该目标控件用于测试音频的播放音量的调整。在检测到对该滑动控件的触控操作时,则可以响应于该触控操作,基于目标频点对应的音量调整关系,调整测试音频的播放音量。
在一些实施方式中,显示界面中还显示目标提示信息,该目标提示信息用于提示用户对目标控件进行触控操作,以对测试音频的播放音量进行调整,直至从能够听到测试音频到刚好听不见测试音频,或者对测试音频的播放音量进行音量增大操作,直至从听不到测试音频到刚好能够听到测试音频。由此,可以使得用户对目标控件进行触控操作,使测试音频的播放音量增大或减小,从而确定出听力阈值。
在一些实施方式中,目标控件可以为滑动条,电子设备可以响应于针对该滑动条的控制操作,基于以上音量调整关系,调整测试音频的播放音量。可选的,音量调整关系中包括多个音量档位与滑动条上依次排列的多个位置之间的第一对应关系,以及多个音量档位中每个音量档位与音量值之间的第二对应关系,多个音量档位对应的音量值是基于等响度曲线确定的,并且呈非线性的依次增大或依次减小。可选的,音量调整关系也可以包括:所述滑动条上依次排列的多个位置与音量值之间的第三对应关系,所述多个位置对应的音量值呈非线性的依次增大或依次减小。其中,滑动条的形状可以不做限定,例如可以为长方形,也可以为圆弧形;示例的,电子设备还可以提示用户“将音量条拖动至刚好听不见提示音的位置”。
在一种可能的实施方式中,电子设备在检测到针对滑动条上的第一目标位置的第一选择操作的情况下,可以响应于该第一选择操作,基于第一对应关系,确定第一目标位置所对应的第一音量档位;基于第二对应关系,将测试音频的播放音量调整为第一音量档位对应的音量值。
在一种可能的实施方式中,电子设备在检测到针对滑动条上的第一目标位置的第一选择操作的情况下,可以响应于该第一选择操作,基于第三对应关系,确定第一目标位置所对应的音量值。可以理解的,所述第三关系也可以基于等响度曲线确定。
在该实施方式中,滑动条上的多个位置可以是均匀分布(即相邻位置之间的间距相同),也可以是不均匀分布的;滑动条上的多个位置对应的音量档位所对应的音量值是基于等响度曲线确定,并且是呈非线性的依次增大或依次减小。
可选地,以上第一选择操作可以是对滑动条上的目标位置的触控操作,例如点击操作、按压条件满足预设按压条件的按压操作等。通过该实施方式,用户通过对滑动条上的不同位置进行以上第一选择操作,即可实现对测试音频的播放音量的调整,并且以上多个音量档位所对应的音量值是基于等响度曲线确定的,因此能够快速调整至听力阈值对应的播放音量,从而能够快速确定出听力阈值。
可选地,以上第一选择操作可以是针对滑动条上的滑动块的滑动操作,通过响应该滑动操作,从而选择滑动条上不同的位置。
在该实施方式中,滑动条上的多个位置中每两个相邻的位置之间的间隔距离可以相同。根据以上滑动操作,可以控制测试音频的播放音量在当前播放音量的基础上增大或者减小,并且根据控制滑动块在滑动条中的滑动距离,可以进行不同调整幅度的音量调整。由于以上音量调整关系 中的第二对应关系是基于等响度曲线确定的,且多个音量档位对应的音量值呈非线性地增大或减小,并且滑动条上的多个位置中每两个相邻的位置之间的间隔距离相同(即均匀分布的),因此在针对滑动块进行相同的滑动距离时,所调整的音量的变化幅度不是固定的,能够更好地符合用户的听力习惯,故该基于滑动条进行音量的调整的方式中,能够使得用户对滑动条中滑动块的滑动操作,快速调整至听力阈值对应的播放音量,从而能够快速确定出听力阈值。
在另一些实施方式中,以上目标控件也可以是一个指示块,在检测到对该指示块的滑动操作时,可以根据对该指示块的滑动操作的滑动方向和滑动距离,以及音量调整关系,调整测试音频的播放音量。其中,滑动方向与增大播放音量或者减小播放音量对应,例如,若滑动方向为第一方向,则增大测试音频的播放音量,若滑动方向为第二方向,则减小测试音频的播放音量,该第一方向与第二方向相反;音量调整关系中可以包括多个从小到大的可调整至的音量档位,每个音量档位对应一个播放音量,音量调整关系中还可以包括滑动距离与音量档位的调整个数的对应关系,音量档位的调整个数与滑动距离呈正相关,多个音量档位对应的音量值是基于等响度曲线确定的。基于此,可以根据滑动距离,确定出在当前的音量档位的基础上音量档位的调整个数,例如,音量档位包括音量档位1、音量档位2、音量档位3、…、音量档位11和音量档位12,若当前的音量档位为音量档位5,滑动距离对应的音量档位的调整个数为3,且基于滑动方向确定出增大测试音频的播放音量,则可以将音量档位增大至音量档位8,也就是将测试音频的播放音量增大至音量档位8所对应的播放音量。
在一些实施方式中,以上目标控件可以为用于音量调整的轮盘控件,在检测到对该轮盘控件的操作时,可以基于对该轮盘控件的操作,对测试音频的播放音量进行调整。其中,对轮盘控件的操作可以包括点击操作、按压操作、滑动操作、转动操作等操作中的一种或者多种。例如,如图7所示,图7示出了本申请实施例提供的显示界面A1中显示的轮盘控件A2的示意图,图7中轮盘控件A2可以用于调整测试音频的播放音量,并且当前的播放音量可以显示于轮盘控件A2中。
在一种可能的实施方式中,轮盘控件可以包括轮盘区域以及指针。电子设备可以于显示界面中显示轮盘控件,并在轮盘区域的周围显示多个刻度值,且将指针显示于指定位置,多个刻度值中每个刻度值对应可调整至的播放音量中的其中一个音量值,该指针用于指示当前选取的音量值。多个刻度值按照从小到大或者从大到小的顺序依次排列,并且多个可调整至的音量值是基于等响度曲线确定的。
在该实施方式中,轮盘控件中可以包括用于选择音量值的指针,该指针用于指示当前选择的音量值。并且,用于表示音量值的刻度值可以显示于轮盘控件的轮盘区域之外,分布于轮盘区域地周围,每个刻度值对应一个音量值,从而用户可以对轮盘区域转动,或者对指针进行转动,使指针处于不同的位置,从而选取不同的音量值。作为一种方式,为保证美观性,多个刻度值可以按照从小到大或者从小到大的顺序均匀分布于轮盘区域的外侧,并且沿轮盘区域所对应的圆周进行分布;作为另一种方式,多个刻度值也可以随机地分布于轮盘区域的外侧,并且沿轮盘区域所对应的四周进行分布。
在以上的多个实施方式中,多个音量档位对应的音量值与用户的听力范围匹配。具体地,多个音量档位对应的音量值可以覆盖人的可听范围。
可选地,多个音量档位对应的音量值以及所述多个位置对应的音量值包括以下多组音量值中至少一组音量值的至少部分音量值:
第一组音量值:125dB HL、120dB HL、114.5dB HL、112.5dB HL、110.5dB HL、108.5dB HL、104.5dB HL、103.5dB HL、102.5dB HL、100dB HL、95.5dB HL、93dB HL、84.5dB HL、78.5dB HL、77dB HL、69.5dB HL、63dB HL、45dB HL和0dB HL;
第二组音量值:120dB HL、116dB HL、110dB HL、108dB HL、106dB HL、104dB HL、100dB HL、99dB HL、98dB HL、96dB HL、91dB HL、88dB HL、80dB HL、75dB HL、70dB HL、65dB HL、58dB HL、40dB HL和0dB HL;
第三组音量值:122dB HL、118dB HL、112dB HL、110dB HL、108dB HL、106dB HL、102dB HL、101dB HL、100dB HL、98dB HL、93dB HL、90dB HL、82dB HL、77dB HL、72dB HL、67dB HL、60dB HL、42dB HL和0dB HL;
第四组音量值:122.5dB HL、118.5dB HL、112.5dB HL、110.5dB HL、108.5dB HL、106.5dB HL、102.5dB HL、101.5dB HL、100.5dB HL、98.5dB HL、93.5dB HL、90.5dB HL、81.5dB HL、77.5dB HL、72.5dB HL、67.5dB HL、60.5dB HL、42.5dB HL和0dB HL;
第五组音量值:128dB HL、124dB HL、119dB HL、116dB HL、114.5dB HL、112dB HL、109dB HL、107.5dB HL、106dB HL、104.5dB HL、99.5dB HL、96.5dB HL、87.5dB HL、83.5 dB HL、78.5dB HL、73.5dB HL、66.5dB HL、48.5dB HL和0dB HL;
第六组音量值:126dB HL、122dB HL、116dB HL、114dB HL、112dB HL、110dB HL、106dB HL、105dB HL、104dB HL、102dB HL、97dB HL、94dB HL、86dB HL、81dB HL、74dB HL、71dB HL、64dB HL、46dB HL和0dB HL。
其中,以上多组音量值中每组音量值对应不同的目标频点,例如,以上第一组音量值可以为500Hz对应的多个音量值,以上第二组音量值可以为1000Hz对应的多个音量值,以上第三组音量值可以为2000Hz对应的多个音量值,以上第四组音量值可以为4000Hz对应的多个音量值,以上第五组音量值可以为6000Hz对应的多个音量值,以上第六组音量值可以为8000Hz对应的多个音量值。另外,需要说明的是,每组音量值中的每个音量值具有-6dB HL~6dB HL的可调整范围,也就是说,每个音量值的可调整范围为±6dB HL,也即每个音量值可以最大增大6dB HL,最大减小6dB HL。
由此,以上多个音量档位对应的音量值以及多个位置对应的音量值可以覆盖大多数人的听力范围,以便能够准确检测用户的听力阈值。
当然,本申请实施例中的目标控件的具体形式可以不做限定,例如也可以是前一个实施例中的音量档位的选取控件、用于输入第一反馈操作或第二反馈操作的控件、用于输入音量增大操作或音量减小操作的控件等。
在一些实施例中,也可以在检测到显示界面中指定区域的滑动操作时,响应于该滑动操作,对测试音频的播放音量进行调整。其中,指定区域可以为显示界面中的空白区域,具体的指定区域可以不做限定。同样地,可以根据滑动操作的滑动方向,确定增大测试音频的播放音量或者减小测试音频的播放音量,并根据滑动操作的滑动距离确定出增大或减小至的播放音量。
步骤S230:响应于第一确认指令,确定所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值。
在本申请实施例中,步骤S230可以参阅其他实施例的内容,在此不再赘述。
本申请实施例提供的听力检测方法,由于在听力检测过程中,调整测试音频的播放音量时的音量调整关系是基于等响度曲线确定的,因此基于显示界面中的目标控件调整播放音量的方式中,能够使得用户利用对目标控件的触控操作,快速调整至听力阈值对应的播放音量,从而能够快速确定出听力阈值。
请参阅图8,图8示出了本申请又一个实施例提供的听力检测方法的流程示意图。该听力检测方法应用于上述电子设备,下面将针对图8所示的流程进行详细的阐述,所述听力检测方法具体可以包括以下步骤:
步骤S310:获取所述目标频点对应的初始音量,并以所述初始音量输出目标频点的测试音频,其中,所述初始音量是基于预先测试的所述目标频点对应的最小听力级所对应的目标升压级确定的。
在本申请实施例中,在开始播放目标频点的测试音频时,可以获取目标频点对应的初始音量,从而可以以该初始音量播放目标频点的测试音频,并且该初始音量是基于预先测试的目标频点对应的最小听力级对应的目标升压级确定的,由此,在该初始音量的基础上,对测试音频的播放音量进行调整时,进行少量的音量调整操作即可检测得到目标频点对应的听力阈值。
其中,以上最小听力级对应的目标升压级,即0dB HL所对应的dB SPL,dB HL是听力学界广泛应用的声音强度单位,选用18-25岁的健听用户进行实验得到,将这些人在各个频率处听到的最小声压级定为0dB HL,dB HL和dB SPL之间可以进行转换。另外,由于人耳对不同频率的声音的敏感程度不同,因此不同频点的0dB HL所对应的dB SPL是不同的,例如,dB HL和dB SPL的转换关系如下表所示:
在一些实施方式中,以上初始音量可以为目标频点对应的以上目标声压级与预设音量的和值,也就说,在目标频点对应的以上目标声压级的基础上增大预设音量,从而得到以上出音量。可选地,预设音量可以为15~25dB HL,预设音量的具体数值可以不做限定。
在一种可能的实施方式中,以上预设音量可以为预先通过多个听力正常的测试人员经过测试得到的音量,以上最小声压级对应的目标声压级与预设音量的和值可以是这些测试人员可听到的初始音量,由此,在以上目标声压级的基础上增大预设音量,可以满足大部分用户的听力水平,使得用户经过少量的音量调整操作,即可将测试音频的播放音量调整至听力阈值所对应的音量。
在一种可能的实施方式中,以上需要增大的预设音量可以是根据利用无线耳机进行音频播放的历史音量所确定的,其中,电子设备可以获取历史输出以上目标频点的音频时的历史音量,并根据获取的音量,确定以上需要增大的预设音量。例如,可以根据以上历史音量,确定该历史音量是否大于音量阈值,若大于音量阈值,则表示用户利用无线耳机听该目标频点的音频时,习惯的音量较大,因此可以以第一音量作为以上预设音量;若不大于音量阈值,则表示用户利用无线耳机听该目标频点的音频时,习惯的音量较小,因此可以以第二音量作为以上预设音量,其中,第二音量小于以上第一音量。从而以确定出的以上初始音量播放测试音频,可以更快地检测出用户的听力阈值。
在另一种可能的实施方式中,可以预先存储有不同用户设置的预设音量。电子设备可以根据当前进行听力检测的目标用户的身份信息,确定目标用户对应设置的预设音量,并根据预设音量以及以上最小可听声强级,确定出初始音量。基于该方式,可以使得用户根据对自身听力水平的预估情况,设置以上预设音量,从而确定出的初始音量能够使得更快地检测出用户的听力阈值。
步骤S320:响应于用户操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量,其中,所述音量调整关系是基于等响度曲线确定的。
步骤S330:响应于第一确认指令,确定所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值。
在本申请实施例中,步骤S330可以参阅其他实施例的内容,在此不再赘述。
本申请实施例提供的听力检测方法,在进行听力检测的过程中,以基于目标频点对应的最小声压级所对应的目标声压级确定的初始音量,播放测试音频,从而可以使得用户在该初始音量的基础上能够快速确定出听力阈值。并且,由于播放测试音频时进行音量调整的音量调整关系是基于等响度曲线确定的,因此更为符合用户的听觉特性,从而能够提升听力检测的速度。
请参阅图9,图9示出了本申请再一个实施例提供的听力检测方法的流程示意图。该听力检测方法应用于上述电子设备,下面将针对图9所示的流程进行详细的阐述,所述听力检测方法具体可以包括以下步骤:
步骤S410:以初始音量输出目标频点的测试音频。
步骤S420:响应于用户操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量,其中,所述音量调整关系是基于等响度曲线确定的。
步骤S430:响应于第一确认指令,确定所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值。
在本申请实施例中,步骤S410至步骤S430的内容可以参阅前述实施例的内容,在此不再赘述。
步骤S440:判断是否得到多个预设频点中每个预设频点对应的听力阈值。
在本申请实施例中,以上目标频点为待测试的多个预设频点中的任一预设频点,也就是说,预设频点为待检测听力的频点,可以理解地,人耳的听觉能力在不同频率的敏感程度不同,因此,可以针对相应的频点检测用户的听力。在经过以上步骤S410至步骤S430,得到用户在目标频点的听力阈值后,则可以判断是否已经完成所有预设频点的听力检测,因此可以判断是否得到以上多个预设频点中每个预设频点对应的听力阈值,以便根据判断结果确定是否返回步骤S410。
若否,执行步骤S450:调整所述目标频点,并返回步骤S410。若是,结束流程。
在本申请实施例中,若未得到以上每个预设频率对应的听力阈值,即未完成所有预设频点的听力检测,则可以调整目标频点至未完成听力检测的预设频点,并返回步骤S410,从而对调整后的目标频点的听力阈值进行检测。重复如此,若判断出已得到以上每个预设频率对应的听力阈值,则可以结束流程,此时则已完成所有预设频点的听力阈值的检测。
示例性地,如图10所示,在检测用户的左耳的听力时,可以在显示界面A1中显示滑动条A3,该滑动条A3用于调整测试音频的播放音量,并且显示界面A1中还显示有提示信息,该提示信息用于提示用户将音量调整至刚好听不见声音的位置,由此,用户可以基于该提示信息,对滑动条A3进行操作,以调整测试音频的播放音量,进而完成目标频点下的听力检测。在完成目标频点下的听力检测,得到用户的左耳在目标频点的听力阈值后,若未得到每个预设频率对应的听力阈值,并检测到针对“下一步”的控件A4的触控操作,则可以调整以上目标频点为另一预设频点,以检测出用户的左耳在另一预设频点的听力阈值。另外,在显示界面A1中可以显示有预设频点的指示信息A5,针对已经得到听力阈值的预设频点,以及未得到听力阈值的预设频点,可以以不同的颜色状态进行区分。
本申请实施例提供的听力检测方法,在对用户在不同频点下的听力进行检测的过程中,由于 播放测试音频时进行音量调整的音量调整关系是基于等响度曲线确定的,因此更为符合用户的听觉特性,从而能够提升听力检测的速度。
请参阅图11,图11示出了本申请又另一个实施例提供的听力检测方法的流程示意图。该听力检测方法应用于上述电子设备,下面将针对图11所示的流程进行详细的阐述,所述听力检测方法具体可以包括以下步骤:
步骤S510:通过双耳中待检测的耳朵对应的无线耳机,以初始音量输出目标频点的测试音频。
在一些实施方式中,无线耳机包括双耳中的左耳对应的第一无线耳机以及双耳中的右耳对应的第二无线耳机。若针对左耳进行听力检测,则可以通过第一无线耳机,以初始音量输出目标频点的测试音频,从而通过后续对音量进行调整,确定出左耳在目标频点下的听力阈值;若针对右耳进行听力检测,则可以通过第二无线耳机,以初始音量输出目标频点的测试音频,并通过后续对音量进行调整,确定出右耳在目标频点下的听力阈值;当然也可以同时对双耳进行听力检测。
步骤S520:响应于用户操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量,其中,所述音量调整关系是基于等响度曲线确定的。
步骤S530:响应于第一确认指令,确定所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值。
在本申请实施例中,步骤S510至步骤S530的内容可以参阅前述实施例的内容,在此不再赘述。
在一些实施方式中,可以通过步骤S510至步骤S530,对用户的双耳中其中一只耳朵在目标频点下的听力阈值进行检测,也即以上得到的听力阈值为双耳的其中一只耳朵在目标频点的第一听力阈值。在完成其中一只耳朵在所述目标频点的第一听力阈值的检测后,则可以将以上初始音量更新为得到的该听力阈值,并返回以初始音量输出目标频点的测试音频的步骤,也即重复执行步骤S510至步骤S530,从而得到双耳中的另一只耳朵在目标频点的第二听力阈值。例如,对左耳进行目标频点下的听力阈值检测时,通过以上第一无线耳机以初始音量播放目标频点的测试音频,响应于用户操作,对第一无线耳机播放测试音频的音量进行调整,在检测到第一确认指令后,将当前播放音量作为左耳在目标频点下的听力阈值;对幼儿进行目标频点下的听力阈值检测时,通过以上第二无线耳机以初始音量播放目标频点的测试音频,响应于用户操作,对第二无线耳机播放测试音频的音量进行调整,在检测到第一确认指令后,将当前播放音量作为右耳在目标频点下的听力阈值。
可以理解地,该实施方式也可以与前述实施例中检测多个预设频点的听力阈值的方式结合,也就是说,可以通过以上步骤S510至S530完成其中一只耳朵在各个预设频点的听力阈值的检测,并根据该耳朵在各个预设频点的听力阈值,作为检测另一耳朵在各个预设频点时输出测试音频的初始音量,从而交替检测双耳的听力阈值,提升听力检测效率。
可选地,可以将目标频点设置为第一预设频点,通过步骤S510至S530,对左耳在第一预设频点下的听力阈值进行检测,得到左耳在第一预设频点下的听力阈值后,再以该听力阈值作为初始音量,重复执行步骤S510至S530,完成双耳中的右耳在该第一预设频点下的听力阈值的检测;然后,再调整目标频点为第二预设频点,通过步骤S510至S530,得到右耳在第二预设频点下的听力阈值,再以得到的该听力阈值作为初始音量,重复执行步骤S510至S530,完成双耳中的左耳在该第二预设频点下的听力阈值的检测;如此重复,对左耳以及右耳在各个预设频点下的听力阈值进行交替检测。
可选地,也可以在完成对左耳在各个预设频点下的听力阈值检测,得到左耳在各个预设频点下的听力阈值之后,再对右耳在各个预设频点下的听力阈值进行检测,并且在执行右耳在各个预设频点下的听力阈值进行检测时,可以将左耳在各个预设频点下的听力阈值作为初始音量,并执行步骤S510至S530,从而得到右耳在各个预设频点下的听力阈值。
步骤S540:基于所述听力阈值,对待播放音频中所述目标频点的音频进行音频补偿。
在本申请实施例中,在得到以上听力阈值之后,还可以根据检测得到的听力阈值,在播放音频时对待播放音频进行音频补偿,以使用户能够清楚听见声音细节以及原本因听力损伤导致无法听见的声音。
在一些实施方式中,对待播放音频进行音频补偿时,可以基于多个无限脉冲响应数字滤波器(Infinite Impulse Response,IIR)数字滤波器实现,具体地,可以根据得到的各个预设频点的听力阈值,确定多个IIR数字滤波器,并基于得到的IIR数字滤波器对待播放音频进行补偿。可选地,数字滤波器可以为2阶的IIR数字滤波器。其中,多个IIR数字滤波器可以分别对应不同频段的音频内容,每个IIR数字滤波器用于对其对应的频段的音频内容进行补偿,以上听力阈值可以映射到 目标频点所属频段对应的数字滤波器中。
在一种可能的实施方式中,多个IIR数字滤波器可以包括第一IIR数字滤波器、第二IIR数字滤波器、第三IIR数字滤波器、第四IIR数字滤波器以及第五IIR数字滤波器,第一IIR数字滤波器用于对低频段的音频进行补偿,第二IIR数字滤波器、第三IIR数字滤波器以及第四IIR数字滤波器用于对中频段中不同的子频段的音频进行补偿,第五IIR数字滤波器用于对高频段的音频进行补偿。其中,各个IIR滤波器的滤波器系数可以其需要进行补偿的频段所对应的预设频点确定,例如,预设频点包括800Hz,第二IIR数字滤波器用于500Hz~1000Hz的音频内容进行补偿,则第二IIR数字滤波器的滤波器系数可以根据800Hz对应的听力阈值确定。可以理解地,多个IIR数字滤波器的数量可以不做限定,例如,也可以为5个以上的IIR数字滤波器,以更为准确地对不同频段的音频进行补偿。
可选地,如图12所示,级联的多个IIR数字滤波器还连接有限幅器,限幅器用于对经过多个IIR数字滤波器之后的音频进行限幅,以防止数字信号溢出以及保护扬声器。
在一种可能的实施方式中,电子设备检测出左耳以及右耳在各个预设频率下的听力阈值后,可以分别针对左耳在各个预设频率下的听力阈值,以及右耳在各个预设频率下的听力阈值,确定左耳对应的以上IIR数字滤波器以及右耳对应的以上IIR数字滤波器,并将左耳对应的IIR数字滤波器发送至无线耳机中的第一无线耳机,将右耳对应的IIR数字滤波器发送至无线耳机中的第二无线耳机,由此,可以使得第一无线耳机针对左耳对应的音频进行补偿,第二无线耳机针对右耳对应的音频进行补偿。
示例性地,基于以上实施方式,对于高频听力损失较为严重的用户,听力补偿的频响示意图如图13所示,可以看出,采用以上方式进行听力补偿,可以针对高频部分的音频进行补偿,以使用户能够清楚听见原本因听力损伤导致无法听见的声音。
本申请实施例提供的听力检测方法,在进行听力检测的过程中,由于播放测试音频时进行音量调整的音量调整关系是基于等响度曲线确定的,因此更为符合用户的听觉特性,从而能够提升听力检测的速度。另外,在播放音频时,基于获取的听力阈值,对待播放音频进行补偿,可以使用户能够清楚听见声音细节以及原本因听力损伤导致无法听见的声音。
请参阅图14,其示出了本申请实施例提供的一种听力检测装置400的结构框图。该听力检测装置400应用上述的电子设备,该听力检测装置400包括:音频输出模块410、音量调整模块420以及听阈获取模块430。其中,所述音频输出模块410用于以初始音量输出目标频点的测试音频;所述音量调整模块420用于响应于用户操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量,其中,所述音量调整关系是基于等响度曲线确定的;所述听阈获取模块430用于响应于第一确认指令,确定所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值。
在一些实施方式中,所述音量调整关系中包括多个可调整至的音量值,所述多个可调整至的音量值是基于等响度曲线确定的;和/或,所述目标频点为待检测的多个预设频点中的任一预设频点,所述音量调整关系中包括多个音量档位,所述多个预设频点的音量调整关系中的同一个音量档位对应的音量值根据所述等响度曲线确定,所述多个预设频点的同一个音量档位对应的音量值不同。
在一些实施方式中,音量调整模块420可以具体用于:响应于显示界面中针对目标控件的触控操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量。
在一种可能的实施方式中,所述滑动控件为滑动条,音量调整模块420还可以具体用于:响应于显示界面中针对所述滑动条的控制操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量。
可选地,所述音量调整关系中包括多个音量档位与所述滑动条上依次排列的多个位置之间的第一对应关系,以及所述多个音量档位中每个音量档位与音量值之间的第二对应关系,所述多个音量档位对应的音量值呈非线性的依次增大或依次减小;或者,音量调整关系包括:所述滑动条上依次排列的多个位置与音量值之间的第三对应关系,所述多个位置对应的音量值呈非线性的依次增大或依次减小。
可选地,音量调整模块420还可以具体用于:响应于显示界面中针对所述滑动条上的第一目标位置的第一选择操作,基于所述第一对应关系,确定所述第一目标位置所对应的第一音量档位;基于所述第二对应关系,将所述测试音频的播放音量调整为所述第一音量档位对应的音量值。
在一种可能的实施方式中,所述多个音量档位对应的音量值与用户的听力范围匹配;所述第 三对应关系中的所述多个位置对应的音量值与用户的听力范围匹配。
可选地,所述多个音量档位对应的音量值以及所述多个位置对应的音量值包括以下多组音量值中至少一组音量值的至少部分音量值:
125dB HL、120dB HL、114.5dB HL、112.5dB HL、110.5dB HL、108.5dB HL、104.5dB HL、103.5dB HL、102.5dB HL、100dB HL、95.5dB HL、93dB HL、84.5dB HL、78.5dB HL、77dB HL、69.5dB HL、63dB HL、45dB HL和0dB HL;
120dB HL、116dB HL、110dB HL、108dB HL、106dB HL、104dB HL、100dB HL、99dB HL、98dB HL、96dB HL、91dB HL、88dB HL、80dB HL、75dB HL、70dB HL、65dB HL、58dB HL、40dB HL和0dB HL;
122dB HL、118dB HL、112dB HL、110dB HL、108dB HL、106dB HL、102dB HL、101dB HL、100dB HL、98dB HL、93dB HL、90dB HL、82dB HL、77dB HL、72dB HL、67dB HL、60dB HL、42dB HL和0dB HL;
122.5dB HL、118.5dB HL、112.5dB HL、110.5dB HL、108.5dB HL、106.5dB HL、102.5dB HL、101.5dB HL、100.5dB HL、98.5dB HL、93.5dB HL、90.5dB HL、81.5dB HL、77.5dB HL、72.5dB HL、67.5dB HL、60.5dB HL、42.5dB HL和0dB HL;
128dB HL、124dB HL、119dB HL、116dB HL、114.5dB HL、112dB HL、109dB HL、107.5dB HL、106dB HL、104.5dB HL、99.5dB HL、96.5dB HL、87.5dB HL、83.5dB HL、78.5、73.5dB HL、66.5dB HL、48.5dB HL和0dB HL;
126dB HL、122dB HL、116dB HL、114dB HL、112dB HL、110dB HL、106dB HL、105dB HL、104dB HL、102dB HL、97dB HL、94dB HL、86dB HL、81dB HL、74dB HL、71dB HL、64dB HL、46dB HL和0dB HL;
其中,所述多组音量值中每组音量值对应不同的所述目标频点,所述每组音量值中的每个音量值具有-6dB HL~6dB HL的可调整范围。
在一些实施方式中,音频输出模块410可以具体用于:获取所述目标频点对应的初始音量,并以所述初始音量输出目标频点的测试音频,其中,所述初始音量是基于预先测试的所述目标频点对应的最小可听级所对应的目标声压级确定的。
在一种可能的实施方式中,所述初始音量为所述目标声压级与预设音量的和值。
可选地,所述预设音量为15~25dB HL。
在一些实施方式中,所述目标频点为待测试的多个预设频点中的任一预设频点,该听力检测装置400还可以包括频率调整模块。频率调整模块用于在所述响应于第一确认指令,确定所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值之后,调整所述目标频点,并返回所述以初始音量输出目标频点的测试音频的步骤,直至得到多个预设频点中每个预设频点对应的听力阈值。
在一些实施方式中,所述听力阈值为双耳的其中一只耳朵在所述目标频点的第一听力阈值。音频输出模块410可以具体用于:通过双耳中待检测的耳朵对应的无线耳机,以初始音量输出目标频点的测试音频。该听力检测装置400还可以包括初始音量更新模块。初始音量更新模块用于在所述响应于第一确认指令,确定所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值之后,将所述初始音量更新为所述听力阈值,并返回所述通过双耳中待检测的耳朵对应的无线耳机,以初始音量输出目标频点的测试音频的步骤,得到双耳中的另一只耳朵在所述目标频点的第二听力阈值。
在一些实施方式中,该听力检测装置400还可以包括音频补偿模块。音频补偿模块用于在所述响应于第一确认指令,确定所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值之后,基于所述听力阈值,对待播放音频中所述目标频点的音频进行音频补偿。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。需要说明书的是,本申请中的实施例、实施方式及技术特征,在不冲突的情况下可以相互组合。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
综上所述,本申请提供的方案,通过以初始音量输出目标频点的测试音频,响应于用户操作, 基于目标频点对应的音量调整关系,调整测试音频的播放音量,并且该音量调整关系是基于等响度曲线确定的,响应于第一确认指令,确定测试音频的当前播放音量,并将当前播放音量作为该目标频点对应的听力阈值。由于播放测试音频时进行音量调整的音量调整关系是基于等响度曲线确定的,因此更为符合用户的听觉特性,从而能够提升听力检测的速度。
请参考图15,其示出了本申请实施例提供的一种电子设备的结构框图。该电子设备100可以是智能手机、平板电脑、智能手表、电子书等能够运行应用程序的电子设备。本申请中的电子设备100可以包括一个或多个如下部件:处理器110、存储器120、以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器120中并被配置为由一个或多个处理器110执行,一个或多个应用程序配置用于执行如前述方法实施例所描述的方法。
处理器110可以包括一个或者多个处理核。处理器110利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行电子设备100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(Central Processing Unit,CPU)、图形处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。
请参考图16,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质800中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。
计算机可读存储介质800可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质800包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质800具有执行上述方法中的任何方法步骤的程序代码810的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码810可以例如以适当形式进行压缩。
本申请实施例还提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述方法实施例中所描述的听力检测方法。
需要说明的,本申请中的实施例、实施方式及技术特征在不冲突的情况下可以相互组合。本申请中的“多个”在没有特别说明的情况下可以理解为“两个或两个以上”。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (20)

  1. 一种听力检测方法,其中,应用于电子设备,所述方法包括:
    以初始音量输出目标频点的测试音频;
    响应于用户操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量,其中,所述音量调整关系是基于等响度曲线确定的;
    响应于第一确认指令,确定所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值。
  2. 根据权利要求1所述的方法,其中,所述音量调整关系中包括多个可调整至的音量值,所述多个可调整至的音量值是基于等响度曲线确定的;和/或,所述目标频点为待检测的多个预设频点中的任一预设频点,所述音量调整关系中包括多个音量档位,所述多个预设频点的音量调整关系中的同一个音量档位对应的音量值根据所述等响度曲线确定,所述多个预设频点的同一个音量档位对应的音量值不同。
  3. 根据权利要求1或2所述的方法,其中,所述响应于用户操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量,包括:
    响应于显示界面中针对目标控件的触控操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量。
  4. 根据权利要求3所述的方法,其中,所述目标控件为滑动条,所述响应于显示界面中针对滑动控件的操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量,包括:
    响应于显示界面中针对所述滑动条的控制操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量。
  5. 根据权利要求4所述的方法,其中,所述音量调整关系中包括多个音量档位与所述滑动条上依次排列的多个位置之间的第一对应关系,以及所述多个音量档位中每个音量档位与音量值之间的第二对应关系,所述多个音量档位对应的音量值呈非线性的依次增大或依次减小;或者,所述音量调整关系包括:所述滑动条上依次排列的多个位置与音量值之间的第三对应关系,所述多个位置对应的音量值呈非线性的依次增大或依次减小。
  6. 根据权利要求5所述的方法,其中,所述响应于显示界面中针对所述滑动条的控制操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量,包括:
    响应于显示界面中针对所述滑动条上的第一目标位置的第一选择操作,基于所述第一对应关系,确定所述第一目标位置所对应的第一音量档位;
    基于所述第二对应关系,将所述测试音频的播放音量调整为所述第一音量档位对应的音量值。
  7. 根据权利要求5所述的方法,其中,所述第二对应关系中的所述多个音量档位对应的音量值与用户的听力范围匹配;
    所述第三对应关系中的所述多个位置对应的音量值与用户的听力范围匹配。
  8. 根据权利要求7所述的方法,其中,所述多个音量档位对应的音量值以及所述多个位置对应的音量值包括以下多组音量值中至少一组音量值的至少部分音量值:
    125dB HL、120dB HL、114.5dB HL、112.5dB HL、110.5dB HL、108.5dB HL、104.5dB HL、103.5dB HL、102.5dB HL、100dB HL、95.5dB HL、93dB HL、84.5dB HL、78.5dB HL、77dB HL、69.5dB HL、63dB HL、45dB HL和0dB HL;
    120dB HL、116dB HL、110dB HL、108dB HL、106dB HL、104dB HL、100dB HL、99dB HL、98dB HL、96dB HL、91dB HL、88dB HL、80dB HL、75dB HL、70dB HL、65dB HL、58dB HL、40dB HL和0dB HL;
    122dB HL、118dB HL、112dB HL、110dB HL、108dB HL、106dB HL、102dB HL、101dB HL、100dB HL、98dB HL、93dB HL、90dB HL、82dB HL、77dB HL、72dB HL、67dB HL、60dB HL、42dB HL和0dB HL;
    122.5dB HL、118.5dB HL、112.5dB HL、110.5dB HL、108.5dB HL、106.5dB HL、102.5dB HL、101.5dB HL、100.5dB HL、98.5dB HL、93.5dB HL、90.5dB HL、81.5dB HL、77.5dB HL、72.5dB HL、67.5dB HL、60.5dB HL、42.5dB HL和0dB HL;
    128dB HL、124dB HL、119dB HL、116dB HL、114.5dB HL、112dB HL、109dB HL、107.5dB HL、106dB HL、104.5dB HL、99.5dB HL、96.5dB HL、87.5dB HL、83.5dB HL、78.5dB HL、 73.5dB HL、66.5dB HL、48.5dB HL和0dB HL;
    126dB HL、122dB HL、116dB HL、114dB HL、112dB HL、110dB HL、106dB HL、105dB HL、104dB HL、102dB HL、97dB HL、94dB HL、86dB HL、81dB HL、74dB HL、71dB HL、64dB HL、46dB HL和0dB HL;
    其中,所述多组音量值中每组音量值对应不同的所述目标频点,所述每组音量值中的每个音量值具有-6dB HL~6dB HL的可调整范围。
  9. 根据权利要求1-8任一项所述的方法,其中,所述以初始音量输出目标频点的测试音频,包括:
    获取所述目标频点对应的初始音量,并以所述初始音量输出目标频点的测试音频,其中,所述初始音量是基于预先测试的所述目标频点对应的最小听力级所对应的目标声压级确定的。
  10. 根据权利要求9所述的方法,其中,所述初始音量为所述目标声压级与预设音量的和值。
  11. 根据权利要求10所述的方法,其中,所述预设音量为15~25dB HL。
  12. 根据权利要求1-11任一项所述的方法,其中,所述目标频点为待测试的多个预设频点中的任一预设频点,在所述响应于第一确认指令,获取所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值之后,所述方法还包括:
    调整所述目标频点,并返回所述以初始音量输出目标频点的测试音频的步骤,直至得到所述多个预设频点中每个预设频点对应的听力阈值。
  13. 根据权利要求1-12任一项所述的方法,其中,所述听力阈值为双耳的其中一只耳朵在所述目标频点的第一听力阈值,所述以初始音量输出目标频点的测试音频,包括:
    通过双耳中待检测的耳朵对应的无线耳机,以初始音量输出目标频点的测试音频;
    在所述响应于第一确认指令,获取所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值之后,所述方法还包括:
    将所述初始音量更新为所述听力阈值,并返回所述通过双耳中待检测的耳朵对应的无线耳机,以初始音量输出目标频点的测试音频的步骤,得到双耳中的另一只耳朵在所述目标频点的第二听力阈值。
  14. 根据权利要求1-13任一项所述的方法,其中,在所述响应于第一确认指令,获取所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值之后,所述方法还包括:
    基于所述听力阈值,对待播放音频中所述目标频点的音频进行音频补偿。
  15. 根据权利要求14所述的方法,其中,所述基于所述听力阈值,对待播放音频中所述目标频点的音频进行音频补偿,包括:
    根据所述听力阈值,确定对应的无限脉冲响应数字滤波器,并基于所述无限脉冲响应数字滤波器对待播放音频中所述目标频点的音频进行音频补偿。
  16. 根据权利要求1-15任一项所述的方法,其中,所述音量调整操作为持续性的操作,在所述响应于第一确认指令,确定所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值之前,所述方法还包括:
    在所述音量调整操作结束时,确定检测到所述第一确认指令。
  17. 一种听力检测装置,其中,应用于电子设备,所述装置包括:音频输出模块、音量调整模块以及听阈获取模块,其中,
    所述音频输出模块用于以初始音量输出目标频点的测试音频;
    所述音量调整模块用于响应于用户操作,基于所述目标频点对应的音量调整关系,调整所述测试音频的播放音量,其中,所述音量调整关系是基于等响度曲线确定的;
    所述听阈获取模块用于响应于第一确认指令,确定所述测试音频的当前播放音量,并将所述当前播放音量作为所述目标频点对应的听力阈值。
  18. 一种电子设备,其中,包括:
    一个或多个处理器;
    存储器;
    一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如权利要求1-16任一项所述的方法。
  19. 一种计算机可读取存储介质,其中,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行如权利要求1-16任一项所述的方法。
  20. 一种计算机程序产品,包括计算机程序,其中,该计算机程序被处理器执行时实现如权利 要求1至16中任一项所述的听力检测方法。
PCT/CN2023/099456 2022-08-09 2023-06-09 听力检测方法、装置、电子设备及存储介质 WO2024032133A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210951404.3 2022-08-09
CN202210951404.3A CN115474927A (zh) 2022-08-09 2022-08-09 听力检测方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2024032133A1 true WO2024032133A1 (zh) 2024-02-15

Family

ID=84420845

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/099456 WO2024032133A1 (zh) 2022-08-09 2023-06-09 听力检测方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN115474927A (zh)
WO (1) WO2024032133A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115474927A (zh) * 2022-08-09 2022-12-16 Oppo广东移动通信有限公司 听力检测方法、装置、电子设备及存储介质
CN116250833A (zh) * 2023-02-09 2023-06-13 北京京东拓先科技有限公司 一种基于移动设备的听力检测方法和装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102017402A (zh) * 2007-12-21 2011-04-13 Srs实验室有限公司 用于调节音频信号的感知响度的系统
CN112040373A (zh) * 2020-11-02 2020-12-04 统信软件技术有限公司 一种音频数据处理方法、计算设备及可读存储介质
US20210373845A1 (en) * 2020-05-26 2021-12-02 Nanning Fugui Precision Industrial Co., Ltd. Method for adjusting sound playback and portable device thereof
CN114569121A (zh) * 2022-03-30 2022-06-03 大象声科(深圳)科技有限公司 一种音频听测装置、方法、终端及存储介质
CN115474927A (zh) * 2022-08-09 2022-12-16 Oppo广东移动通信有限公司 听力检测方法、装置、电子设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102017402A (zh) * 2007-12-21 2011-04-13 Srs实验室有限公司 用于调节音频信号的感知响度的系统
US20210373845A1 (en) * 2020-05-26 2021-12-02 Nanning Fugui Precision Industrial Co., Ltd. Method for adjusting sound playback and portable device thereof
CN112040373A (zh) * 2020-11-02 2020-12-04 统信软件技术有限公司 一种音频数据处理方法、计算设备及可读存储介质
CN114569121A (zh) * 2022-03-30 2022-06-03 大象声科(深圳)科技有限公司 一种音频听测装置、方法、终端及存储介质
CN115474927A (zh) * 2022-08-09 2022-12-16 Oppo广东移动通信有限公司 听力检测方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN115474927A (zh) 2022-12-16

Similar Documents

Publication Publication Date Title
WO2024032133A1 (zh) 听力检测方法、装置、电子设备及存储介质
US9197971B2 (en) Personalized hearing profile generation with real-time feedback
WO2020019846A1 (zh) 无线耳机音量控制方法、无线耳机及移动终端
EP3038255B1 (en) An intelligent volume control interface
WO2023024725A1 (zh) 音频控制方法及装置、终端和存储介质
CN112954115B (zh) 一种音量调节方法、装置、电子设备及存储介质
CN104798301A (zh) 音频响度控制系统
JP6877919B2 (ja) 聴力の生理状況に基づいてイコライザーの設定を調整できる電子機器及び音声再生装置
GB2555842A (en) Auditory device assembly
CN105262887B (zh) 移动终端及其音频设置方法
WO2023035626A1 (zh) 调节耳机音量的方法、装置及耳机
EP4052482A1 (en) Microphone with adjustable signal processing
US20190141462A1 (en) System and method for performing an audiometric test and calibrating a hearing aid
CN111508510A (zh) 音频处理方法、装置、存储介质及电子设备
JP2023525138A (ja) アクティブノイズキャンセリング方法および装置
WO2024001463A1 (zh) 音频信号的处理方法、装置、电子设备、计算机可读存储介质及计算机程序产品
WO2023016208A1 (zh) 音频信号补偿方法及装置、耳机、存储介质
US10483933B2 (en) Amplification adjustment in communication devices
CN105748079A (zh) 一种基于蓝牙耳机的听力测试方法和系统
CN107493376A (zh) 一种铃声音量调节方法和装置
CN105763982A (zh) 自动调整音量的耳机及耳机自动调整音量的方法
WO2019033439A1 (zh) 音量调节方法、装置、存储介质及移动终端
CN113495713B (zh) 调整耳机音频参数的方法及装置、耳机、存储介质
US11463809B1 (en) Binaural wind noise reduction
JP2024030756A (ja) 聴音装置及びプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23851361

Country of ref document: EP

Kind code of ref document: A1