CN115550781A - Volume adjusting method, device, equipment and readable storage medium - Google Patents

Volume adjusting method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN115550781A
CN115550781A CN202211192691.0A CN202211192691A CN115550781A CN 115550781 A CN115550781 A CN 115550781A CN 202211192691 A CN202211192691 A CN 202211192691A CN 115550781 A CN115550781 A CN 115550781A
Authority
CN
China
Prior art keywords
volume
value
preset
decibel
values
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211192691.0A
Other languages
Chinese (zh)
Inventor
张丽
张敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Zhitong Education Technology Co ltd
Original Assignee
Wuhan Zhitong Education Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Zhitong Education Technology Co ltd filed Critical Wuhan Zhitong Education Technology Co ltd
Priority to CN202211192691.0A priority Critical patent/CN115550781A/en
Publication of CN115550781A publication Critical patent/CN115550781A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H17/00Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves, not provided for in the preceding groups
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Landscapes

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

Abstract

The invention provides a volume adjusting method, a device, equipment and a readable storage medium, wherein the volume adjusting method comprises the following steps: under the non-noise environment, acquiring preset volume values corresponding to different preset decibel values respectively; determining a target preset decibel value based on the decibel value of the audio to be played; and taking a preset volume value corresponding to the target preset decibel value as a target volume value, and adjusting the volume of the earphone equipment to the target volume value. When a user uses various audio and video software to prepare to play audio and video through the earphone device, the audio can be played in a reasonable volume, so that the hearing of the user is effectively protected from being damaged by high-intensity noise, and uncomfortable feeling caused by environmental noise is reduced. In addition, when the user enters a learning mode through the earphone device, the cognitive ability of the user on sound signals, including memory, attention, comprehension and the like, can be effectively improved through reasonable volume, and the ability and the efficiency of the brain in processing auditory signals are improved.

Description

Volume adjusting method, device, equipment and readable storage medium
Technical Field
The invention relates to the technical field of intelligent volume adjustment, in particular to a volume adjustment method, a volume adjustment device, volume adjustment equipment and a readable storage medium.
Background
Experiments have shown that the human ear, sharing 15500 tiny hair cells called "pili", sends signals along the auditory nerve to the brain. Once damaged, these hair cells are irreparable, and the sound is a force that destroys the "static cilia" in the ear. The human brain can be influenced, the requirement of brain work on environmental sound is very high, and a suitable sound effect environment can effectively improve the thinking ability of the brain and simultaneously relieve the brain pressure. The sound threshold that everyone can accept is different from birth, the sound threshold that the person can accept also changes with physiological development and external factors, the sound threshold change period of the young is at least 30 days, the sound threshold that the adult is suitable for may be noise in the ear of the young child, the sound threshold that the hearing impaired people is suitable for may be noise in the ear of the normal hearing person.
Existing audio and video software and headphone devices are as follows: general music or listening book software can remind a user only when the user adjusts the volume of the earphone device to be above a volume threshold value such as 75% of scales, and the sound effect environment cannot be completely adapted to individual hearing abilities of most users. The general earphone device only uses the volume record recently for the user, and automatically adjusts the volume to the last user setting volume after disconnecting and reconnecting. The software and the equipment do not jointly consider subjective sound volume preference of a user, objective hearing resolving power of the user and the volume difference of an audio sound source to be played, and cannot intelligently control a sound volume range suitable for individual hearing ability of the user, namely, a sound environment with guaranteed and promoted functions cannot be correspondingly and pertinently provided for hearing health and cognitive development of the user, and ears and brains of the user can be damaged irreparably in the past, for example, obvious hearing loss occurs.
Disclosure of Invention
The invention mainly aims to provide a volume adjusting method, a volume adjusting device, volume adjusting equipment and a readable storage medium, and aims to solve the technical problem that the hearing ability and the brain of a user are damaged because the existing audio and video software and earphone equipment cannot intelligently control the volume range suitable for the individual hearing ability of the user based on the volume preference of the user, the hearing resolution of the user and the volume difference of a sound source.
In a first aspect, the present invention provides a volume adjustment method, including:
under the non-noise environment, acquiring preset volume values corresponding to different preset decibel values respectively;
determining a target preset decibel value based on the decibel value of the audio to be played;
and taking a preset volume value corresponding to the target preset decibel value as a target volume value, and adjusting the volume of the earphone equipment to the target volume value.
Optionally, the step of obtaining the preset volume values corresponding to different preset decibel values in the non-noise environment includes:
acquiring an environment volume value acquired by earphone equipment;
judging whether the environmental volume value is greater than a preset noise threshold value or not;
if the environment volume value is larger than a preset noise threshold value, determining that the current environment belongs to a noise environment;
and if the environment volume value is not greater than a preset noise threshold value, determining that the current environment belongs to a non-noise environment.
Optionally, before the step of obtaining the preset volume values corresponding to different preset decibel values in the non-noise environment, the method further includes:
playing preset segments of first test audio with different preset decibel values, and recording the volume position of the earphone equipment adjusted by the user under each segment of the first test audio;
determining the corresponding assessment sound volume values of different preset decibel values based on the decibel value of each section of first test audio and the corresponding recorded sound volume position;
keeping the user to adjust the volume position of the earphone equipment under each section of first test audio, respectively playing second test audio which is corresponding to different preset decibel values and contains different decibel value difference values of the preset section, recording the minimum decibel value difference value which can be distinguished by the user under each section of second test audio, and taking the minimum decibel value difference value as the test sensitive value which is corresponding to different preset decibel values respectively;
and subtracting the evaluation sensitive value from the evaluation sound volume value corresponding to the different preset decibel values to obtain the preset sound volume values corresponding to the different preset decibel values respectively.
Optionally, the step of obtaining the preset volume values corresponding to different preset decibel values in the non-noise environment includes:
judging whether the preset volume values respectively corresponding to different preset decibel values are within an effective time range or not;
and if the preset volume values respectively corresponding to the different preset decibel values are all in the effective time range, executing the step of obtaining the preset volume values respectively corresponding to the different preset decibel values in the non-noise environment.
Optionally, after the step of determining whether the preset volume values respectively corresponding to the different preset decibel values are within the valid time range, the method includes:
if the preset volume values respectively corresponding to the different preset decibel values exceed the effective time range, outputting first prompt information to prompt a user to re-evaluate to obtain the preset volume values respectively corresponding to the different preset decibel values.
Optionally, the step of determining the target preset decibel value based on the decibel value of the audio to be played includes:
determining a preset decibel value closest to the decibel value of the audio to be played;
if only one preset decibel value closest to the decibel value of the audio to be played exists, taking the closest preset decibel value as a target preset decibel value;
and if two preset decibel values closest to the decibel value of the audio to be played exist, taking the preset decibel value with the minimum decibel value of the two preset decibel values as a target preset decibel value.
Optionally, after the step of adjusting the volume of the earphone device to the target volume value, the method further includes:
when receiving a set volume value input by a user, keeping the volume of the earphone equipment as a target volume value, and comparing the set volume value with the target volume value;
if the set volume value is smaller than the target volume value, outputting second prompt information to prompt the user that the current volume is too low;
and if the set volume value is larger than the target volume value, outputting third prompt information to prompt the user that the current volume is too high.
In a second aspect, the present invention also provides a volume adjustment device, including:
the acquisition module is used for acquiring preset volume values corresponding to different preset decibel values in a non-noise environment;
the determining module is used for determining a target preset decibel value based on the decibel value of the audio to be played;
and the adjusting module is used for adjusting the volume of the earphone equipment to the target volume value by taking the preset volume value corresponding to the target preset decibel value as the target volume value.
Optionally, the volume adjusting apparatus further includes a first determining module, configured to:
acquiring an environment volume value acquired by earphone equipment;
judging whether the environmental volume value is greater than a preset noise threshold value or not;
if the environment volume value is larger than a preset noise threshold value, determining that the current environment belongs to a noise environment;
and if the environment volume value is not greater than a preset noise threshold value, determining that the current environment belongs to a non-noise environment.
Optionally, the volume adjusting device further includes an evaluation module, specifically configured to:
playing preset segments of first test audio with different preset decibel values, and recording the volume position of the earphone equipment adjusted by a user under each segment of first test audio;
determining the corresponding evaluation sound volume values of different preset decibel values based on the decibel value of each section of first test audio and the correspondingly recorded sound volume position;
keeping the user to adjust the volume position of the earphone equipment under each section of first test audio, respectively playing second test audio which is corresponding to different preset decibel values and contains different decibel value difference values of the preset section, recording the minimum decibel value difference value which can be distinguished by the user under each section of second test audio, and taking the minimum decibel value difference value as the test sensitive value which is corresponding to different preset decibel values respectively;
and subtracting the evaluation sensitive value from the evaluation sound volume value corresponding to the different preset decibel values to obtain the preset sound volume values corresponding to the different preset decibel values respectively.
Optionally, the volume adjusting apparatus further includes a second determining module, configured to:
judging whether the preset volume values respectively corresponding to different preset decibel values are within the effective time range or not;
and if the preset volume values respectively corresponding to the different preset decibel values are all in the effective time range, executing the step of obtaining the preset volume values respectively corresponding to the different preset decibel values in the non-noise environment.
Optionally, the volume adjustment device further includes a first prompting module, configured to:
if the preset volume values respectively corresponding to the different preset decibel values exceed the effective time range, outputting first prompt information to prompt a user to re-evaluate to obtain the preset volume values respectively corresponding to the different preset decibel values.
Optionally, the determining module is further specifically configured to:
determining a preset decibel value closest to the decibel value of the audio to be played;
if only one preset decibel value closest to the decibel value of the audio to be played exists, taking the closest preset decibel value as a target preset decibel value;
and if two preset decibel values closest to the decibel value of the audio to be played exist, taking the preset decibel value with the minimum decibel value of the two preset decibel values as a target preset decibel value.
Optionally, the volume adjustment device further includes a second prompting module, configured to:
when a set volume value input by a user is received, keeping the volume of the earphone equipment as a target volume value, and comparing the set volume value with the target volume value;
if the set volume value is smaller than the target volume value, outputting second prompt information to prompt the user that the current volume is too low;
and if the set volume value is larger than the target volume value, outputting third prompt information to prompt the user that the current volume is too high.
In a third aspect, the present invention also provides a volume adjusting device, which includes a processor, a memory, and a volume adjusting program stored in the memory and executable by the processor, wherein when the volume adjusting program is executed by the processor, the steps of the volume adjusting method are implemented.
In a fourth aspect, the present invention further provides a readable storage medium, on which a volume adjustment program is stored, wherein the volume adjustment program, when executed by a processor, implements the steps of the volume adjustment method as described above.
The invention provides a volume adjusting method, a device, equipment and a readable storage medium, wherein the volume adjusting method comprises the following steps: under the non-noise environment, acquiring preset volume values corresponding to different preset decibel values respectively; determining a target preset decibel value based on the decibel value of the audio to be played; and taking a preset volume value corresponding to the target preset decibel value as a target volume value, and adjusting the volume of the earphone equipment to the target volume value. When a user prepares to play audio and video by using various audio and video software through the earphone device, the audio can be played in reasonable volume, so that the hearing of the user is effectively protected from being damaged by high-intensity noise, and discomfort caused by environmental noise is reduced. In addition, when the user enters a learning mode through the earphone device, the cognitive ability of the user on sound signals, including memory, attention, comprehension and the like, can be effectively improved through reasonable volume, and the ability and the efficiency of the brain in processing auditory signals are improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a volume adjusting device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a volume adjustment method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a volume adjusting method according to another embodiment of the present invention;
FIG. 4 is a schematic flow chart diagram illustrating a volume adjusting method according to still another embodiment of the present invention;
fig. 5 is a schematic diagram of functional modules of a volume adjustment device according to an embodiment of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
In a first aspect, an embodiment of the present invention provides a volume adjustment device.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a volume adjusting device according to an embodiment of the present invention. In this embodiment of the present invention, the volume adjustment device may include a processor 1001 (e.g., a Central processing unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WI-FI interface, WI-FI interface); the memory 1005 may be a Random Access Memory (RAM) or a non-volatile memory (non-volatile memory), such as a magnetic disk memory, and the memory 1005 may optionally be a storage device independent of the processor 1001. Those skilled in the art will appreciate that the hardware configuration depicted in FIG. 1 is not intended to be limiting of the present invention, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
With continued reference to fig. 1, a memory 1005, which is one type of computer storage medium in fig. 1, may include an operating system, a network communication module, a user interface module, and a volume adjustment program. The processor 1001 may call a volume adjustment program stored in the memory 1005, and execute the volume adjustment method provided in the embodiment of the present invention.
In a second aspect, an embodiment of the present invention provides a volume adjustment method.
Referring to fig. 2, fig. 2 is a flow chart illustrating a volume adjusting method according to an embodiment of the invention.
In an embodiment of the volume adjusting method of the present invention, the volume adjusting method includes:
step S10, acquiring preset volume values corresponding to different preset decibel values respectively in a non-noise environment;
step S20, determining a target preset decibel value based on the decibel value of the audio to be played;
and S30, taking a preset volume value corresponding to the target preset decibel value as a target volume value, and adjusting the volume of the earphone equipment to the target volume value.
In this embodiment, it is considered that the existing audio and video software and the existing earphone device cannot intelligently adjust the volume to the volume range suitable for the individual hearing ability of the user, and accordingly cannot provide a sound environment with guaranteed and promoting effects for the hearing health and cognitive development of the user in a targeted manner, which may lead to irreparable damage to the ears and brain of the user in the past, such as obvious hearing loss. Therefore, in order to solve the above problems, in the solution of this embodiment, when the user uses the corresponding audio/video software to prepare to play the audio/video through the earphone device, the volume of the earphone device is automatically adjusted to a volume range suitable for the user, so that the hearing of the user is effectively protected from being damaged.
Specifically, in order to reduce the uncomfortable feeling caused by the environmental noise, in the present embodiment, in a non-noise environment, preset volume values corresponding to different preset decibels are obtained, where the preset volume values are volume values obtained by a user through a hearing test system in advance under test audio frequencies corresponding to different preset decibels (e.g., 30, 40, 50, 60, 70, and 80 decibels), and the preset volume values are adjustable volume values most suitable for the current hearing ability of the user under different preset decibels. In a non-noise environment, after the preset volume values respectively corresponding to the different preset decibel values are obtained, a target preset decibel value among the different preset decibel values needs to be determined based on the audio to be played, and the preset volume value corresponding to the target preset decibel value is an adjustable volume value which is most suitable for the current hearing ability of the user when the audio to be played is subsequently played.
Therefore, the preset volume value corresponding to the target preset decibel value is used as the target volume value, and the volume of the earphone equipment is adjusted to the target volume value. Can play the audio frequency in reasonable volume to effectual protection user's hearing does not receive the damage, reduces the uncomfortable impression that ambient noise brought simultaneously. In addition, when the user enters the learning mode through the earphone device, the cognitive ability of the user on the sound signals, including memory, attention, comprehension and the like, can be effectively improved through reasonable volume, and the ability and the efficiency of the brain in processing the auditory signals are improved.
Further, in an embodiment, before the step S10, the method includes:
acquiring the environmental volume collected by the earphone equipment;
judging whether the environmental volume is greater than a preset noise threshold value or not;
if the environmental volume is larger than a preset noise threshold, determining that the current environment belongs to a noise environment;
and if the environment volume is not larger than a preset noise threshold, determining that the current environment belongs to a non-noise environment.
In this embodiment, before the step of obtaining the preset volume values corresponding to the different preset decibel values in the non-noise environment, it is further required to determine whether the current environment is in the non-noise environment, so as to determine whether to further adjust the volume of the earphone device. Specifically, the volume of the environment collected by the earphone device is acquired, and whether the acquired volume of the environment is greater than a preset noise threshold is judged, so that whether the current environment belongs to a non-noise environment can be determined. Wherein, the preset noise threshold value can be 80db defined by scientific indexes. The 80db background is the level of sound intensity at which the beginning of deafness is noisy, and the listening background (including higher intensity) forces the user to adjust the volume to more than 80db to mask the noise to hear the target speech or music, or to expose himself to the high intensity sound for a long time, causing irreversible damage to the hearing. Therefore, the determination threshold of 80db is in accordance with the scientific rules. If the obtained environment volume is not greater than the preset noise threshold, if the environment volume corresponding to the current environment is not greater than 80db, it can be determined that the current environment belongs to a non-noise environment, and target volume calculation and volume adjustment can be performed on the earphone device. If the obtained environment volume is greater than the preset noise threshold, if the environment volume corresponding to the current environment exceeds 80db, it can be determined that the current environment belongs to the noise environment, and the noisy noise environment is not suitable for the user to use the corresponding audio and video software through the earphone device, so that the user needs to be prompted that the current environment is not suitable for the user to use the earphone device to play the audio, and the environment needs to be changed for subsequent operation.
Further, in an embodiment, referring to fig. 3, before the step S10, the method further includes:
step S01, playing preset segments of first test audios with different preset decibel values, and recording the volume position of the earphone equipment adjusted by the user under each segment of the first test audio;
step S02, determining corresponding assessment sound volume values of different preset decibel values based on the decibel value of each section of first test audio and the correspondingly recorded sound volume position;
step S03, keeping the volume position of the earphone equipment adjusted by the user under each section of first test audio, respectively playing preset second test audio which is corresponding to different preset decibel values and contains different decibel value differences, recording the minimum decibel value difference which can be distinguished by the user under each section of second test audio, and taking the minimum decibel value difference as the evaluation sensitive values which are respectively corresponding to different preset decibel values;
and S04, subtracting the evaluation sensitive value from the evaluation sound volume value corresponding to the different preset decibel values to obtain the preset sound volume values corresponding to the different preset decibel values respectively.
In this embodiment, before the step of obtaining the preset volume values corresponding to the different preset decibel values in the non-noise environment, the user needs to be tested by the hearing test system in advance to obtain the preset volume values corresponding to the different preset decibel values. Specifically, the step of obtaining the preset volume values corresponding to the different preset decibel values through testing includes: under the non-noise environment, first test audios with different preset decibel values are played for a user, and the volume position of the earphone device adjusted by the user under each first test audio is recorded.
For example, 6 segments of first test audio are played (the 6 segments of first test audio are designed according to the decibel interval of normal hearing of human ears, the corresponding preset decibel values are 30, 40, 50, 60, 70 and 80 decibels, and the sound intensity levels of the input audio represented by the 6 preset audio are corresponding to the 6 preset audio), the volume position of the earphone device under each segment of first test audio, which is adjusted by the user, is recorded, if the volume position of the earphone device under the first test audio corresponding to the 30 decibel value sound intensity level is adjusted to x1, the volume position of the earphone device under the first test audio corresponding to the 40 decibel value sound intensity level is adjusted to x2 \8230, 8230, and by analogy, the volume position of the earphone device under the first test audio corresponding to the 80 decibel value sound intensity level is adjusted to x6. Based on the decibel value of each section of the first test audio and the volume position of the corresponding record, the corresponding evaluation volume value of different preset decibel values can be determined, and theoretically, the evaluation volume value is the volume value which is most suitable for the current hearing ability of the user under different preset decibel values.
According to the scheme, the difference of the sensitivity of the user for perceiving the slight sound intensity difference under different preset decibels is considered, so that on the basis of testing different preset decibels based on each section of first test audio, the second test audio is played to test the sensitivity of the user for perceiving the slight sound intensity difference under different preset decibels. Specifically, the step of testing the sensitivity of the user for perceiving the slight sound intensity difference under different preset decibel values includes: and keeping the user to adjust the volume position of the earphone equipment under each section of the first test audio, and respectively playing second test audio which corresponds to different preset decibel values of the preset section and contains different decibel value difference values. And recording the minimum decibel value difference value which can be distinguished by the user under each section of second test audio, and taking the minimum decibel value difference value as the corresponding evaluation sensitive value of different preset decibels, wherein the evaluation sensitive value corresponds to the sensitivity of the user for perceiving the slight sound intensity difference under different preset decibels.
For example, when a first test audio with a preset decibel value of 30 decibel value sound intensity level is played, the volume position of the earphone device adjusted by a user is recorded to be x1, the volume position of the earphone device is kept to be x1, a second test audio with different decibel value differences (such as 1, 2' -8230; \8230; decibel value difference) based on the preset decibel value sound intensity level is continuously played, a minimum decibel value difference (such as 1 decibel value difference) which can be distinguished by the user (selected by the user) under each section of second test audio is recorded, and the minimum decibel value difference (such as 1 decibel value difference) is an evaluation sensitive value for the user to perceive a fine sound intensity difference under the sound intensity level of the 30 decibel value. By analogy, evaluation sensitive values corresponding to different preset decibel values can be obtained through testing.
After the evaluation sound volume value and the evaluation sensitive value corresponding to the different preset decibel values are obtained, the evaluation sensitive value can be subtracted from the evaluation sound volume value corresponding to the different preset decibel values to obtain the preset sound volume values corresponding to the different preset decibel values respectively. Although the preset volume value is lower than the evaluation volume value, the preset volume value is difficult to perceive, so that individual subjective preference of a user to the volume can be kept, the volume is actually reduced, and differences among to-be-played audio frequencies with different sources and different sound intensities are coordinated, so that the preset volume value is the volume value which is most suitable for the current hearing ability of the user under different preset decibel values actually.
Further, in an embodiment, before the step S10, the method further includes:
judging whether the preset volume values respectively corresponding to different preset decibel values are within the effective time range or not;
and if the preset volume values respectively corresponding to the different preset decibel values are within the effective time range, executing the step of obtaining the preset volume values respectively corresponding to the different preset decibel values in the non-noise environment.
In this embodiment, in order to ensure that the tested and calculated preset volume values are real-time and accurate, before the preset volume values corresponding to different preset decibel values are obtained in a non-noise environment, an effective time range is preset for the tested and obtained preset volume values, that is, each time the preset volume values are obtained based on the testing and calculation, a testing time stamp is correspondingly generated, considering that the hearing ability of the user changes along with the physiological development and the influence of external factors.
And under the condition that the interval duration of the test timestamp and the current acquisition time is less than the preset duration, namely within the effective time range, the currently acquired preset volume value is represented as effective data, the step of acquiring the preset volume values respectively corresponding to different preset decibel values in a non-noise environment can be executed, and when the volume of the volume equipment is adjusted subsequently, the target volume value which is correspondingly adjusted according to the reference is suitable for the current hearing ability of the user. The sound threshold variation period of the minor is 180 days at least, so the effective time range can be 6 months for minor users.
Further, in an embodiment, the step of determining whether the preset volume values respectively corresponding to the different preset decibel values are within the valid time range includes:
if the preset volume values respectively corresponding to the different preset decibel values exceed the effective time range, outputting first prompt information to prompt a user to re-evaluate to obtain the preset volume values respectively corresponding to the different preset decibel values.
In this embodiment, after the step of determining whether the preset volume values respectively corresponding to the different preset decibel values are within the valid time range, if the interval duration between the test timestamp and the current acquisition time is greater than the preset duration, the preset volume value obtained by the current acquisition is invalid data, and is not within the valid time range. At this time, in order to ensure that the preset volume values tested and calculated are real-time and accurate, the step of obtaining the preset volume values corresponding to different preset decibel values respectively is not executed in a non-noise environment, but first prompt information is output to prompt a user to retest to obtain the evaluation volume value and the evaluation sensitive value, and therefore the preset volume value which is most suitable for the current hearing ability of the user under different preset decibel values at the current time is calculated and determined.
Further, in an embodiment, referring to fig. 4, the step S20 includes:
step S201, determining a preset decibel value closest to the decibel value of the audio to be played;
step S202, if only one preset decibel value closest to the decibel value of the audio to be played exists, taking the closest preset decibel value as a target preset decibel value;
in step S203, if there are two preset decibel values closest to the decibel value of the audio to be played, the preset decibel value with the smallest decibel value among the two preset decibel values is taken as the target preset decibel value.
In this embodiment, specifically, the step of determining the target preset decibel value based on the decibel value of the audio to be played includes: and determining the preset decibel value closest to the decibel value of the audio to be played, and if the decibel value of the audio to be played is compared with the 6 different preset decibel values, taking the preset decibel value closest to the preset decibel value. And if only one preset decibel value closest to the decibel value of the audio to be played exists, taking the closest preset decibel value as a target preset decibel value. And if the decibel value of the audio to be played is 33 decibels, the preset decibel value of the sound intensity level of the 30 decibel value is closest to the preset decibel value of the sound intensity level of the 30 decibel value, and the preset decibel value of the sound intensity level of the 30 decibel value is taken as a target preset decibel value. And if two preset decibel values closest to the decibel value of the audio to be played exist, taking the preset decibel value with the minimum decibel value in the two preset decibel values as a target preset decibel value. If the decibel value of the audio to be played is 45 decibels, the preset decibel value of the sound intensity level of the 40 decibels and the preset decibel value of the sound intensity level of the 50 decibels are close to each other, and the preset decibel value of the sound intensity level of the 40 decibels is used as a target preset decibel value.
Further, in an embodiment, after the step S30, the method includes:
when receiving a set volume value input by a user, keeping the volume of the earphone equipment as a target volume value, and comparing the set volume value with the target volume value;
if the set volume value is smaller than the target volume value, outputting second prompt information to prompt the user that the current volume is too low;
and if the set volume value is larger than the target volume value, outputting third prompt information to prompt the user that the current volume is too high.
In this embodiment, after the step of automatically adjusting the volume value of the earphone device to the determined target volume value, when the set volume value input by the user is received, in order to protect the hearing of the user from being damaged, the volume of the earphone device is still maintained at the target volume value, and the set volume value and the target volume value are compared. And if the set volume value is smaller than the target volume value, outputting second prompt information to prompt the user that the current volume is too low and is not suitable for entering the learning mode. And if the set volume value is larger than the target volume value, outputting third prompt information to prompt the user that the current volume is too high and hearing is damaged. Through the method, the user is correspondingly reminded of volume adjustment, and better experience is provided for the user.
The embodiment provides a volume adjusting method, which comprises the following steps: under the non-noise environment, acquiring preset volume values corresponding to different preset decibel values respectively; determining a target preset decibel value based on the decibel value of the audio to be played; and taking a preset volume value corresponding to the target preset decibel value as a target volume value, and adjusting the volume of the earphone equipment to the target volume value. When a user uses various audio and video software to prepare to play audio and video through the earphone device, the audio can be played in a reasonable volume, so that the hearing of the user is effectively protected from being damaged by high-intensity noise, and uncomfortable feeling caused by environmental noise is reduced. In addition, when the user enters the learning mode through the earphone device, the cognitive ability of the user on the sound signals, including memory, attention, comprehension and the like, can be effectively improved through reasonable volume, and the ability and the efficiency of the brain in processing the auditory signals are improved.
In a third aspect, an embodiment of the present invention further provides a volume adjustment device.
Referring to fig. 5, a functional block diagram of an embodiment of a volume adjustment apparatus is shown.
In this embodiment, the volume adjusting device includes:
the obtaining module 10 is configured to obtain preset volume values corresponding to different preset decibel values in a non-noise environment;
the determining module 20 is configured to determine a target preset decibel value based on a decibel value of an audio to be played;
and the adjusting module 30 is configured to adjust the volume of the earphone device to the target volume value by using a preset volume value corresponding to the target preset decibel value as the target volume value.
Further, in an embodiment, the volume adjusting apparatus further includes a first determining module, configured to:
acquiring an environment volume value acquired by earphone equipment;
judging whether the environmental volume value is greater than a preset noise threshold value or not;
if the environment volume value is larger than a preset noise threshold value, determining that the current environment belongs to a noise environment;
and if the environment volume value is not larger than a preset noise threshold value, determining that the current environment belongs to a non-noise environment.
Further, in an embodiment, the volume adjusting apparatus further includes an evaluation module, specifically configured to:
playing preset segments of first test audio with different preset decibel values, and recording the volume position of the earphone equipment adjusted by the user under each segment of the first test audio;
determining the corresponding assessment sound volume values of different preset decibel values based on the decibel value of each section of first test audio and the corresponding recorded sound volume position;
keeping the user to adjust the volume position of the earphone equipment under each section of first test audio, respectively playing second test audio which is corresponding to different preset decibel values and contains different decibel value difference values of the preset section, recording the minimum decibel value difference value which can be distinguished by the user under each section of second test audio, and taking the minimum decibel value difference value as the test sensitive value which is corresponding to different preset decibel values respectively;
and subtracting the evaluation sensitive value from the evaluation sound volume value corresponding to the different preset decibel values to obtain the preset sound volume values corresponding to the different preset decibel values respectively.
Further, in an embodiment, the volume adjusting apparatus further includes a second determining module, configured to:
judging whether the preset volume values respectively corresponding to different preset decibel values are within the effective time range or not;
and if the preset volume values respectively corresponding to the different preset decibel values are within the effective time range, executing the step of obtaining the preset volume values respectively corresponding to the different preset decibel values in the non-noise environment.
Further, in an embodiment, the volume adjustment apparatus further includes a first prompting module, configured to:
if the preset volume values respectively corresponding to the different preset decibel values exceed the effective time range, outputting first prompt information to prompt a user to re-evaluate to obtain the preset volume values respectively corresponding to the different preset decibel values.
Further, in an embodiment, the determining module 20 is further specifically configured to:
determining a preset decibel value closest to the decibel value of the audio to be played;
if only one preset decibel value closest to the decibel value of the audio to be played exists, taking the closest preset decibel value as a target preset decibel value;
and if two preset decibel values closest to the decibel value of the audio to be played exist, taking the preset decibel value with the minimum decibel value in the two preset decibel values as a target preset decibel value.
Further, in an embodiment, the volume adjustment apparatus further includes a second prompting module, configured to:
when receiving a set volume value input by a user, keeping the volume of the earphone equipment as a target volume value, and comparing the set volume value with the target volume value;
if the set volume value is smaller than the target volume value, outputting second prompt information to prompt the user that the current volume is too low;
and if the set volume value is larger than the target volume value, outputting third prompt information to prompt the user that the current volume is too high.
The function implementation of each module in the volume adjusting device corresponds to each step in the volume adjusting method embodiment, and the function and implementation process are not described in detail here.
In a fourth aspect, the embodiment of the present invention further provides a readable storage medium.
The readable storage medium of the present invention stores a volume adjustment program, wherein the volume adjustment program, when executed by a processor, implements the steps of the volume adjustment method as described above.
The method for implementing the volume adjustment program when executed may refer to the embodiments of the volume adjustment method of the present invention, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solution of the present invention or the portions contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above and includes several instructions for causing a terminal device to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A volume adjustment method, characterized in that the volume adjustment method comprises:
under the non-noise environment, acquiring preset volume values corresponding to different preset decibel values respectively;
determining a target preset decibel value based on the decibel value of the audio to be played;
and taking a preset volume value corresponding to the target preset decibel value as a target volume value, and adjusting the volume of the earphone equipment to the target volume value.
2. The method for adjusting sound volume according to claim 1, wherein the step of obtaining the preset sound volume values corresponding to different preset decibel values in the non-noise environment comprises:
acquiring an environment volume value acquired by earphone equipment;
judging whether the environmental volume value is greater than a preset noise threshold value or not;
if the environment volume value is larger than a preset noise threshold value, determining that the current environment belongs to a noise environment;
and if the environment volume value is not greater than a preset noise threshold value, determining that the current environment belongs to a non-noise environment.
3. The method for adjusting sound volume according to claim 1, wherein before the step of obtaining the preset sound volume values corresponding to different preset decibel values in a non-noise environment, the method further comprises:
playing preset segments of first test audio with different preset decibel values, and recording the volume position of the earphone equipment adjusted by a user under each segment of first test audio;
determining the corresponding assessment sound volume values of different preset decibel values based on the decibel value of each section of first test audio and the corresponding recorded sound volume position;
keeping the user to adjust the volume position of the earphone equipment under each section of first test audio, respectively playing second test audio which is corresponding to different preset decibel values and contains different decibel value difference values of the preset section, recording the minimum decibel value difference value which can be distinguished by the user under each section of second test audio, and taking the minimum decibel value difference value as the test sensitive value which is corresponding to different preset decibel values respectively;
and subtracting the evaluation sensitive value from the evaluation sound volume value corresponding to the different preset decibel values to obtain the preset sound volume values corresponding to the different preset decibel values respectively.
4. The method as claimed in claim 1, wherein the step of obtaining the preset volume values corresponding to the different preset decibels in the non-noise environment comprises:
judging whether the preset volume values respectively corresponding to different preset decibel values are within the effective time range or not;
and if the preset volume values respectively corresponding to the different preset decibel values are within the effective time range, executing the step of obtaining the preset volume values respectively corresponding to the different preset decibel values in the non-noise environment.
5. The method as claimed in claim 4, wherein the step of determining whether the preset volume values respectively corresponding to the different preset decibel values are within the valid time range comprises:
and if the preset volume values respectively corresponding to the different preset decibel values exceed the effective time range, outputting first prompt information to prompt a user to re-evaluate to obtain the preset volume values respectively corresponding to the different preset decibel values.
6. The method of claim 1, wherein the step of determining the target preset decibel value based on the decibel value of the audio to be played comprises:
determining a preset decibel value closest to the decibel value of the audio to be played;
if only one preset decibel value closest to the decibel value of the audio to be played exists, taking the closest preset decibel value as a target preset decibel value;
and if two preset decibel values closest to the decibel value of the audio to be played exist, taking the preset decibel value with the minimum decibel value of the two preset decibel values as a target preset decibel value.
7. The volume adjustment method as claimed in claim 1, wherein the step of adjusting the volume of the headphone apparatus to the target volume value is followed by:
when a set volume value input by a user is received, keeping the volume of the earphone equipment as a target volume value, and comparing the set volume value with the target volume value;
if the set volume value is smaller than the target volume value, outputting second prompt information to prompt the user that the current volume is too low;
and if the set volume value is larger than the target volume value, outputting third prompt information to prompt the user that the current volume is too high.
8. A volume adjustment device, characterized by comprising:
the acquisition module is used for acquiring preset volume values corresponding to different preset decibel values in a non-noise environment;
the determining module is used for determining a target preset decibel value based on the decibel value of the audio to be played;
and the adjusting module is used for adjusting the volume of the earphone equipment to the target volume value by taking the preset volume value corresponding to the target preset decibel value as the target volume value.
9. A volume adjustment device, characterized in that the volume adjustment device comprises a processor, a memory, and a volume adjustment program stored on the memory and executable by the processor, wherein the volume adjustment program, when executed by the processor, implements the steps of the volume adjustment method according to any one of claims 1 to 7.
10. A readable storage medium having a volume adjustment program stored thereon, wherein the volume adjustment program, when executed by a processor, implements the steps of the volume adjustment method according to any one of claims 1 to 7.
CN202211192691.0A 2022-09-28 2022-09-28 Volume adjusting method, device, equipment and readable storage medium Pending CN115550781A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211192691.0A CN115550781A (en) 2022-09-28 2022-09-28 Volume adjusting method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211192691.0A CN115550781A (en) 2022-09-28 2022-09-28 Volume adjusting method, device, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115550781A true CN115550781A (en) 2022-12-30

Family

ID=84731030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211192691.0A Pending CN115550781A (en) 2022-09-28 2022-09-28 Volume adjusting method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115550781A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117221781A (en) * 2023-10-23 2023-12-12 深圳市鑫科美达通讯有限公司 Intelligent earphone volume automatic adjusting method based on data analysis

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117221781A (en) * 2023-10-23 2023-12-12 深圳市鑫科美达通讯有限公司 Intelligent earphone volume automatic adjusting method based on data analysis

Similar Documents

Publication Publication Date Title
US9149214B2 (en) Annoyance judgment system, apparatus, method, and program
KR101521030B1 (en) Method and system for self-managed sound enhancement
US9044157B2 (en) Assessment system of speech sound listening, and method and program thereof
US8655440B2 (en) System and method of speech sound intelligibility assessment, and program thereof
JP5215508B1 (en) Discomfort threshold estimation system, method and program thereof, hearing aid adjustment system, and discomfort threshold estimation processing circuit
US9131868B2 (en) Hearing determination system, and method and program for the same
US8849391B2 (en) Speech sound intelligibility assessment system, and method and program therefor
US11184723B2 (en) Methods and apparatus for auditory attention tracking through source modification
WO2012063423A1 (en) Sound pressure evaluation system, and method and program therefor
Brons et al. Acoustical and perceptual comparison of noise reduction and compression in hearing aids
CN113015062A (en) Information processing system, storage medium, and information processing method
CN115550781A (en) Volume adjusting method, device, equipment and readable storage medium
US20220272465A1 (en) Hearing device comprising a stress evaluator
CN113115190B (en) Audio signal processing method, device, equipment and storage medium
CN113613123B (en) Audio data processing method and device, earphone and storage medium
Souza et al. Application of the envelope difference index to spectrally sparse speech
Brennan et al. Influence of audibility and distortion on recognition of reverberant speech for children and adults with hearing aid amplification
CN113613122A (en) Volume adjusting method and device, earphone and storage medium
Matsui et al. The effect of peripheral compression on syllable perception measured with a hearing impairment simulator
Gordon-Hickey et al. Improving acceptance of background noise with sound enrichment
CN113827228B (en) Volume control method and device
US20240064487A1 (en) Customized selective attenuation of game audio
Anderson Model based development of a hearing aid
Athalye Factors affecting speech recognition in noise and hearing loss in adults with a wide variety of auditory capabilities
Brice Noise Induced Hearing Loss: A Case Study from a Speech-Language Pathologist’s Perspective

Legal Events

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