WO2023035626A1 - Method and apparatus for adjusting volume of earphone, and earphone - Google Patents

Method and apparatus for adjusting volume of earphone, and earphone Download PDF

Info

Publication number
WO2023035626A1
WO2023035626A1 PCT/CN2022/089539 CN2022089539W WO2023035626A1 WO 2023035626 A1 WO2023035626 A1 WO 2023035626A1 CN 2022089539 W CN2022089539 W CN 2022089539W WO 2023035626 A1 WO2023035626 A1 WO 2023035626A1
Authority
WO
WIPO (PCT)
Prior art keywords
sound pressure
pressure level
earphone
noise
safe
Prior art date
Application number
PCT/CN2022/089539
Other languages
French (fr)
Chinese (zh)
Inventor
迟欣
吴海全
曹磊
何桂晓
郭世文
Original Assignee
深圳市冠旭电子股份有限公司
深圳市飞科笛系统开发有限公司
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 深圳市冠旭电子股份有限公司, 深圳市飞科笛系统开发有限公司 filed Critical 深圳市冠旭电子股份有限公司
Publication of WO2023035626A1 publication Critical patent/WO2023035626A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Definitions

  • the present application relates to the technical field of earphones, in particular to a method and device for adjusting earphone volume and earphones.
  • the relevant hearing protection earphones on the market usually limit the maximum output sound pressure level so as to achieve the effect that the instantaneous sound pressure will not be too high, for example, limit the sound pressure level (SPL) to below 85dB. But in some quiet scenes, 85dB is quite high volume.
  • SPL sound pressure level
  • 85dB 85dB is quite high volume.
  • the impact of human hearing is not only related to the instantaneous sound pressure, but also closely related to the listening time. Generally speaking, the lower the listening sound pressure level and the shorter the listening time, the healthier the listening.
  • One of the purposes of the embodiments of the present application is to provide a method and device for adjusting the volume of earphones and earphones, aiming at solving the problem of poor output sound pressure level of earphones.
  • a method for adjusting the earphone volume including:
  • the noise sound pressure level obtain the corresponding safe sound pressure level; adjust the output sound pressure level according to the safe sound pressure level.
  • calculating the output sound pressure level of the earphone according to the audio digital signal includes: obtaining the frequency response curve of the earphone;
  • the frequency response weighting process is performed on the audio digital signal to obtain the original sound pressure level of the audio digital signal relative to the eardrum reference point after passing through the earphone; according to the selected frequency weighting method, the original sound pressure level relative to the eardrum reference point is obtained.
  • the pressure level is frequency-weighted to obtain the output sound pressure level of the earphone at the eardrum of the human ear.
  • Frequency weighting methods include A weighting, B weighting, C weighting or linear weighting.
  • the original sound pressure level of the audio digital signal relative to the eardrum reference point after passing through the earphone it also includes:
  • the noise sound pressure level is calculated according to the ambient noise signal, including:
  • the same frequency weighting method is used to carry out frequency weighting on the environmental noise signal to obtain the noise sound pressure level.
  • the noise sound pressure level obtains the corresponding safe sound pressure level, including:
  • the listening environment includes quiet environment, daily environment and strong noise environment; when the listening environment is a quiet environment, the safe sound pressure level is the first safe sound pressure level; when the listening environment For the daily environment, the second safe sound pressure level is determined according to the noise sound pressure level and the preset linear relationship.
  • the preset linear relationship is the linear relationship between the noise sound pressure level and the safe sound pressure level; when the listening environment is a strong noise environment , then calculate the used sound dose of the earphone within the preset time according to the output sound pressure level; determine the third safe sound pressure level according to the noise sound pressure level and the used sound dose.
  • the third safe sound pressure level is determined according to the noise sound pressure level and the used sound dose, including: calculating the ratio of the used sound dose to the reference sound dose within a preset time; , select the corresponding volume output control curve; determine the third safe sound pressure level according to the noise sound pressure level and the selected volume output control curve.
  • adjusting the output sound pressure level according to the safe sound pressure level includes: judging whether the output sound pressure level is less than or equal to the safe sound pressure level; if not, compressing the output sound pressure level to the safe sound pressure level to obtain the compressed sound pressure level ; If yes, judge whether the output sound pressure level of the previous frame is compressed, and if so, restore the compressed sound pressure level to the output sound pressure level, otherwise, do not adjust the output sound pressure level.
  • compressing the output sound pressure level to a safe sound pressure level includes: gradually compressing the output sound pressure level to a safe sound pressure level after a preset startup time;
  • restoring the compressed sound pressure level to the output sound pressure level includes: gradually restoring the compressed sound pressure level to the output sound pressure level after a preset release time.
  • a device for adjusting earphone volume including:
  • the audio signal acquisition module is used to acquire the audio digital signal input to the earphone;
  • a noise signal acquisition module configured to acquire an environmental noise signal
  • the sound pressure level analysis module is used to calculate the output sound pressure level of the earphone according to the audio digital signal; it is also used to calculate the noise sound pressure level according to the environmental noise signal;
  • the output sound pressure level control module is used to obtain a corresponding safe sound pressure level according to the noise sound pressure level, and adjust the output sound pressure level according to the safe sound pressure level.
  • an earphone including: a memory, a processor, and a computer program stored in the memory and operable on the processor;
  • a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for adjusting the volume of an earphone as described above is implemented.
  • a computer program product is provided.
  • the earphone is made to execute the method for adjusting the volume of the earphone in the first aspect.
  • the beneficial effect of a method for adjusting the volume of earphones is that the noise sound pressure level is calculated by acquiring the noise signal of the environment, and the corresponding safe sound pressure level is obtained according to the noise sound pressure level.
  • the digital signal calculates the output sound pressure level of the earphone, and adjusts the output sound pressure level of the earphone with reference to the safe sound pressure level, which can not only ensure that the user can hear clearly, but also benefit the user's hearing protection.
  • FIG. 1 is a flowchart of a method for adjusting the volume of earphones provided by an embodiment of the present application
  • FIG. 2 is a volume control curve diagram provided by an embodiment of the present application.
  • FIG. 3 is another volume control curve diagram provided by an embodiment of the present application.
  • Fig. 4 is a structural block diagram of a device for adjusting earphone volume provided by an embodiment of the present application
  • Fig. 5 is a schematic structural diagram of an earphone provided by an embodiment of the present application.
  • references to "one embodiment” or “some embodiments” or the like in the specification of the present application means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
  • appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically stated otherwise.
  • the terms “including”, “comprising”, “having” and variations thereof mean “including but not limited to”, unless specifically stated otherwise.
  • This embodiment provides a method for adjusting the volume of earphones, which is suitable for earphones of various styles such as in-ear, semi-in-ear, and head-mounted, and is performed by a device for adjusting the volume of earphones.
  • the modules of the device are integrated in In the headset, or a part of the module is integrated into the headset, and another part of the module is integrated into the terminal device that provides audio.
  • Fig. 1 is a flow chart of the method for adjusting the earphone volume provided by this embodiment. As shown in Figure 1, the method for adjusting the earphone volume includes the following steps:
  • the earphone establishes a wired or wireless connection with electronic devices with multimedia functions such as mobile phones and computers.
  • the electronic device outputs audio to the earphone, and obtains the original audio digital signal input to the earphone through wireless communication, or obtains the audio input to the earphone through wired communication.
  • analog signal and converts the audio analog signal to an audio digital signal.
  • the sound pressure produced by the earphone increases or attenuates with the change of audio frequency, and the relationship between sound pressure and frequency is called frequency response.
  • Each earphone has its audio characteristics.
  • the frequency response curve is one of the parameters representing the audio characteristics of the earphone.
  • the frequency response characteristic of the earphone is measured by an acoustic instrument and stored in the form of a frequency response curve (frequency response curve for short).
  • Different headphones play the same audio, because of their different frequency response curves, the sound pressure generated is not exactly the same, so it is necessary to perform frequency response weighting processing on the audio digital signal according to the frequency response curve of the headphones, and superimpose the corresponding gain coefficients at different frequencies , to obtain the original sound pressure level of the audio digital signal after passing through the earphone.
  • the output sound pressure level is different when driving 1Khz and 6Khz.
  • a specific weighting algorithm may use a time-domain weighting algorithm, or may use a frequency-domain weighting algorithm.
  • the sound pressure level measured at the eardrum reference point of the artificial ear device is the original sound pressure level of the audio digital signal relative to the eardrum reference point after passing through the earphone.
  • the human ear's subjective perception of the response to different frequencies is not flat, and the original sound pressure level measured at this time is the sound pressure level measured by the instrument, not the sound pressure level felt by the human ear. Therefore, it is necessary to perform frequency weighting on the original sound pressure level according to the health requirements of different groups of people, different listening environments and/or different health standards for sound pressure levels.
  • the sound pressure level obtained after frequency weighting is closer to the human ear experience sound pressure level. If the earphone is worn on the human ear, frequency weighting is performed on the original sound pressure level relative to the reference point of the tympanic membrane to obtain the output sound pressure level of the earphone at the tympanic membrane of the human ear.
  • Some health standards use the sound pressure level under the scattering field as the sound pressure level measurement standard, then it is necessary to convert the original sound pressure level relative to the eardrum reference point into the original sound pressure level under the scattering field, and add the eardrum reference point to the scattering transitions between fields.
  • the original sound pressure level relative to the eardrum reference point is converted to the original sound pressure level under the diffuse field.
  • the selected frequency weighting method the original sound pressure level under the scattering field is frequency-weighted to obtain the output sound pressure level of the earphone under the scattering field.
  • the original sound pressure level at the eardrum reference point can be converted to the original sound pressure level under the corresponding sound field according to the different sound fields used.
  • Frequency weighting methods include A weighting, B weighting, C weighting or linear weighting.
  • A-weighting, B-weighting, and C-weighting correspond to the equal-loudness curves of 40-square, 70-square, and 100-square pure tones respectively, and linear weighting means that no weighting network is used.
  • the equal-loudness curve is stored in the earphone, and an appropriate frequency weighting method is selected for frequency weighting according to the crowd, listening environment and/or health standards. For example, A-weighting is selected for normal environments, C-weighting is selected for high-noise environments, and so on.
  • the method further includes: calibrating the original sound pressure level according to the speaker calibration data of the earphone. Specifically, due to individual differences in earphones, especially differences in devices, there will be a certain deviation in the output sound pressure level of individual products under the same conditions. By calibrating each speaker during the production process, and storing the calibration data in the earphone The storage module can achieve more accurate sound pressure level calculation by compensating the speaker output during use.
  • Frequency weighting is performed on the environmental noise signal to obtain the noise sound pressure level.
  • the same frequency weighting method as the audio digital signal is used for frequency weighting of the environmental noise signal.
  • the listening environment determines the listening environment. Determine the safe sound pressure level according to the listening environment, and prevent the ears from being damaged by strong sounds while obtaining a better signal-to-noise ratio.
  • the listening environment is divided into quiet environment, daily environment and strong noise environment.
  • Quiet environment such as library, bedroom at night, etc.
  • daily environment such as coffee shop, office, etc.
  • strong noise environment such as construction site, highway with heavy traffic, etc.
  • the noise sound pressure level is less than 50dB is a quiet environment
  • the noise sound pressure level is between 50dB-70dB is a daily environment
  • the noise sound pressure level is greater than 70dB is a strong noise environment.
  • FIG. 2 is a volume control curve diagram provided by this embodiment.
  • the safe sound pressure level is the first safe sound pressure level.
  • the first safe sound pressure level is 70 dB. In practical applications, it can also be properly raised or lowered according to the user's listening habits.
  • the second safe sound pressure level is determined according to the noise sound pressure level and the preset linear relationship, and the preset linear relationship is the linear relationship between the noise sound pressure level and the safe sound pressure level, as shown in Figure 2 Shown in section Y.
  • the third safe sound pressure level can be determined according to the Z section in Fig. 2 .
  • the used sound dose of the earphone within a preset time is calculated according to the output sound pressure level. Compared with the reference sound dose within the same preset time, when the remaining available sound dose is sufficient and the external environment noise is large, a higher sound pressure level can be used for listening. When the used sound dose is close to or exceeds the limit, it is necessary to appropriately reduce the safe output sound pressure level to protect hearing.
  • Sound Exposure also known as Dosage, refers to the time integral of the square of sound pressure within a certain time interval (between t1 and t2) or process.
  • the sound pressure level is the logarithm of the ratio of the sound pressure to the reference sound pressure, in decibels dB, the reference sound pressure p is usually 20 ⁇ Pa,
  • the corresponding sound pressure is calculated according to the output sound pressure level, and the sound dose can be obtained by time integrating the square of the sound pressure.
  • determine the third safe sound pressure level including:
  • Fig. 3 is another volume control curve diagram provided by this embodiment.
  • the part in the circle is the volume control curve suitable for the environment with strong noise.
  • the range of the ratio includes a first range (0-75%), a second range (75%-100%) and a third range (above 100%).
  • Z1 is the first volume output control curve corresponding to the first interval
  • Z2 is the second volume output control curve corresponding to the second interval
  • Z3 is the third volume output control curve corresponding to the third interval.
  • the used sound dose when the used sound dose is 50% of the day, use the first volume output control curve Z1 to determine the third safe sound pressure level, and when the used sound dose exceeds 75% that day, use the second volume output control curve Z2 to determine the third safe sound pressure level For the sound pressure level, after the used sound dose of the day exceeds 100%, use the third volume output control curve Z3 to determine the third safe sound pressure level.
  • the safe sound pressure level of the earphone is the maximum volume that the earphone can output. Users can use the volume plus/minus buttons to adjust the volume, but when the output sound pressure level exceeds the safe sound pressure level, the output sound pressure level will be suppressed to Safe sound pressure level.
  • the sound pressure level compression algorithm can be used to compress the output sound pressure level to a safe sound pressure level to obtain the compressed sound pressure level. If yes, judge whether the output sound pressure level of the last audio digital signal is compressed, and if yes, restore the compressed sound pressure level to the output sound pressure level; otherwise, do not adjust the output sound pressure level, and play according to the output sound pressure level selected by the user audio.
  • the output sound pressure level of the earphone is less than or equal to the safe sound pressure level, the output sound pressure level is not adjusted, and the audio is played according to the output sound pressure level selected by the user.
  • the output sound pressure level of the earphone will be compressed to the safe sound pressure level, and the attenuation is the difference between the output sound pressure level and the safe sound pressure level.
  • Compressed sound pressure level output sound pressure level - attenuation.
  • an appropriate frequency weighting method is selected to carry out frequency weighting on the original sound pressure level processed by the frequency response of the earphones to obtain the output sound pressure level of the earphones, and the frequency weighting simulation It improves the response of the human ear to pure tones of different loudness, making the final sound pressure level closer to the real feeling of the human ear.
  • the volume adjustment suggestion made based on the output sound pressure level is closer to the user's real use scenario and is more conducive to the user's hearing protection.
  • the method is improved on the basis of the above-mentioned embodiments.
  • it is necessary to adopt certain means to make the volume change more gentle and sound more comfortable.
  • compressing the output sound pressure level to a safe sound pressure level includes: gradually compressing the output sound pressure level to a safe sound pressure level after a preset startup time.
  • Attack time refers to the time it takes for the current output sound pressure level to gradually compress to the safe sound pressure level when the output sound pressure level increases and is higher than the safe sound pressure level. For example, if the current ambient noise is 50dB, the current safe sound pressure level is 70dB, and the audio to be played next is 80dB, the startup time is the time it takes to gradually compress the output sound pressure level from 80dB to 70dB.
  • restoring the compressed sound pressure level to the output sound pressure level includes: gradually restoring the compressed sound pressure level to the output sound pressure level after a preset release time.
  • the release time is the time it takes for the compressed sound pressure level to return to the output sound pressure level.
  • the current ambient noise is 50dB
  • the current safe sound pressure level is 70dB
  • the output sound pressure level of the last audio digital signal is 80dB.
  • the attenuation of compressing the output sound pressure level to the safe sound pressure level is -10dB, and the compressed sound pressure level is obtained.
  • the pressure level is 70dB.
  • the output sound pressure level of the audio digital signal in the next frame changes to 65dB, which is already lower than the safe sound pressure level. If you continue to compress according to the attenuation of -10dB, the compressed sound pressure level will be 55dB, which will affect the user's listening To feel, you need to gradually restore the compressed sound pressure level to the output sound pressure level, and the release time is the time it takes to restore the compressed sound pressure level from 55dB to the output sound pressure level of 65dB.
  • it also includes: displaying the output sound pressure level through the number and/or color of the indicator light of the earphone, or displaying the output sound pressure level through the display of the earphone, or through the communication connection with the electronic device, the output sound pressure level
  • the grade is sent to the electronic device for display.
  • the displayed output sound pressure level can be the instantaneous actual output sound pressure level, or the equivalent sound pressure level for a period of time.
  • the equivalent continuous A-weighted sound pressure level of the sound dose E in the time integration interval T t2-t1
  • PA(t) is the instantaneous A-weighted sound pressure of the audio signal
  • p is the reference sound pressure of 20 ⁇ Pa.
  • FIG. 4 shows a structural block diagram of the device for adjusting the volume of the earphone provided by the embodiment of the present application. For the convenience of description, only the parts related to the embodiment of the present application are shown.
  • the device includes:
  • the audio signal acquisition module 21 is configured to acquire the audio digital signal input to the earphone.
  • the noise signal acquisition module 22 is configured to acquire environmental noise signals.
  • the sound pressure level analysis module 23 is used to calculate the output sound pressure level of the earphone according to the audio digital signal. It is also used to calculate the noise sound pressure level based on the environmental noise signal.
  • the output sound pressure level control module 24 is configured to obtain a corresponding safe sound pressure level according to the noise sound pressure level, and adjust the output sound pressure level according to the safe sound pressure level.
  • the device further includes: a sound dose analysis module 25, which is used to calculate the used sound dose of the earphone within a preset time according to the output sound pressure level.
  • the output sound pressure level control module 24 includes: an environment determination unit, a safe sound pressure level determination unit and a sound pressure level control unit.
  • the environment determination unit is used to determine the listening environment according to the noise sound pressure level, and the listening environment includes quiet environment, daily environment and strong noise environment.
  • the safe sound pressure level determining unit is used for: when the listening environment is a quiet environment, the safe sound pressure level is the first safe sound pressure level.
  • the second safe sound pressure level is determined according to the noise sound pressure level and a preset linear relationship, and the preset linear relationship is a linear relationship between the noise sound pressure level and the safe sound pressure level.
  • the third safe sound pressure level is determined according to the noise sound pressure level and the used sound dose.
  • the sound pressure level control unit is used for: judging whether the output sound pressure level is lower than the safe sound pressure level. If not, compress the output sound pressure level to a safe sound pressure level to obtain the compressed sound pressure level. If yes, determine whether the output sound pressure level of the last frame of audio digital signal is compressed, and if yes, restore the compressed sound pressure level to the output sound pressure level, otherwise, do not adjust the output sound pressure level.
  • the device for adjusting the volume of the earphone further includes a timing module.
  • the timing module is used for providing the occurrence time of the output sound pressure level when the memory stores the output sound pressure level.
  • the embodiment of the present application also provides an earphone.
  • the earphone includes: at least one processor 31, a memory 32, and a computer program stored in the memory 32 and operable on at least one processor, the processor 31. Implement the steps in any of the above method embodiments when the computer program is executed.
  • the memory 32 stores the frequency response curve of the earphone, and the frequency response curve is obtained by measuring with an acoustic instrument.
  • the earphone further includes a display module 34, and the display module 34 is an indicator light or a display for displaying the output sound pressure level.
  • the number of indicator lights may be multiple, and/or the colors of the indicator lights may be multiple.
  • the memory 32 stores speaker calibration data of the earphone, and the speaker calibration data of the earphone is used to calibrate the original sound pressure level.
  • the earphone further includes a timing module 35, which is configured to provide an occurrence time of the output sound pressure level when the memory 32 stores the output sound pressure level.
  • the earphone also includes a communication module 33, which communicates with the electronic device, and is used to obtain audio digital signals from the electronic device, and is also used to output the output sound pressure level and the time when the output sound pressure level occurs Sent to electronic devices for display and/or storage.
  • a communication module 33 which communicates with the electronic device, and is used to obtain audio digital signals from the electronic device, and is also used to output the output sound pressure level and the time when the output sound pressure level occurs Sent to electronic devices for display and/or storage.
  • the earphone may be a smart earphone.
  • the so-called processor can be a central processing unit (Central Processing Unit, CPU), and the processor can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC) ), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the like.
  • the memory is the internal storage unit of the earphone, and the memory is used to store the computer program corresponding to the above method embodiment and the data necessary for running the computer program, such as the program code of the computer program, the frequency response curve of the earphone, the equal loudness curve, etc.
  • the memory can also be used to temporarily store data that has been output or will be output.
  • the embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the foregoing method embodiments are implemented.
  • An embodiment of the present application provides a computer program product.
  • the computer program product runs on the earphone, the mobile terminal implements the steps in the foregoing method embodiments when executed.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the procedures in the methods of the above embodiments in the present application can be completed by instructing related hardware through computer programs, and the computer programs can be stored in a computer-readable storage medium.
  • the computer program When executed by a processor, the steps in the above-mentioned various method embodiments can be realized.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form.
  • the computer-readable medium may at least include: any entity or device capable of carrying computer program codes to a terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random-access memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media.
  • ROM read-only memory
  • RAM random-access memory
  • electrical carrier signals telecommunication signals
  • software distribution media Such as U disk, mobile hard disk, magnetic disk or CD, etc.
  • computer readable media may not be electrical carrier signals and telecommunication signals under legislation and patent practice.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

Landscapes

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

Abstract

Provided in the present application are a method and apparatus for adjusting the volume of an earphone, and an earphone, which are applicable to the technical field of earphones. The method comprises: acquiring an audio digital signal, and calculating an output sound press level of an earphone; calculating a noise sound press level according to an ambient noise signal; acquiring a safe sound press level according to the noise sound press level; and adjusting the output sound press level according to the safe sound press level. The present application can be applied to a smart earphone. By means of the present application, a corresponding safe sound press level can be obtained according to a noise sound press level, and an output sound press level of an earphone is simultaneously calculated; and with reference to the safe sound press level, the output sound press level of the earphone is adjusted, such that the present application can not only ensure that users can hear clearly, but is also conducive to protecting the hearing of the users.

Description

调节耳机音量的方法、装置及耳机Method and device for adjusting earphone volume and earphone
本申请要求于2021年9月10日在中国专利局提交的、申请号为202111060917.7、发明名称为“调节耳机音量的方法、装置、耳机及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111060917.7 and the title of the invention "Method, device, earphone and storage medium for adjusting earphone volume" filed at the China Patent Office on September 10, 2021, the entire content of which Incorporated in this application by reference.
技术领域technical field
本申请涉及耳机技术领域,具体涉及一种调节耳机音量的方法、装置及耳机。The present application relates to the technical field of earphones, in particular to a method and device for adjusting earphone volume and earphones.
背景技术Background technique
这里的陈述仅提供与本申请有关的背景信息,而不必然构成现有技术。当前佩戴耳机的人群越来越大,使用场景也越来越多,一些儿童也已经开始在学习生活中使用到了耳机。但是大部分人通常没有听力保护的概念,为了听得更清晰、覆盖周围的噪声等,将耳机音量调高,使得耳机声场输出强度过大,长时间使用容易造成人耳听力损失。The statements herein merely provide background information related to the present application and may not necessarily constitute prior art. At present, the number of people wearing headphones is increasing, and there are more and more usage scenarios. Some children have begun to use headphones in their study and life. However, most people usually do not have the concept of hearing protection. In order to hear more clearly and cover the surrounding noise, etc., the volume of the earphones is turned up, which makes the sound field output of the earphones too strong, and long-term use is likely to cause hearing loss.
由于很多人的耳朵对声音不是很敏感,所以在听音过程中并不能主观的判断声压级的大小。即使是耳朵敏感的人群,在长时间大音量听音后,耳朵已经适应了大音量环境,也会无法准确判断音量是否过大。Since many people's ears are not very sensitive to sound, they cannot judge the sound pressure level subjectively during the listening process. Even people with sensitive ears may not be able to accurately judge whether the volume is too loud after their ears have adapted to the high-volume environment after listening to it for a long time.
市面上相关的听力保护耳机通常通过对最大输出声压级进行限制,从而达到瞬时声压不会过高的效果,例如将声压级(Sound press level,SPL)限制在85dB以下。但是在一些安静场景,85dB也是相当高的音量。人耳听力受影响不仅和瞬时声压有关,还与听音时长息息相关,总的来讲就是听音声压级越低、听音时长越短则听音越健康。The relevant hearing protection earphones on the market usually limit the maximum output sound pressure level so as to achieve the effect that the instantaneous sound pressure will not be too high, for example, limit the sound pressure level (SPL) to below 85dB. But in some quiet scenes, 85dB is quite high volume. The impact of human hearing is not only related to the instantaneous sound pressure, but also closely related to the listening time. Generally speaking, the lower the listening sound pressure level and the shorter the listening time, the healthier the listening.
但是,听音声压级并不能无限制的降低,既要听得清楚,又要保护听力,才是理想的效果。However, the sound pressure level of listening cannot be reduced without limit. The ideal effect is to hear clearly and protect hearing.
技术问题technical problem
本申请实施例的目的之一在于:提供一种调节耳机音量的方法、装置及耳机,旨在解决耳机输出声压级效果不佳的问题。One of the purposes of the embodiments of the present application is to provide a method and device for adjusting the volume of earphones and earphones, aiming at solving the problem of poor output sound pressure level of earphones.
技术解决方案technical solution
为解决上述技术问题,本申请实施例采用的技术方案是:In order to solve the above-mentioned technical problems, the technical solution adopted in the embodiment of the present application is:
第一方面,提供了一种调节耳机音量的方法,包括:In the first aspect, a method for adjusting the earphone volume is provided, including:
获取输入到耳机的音频数字信号;根据音频数字信号计算耳机的输出声压级;获取环境噪声信号;根据环境噪声信号计算噪声声压级;Obtain the audio digital signal input to the earphone; calculate the output sound pressure level of the earphone according to the audio digital signal; obtain the environmental noise signal; calculate the noise sound pressure level according to the environmental noise signal;
根据噪声声压级,获取相应的安全声压级;根据安全声压级调整输出声压级。According to the noise sound pressure level, obtain the corresponding safe sound pressure level; adjust the output sound pressure level according to the safe sound pressure level.
在一个实施例中,根据音频数字信号计算耳机的输出声压级,包括:获取耳机的频率 响应曲线;In one embodiment, calculating the output sound pressure level of the earphone according to the audio digital signal includes: obtaining the frequency response curve of the earphone;
根据频率响应曲线,对音频数字信号进行频响加权处理,得到音频数字信号经过耳机后相对于鼓膜参考点的原始声压级;根据选择的频率计权方式,对相对于鼓膜参考点的原始声压级进行频率计权,获得耳机在人耳鼓膜处的输出声压级。频率计权方式包括A计权、B计权、C计权或线性计权。According to the frequency response curve, the frequency response weighting process is performed on the audio digital signal to obtain the original sound pressure level of the audio digital signal relative to the eardrum reference point after passing through the earphone; according to the selected frequency weighting method, the original sound pressure level relative to the eardrum reference point is obtained. The pressure level is frequency-weighted to obtain the output sound pressure level of the earphone at the eardrum of the human ear. Frequency weighting methods include A weighting, B weighting, C weighting or linear weighting.
作为一种可能的实现方式,得到音频数字信号经过耳机后相对于鼓膜参考点的原始声压级之后,还包括:As a possible implementation, after obtaining the original sound pressure level of the audio digital signal relative to the eardrum reference point after passing through the earphone, it also includes:
将相对于鼓膜参考点的原始声压级转换为散射场下的原始声压级;根据选择的频率计权方式,对散射场下的原始声压级进行频率计权,获得耳机在散射场下的输出声压级。Convert the original sound pressure level relative to the reference point of the tympanic membrane into the original sound pressure level under the scattering field; according to the selected frequency weighting method, carry out frequency weighting on the original sound pressure level under the scattering field, and obtain the sound pressure level of the earphone under the scattering field output sound pressure level.
相应的,根据环境噪声信号计算噪声声压级,包括:Correspondingly, the noise sound pressure level is calculated according to the ambient noise signal, including:
采用相同的频率计权方式,对环境噪声信号进行频率计权,得到噪声声压级。The same frequency weighting method is used to carry out frequency weighting on the environmental noise signal to obtain the noise sound pressure level.
其中,根据噪声声压级,获取相应的安全声压级,包括:Among them, according to the noise sound pressure level, obtain the corresponding safe sound pressure level, including:
根据噪声声压级,确定听音环境,听音环境包括安静环境、日常环境和强噪音环境;当听音环境为安静环境,则安全声压级为第一安全声压级;当听音环境为日常环境,则根据噪声声压级与预设线性关系,确定第二安全声压级,预设线性关系为噪声声压级与安全声压级的线性关系;当听音环境为强噪音环境,则根据输出声压级计算耳机在预设时间内的已使用声剂量;根据噪声声压级和已使用声剂量,确定第三安全声压级。According to the noise sound pressure level, determine the listening environment. The listening environment includes quiet environment, daily environment and strong noise environment; when the listening environment is a quiet environment, the safe sound pressure level is the first safe sound pressure level; when the listening environment For the daily environment, the second safe sound pressure level is determined according to the noise sound pressure level and the preset linear relationship. The preset linear relationship is the linear relationship between the noise sound pressure level and the safe sound pressure level; when the listening environment is a strong noise environment , then calculate the used sound dose of the earphone within the preset time according to the output sound pressure level; determine the third safe sound pressure level according to the noise sound pressure level and the used sound dose.
作为一种可能的实现方式,根据噪声声压级和已使用声剂量,确定第三安全声压级,包括:计算已使用声剂量与预设时间内的参考声剂量的比值;根据比值所在区间,选择相应的音量输出控制曲线;根据噪声声压级和选择的音量输出控制曲线,确定第三安全声压级。As a possible implementation, the third safe sound pressure level is determined according to the noise sound pressure level and the used sound dose, including: calculating the ratio of the used sound dose to the reference sound dose within a preset time; , select the corresponding volume output control curve; determine the third safe sound pressure level according to the noise sound pressure level and the selected volume output control curve.
其中,根据安全声压级调整输出声压级,包括:判断输出声压级是否小于或等于安全声压级;若否,将输出声压级压缩到安全声压级,得到被压缩声压级;若是,判断上一帧的输出声压级是否被压缩,是则将被压缩声压级恢复到输出声压级,否则不调整输出声压级。Wherein, adjusting the output sound pressure level according to the safe sound pressure level includes: judging whether the output sound pressure level is less than or equal to the safe sound pressure level; if not, compressing the output sound pressure level to the safe sound pressure level to obtain the compressed sound pressure level ; If yes, judge whether the output sound pressure level of the previous frame is compressed, and if so, restore the compressed sound pressure level to the output sound pressure level, otherwise, do not adjust the output sound pressure level.
其中,将输出声压级压缩到安全声压级,包括:经过预设启动时间,将输出声压级逐渐压缩到安全声压级;Wherein, compressing the output sound pressure level to a safe sound pressure level includes: gradually compressing the output sound pressure level to a safe sound pressure level after a preset startup time;
其中,将被压缩声压级恢复到输出声压级,包括:经过预设释放时间,将被压缩声压级逐渐恢复到输出声压级。Wherein, restoring the compressed sound pressure level to the output sound pressure level includes: gradually restoring the compressed sound pressure level to the output sound pressure level after a preset release time.
第二方面,提供了一种调节耳机音量的装置,包括:In the second aspect, a device for adjusting earphone volume is provided, including:
音频信号获取模块,用于获取输入到耳机的音频数字信号;The audio signal acquisition module is used to acquire the audio digital signal input to the earphone;
噪声信号获取模块,用于获取环境噪声信号;A noise signal acquisition module, configured to acquire an environmental noise signal;
声压级分析模块,用于根据音频数字信号计算得到耳机的输出声压级;还用于根据环境噪声信号计算得到噪声声压级;The sound pressure level analysis module is used to calculate the output sound pressure level of the earphone according to the audio digital signal; it is also used to calculate the noise sound pressure level according to the environmental noise signal;
输出声压级控制模块,用于根据噪声声压级,获取相应的安全声压级,并根据安全声压级调整输出声压级。The output sound pressure level control module is used to obtain a corresponding safe sound pressure level according to the noise sound pressure level, and adjust the output sound pressure level according to the safe sound pressure level.
第三方面,提供了一种耳机,包括:存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序;In a third aspect, an earphone is provided, including: a memory, a processor, and a computer program stored in the memory and operable on the processor;
所述处理器执行所述计算机程序时实现如上所述的调节耳机音量的方法。When the processor executes the computer program, the method for adjusting the earphone volume as described above is implemented.
第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的调节耳机音量的方法。In a fourth aspect, a computer-readable storage medium is provided, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for adjusting the volume of an earphone as described above is implemented.
第五方面,提供了一种计算机程序产品,当计算机程序产品在耳机上运行时,使得耳机执行上述第一方面的调节耳机音量的方法。In a fifth aspect, a computer program product is provided. When the computer program product runs on the earphone, the earphone is made to execute the method for adjusting the volume of the earphone in the first aspect.
有益效果Beneficial effect
本申请实施例提供的一种调节耳机音量的方法的有益效果在于:通过获取环境的噪声信号计算噪声声压级,根据噪声声压级获得相应的安全声压级,同时,根据输入耳机的音频数字信号计算耳机的输出声压级,参考安全声压级对耳机的输出声压级进行调节,既能保证用户能够听得清晰,又有利于用户的听力保护。The beneficial effect of a method for adjusting the volume of earphones provided by the embodiment of the present application is that the noise sound pressure level is calculated by acquiring the noise signal of the environment, and the corresponding safe sound pressure level is obtained according to the noise sound pressure level. The digital signal calculates the output sound pressure level of the earphone, and adjusts the output sound pressure level of the earphone with reference to the safe sound pressure level, which can not only ensure that the user can hear clearly, but also benefit the user's hearing protection.
上述第二方面至第五方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。For the beneficial effects of the above-mentioned second aspect to the fifth aspect, reference may be made to the related description in the above-mentioned first aspect, which will not be repeated here.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或示范性技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments or exemplary technical descriptions. Obviously, the accompanying drawings in the following descriptions are only for this application. For some embodiments, those skilled in the art can also obtain other drawings based on these drawings without creative efforts.
图1是本申请一实施例提供的调节耳机音量的方法的流程图;FIG. 1 is a flowchart of a method for adjusting the volume of earphones provided by an embodiment of the present application;
图2是本申请一实施例提供的一音量控制曲线图;FIG. 2 is a volume control curve diagram provided by an embodiment of the present application;
图3是本申请一实施例提供的另一音量控制曲线图;FIG. 3 is another volume control curve diagram provided by an embodiment of the present application;
图4是本申请一实施例提供的调节耳机音量的装置的结构框图;Fig. 4 is a structural block diagram of a device for adjusting earphone volume provided by an embodiment of the present application;
图5是本申请一实施例提供的耳机的结构示意图。Fig. 5 is a schematic structural diagram of an earphone provided by an embodiment of the present application.
本发明的实施方式Embodiments of the present invention
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and/or components, but does not exclude one or more other Presence or addition of features, wholes, steps, operations, elements, components and/or collections thereof. It should also be understood that the term "and/or" used in the description of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。Reference to "one embodiment" or "some embodiments" or the like in the specification of the present application means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "including", "comprising", "having" and variations thereof mean "including but not limited to", unless specifically stated otherwise.
本实施例提供了一种调节耳机音量的方法,适用于入耳式、半入耳式、头戴式等多种款式的耳机,由一种调节耳机音量的装置来执行,所述装置的模块集成在耳机中,或一部分模块集成于耳机、另一部分模块集成于提供音频的终端设备。This embodiment provides a method for adjusting the volume of earphones, which is suitable for earphones of various styles such as in-ear, semi-in-ear, and head-mounted, and is performed by a device for adjusting the volume of earphones. The modules of the device are integrated in In the headset, or a part of the module is integrated into the headset, and another part of the module is integrated into the terminal device that provides audio.
图1是本实施例提供的调节耳机音量的方法的流程图。如图1所示,调节耳机音量的方法包括如下步骤:Fig. 1 is a flow chart of the method for adjusting the earphone volume provided by this embodiment. As shown in Figure 1, the method for adjusting the earphone volume includes the following steps:
S11,获取输入到耳机的音频数字信号。S11. Obtain an audio digital signal input to the earphone.
耳机与手机、电脑等具有多媒体功能的电子设备建立有线或无线连接,电子设备将音频输出到耳机,获取通过无线通信输入到耳机的原始的音频数字信号,或者获取通过有线通信输入到耳机的音频模拟信号,并将音频模拟信号转换为音频数字信号。The earphone establishes a wired or wireless connection with electronic devices with multimedia functions such as mobile phones and computers. The electronic device outputs audio to the earphone, and obtains the original audio digital signal input to the earphone through wireless communication, or obtains the audio input to the earphone through wired communication. analog signal, and converts the audio analog signal to an audio digital signal.
S12,根据音频数字信号计算耳机的输出声压级。S12. Calculate the output sound pressure level of the earphone according to the audio digital signal.
耳机产生的声压随音频频率的变化而发生增大或衰减,声压与频率的相关联的变化关系称为频率响应。每款耳机都有其音频特性,频率响应曲线是表示耳机音频特性的参数之一,耳机的频率响应特性由声学仪器测量得出,以频率响应曲线(简称频响曲线)的形式存储。The sound pressure produced by the earphone increases or attenuates with the change of audio frequency, and the relationship between sound pressure and frequency is called frequency response. Each earphone has its audio characteristics. The frequency response curve is one of the parameters representing the audio characteristics of the earphone. The frequency response characteristic of the earphone is measured by an acoustic instrument and stored in the form of a frequency response curve (frequency response curve for short).
不同的耳机播放同一音频,因其频率响应曲线不同,产生的声压也不完全相同,因此需要根据耳机的频率响应曲线对音频数字信号进行频响加权处理,在不同的频率叠加对应的增益系数,得到音频数字信号经过耳机后的原始声压级。例如,同样-6dB的信号,在驱 动1Khz和6Khz的时候输出的声压级是不同的。具体的加权算法可以使用时域的加权算法,也可以使用频域的加权算法。Different headphones play the same audio, because of their different frequency response curves, the sound pressure generated is not exactly the same, so it is necessary to perform frequency response weighting processing on the audio digital signal according to the frequency response curve of the headphones, and superimpose the corresponding gain coefficients at different frequencies , to obtain the original sound pressure level of the audio digital signal after passing through the earphone. For example, for the same -6dB signal, the output sound pressure level is different when driving 1Khz and 6Khz. A specific weighting algorithm may use a time-domain weighting algorithm, or may use a frequency-domain weighting algorithm.
若将耳机置于人工耳设备中测试声压级,人工耳设备的鼓膜参考点处测得的声压级即为音频数字信号经过耳机后相对于鼓膜参考点的原始声压级。If the earphone is placed in the artificial ear device to test the sound pressure level, the sound pressure level measured at the eardrum reference point of the artificial ear device is the original sound pressure level of the audio digital signal relative to the eardrum reference point after passing through the earphone.
而人耳主观感受对不同频率的响应不是平直的,这时测得的原始声压级是仪器测量的声压级,而非人耳感受到的声压级。因此,需要根据不同人群、不同听音环境和/或不同健康标准对声压级的健康要求,对原始声压级进行频率计权,频率计权后获得的声压级是更贴近人耳感受的声压级。若耳机佩戴在人耳上,对相对于鼓膜参考点的原始声压级进行频率计权,即获得耳机在人耳鼓膜处的输出声压级。However, the human ear's subjective perception of the response to different frequencies is not flat, and the original sound pressure level measured at this time is the sound pressure level measured by the instrument, not the sound pressure level felt by the human ear. Therefore, it is necessary to perform frequency weighting on the original sound pressure level according to the health requirements of different groups of people, different listening environments and/or different health standards for sound pressure levels. The sound pressure level obtained after frequency weighting is closer to the human ear experience sound pressure level. If the earphone is worn on the human ear, frequency weighting is performed on the original sound pressure level relative to the reference point of the tympanic membrane to obtain the output sound pressure level of the earphone at the tympanic membrane of the human ear.
有一些健康标准采用散射场下的声压级作为声压级衡量标准,那么就需要将相对于鼓膜参考点的原始声压级转换为散射场下的原始声压级,增加鼓膜参考点到散射场之间的转换。采用鼓膜参考点到散射场的修正传递函数,将相对于鼓膜参考点的原始声压级转换为散射场下的原始声压级。根据选择的频率计权方式,对散射场下的原始声压级进行频率计权,获得耳机在散射场下的输出声压级。Some health standards use the sound pressure level under the scattering field as the sound pressure level measurement standard, then it is necessary to convert the original sound pressure level relative to the eardrum reference point into the original sound pressure level under the scattering field, and add the eardrum reference point to the scattering transitions between fields. Using a modified transfer function from the tympanic membrane reference point to the diffuse field, the original sound pressure level relative to the eardrum reference point is converted to the original sound pressure level under the diffuse field. According to the selected frequency weighting method, the original sound pressure level under the scattering field is frequency-weighted to obtain the output sound pressure level of the earphone under the scattering field.
同理,可根据采用的不同声场,将鼓膜参考点的原始声压级转换为相应声场下的原始声压级。Similarly, the original sound pressure level at the eardrum reference point can be converted to the original sound pressure level under the corresponding sound field according to the different sound fields used.
频率计权方式包括A计权、B计权、C计权或线性计权。A计权、B计权、C计权分别对应40方、70方、100方纯音的等响曲线,线性计权表示未使用计权网络。等响曲线存储于耳机中,根据人群、听音环境和/或健康标准,选择合适的频率计权方式进行频率计权。例如,常规环境选择A计权,高噪声环境选择C计权等。Frequency weighting methods include A weighting, B weighting, C weighting or linear weighting. A-weighting, B-weighting, and C-weighting correspond to the equal-loudness curves of 40-square, 70-square, and 100-square pure tones respectively, and linear weighting means that no weighting network is used. The equal-loudness curve is stored in the earphone, and an appropriate frequency weighting method is selected for frequency weighting according to the crowd, listening environment and/or health standards. For example, A-weighting is selected for normal environments, C-weighting is selected for high-noise environments, and so on.
作为另一种可能的实现方式,得到音频数字信号经过耳机后的原始声压级之后,还包括:根据耳机的喇叭校准数据,对原始声压级进行校准。具体的,由于耳机的个体差异,尤其器件产生的差异,会造成产品个体在同等条件下输出声压级有一定偏差,通过在生产过程中对每个喇叭进行校准,并将校准数据存储在耳机的存储模块,在使用中通过补偿喇叭输出的方式,实现更精准的声压级计算。As another possible implementation manner, after obtaining the original sound pressure level of the audio digital signal passing through the earphone, the method further includes: calibrating the original sound pressure level according to the speaker calibration data of the earphone. Specifically, due to individual differences in earphones, especially differences in devices, there will be a certain deviation in the output sound pressure level of individual products under the same conditions. By calibrating each speaker during the production process, and storing the calibration data in the earphone The storage module can achieve more accurate sound pressure level calculation by compensating the speaker output during use.
S13,获取环境噪声信号。S13. Acquire an environmental noise signal.
使用耳机携带的麦克风拾取外部环境音,或者通过与耳机连接的终端设备的麦克风拾取外部环境音,获得环境噪声信号。Use the microphone carried by the earphone to pick up the external environmental sound, or use the microphone of the terminal device connected to the earphone to pick up the external environmental sound to obtain the environmental noise signal.
S14,根据环境噪声信号计算噪声声压级。S14. Calculate the noise sound pressure level according to the environmental noise signal.
对环境噪声信号进行频率计权,得到噪声声压级。为使噪声声压级与耳机的输出声压级更具可比性,对环境噪声信号进行频率计权时,采用与音频数字信号相同的频率计权方 式。Frequency weighting is performed on the environmental noise signal to obtain the noise sound pressure level. In order to make the noise sound pressure level more comparable to the output sound pressure level of the earphone, the same frequency weighting method as the audio digital signal is used for frequency weighting of the environmental noise signal.
S15,根据噪声声压级,获取相应的安全声压级。S15. Obtain a corresponding safe sound pressure level according to the noise sound pressure level.
根据噪声声压级,确定听音环境。根据听音环境,确定安全声压级,在获得较好信噪比的情况下,防止耳朵受到强音的损伤。According to the noise sound pressure level, determine the listening environment. Determine the safe sound pressure level according to the listening environment, and prevent the ears from being damaged by strong sounds while obtaining a better signal-to-noise ratio.
本实施例中,将听音环境分为安静环境、日常环境和强噪音环境。安静环境如图书馆、夜间卧室等,日常环境如咖啡店、办公室等,强噪音环境如工地、车流较大的公路等。示例性的,噪声声压级小于50dB为安静环境,噪声声压级在50dB~70dB之间为日常环境,噪声声压级大于70dB为强噪音环境。In this embodiment, the listening environment is divided into quiet environment, daily environment and strong noise environment. Quiet environment such as library, bedroom at night, etc., daily environment such as coffee shop, office, etc., strong noise environment such as construction site, highway with heavy traffic, etc. Exemplarily, the noise sound pressure level is less than 50dB is a quiet environment, the noise sound pressure level is between 50dB-70dB is a daily environment, and the noise sound pressure level is greater than 70dB is a strong noise environment.
图2是本实施例提供的一音量控制曲线图。FIG. 2 is a volume control curve diagram provided by this embodiment.
当听音环境为安静环境,则安全声压级为第一安全声压级。本实施例中,如图2中X段所示,第一安全声压级取值为70dB,实际应用中,也可以根据用户的听音习惯适当上浮或下浮。When the listening environment is a quiet environment, the safe sound pressure level is the first safe sound pressure level. In this embodiment, as shown in section X in FIG. 2 , the first safe sound pressure level is 70 dB. In practical applications, it can also be properly raised or lowered according to the user's listening habits.
当听音环境为日常环境,则根据噪声声压级与预设线性关系,确定第二安全声压级,预设线性关系为噪声声压级与安全声压级的线性关系,如图2中Y段所示。When the listening environment is a daily environment, the second safe sound pressure level is determined according to the noise sound pressure level and the preset linear relationship, and the preset linear relationship is the linear relationship between the noise sound pressure level and the safe sound pressure level, as shown in Figure 2 Shown in section Y.
当听音环境为强噪音环境,则可根据图2中Z段所示,确定第三安全声压级。When the listening environment is a strong noise environment, the third safe sound pressure level can be determined according to the Z section in Fig. 2 .
作为本申请的一个实施例,在强噪音环境下,根据输出声压级计算耳机在预设时间内的已使用声剂量。与相同预设时间内的参考声剂量相比,当剩余可用声剂量充裕、且外部环境噪音较大时可以使用较高的声压级进行听音。在已使用声剂量接近或超过限制,就需要适当降低安全输出声压级以达到保护听力的作用。As an embodiment of the present application, in a strong noise environment, the used sound dose of the earphone within a preset time is calculated according to the output sound pressure level. Compared with the reference sound dose within the same preset time, when the remaining available sound dose is sufficient and the external environment noise is large, a higher sound pressure level can be used for listening. When the used sound dose is close to or exceeds the limit, it is necessary to appropriately reduce the safe output sound pressure level to protect hearing.
声暴露(Sound Exposure)也称声剂量(Dosage),指的是在一定的时间间隔(t1至t2之间)或过程内,声压平方的时间积分。声剂量
Figure PCTCN2022089539-appb-000001
dt;PA(t)为音频信号的瞬时A加权声压,t=t2-t1。声压级是声压与参考声压之比的对数,单位分贝dB,参考声压p通常为20μPa,
Figure PCTCN2022089539-appb-000002
Sound Exposure, also known as Dosage, refers to the time integral of the square of sound pressure within a certain time interval (between t1 and t2) or process. sound dose
Figure PCTCN2022089539-appb-000001
dt; PA(t) is the instantaneous A-weighted sound pressure of the audio signal, t=t2-t1. The sound pressure level is the logarithm of the ratio of the sound pressure to the reference sound pressure, in decibels dB, the reference sound pressure p is usually 20μPa,
Figure PCTCN2022089539-appb-000002
根据输出声压级计算相应的声压,对声压平方进行时间积分可得声剂量。The corresponding sound pressure is calculated according to the output sound pressure level, and the sound dose can be obtained by time integrating the square of the sound pressure.
具体的,根据噪声声压级和已使用声剂量,确定第三安全声压级,包括:Specifically, according to the noise sound pressure level and the used sound dose, determine the third safe sound pressure level, including:
计算已使用声剂量与预设时间内的参考声剂量的比值。根据比值所在区间,选择相应的音量输出控制曲线。根据噪声声压级和选择的音量输出控制曲线,确定第三安全声压级。Calculate the ratio of the used sound dose to the reference sound dose within the preset time. According to the range of the ratio, select the corresponding volume output control curve. Determine the third safe sound pressure level according to the noise sound pressure level and the selected volume output control curve.
图3是本实施例提供的另一音量控制曲线图。如图3所示,圈中部分为适用于强噪音 环境下的音量控制曲线。示例性的,比值所在区间包括第一区间(0~75%)、第二区间(75%~100%)和第三区间(100%以上)。图3中,Z1为对应第一区间的第一音量输出控制曲线,Z2为对应第二区间的第二音量输出控制曲线,Z3为对应第三区间的第三音量输出控制曲线。例如,当天已使用声剂量在50%时,使用第一音量输出控制曲线Z1确定第三安全声压级,当天已使用声剂量超过75%时,使用第二音量输出控制曲线Z2确定第三安全声压级,当天已使用声剂量超过100%后,使用第三音量输出控制曲线Z3确定第三安全声压级。Fig. 3 is another volume control curve diagram provided by this embodiment. As shown in Figure 3, the part in the circle is the volume control curve suitable for the environment with strong noise. Exemplarily, the range of the ratio includes a first range (0-75%), a second range (75%-100%) and a third range (above 100%). In FIG. 3 , Z1 is the first volume output control curve corresponding to the first interval, Z2 is the second volume output control curve corresponding to the second interval, and Z3 is the third volume output control curve corresponding to the third interval. For example, when the used sound dose is 50% of the day, use the first volume output control curve Z1 to determine the third safe sound pressure level, and when the used sound dose exceeds 75% that day, use the second volume output control curve Z2 to determine the third safe sound pressure level For the sound pressure level, after the used sound dose of the day exceeds 100%, use the third volume output control curve Z3 to determine the third safe sound pressure level.
S16,根据安全声压级调整输出声压级。S16, adjusting the output sound pressure level according to the safe sound pressure level.
耳机的安全声压级是耳机可以输出的最大音量,用户可以使用音量加/减按键来对音量进行调整,但是当输出声压级超过安全声压级后,输出声压级将会被压制到安全声压级。The safe sound pressure level of the earphone is the maximum volume that the earphone can output. Users can use the volume plus/minus buttons to adjust the volume, but when the output sound pressure level exceeds the safe sound pressure level, the output sound pressure level will be suppressed to Safe sound pressure level.
具体的,判断输出声压级是否小于或等于安全声压级。若否,可采用声压级压缩算法,将输出声压级压缩到安全声压级,得到被压缩声压级。若是,判断上一帧音频数字信号的输出声压级是否被压缩,是则将被压缩声压级恢复到输出声压级,否则不调整输出声压级,按照用户选择的输出声压级播放音频。Specifically, it is judged whether the output sound pressure level is less than or equal to the safe sound pressure level. If not, the sound pressure level compression algorithm can be used to compress the output sound pressure level to a safe sound pressure level to obtain the compressed sound pressure level. If yes, judge whether the output sound pressure level of the last audio digital signal is compressed, and if yes, restore the compressed sound pressure level to the output sound pressure level; otherwise, do not adjust the output sound pressure level, and play according to the output sound pressure level selected by the user audio.
例如,若耳机的输出声压级小于或等于安全声压级,则不调整输出声压级,按照用户选择的输出声压级播放音频。当用户将耳机播放音量提高,以至于超过安全声压级,则会将耳机的输出声压级压缩到安全声压级,衰减量为输出声压级减小到安全声压级的差量,被压缩声压级=输出声压级-衰减量。此后,若用户将耳机播放音量减小(或音频本身的音量减小),以至于小于安全声压级,再继续压缩音量显然不合理,有可能会影响用户的听音体验,则逐步减小衰减量,将音量从被压缩声压级恢复到应有的输出声压级。For example, if the output sound pressure level of the earphone is less than or equal to the safe sound pressure level, the output sound pressure level is not adjusted, and the audio is played according to the output sound pressure level selected by the user. When the user increases the volume of the earphone to exceed the safe sound pressure level, the output sound pressure level of the earphone will be compressed to the safe sound pressure level, and the attenuation is the difference between the output sound pressure level and the safe sound pressure level. Compressed sound pressure level = output sound pressure level - attenuation. Afterwards, if the user reduces the volume of the earphone playback (or the volume of the audio itself) so that it is lower than the safe sound pressure level, it is obviously unreasonable to continue to compress the volume, which may affect the user's listening experience, then gradually reduce it The amount of attenuation restores the volume from the compressed sound pressure level to the proper output sound pressure level.
本实施例在常规测试耳机声压级方法的基础上,选择合适的频率计权方式对经过耳机频响处理的原始声压级进行频率计权,获得耳机的输出声压级,频率计权模拟了人耳对不同响度纯音的响应,使得最终获得的声压级更贴近人耳的真实感受。根据此输出声压级作出的音量调节建议,更贴近用户的真实使用场景,更有利于用户的听力保护。In this embodiment, on the basis of the conventional method of testing the sound pressure level of earphones, an appropriate frequency weighting method is selected to carry out frequency weighting on the original sound pressure level processed by the frequency response of the earphones to obtain the output sound pressure level of the earphones, and the frequency weighting simulation It improves the response of the human ear to pure tones of different loudness, making the final sound pressure level closer to the real feeling of the human ear. The volume adjustment suggestion made based on the output sound pressure level is closer to the user's real use scenario and is more conducive to the user's hearing protection.
作为一种可能的实现方式,在上述实施例的基础上对方法进行改进,为了避免调整输出声压级时产生音量突变,需要采用一定的手段使音量变化更平缓,听起来更舒适。As a possible implementation, the method is improved on the basis of the above-mentioned embodiments. In order to avoid sudden changes in the volume when the output sound pressure level is adjusted, it is necessary to adopt certain means to make the volume change more gentle and sound more comfortable.
具体的,将输出声压级压缩到安全声压级,包括:经过预设启动时间,将输出声压级逐渐压缩到安全声压级。Specifically, compressing the output sound pressure level to a safe sound pressure level includes: gradually compressing the output sound pressure level to a safe sound pressure level after a preset startup time.
启动时间(Attack time)是指,当输出声压级增强并高于安全声压级时,当前输出声压级逐步压缩到安全声压级所用的时间。例如,当前环境噪音50dB,当前安全声压级为70dB,接下来要播放的音频为80dB,启动时间就是将输出声压级80dB逐步压缩到70dB所用的 时间。Attack time refers to the time it takes for the current output sound pressure level to gradually compress to the safe sound pressure level when the output sound pressure level increases and is higher than the safe sound pressure level. For example, if the current ambient noise is 50dB, the current safe sound pressure level is 70dB, and the audio to be played next is 80dB, the startup time is the time it takes to gradually compress the output sound pressure level from 80dB to 70dB.
具体的,将被压缩声压级恢复到输出声压级,包括:经过预设释放时间,将被压缩声压级逐渐恢复到输出声压级。Specifically, restoring the compressed sound pressure level to the output sound pressure level includes: gradually restoring the compressed sound pressure level to the output sound pressure level after a preset release time.
当输出声压级降低并低于安全声压级时,判断上一帧音频数字信号的输出声压级是否被压缩,是则将被压缩声压级恢复到输出声压级,释放时间(Release Time)就是被压缩声压级恢复到输出声压级所用的时间。例如,当前环境噪音50dB,当前安全声压级70dB,上一帧音频数字信号的输出声压级为80dB,将输出声压级压缩到安全声压级的衰减量为-10dB,得到被压缩声压级为70dB。接下来一帧的音频数字信号的输出声压级变化为65dB,已经小于安全声压级,若继续按照-10dB的衰减量进行压缩,被压缩声压级则为55dB,会影响用户的听音感受,则需要逐步将被压缩声压级恢复到输出声压级,释放时间就是将被压缩声压级55dB恢复到输出声压级65dB所用的时间。When the output sound pressure level decreases and is lower than the safe sound pressure level, it is judged whether the output sound pressure level of the last audio digital signal is compressed, and if so, the compressed sound pressure level will be restored to the output sound pressure level, and the release time (Release Time) is the time it takes for the compressed sound pressure level to return to the output sound pressure level. For example, the current ambient noise is 50dB, the current safe sound pressure level is 70dB, and the output sound pressure level of the last audio digital signal is 80dB. The attenuation of compressing the output sound pressure level to the safe sound pressure level is -10dB, and the compressed sound pressure level is obtained. The pressure level is 70dB. The output sound pressure level of the audio digital signal in the next frame changes to 65dB, which is already lower than the safe sound pressure level. If you continue to compress according to the attenuation of -10dB, the compressed sound pressure level will be 55dB, which will affect the user's listening To feel, you need to gradually restore the compressed sound pressure level to the output sound pressure level, and the release time is the time it takes to restore the compressed sound pressure level from 55dB to the output sound pressure level of 65dB.
在其他实施例中,还包括:通过耳机的指示灯的数量和/或颜色显示输出声压级,或通过耳机的显示器显示输出声压级,或者通过与电子设备的通信连接,将输出声压级发送到电子设备上显示。显示的输出声压级可以是瞬时的实际输出声压级,也可以是一段时间的等效声压级。In other embodiments, it also includes: displaying the output sound pressure level through the number and/or color of the indicator light of the earphone, or displaying the output sound pressure level through the display of the earphone, or through the communication connection with the electronic device, the output sound pressure level The grade is sent to the electronic device for display. The displayed output sound pressure level can be the instantaneous actual output sound pressure level, or the equivalent sound pressure level for a period of time.
例如,声剂量E在时间积分区间T=t2-t1的等效连续A加权声压级
Figure PCTCN2022089539-appb-000003
PA(t)为音频信号的瞬时A加权声压,p为20μPa的参考声压。
For example, the equivalent continuous A-weighted sound pressure level of the sound dose E in the time integration interval T=t2-t1
Figure PCTCN2022089539-appb-000003
PA(t) is the instantaneous A-weighted sound pressure of the audio signal, and p is the reference sound pressure of 20μPa.
对应于上文实施例的调节耳机音量的方法,图4示出了本申请实施例提供的调节耳机音量的装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。Corresponding to the method for adjusting the volume of the earphone in the above embodiment, FIG. 4 shows a structural block diagram of the device for adjusting the volume of the earphone provided by the embodiment of the present application. For the convenience of description, only the parts related to the embodiment of the present application are shown.
参照图4,该装置包括:Referring to Figure 4, the device includes:
音频信号获取模块21,用于获取输入到耳机的音频数字信号。The audio signal acquisition module 21 is configured to acquire the audio digital signal input to the earphone.
噪声信号获取模块22,用于获取环境噪声信号。The noise signal acquisition module 22 is configured to acquire environmental noise signals.
声压级分析模块23,用于根据音频数字信号计算得到耳机的输出声压级。还用于根据环境噪声信号计算得到噪声声压级。The sound pressure level analysis module 23 is used to calculate the output sound pressure level of the earphone according to the audio digital signal. It is also used to calculate the noise sound pressure level based on the environmental noise signal.
输出声压级控制模块24,用于根据噪声声压级,获取相应的安全声压级,并根据安全声压级调整输出声压级。The output sound pressure level control module 24 is configured to obtain a corresponding safe sound pressure level according to the noise sound pressure level, and adjust the output sound pressure level according to the safe sound pressure level.
其中,装置还包括:声剂量分析模块25,用于根据输出声压级计算耳机在预设时间内的已使用声剂量。Wherein, the device further includes: a sound dose analysis module 25, which is used to calculate the used sound dose of the earphone within a preset time according to the output sound pressure level.
输出声压级控制模块24包括:环境确定单元、安全声压级确定单元和声压级控制单元。The output sound pressure level control module 24 includes: an environment determination unit, a safe sound pressure level determination unit and a sound pressure level control unit.
环境确定单元用于根据噪声声压级,确定听音环境,听音环境包括安静环境、日常环境和强噪音环境。The environment determination unit is used to determine the listening environment according to the noise sound pressure level, and the listening environment includes quiet environment, daily environment and strong noise environment.
安全声压级确定单元用于:当听音环境为安静环境,则安全声压级为第一安全声压级。当听音环境为日常环境,则根据噪声声压级与预设线性关系,确定第二安全声压级,预设线性关系为噪声声压级与安全声压级的线性关系。当听音环境为强噪音环境,根据噪声声压级和已使用声剂量,确定第三安全声压级。The safe sound pressure level determining unit is used for: when the listening environment is a quiet environment, the safe sound pressure level is the first safe sound pressure level. When the listening environment is a daily environment, the second safe sound pressure level is determined according to the noise sound pressure level and a preset linear relationship, and the preset linear relationship is a linear relationship between the noise sound pressure level and the safe sound pressure level. When the listening environment is a strong noise environment, the third safe sound pressure level is determined according to the noise sound pressure level and the used sound dose.
声压级控制单元用于:判断输出声压级是否小于安全声压级。若否,将输出声压级压缩到安全声压级,得到被压缩声压级。若是,判断上一帧音频数字信号的输出声压级是否被压缩,是则将被压缩声压级恢复到输出声压级,否则不调整输出声压级。The sound pressure level control unit is used for: judging whether the output sound pressure level is lower than the safe sound pressure level. If not, compress the output sound pressure level to a safe sound pressure level to obtain the compressed sound pressure level. If yes, determine whether the output sound pressure level of the last frame of audio digital signal is compressed, and if yes, restore the compressed sound pressure level to the output sound pressure level, otherwise, do not adjust the output sound pressure level.
作为一种可能的实现方式,调节耳机音量的装置还包括授时模块。授时模块用于在存储器存储输出声压级时,提供输出声压级的发生时刻。As a possible implementation manner, the device for adjusting the volume of the earphone further includes a timing module. The timing module is used for providing the occurrence time of the output sound pressure level when the memory stores the output sound pressure level.
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information interaction and execution process between the above-mentioned devices/units are based on the same concept as the method embodiment of the present application, and its specific functions and technical effects can be found in the method embodiment section. I won't repeat them here.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. The internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional module in the embodiment can be integrated into one processing unit, or each module can exist separately physically, or two or more modules can be integrated into one unit, and the above-mentioned integrated unit can be implemented in the form of hardware , can also be implemented in the form of software functional units. In addition, the specific names of the functional modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the modules in the above system, reference may be made to the corresponding process in the foregoing method embodiments, and details are not repeated here.
本申请实施例还提供了一种耳机,如图5所示,该耳机包括:至少一个处理器31、存储器32以及存储在存储器32中并可在至少一个处理器上运行的计算机程序,处理器31执行计算机程序时实现上述任意各个方法实施例中的步骤。The embodiment of the present application also provides an earphone. As shown in FIG. 5 , the earphone includes: at least one processor 31, a memory 32, and a computer program stored in the memory 32 and operable on at least one processor, the processor 31. Implement the steps in any of the above method embodiments when the computer program is executed.
存储器32存储耳机的频率响应曲线,频率响应曲线是通过声学仪器测量得到的。The memory 32 stores the frequency response curve of the earphone, and the frequency response curve is obtained by measuring with an acoustic instrument.
作为一种可能的实现方式,耳机还包括显示模块34,显示模块34为指示灯或显示器,用于显示输出声压级。指示灯的数量有多个,和/或指示灯的颜色有多种。As a possible implementation manner, the earphone further includes a display module 34, and the display module 34 is an indicator light or a display for displaying the output sound pressure level. The number of indicator lights may be multiple, and/or the colors of the indicator lights may be multiple.
作为一种可能的实现方式,存储器32存储耳机的喇叭校准数据,耳机的喇叭校准数据用于对原始声压级进行校准。As a possible implementation manner, the memory 32 stores speaker calibration data of the earphone, and the speaker calibration data of the earphone is used to calibrate the original sound pressure level.
作为一种可能的实现方式,耳机还包括授时模块35,授时模块35用于在存储器32存储输出声压级时提供输出声压级的发生时刻。As a possible implementation manner, the earphone further includes a timing module 35, which is configured to provide an occurrence time of the output sound pressure level when the memory 32 stores the output sound pressure level.
作为一种可能的实现方式,耳机还包括通信模块33,通信模块33与电子设备通信连接,用于从电子设备获取音频数字信号,还用于将输出声压级及输出声压级的发生时刻发送到电子设备上显示和/或存储。As a possible implementation, the earphone also includes a communication module 33, which communicates with the electronic device, and is used to obtain audio digital signals from the electronic device, and is also used to output the output sound pressure level and the time when the output sound pressure level occurs Sent to electronic devices for display and/or storage.
在本申请实施例中,耳机可以为智能耳机。In this embodiment of the application, the earphone may be a smart earphone.
所称处理器可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor can be a central processing unit (Central Processing Unit, CPU), and the processor can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC) ), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the like.
存储器是耳机的内部存储单元,存储器用于存储上述方法实施例对应的计算机程序及运行该计算机程序所必须的数据,例如计算机程序的程序代码、耳机的频响曲线、等响曲线等。存储器还可以用于暂时地存储已经输出或者将要输出的数据。The memory is the internal storage unit of the earphone, and the memory is used to store the computer program corresponding to the above method embodiment and the data necessary for running the computer program, such as the program code of the computer program, the frequency response curve of the earphone, the equal loudness curve, etc. The memory can also be used to temporarily store data that has been output or will be output.
本申请实施例还提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现上述各个方法实施例中的步骤。The embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the foregoing method embodiments are implemented.
本申请实施例提供了一种计算机程序产品,当计算机程序产品在耳机上运行时,使得移动终端执行时实现上述各个方法实施例中的步骤。An embodiment of the present application provides a computer program product. When the computer program product runs on the earphone, the mobile terminal implements the steps in the foregoing method embodiments when executed.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到终端设备的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the procedures in the methods of the above embodiments in the present application can be completed by instructing related hardware through computer programs, and the computer programs can be stored in a computer-readable storage medium. The computer program When executed by a processor, the steps in the above-mentioned various method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying computer program codes to a terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random-access memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media. Such as U disk, mobile hard disk, magnetic disk or CD, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunication signals under legislation and patent practice.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.
需说明的是,术语“第一”、“第二”仅用于便于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明技术特征的数量。“多个”的含义是两个或两个以上,除非另有明确具体的限定。It should be noted that the terms "first" and "second" are used for convenience of description only, and cannot be interpreted as indicating or implying relative importance or implicitly indicating the quantity of technical features. "Plurality" means two or more, unless otherwise clearly and specifically defined.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still implement the foregoing embodiments Modifications to the technical solutions described in the examples, or equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the application, and should be included in the Within the protection scope of this application.

Claims (15)

  1. 一种调节耳机音量的方法,其特征在于,包括:A method for adjusting earphone volume, characterized in that, comprising:
    获取输入到耳机的音频数字信号;Obtain the audio digital signal input to the earphone;
    根据所述音频数字信号计算所述耳机的输出声压级;calculating the output sound pressure level of the earphone according to the audio digital signal;
    获取环境噪声信号;Obtain environmental noise signal;
    根据所述环境噪声信号计算噪声声压级;Calculating the noise sound pressure level according to the environmental noise signal;
    根据所述噪声声压级,获取相应的安全声压级;Obtaining a corresponding safe sound pressure level according to the noise sound pressure level;
    根据所述安全声压级调整所述输出声压级。The output sound pressure level is adjusted according to the safe sound pressure level.
  2. 如权利要求1所述的调节耳机音量的方法,其特征在于,根据所述音频数字信号计算所述耳机的输出声压级,包括:The method for adjusting earphone volume according to claim 1, wherein calculating the output sound pressure level of the earphone according to the audio digital signal comprises:
    获取所述耳机的频率响应曲线;Obtain the frequency response curve of the earphone;
    根据所述频率响应曲线,对所述音频数字信号进行频响加权处理,得到所述音频数字信号经过所述耳机后相对于鼓膜参考点的原始声压级;Perform frequency response weighting processing on the audio digital signal according to the frequency response curve to obtain the original sound pressure level of the audio digital signal relative to the tympanic membrane reference point after passing through the earphone;
    根据选择的频率计权方式,对所述相对于鼓膜参考点的原始声压级进行频率计权,获得所述耳机在人耳鼓膜处的输出声压级;Perform frequency weighting on the original sound pressure level relative to the tympanic membrane reference point according to the selected frequency weighting method to obtain the output sound pressure level of the earphone at the human eardrum;
    所述频率计权方式包括A计权、B计权、C计权或线性计权。The frequency weighting method includes A weighting, B weighting, C weighting or linear weighting.
  3. 如权利要求2所述的调节耳机音量的方法,其特征在于,所述根据选择的频率计权方式,对所述相对于鼓膜参考点的原始声压级进行频率计权,获得所述耳机在人耳鼓膜处的输出声压级,包括:The method for adjusting the volume of earphones according to claim 2, wherein, according to the selected frequency weighting method, frequency weighting is performed on the original sound pressure level relative to the tympanic membrane reference point to obtain the sound pressure level of the earphone at The output sound pressure level at the eardrum of the human ear, including:
    将相对于鼓膜参考点的原始声压级转换为散射场下的原始声压级;Convert the original sound pressure level relative to the tympanic membrane reference point to the original sound pressure level under the scattered field;
    根据选择的频率计权方式,对所述散射场下的原始声压级进行频率计权,获得所述耳机在散射场下的输出声压级。According to the selected frequency weighting manner, frequency weighting is performed on the original sound pressure level under the scattering field to obtain the output sound pressure level of the earphone under the scattering field.
  4. 如权利要求2所述的调节耳机音量的方法,其特征在于,根据所述环境噪声信号计算噪声声压级,包括:The method for adjusting earphone volume according to claim 2, wherein calculating the noise sound pressure level according to the environmental noise signal comprises:
    采用相同的所述频率计权方式,对所述环境噪声信号进行频率计权,得到噪声声压级。Using the same frequency weighting method, frequency weighting is performed on the environmental noise signal to obtain the noise sound pressure level.
  5. 如权利要求1所述的调节耳机音量的方法,其特征在于,根据所述噪声声压级,获取相应的安全声压级,包括:The method for adjusting earphone volume according to claim 1, wherein, according to the noise sound pressure level, obtaining a corresponding safe sound pressure level comprises:
    根据所述噪声声压级,确定听音环境,所述听音环境包括安静环境、日常环境和强噪音环境;According to the sound pressure level of the noise, the listening environment is determined, and the listening environment includes a quiet environment, a daily environment and a strong noise environment;
    当所述听音环境为安静环境,则所述安全声压级为第一安全声压级;When the listening environment is a quiet environment, the safe sound pressure level is the first safe sound pressure level;
    当所述听音环境为日常环境,则根据所述噪声声压级与预设线性关系,确定第二安全声压级,所述预设线性关系为噪声声压级与安全声压级的线性关系;When the listening environment is a daily environment, the second safe sound pressure level is determined according to the noise sound pressure level and a preset linear relationship, and the preset linear relationship is the linearity between the noise sound pressure level and the safe sound pressure level relation;
    当所述听音环境为强噪音环境,则根据所述输出声压级计算所述耳机在预设时间内的已使用声剂量;根据所述噪声声压级和所述已使用声剂量,确定第三安全声压级。When the listening environment is a strong noise environment, calculate the used sound dose of the earphone within a preset time according to the output sound pressure level; determine according to the noise sound pressure level and the used sound dose The third safe sound pressure level.
  6. 如权利要求5所述的调节耳机音量的方法,其特征在于,根据所述噪声声压级和所述已使用声剂量,确定第三安全声压级,包括:The method for adjusting earphone volume according to claim 5, wherein, according to the noise sound pressure level and the used sound dose, determining a third safe sound pressure level comprises:
    计算所述已使用声剂量与所述预设时间内的参考声剂量的比值;calculating the ratio of the used sound dose to the reference sound dose within the preset time;
    根据所述比值所在区间,选择相应的音量输出控制曲线;Select the corresponding volume output control curve according to the interval where the ratio is located;
    根据所述噪声声压级和选择的所述音量输出控制曲线,确定第三安全声压级。A third safe sound pressure level is determined according to the noise sound pressure level and the selected volume output control curve.
  7. 如权利要求1所述的调节耳机音量的方法,其特征在于,根据所述安全声压级调整所述输出声压级,包括:The method for adjusting earphone volume according to claim 1, wherein adjusting the output sound pressure level according to the safe sound pressure level comprises:
    判断所述输出声压级是否小于或等于所述安全声压级;judging whether the output sound pressure level is less than or equal to the safe sound pressure level;
    若否,经过预设启动时间,将所述输出声压级逐渐压缩到所述安全声压级,得到被压缩声压级;If not, gradually compressing the output sound pressure level to the safe sound pressure level after a preset startup time to obtain the compressed sound pressure level;
    若是,判断上一帧音频数字信号的输出声压级是否被压缩,是则经过预设释放时间,将所述被压缩声压级逐渐恢复到所述输出声压级,否则不调整所述输出声压级。If so, determine whether the output sound pressure level of the last frame of audio digital signal is compressed, and if so, gradually restore the compressed sound pressure level to the output sound pressure level after a preset release time, otherwise do not adjust the output sound pressure level.
  8. 一种调节耳机音量的装置,其特征在于,包括:A device for adjusting earphone volume, characterized in that it comprises:
    音频信号获取模块,用于获取输入到耳机的音频数字信号;The audio signal acquisition module is used to acquire the audio digital signal input to the earphone;
    噪声信号获取模块,用于获取环境噪声信号;A noise signal acquisition module, configured to acquire an environmental noise signal;
    声压级分析模块,用于根据所述音频数字信号计算得到所述耳机的输出声压级;还用于根据所述环境噪声信号计算得到噪声声压级;The sound pressure level analysis module is used to calculate the output sound pressure level of the earphone according to the audio digital signal; it is also used to calculate the noise sound pressure level according to the environmental noise signal;
    输出声压级控制模块,用于根据所述噪声声压级,获取相应的安全声压级,并根据所述安全声压级调整所述输出声压级。The output sound pressure level control module is used to obtain a corresponding safe sound pressure level according to the noise sound pressure level, and adjust the output sound pressure level according to the safe sound pressure level.
  9. 如权利要求8所述的调节耳机音量的装置,其特征在于,所述声压级分析模块,包括:The device for adjusting earphone volume according to claim 8, wherein the sound pressure level analysis module comprises:
    响应曲线获取单元,用于获取所述耳机的频率响应曲线;a response curve acquisition unit, configured to acquire the frequency response curve of the earphone;
    频响加权单元,用于根据所述频率响应曲线,对所述音频数字信号进行频响加权处理,得到所述音频数字信号经过所述耳机后相对于鼓膜参考点的原始声压级;A frequency response weighting unit, configured to perform frequency response weighting processing on the audio digital signal according to the frequency response curve, to obtain the original sound pressure level of the audio digital signal relative to the tympanic membrane reference point after passing through the earphone;
    频率计权单元,用于根据选择的频率计权方式,对所述相对于鼓膜参考点的原始声压级进行频率计权,获得所述耳机在人耳鼓膜处的输出声压级;A frequency weighting unit, configured to perform frequency weighting on the original sound pressure level relative to the tympanic membrane reference point according to the selected frequency weighting method, to obtain the output sound pressure level of the earphone at the human eardrum;
    所述频率计权方式包括A计权、B计权、C计权或线性计权。The frequency weighting method includes A weighting, B weighting, C weighting or linear weighting.
  10. 如权利要求9所述的调节耳机音量的装置,其特征在于,所述频率计权单元,包括:The device for adjusting earphone volume according to claim 9, wherein the frequency weighting unit comprises:
    声压转换子单元,用于将相对于鼓膜参考点的原始声压级转换为散射场下的原始声压级;A sound pressure conversion subunit, used to convert the original sound pressure level relative to the eardrum reference point into the original sound pressure level under the scattered field;
    频率计权子单元,用于根据选择的频率计权方式,对所述散射场下的原始声压级进行频率计权,获得所述耳机在散射场下的输出声压级。The frequency weighting subunit is configured to perform frequency weighting on the original sound pressure level under the scattering field according to the selected frequency weighting method, so as to obtain the output sound pressure level of the earphone under the scattering field.
  11. 如权利要求9所述的调节耳机音量的装置,其特征在于,所述根据所述环境噪声信号计算得到噪声声压级,包括:采用相同的所述频率计权方式,对所述环境噪声信号进行频率计权,得到噪声声压级。The device for adjusting earphone volume according to claim 9, wherein said calculating the noise sound pressure level according to said environmental noise signal comprises: adopting the same frequency weighting method to calculate the noise sound pressure level of said environmental noise signal Perform frequency weighting to obtain the noise sound pressure level.
  12. 如权利要求8所述的调节耳机音量的装置,其特征在于,所述输出声压级控制模块,包括:The device for adjusting earphone volume according to claim 8, wherein the output sound pressure level control module comprises:
    环境确定单元、安全声压级确定单元和声压级控制单元;Environment determination unit, safety sound pressure level determination unit and sound pressure level control unit;
    所述环境确定单元,用于根据所述噪声声压级,确定听音环境,所述听音环境包括安静环境、日常环境和强噪音环境;The environment determination unit is configured to determine the listening environment according to the noise sound pressure level, and the listening environment includes a quiet environment, a daily environment and a strong noise environment;
    所述安全声压级确定单元,用于当所述听音环境为安静环境,则所述安全声压级为第一安全声压级;还用于当所述听音环境为日常环境,则根据所述噪声声压级与预设线性关系,确定第二安全声压级,所述预设线性关系为噪声声压级与安全声压级的线性关系;The safe sound pressure level determining unit is configured to: when the listening environment is a quiet environment, the safe sound pressure level is the first safe sound pressure level; it is also used to: when the listening environment is a daily environment, then Determine a second safe sound pressure level according to the noise sound pressure level and a preset linear relationship, where the preset linear relationship is a linear relationship between the noise sound pressure level and the safe sound pressure level;
    所述声压级控制单元,用于当所述听音环境为强噪音环境,则根据所述输出声压级计算所述耳机在预设时间内的已使用声剂量;根据所述噪声声压级和所述已使用声剂量,确定第三安全声压级。The sound pressure level control unit is used to calculate the used sound dose of the earphone within a preset time according to the output sound pressure level when the listening environment is a strong noise environment; according to the noise sound pressure level and the used sound dose to determine the third safe sound pressure level.
  13. 如权利要求12所述的调节耳机音量的装置,其特征在于,所述声压级控制单元,包括:The device for adjusting earphone volume according to claim 12, wherein the sound pressure level control unit comprises:
    比值计算单元,用于计算所述已使用声剂量与所述预设时间内的参考声剂量的比值;a ratio calculation unit, configured to calculate the ratio of the used sound dose to the reference sound dose within the preset time;
    曲线选择单元,用于根据所述比值所在区间,选择相应的音量输出控制曲线;A curve selection unit, configured to select a corresponding volume output control curve according to the interval of the ratio;
    声压级确定单元,用于根据所述噪声声压级和选择的所述音量输出控制曲线,确定第三安全声压级。The sound pressure level determining unit is configured to determine a third safe sound pressure level according to the noise sound pressure level and the selected volume output control curve.
  14. 如权利要求8所述的调节耳机音量的装置,其特征在于,所述输出声压级控制模块,包括:The device for adjusting earphone volume according to claim 8, wherein the output sound pressure level control module comprises:
    声压级判断单元,用于判断所述输出声压级是否小于或等于所述安全声压级;a sound pressure level judging unit, configured to judge whether the output sound pressure level is less than or equal to the safe sound pressure level;
    声压压缩单元,用于当所述输出声压级大于所述安全声压级时,经过预设启动时间,将所述输出声压级逐渐压缩到所述安全声压级,得到被压缩声压级;A sound pressure compression unit, configured to gradually compress the output sound pressure level to the safe sound pressure level after a preset start-up time when the output sound pressure level is greater than the safe sound pressure level, to obtain compressed sound pressure Pressure level;
    声压恢复单元,用于当所述输出声压级小于或等于所述安全声压级时,判断上一帧音频数字信号的输出声压级是否被压缩,是则经过预设释放时间,将所述被压缩声压级逐渐恢复到所述输出声压级,否则不调整所述输出声压级。The sound pressure recovery unit is used to determine whether the output sound pressure level of the last audio digital signal is compressed when the output sound pressure level is less than or equal to the safe sound pressure level, and if so, after a preset release time, the The compressed sound pressure level gradually recovers to the output sound pressure level, otherwise the output sound pressure level is not adjusted.
  15. 一种耳机,其特征在于,包括:存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序;An earphone, characterized by comprising: a memory, a processor, and a computer program stored in the memory and operable on the processor;
    所述处理器执行所述计算机程序时实现如权利要求1至3以及5至7中任一项所述的方法。The processor implements the method according to any one of claims 1-3 and 5-7 when executing the computer program.
PCT/CN2022/089539 2021-09-10 2022-04-27 Method and apparatus for adjusting volume of earphone, and earphone WO2023035626A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111060917.7 2021-09-10
CN202111060917.7A CN113938795B (en) 2021-09-10 2021-09-10 Method and device for adjusting volume of earphone, earphone and storage medium

Publications (1)

Publication Number Publication Date
WO2023035626A1 true WO2023035626A1 (en) 2023-03-16

Family

ID=79275334

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/089539 WO2023035626A1 (en) 2021-09-10 2022-04-27 Method and apparatus for adjusting volume of earphone, and earphone

Country Status (2)

Country Link
CN (1) CN113938795B (en)
WO (1) WO2023035626A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117692843A (en) * 2024-02-02 2024-03-12 江西斐耳科技有限公司 Sound automatic adjusting method, system, storage medium and electronic equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938795B (en) * 2021-09-10 2024-01-12 深圳市飞科笛系统开发有限公司 Method and device for adjusting volume of earphone, earphone and storage medium
CN115396780A (en) * 2022-08-09 2022-11-25 Oppo广东移动通信有限公司 Parameter adjusting method and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060126856A1 (en) * 2004-12-10 2006-06-15 Quanta Computer Inc. Volume control method and audio device
CN105119582A (en) * 2015-09-02 2015-12-02 广东小天才科技有限公司 Method and device for automatically adjusting terminal sound
CN106101929A (en) * 2016-06-30 2016-11-09 维沃移动通信有限公司 A kind of protection human ear audition method and mobile terminal
CN106775553A (en) * 2016-11-15 2017-05-31 深圳Tcl新技术有限公司 Sound-volume control system and method for controlling volume
CN109511037A (en) * 2018-12-19 2019-03-22 努比亚技术有限公司 Earpiece volume adjusting method, device and computer readable storage medium
KR20190107902A (en) * 2018-03-13 2019-09-23 주식회사 케이티 System, method and computer program for controlling volume of guidance voice based on environment
CN110972012A (en) * 2019-11-28 2020-04-07 歌尔股份有限公司 Earphone control method and earphone
CN113613122A (en) * 2021-03-18 2021-11-05 深圳市冠旭电子股份有限公司 Volume adjusting method and device, earphone and storage medium
CN113938795A (en) * 2021-09-10 2022-01-14 深圳市飞科笛系统开发有限公司 Method and device for adjusting volume of earphone, earphone and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8462956B2 (en) * 2006-06-01 2013-06-11 Personics Holdings Inc. Earhealth monitoring system and method IV
WO2007143580A2 (en) * 2006-06-01 2007-12-13 Personics Holdings Inc. Ear input sound pressure level monitoring system
US8437480B2 (en) * 2009-12-17 2013-05-07 Stmicroelectronics Asia Pacific Pte Ltd. Adaptive loudness levelling for digital audio signals
JP2014030140A (en) * 2012-07-31 2014-02-13 Yamaha Corp Ambient noise estimation device, sound volume adjusting device, ambient noise estimation method, and ambient noise estimation program
CN112947886A (en) * 2019-12-11 2021-06-11 荣耀终端有限公司 Method and device for protecting user hearing and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060126856A1 (en) * 2004-12-10 2006-06-15 Quanta Computer Inc. Volume control method and audio device
CN105119582A (en) * 2015-09-02 2015-12-02 广东小天才科技有限公司 Method and device for automatically adjusting terminal sound
CN106101929A (en) * 2016-06-30 2016-11-09 维沃移动通信有限公司 A kind of protection human ear audition method and mobile terminal
CN106775553A (en) * 2016-11-15 2017-05-31 深圳Tcl新技术有限公司 Sound-volume control system and method for controlling volume
KR20190107902A (en) * 2018-03-13 2019-09-23 주식회사 케이티 System, method and computer program for controlling volume of guidance voice based on environment
CN109511037A (en) * 2018-12-19 2019-03-22 努比亚技术有限公司 Earpiece volume adjusting method, device and computer readable storage medium
CN110972012A (en) * 2019-11-28 2020-04-07 歌尔股份有限公司 Earphone control method and earphone
CN113613122A (en) * 2021-03-18 2021-11-05 深圳市冠旭电子股份有限公司 Volume adjusting method and device, earphone and storage medium
CN113938795A (en) * 2021-09-10 2022-01-14 深圳市飞科笛系统开发有限公司 Method and device for adjusting volume of earphone, earphone and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117692843A (en) * 2024-02-02 2024-03-12 江西斐耳科技有限公司 Sound automatic adjusting method, system, storage medium and electronic equipment
CN117692843B (en) * 2024-02-02 2024-04-16 江西斐耳科技有限公司 Sound automatic adjusting method, system, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN113938795A (en) 2022-01-14
CN113938795B (en) 2024-01-12

Similar Documents

Publication Publication Date Title
WO2023035626A1 (en) Method and apparatus for adjusting volume of earphone, and earphone
EP4125279A1 (en) Fitting method and apparatus for hearing earphone
US7564979B2 (en) Listener specific audio reproduction system
KR100636213B1 (en) Method for compensating audio frequency characteristic in real-time and sound system thereof
US9577596B2 (en) System and method for personalization of an audio equalizer
US10375484B2 (en) Hearing aid having level and frequency-dependent gain
TWI626646B (en) Audio system and audio control method
WO2024032133A1 (en) Method and apparatus for auditory testing, electronic device, and storage medium
CN112637724A (en) Earphone noise reduction method, system and storage medium
WO2023284430A1 (en) Volume adjustment method, terminal device, and computer readable storage medium
KR101659410B1 (en) Sound optimization device and method about combination of personal smart device and earphones
US20190141462A1 (en) System and method for performing an audiometric test and calibrating a hearing aid
US11456006B2 (en) System and method for determining audio output device type
US8817996B2 (en) Audio signal processing system and its hearing curve adjusting unit for assisting listening devices
CN113613122B (en) Volume adjusting method, volume adjusting device, earphone and storage medium
US11109169B2 (en) Method for selecting and adjusting in a customized manner a hearing aid
CN113613121B (en) Method and device for obtaining sound pressure level of earphone and earphone
CN113613147A (en) Hearing effect correction and adjustment method, device, equipment and medium of earphone
TWI455605B (en) Hearing signal process system for assisting listening device and hearing curve adjusting unit thereof
WO2024042876A1 (en) Hearing device, control method, and program
CN109982203B (en) Bluetooth single-chip dual-channel EQ-adjustable embedded development construction method and application
Eskelinen Fast Measurement of Hearing Sensitivity
CN116264658A (en) Audio adjusting system and audio adjusting method
CN117119341A (en) Method and system for estimating ambient noise attenuation
EP4090241A1 (en) A method of estimating a hearing loss, a hearing loss estimation system and a computer readable medium

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: 22866104

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE