CN114900771B - Volume adjustment optimization method, device, equipment and medium based on consonant earphone - Google Patents

Volume adjustment optimization method, device, equipment and medium based on consonant earphone Download PDF

Info

Publication number
CN114900771B
CN114900771B CN202210830847.7A CN202210830847A CN114900771B CN 114900771 B CN114900771 B CN 114900771B CN 202210830847 A CN202210830847 A CN 202210830847A CN 114900771 B CN114900771 B CN 114900771B
Authority
CN
China
Prior art keywords
sound source
source information
consonant
target sound
earphone
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.)
Active
Application number
CN202210830847.7A
Other languages
Chinese (zh)
Other versions
CN114900771A (en
Inventor
赵怀锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Waterward Information Co Ltd
Original Assignee
Shenzhen Waterward Information 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 Shenzhen Waterward Information Co Ltd filed Critical Shenzhen Waterward Information Co Ltd
Priority to CN202210830847.7A priority Critical patent/CN114900771B/en
Publication of CN114900771A publication Critical patent/CN114900771A/en
Application granted granted Critical
Publication of CN114900771B publication Critical patent/CN114900771B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • 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
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/14Systems for determining distance or velocity not using reflection or reradiation using ultrasonic, sonic, or infrasonic waves
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1083Reduction of ambient noise
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • G10L2021/02082Noise filtering the noise being echo, reverberation of the speech
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • 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

Abstract

The application relates to the technical field of voice processing, in particular to a volume adjustment optimization method, a volume adjustment optimization device, volume adjustment equipment and a volume adjustment optimization medium based on a consonant earphone, wherein the method comprises the following steps: acquiring a plurality of sound source information through a consonant earphone; identifying content information of the plurality of sound source information and selecting target sound source information based on the content information; and adjusting the playing volume of the target sound source information in the consonant earphone. By selecting the target sound source information and carrying out targeted optimization, the problem that in the prior art, the earphone cannot screen the target sound source information in a scene with a plurality of sound source information, so that the sound of the target sound source information cannot be optimized in a targeted manner is solved.

Description

Volume adjustment optimization method, device, equipment and medium based on consonant earphone
Technical Field
The present application relates to the field of speech processing technologies, and in particular, to a volume adjustment optimization method, apparatus, device, and medium based on a consonant headphone.
Background
In the prior art, when a user receives sound source information by using a common consonant earphone, the user can only amplify sound and perform simple sound processing such as noise reduction, a plurality of sound source information can be generated in real environment at the same time, the earphone in the prior art performs the same processing mode on the sound of all surrounding sound source information, target sound source information cannot be screened out, and the sound environments of different target sound source information are different, so that the single optimization processing mode cannot meet the effective listening requirement between people and different target sound source information.
Disclosure of Invention
The application mainly aims to provide a volume adjustment optimization method, device, equipment and medium based on a consonant headset, and aims to solve the technical problem that in the prior art, the target sound source information cannot be screened out in a scene with multiple sound source information by the headset, so that the sound of the target sound source information cannot be optimized in a targeted mode by the consonant headset.
In order to achieve the above object, the present application provides a volume adjustment optimization method based on a consonant headphone, including:
acquiring a plurality of sound source information through a consonant earphone;
identifying content information of the plurality of sound source information and selecting target sound source information based on the content information;
and adjusting the playing volume of the target sound source information in the consonant earphone.
Further, the selecting target sound source information based on the content information includes:
if the contents of the sound source information are different, receiving a selection instruction of a consonant earphone user from the sound source information in a mode of switching the sound source information, determining one of the sound source information as target sound source information, and shielding other sound source information.
Further, the selecting target sound source information based on the content information includes:
if the contents of the sound source information are the same, judging whether the distances between the sound source information and the consonant earphones are the same or not;
and if the distances between the sound source information and the consonant earphones are different, selecting the sound source information closest to the distance between the sound source information and the consonant earphones as target sound source information.
Further, the determining whether the distances between the plurality of sound source information and the consonant headphones are the same if the plurality of sound source information has the same content includes:
if the distances between the sound source information and the consonant earphones are the same, judging whether obstacles exist in the propagation space of the sound source information and the consonant earphones or not;
and if the obstacles exist in part of the transmission space and no obstacles exist in part of the transmission space, judging target sound source information according to the hearing data of two ears of a user of the consonant earphone.
Further, before adjusting the playing volume of the target sound source information in the consonant headphones, the method includes:
and if obstacles exist in the propagation space of the target sound source information and the propagation space of the consonant earphone, performing echo cancellation by using an acoustic echo cancellation technology.
Further, after selecting the target sound source information based on the content information, the method includes:
when the target sound source information is the same sound source information and is continuously played for a first designated time, prompting a user to confirm whether the target sound source information needs to be locked;
if yes, locking target sound source information;
when the target sound source information disappears or when an instruction to cancel the locking of the target sound source information is detected, the locking of the target sound source information is canceled.
Further, the adjusting the playing volume of the target sound source information in the consonant headphones includes:
and adaptively adjusting the sound size in the consonant earphones according to the distance between the consonant earphones and the target sound source information and the sound size of the target sound source information.
The application also provides a volume adjustment optimizing apparatus based on consonant earphone, the apparatus includes:
the sound source information acquisition module is used for acquiring a plurality of sound source information through a consonant headset;
a target sound source information selection module which identifies content information of the plurality of sound source information and selects target sound source information based on the content information;
and the volume adjusting module is used for adjusting the playing volume of the target sound source information in the consonant earphone.
The present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.
The present application also provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any of the above.
According to the volume adjustment optimization method based on the consonant earphones, after the target sound source information is judged and selected, the target sound source information is subjected to self-adaptive optimization. The listening effect of the user of the consonant headphones can be improved by the method. The technical problem that in the prior art, the target sound source information cannot be screened out in a scene of a plurality of sound source information by the earphone, and accordingly the sound of the target sound source information cannot be optimized in a targeted mode is solved.
Drawings
Fig. 1 is a schematic flowchart of a volume adjustment optimization method based on a consonant headphone according to an embodiment of the present application;
fig. 2 is a schematic block diagram illustrating a structure of a volume adjustment optimizing apparatus based on a consonant headphone according to an embodiment of the present application;
fig. 3 is a block diagram illustrating a structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, an embodiment of the present application provides a volume adjustment optimization method based on a consonant headphone, including steps S1-S3, specifically:
s1, acquiring information of a plurality of sound sources through a consonant headphone.
Specifically, for step S1, multiple sound source information, which may include the speaking voices of multiple speakers, multiple background noises, etc., will generally appear simultaneously in the same scene in the real environment.
S2, identifying content information of the plurality of sound source information, and selecting target sound source information based on the content information.
Specifically, in step S2, when multiple pieces of sound source information appear in the same scene at the same time, it is determined whether the multiple pieces of sound source information are the same, and if not, an option for switching the pieces of sound source information is provided for the user of the consonant headset to select one piece of sound source information as the target sound source information, and simultaneously, the other pieces of sound source information are masked, so as to ensure the best effect of listening to the target sound source information. If the contents of the plurality of sound source information are the same, the target sound source information is selected further based on whether or not there is an obstacle in the propagation space of the plurality of sound source information, the propagation distance, and the hearing ability data of the user.
And S3, adjusting the playing volume of the target sound source information in the consonant earphone.
Specifically, with respect to step S3, after the target sound source is determined, since the target sound source position and the position of the user of the consonant headphones may move or the volume level of the target sound source is not fixed, adaptive volume adjustment is performed on the target sound source information with respect to the distance between the target sound source information and the consonant headphones and the volume level of the target sound source. The target sound source information can be adaptively processed by the consonant earphone at any time, and the best consonant effect is achieved.
In one embodiment, the selecting the target sound source information based on the content information includes:
s201, if the contents of the sound source information are different, receiving a selection instruction of a consonant headset user from the sound source information in a mode of switching the sound source information, determining one of the sound source information as target sound source information, and shielding other sound source information.
Specifically, for step S201, at this time, the sound source information of multiple different contents may be sound information that needs to be listened by the user of the consonant headphone, so that the multiple sound source information is set as alternative target sound source information, the user of the consonant headphone selects one of the sound source information as the target sound source information, and performs selection adjustment by switching the multiple sound source information, and the user performs selection switching on the sound information that needs to be listened by combining with the current scene, so as to ensure that the content of the sound source information that needs to be received is not omitted, and shield other sound source information, and after selecting one target sound source information, the sound source information is not interfered by other sound source information, thereby ensuring the best listening effect.
In one embodiment, the selecting the target sound source information based on the content information includes:
and S202, if the contents of the sound source information are the same, judging whether the distances between the sound source information and the consonant earphones are the same.
And S203, if the distances between the sound source information and the consonant earphones are different, selecting the sound source information closest to the consonant earphones as target sound source information.
Specifically, in steps S202 and S203, when multiple sound source information appears in the same scene at the same time, the spatial positions of the corresponding multiple sound sources may be different, and since it is determined that the multiple sound source information has the same content, the sound source information closest to the user of the consonant headphone may be selected as the target sound source information. And calculating the difference between the time when the sound source information is sent and the time when the consonant earphone receives the sound source information, and multiplying the difference by the sound propagation speed to obtain the distance between the sound source information and the consonant earphone.
In one embodiment, after the step S202 of determining whether there is an obstacle in the propagation space between the plurality of sound source information and the consonant headphones, the method includes:
and S204, if the distances between the sound source information and the consonant earphones are the same, judging whether obstacles exist in the propagation space of the sound source information and the consonant earphones.
And S205, if obstacles exist in part of the propagation space and no obstacles exist in part of the propagation space, judging target sound source information according to the hearing data of two ears of a user of the consonant headset.
Specifically, for steps S204 and S205, when the plurality of sound source information is the same distance from the consonant headphones, it may be that the sound source is the same distance value from the user, but in a different direction. For example, sound source A is located 1 meter to the user's left and sound source B is located 1 meter to the user's right. When an obstacle exists in the propagation space of the sound source information and the consonant headphones, echo may be generated. Although the echo can be eliminated by the echo elimination technology, under the condition that the distances and the contents of a plurality of sound source information are the same and part of the sound source information has no obstacles, the sound source information on the side without the obstacles is selected as the target sound source information, and other sound source information is shielded, so that reverberation generated in the consonant earphone can be avoided, the optimal listening effect is ensured, the steps of echo elimination of the consonant earphone are reduced, and the efficiency of sound source information processing is improved. When an obstacle exists on one side, the obstacle can cause the time when the consonant earphones of the ears on the two sides receive the same sound source information to be different from the sound waveform, so that whether the obstacle exists can be judged according to the result of judging whether the sound waveforms of the same sound source information are the same or whether the receiving time difference value of the same sound source information is in a specified range. At the moment, hearing data of a user preset by the consonant earphone is acquired, or hearing data of two ears of the consonant earphone user is detected in real time, and the sound source information on one side of the ear with better hearing data can be selected as target sound source information according to the condition of the consonant earphone user, so that the best information listening effect is achieved.
In an embodiment, before the step S3 of adjusting the playing volume of the target sound source information in the consonant headphone, the method includes:
and S300, if the target sound source information and the propagation space of the consonant earphone have obstacles, performing echo cancellation by using an acoustic echo cancellation technology.
Specifically, with step S300, when a plurality of sound source information are not the same distance from the consonant headphone, and the sound source information closest to the distance from the consonant headphone is selected as the target sound source information, there may be an obstacle in the propagation space of the target sound source information and the consonant headphone at this time. Or after the target sound source is selected, obstacles may occur temporarily or for a certain period of time during acquisition of the target sound source information in the sound source information propagation space due to movement of articles in the sound scene or movement of the positions of the speaker and the user of the consonant headphone. In the case of an obstacle, echo may be generated, and the echo needs to be eliminated by an acoustic echo cancellation technique, so as to avoid the negative influence caused by the echo, and obtain a better listening effect. Echo cancellation methods include the use of echo suppressors, adaptive filtering algorithms, and the like.
In one embodiment, after selecting the target sound source information based on the content information, the method further includes:
s301, when the target sound source information is the same sound source information and is continuously played for a first designated time, prompting a user to confirm whether the target sound source information needs to be locked;
s302, if yes, locking target sound source information;
s303, canceling the locking of the target sound source information when the target sound source information disappears or when an instruction to cancel the locking of the target sound source information is detected.
Specifically, in steps S301, S302, and S303, when the target sound source information is the same sound source information and the playback continues for the first specified time, the user of the consonant headphone may be in a state of being more attentive, for example, listening to a broadcast, learning to attend a lesson, or the like, and in order to prevent the user of the consonant headphone from being disturbed by other sounds in the state of being attentive, the target sound source information may be selected to be locked, and the target sound source information may be locked according to the sound characteristics such as the timbre of the target sound source information. The first designated time may be set by the user of the consonant headset, for example, 10 minutes. After the target sound source information is locked, the target sound source selection judgment is not performed until the locking is canceled. When the target sound source information disappears or a command of canceling the locking of the target sound source information is detected, canceling the locking of the target sound source information, so that the unlocking of the target sound source information can be automatically adjusted according to the sound source condition or flexibly adjusted according to the scene where the consonant headset user is located.
In an embodiment, the step S3 of adjusting the playing volume of the target sound source information in the consonant headphone includes:
s304, adaptively adjusting the sound size in the consonant earphones according to the distance between the consonant earphones and the target sound source information and the sound size of the target sound source information.
Specifically, for step S304, the specific formula of the sound adjustment is Voice = 1/(a × 1/distance between the headphone and the sound source + b × sound source volume); and a and b are adaptive parameters, and Voice is the adaptively adjusted sound in the consonant headset. When the distance between the consonant earphone and the sound source is smaller and the sound source volume is larger, Voice can be adjusted to be smaller in a self-adaptive mode; when the distance between the earphone and the sound source is larger, the sound source volume is smaller, and then Voice can be adjusted to be larger in a self-adaptive mode. For example, in a meeting scene, a user of the consonant headphone sits right beside the sound box, the sound box is loud after being opened, and if the loud sound box is directly amplified again and played, the sound box may cause irreversible damage to the eardrum of the user of the consonant headphone. Through this kind of mode automatically regulated volume size, can guarantee that the consonant earphone user can both obtain the effect of listening to of suitable volume in the use, avoid the too big ear of causing the injury of volume, also avoid the volume undersize to omit the sound content that needs to listen.
Referring to fig. 2, a block diagram of a volume adjustment optimizing apparatus based on a consonant headphone in an embodiment of the present application is shown, where the apparatus includes:
a sound source information acquiring module 100 for acquiring a plurality of sound source information through a consonant headphone;
a target sound source information selection module 200 for identifying content information of the plurality of sound source information and selecting target sound source information based on the content information;
and a volume adjusting module 300, configured to adjust the playing volume of the target sound source information in the consonant headphones.
Specifically, for the sound source information acquiring module 100, a plurality of sound source information, which may include speaking sounds of a plurality of speakers, a plurality of background noises, and the like, may generally appear simultaneously in the same scene in a real environment.
Specifically, for the target sound source information selection module 200, multiple pieces of sound source information appear in the same scene at the same time, and first, it is determined whether the contents of the multiple pieces of sound source information are the same, and if not, an option for switching the pieces of sound source information is provided, so that a user of a consonant headphone selects one piece of sound source information as the target sound source information, and simultaneously shields other pieces of sound source information, thereby ensuring the best effect of listening to the target sound source information. If the contents of the plurality of sound source information are the same, the target sound source information is selected further based on whether or not there is an obstacle in the propagation space of the plurality of sound source information, the propagation distance, and the hearing ability data of the user.
Specifically, for the volume adjustment module 300, after the target sound source is determined, since the position of the target sound source and the position of the user of the consonant headphone may move or the volume of the target sound source is not fixed, the volume adjustment is adaptively performed on the target sound source information according to the distance between the target sound source information and the consonant headphone and the volume of the target sound source. The method ensures that the target sound source information can be subjected to self-adaptive processing by the consonant earphone at any time, and the best consonant effect is achieved.
In an embodiment, the volume adjustment optimizing apparatus based on a consonant headphone further includes:
and the first selection module is used for receiving a selection instruction of a consonant earphone user by switching the plurality of sound source information if the plurality of sound source information contents are different, determining one of the sound source information as target sound source information, and shielding other sound source information.
Specifically, to the first selection module, the sound source information of a plurality of different contents all can be the sound information that the consonant earphone user needs to listen to this moment, therefore all set up a plurality of sound source information as the target sound source information of alternative, supply the consonant earphone user to select one of them sound source information as target sound source information, select the adjustment through the mode of switching a plurality of sound source information, the user combines current scene to select to switch the sound information that needs to listen to, guarantee not to omit the sound source information content that needs to receive, shield other sound source information simultaneously, can not receive the interference of other sound source information after selecting a target sound source information, guarantee the best listening effect.
In an embodiment, the volume adjustment optimizing apparatus based on a consonant headphone further includes:
the distance judging module is used for judging whether the distances between the sound source information and the consonant earphones are the same or not if the sound source information contents are the same;
and the second selection module is used for selecting the sound source information closest to the consonant earphone as the target sound source information if the distances between the sound source information and the consonant earphone are different.
Specifically, for the distance determination module and the second selection module, multiple sound source information may appear in the same scene at the same time, and the spatial positions of the corresponding multiple sound sources may be different. And calculating the difference between the time when the sound source information is sent out and the time when the consonant earphone receives the sound source information, and multiplying the difference by the sound propagation speed to obtain the distance between the sound source information and the consonant earphone.
In an embodiment, the volume adjustment optimizing apparatus based on a consonant headphone further includes:
and the obstacle judgment module is used for judging whether obstacles exist in the propagation space of the plurality of sound source information and the consonant earphone if the distances between the plurality of sound source information and the consonant earphone are the same.
And the third selection module is used for judging target sound source information according to the hearing data of two ears of a user of the consonant earphone if obstacles exist in part of the propagation space and no obstacles exist in part of the propagation space.
Specifically, for the obstacle judgment module and the third selection module, when the distances between the plurality of sound source information and the consonant headphones are the same, it may be that the distances between the sound sources and the user are the same, but the directions are different. For example, sound source A is located 1 meter to the user's left and sound source B is located 1 meter to the user's right. When an obstacle exists in the propagation space of the sound source information and the consonant headphones, echo may be generated. Although the echo can be eliminated by the echo elimination technology, under the condition that the distances and the contents of a plurality of sound source information are the same and partial sound source information has no obstacles, the sound source information on one side without obstacles is selected as the target sound source information, and other sound source information is shielded, so that reverberation in the consonant earphone can be avoided, the optimal listening effect is ensured, the steps of echo elimination by the consonant earphone are reduced, and the efficiency of sound source information processing is improved. When an obstacle exists on one side, the obstacle can cause the time when the consonant earphones of the ears on the two sides receive the same sound source information to be different from the sound waveform, so that whether the obstacle exists can be judged according to the result of judging whether the sound waveforms of the same sound source information are the same or whether the receiving time difference value of the same sound source information is in a specified range. Obtain the user's hearing data that the consonant earphone predetermines this moment, perhaps detect the hearing data of two ears of consonant earphone user immediately, combine consonant earphone user's self condition, can choose for use the better ear one side sound source information of hearing data as target sound source information to reach the best information effect of listening to.
In an embodiment, the volume adjustment optimizing apparatus based on a consonant headphone further includes:
and the echo cancellation module is used for performing echo cancellation by using an acoustic echo cancellation technology if obstacles exist in the target sound source information and the propagation space of the consonant earphone.
Specifically, for the echo cancellation module, when a plurality of sound source information are different from the distance of the consonant headphone, and the sound source information closest to the distance of the consonant headphone is selected as the target sound source information, an obstacle may exist in the propagation space of the target sound source information and the consonant headphone at this time. Or after the target sound source is selected, obstacles may occur temporarily or for a certain period of time during acquisition of the target sound source information in the sound source information propagation space due to movement of articles in the sound scene or movement of the positions of the speaker and the user of the consonant headphone. In the case of an obstacle, echo may be generated, and the echo needs to be eliminated by an acoustic echo cancellation technique, so as to avoid negative effects caused by the echo, and obtain a better listening effect. Echo cancellation methods include the use of echo suppressors, adaptive filtering algorithms, and the like.
In an embodiment, the volume adjustment optimizing apparatus based on a consonant headphone further includes:
the target sound source locking module is used for prompting a user to confirm whether the target sound source information needs to be locked or not when the target sound source information is the same sound source information and the continuous playing reaches a first specified time; if yes, locking target sound source information; when the target sound source information disappears or when an instruction to cancel the locking of the target sound source information is detected, the locking of the target sound source information is canceled.
Specifically, for the target sound source locking module, when the target sound source information is the same sound source information and the continuous playing reaches the first specified time, the user of the consonant headset may be in a state of being more attentive, for example, listening to a broadcast, learning to attend a lesson, etc., in order to prevent the user of the consonant headset from being disturbed by other sounds in the state of being attentive, the target sound source information may be selected to be locked, and the locking may be performed according to sound characteristics such as the timbre of the target sound source information. The first designated time may be set by the user of the consonant headset, for example, 10 minutes. After the target sound source information is locked, the target sound source selection judgment is not performed until the locking is canceled. When the target sound source information disappears or a command of canceling the locking of the target sound source information is detected, canceling the locking of the target sound source information, so that the unlocking of the target sound source information can be automatically adjusted according to the sound source condition or flexibly adjusted according to the scene where the consonant headset user is located.
In an embodiment, the volume adjustment optimizing apparatus based on a consonant headphone further includes:
and the volume adjusting module is used for adaptively adjusting the sound size in the consonant earphones according to the distance between the consonant earphones and the target sound source information and the sound size of the target sound source information.
Specifically, for the volume adjustment module, the specific formula of the sound adjustment is Voice = 1/(a × 1/distance between the earphone and the sound source + b × sound source volume); and a and b are adaptive parameters, and Voice is the adaptively adjusted sound in the consonant earphone. When the distance between the consonant earphone and the sound source is smaller and the sound source volume is larger, Voice can be adjusted to be smaller in a self-adaptive mode; when the distance between the earphone and the sound source is larger, the sound source volume is smaller, and then Voice can be adjusted to be larger in a self-adaptive mode. For example, in a meeting scene, a user of the consonant headphone sits right beside the sound box, the sound box is loud after being opened, and if the loud sound box is directly amplified again and played, the sound box may cause irreversible damage to the eardrum of the user of the consonant headphone. Through this kind of mode automatically regulated volume size, can guarantee that the consonant earphone user can both obtain the effect of listening to of suitable volume in the use, avoid the too big ear of causing the injury of volume, also avoid the volume undersize to omit the sound content that needs to listen.
Referring to fig. 3, an embodiment of the present application further provides a computer device, where the computer device may be a server, and an internal structure of the computer device may be as shown in fig. 3. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing usage data and the like in the volume adjustment optimization method process based on the consonant headphones. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method for optimizing volume adjustment based on a consonant headphone according to any one of the above embodiments.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is only a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects may be applied.
An embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, where the computer program, when executed by a processor, implements a method for optimizing volume adjustment based on a consonant headphone. It is to be understood that the computer-readable storage medium in the present embodiment may be a volatile-readable storage medium or a non-volatile-readable storage medium.
According to the volume adjustment optimization method based on the consonant earphones, after the target sound source information is judged and selected, the target sound source information is subjected to self-adaptive optimization. The listening effect of the user of the consonant headphones can be improved by the method. The technical problem that in the prior art, the target sound source information cannot be screened out in a scene of a plurality of sound source information by the earphone, and accordingly the sound of the target sound source information cannot be optimized in a targeted mode is solved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), dual data rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
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, apparatus, article, or method 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, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (9)

1. A volume adjustment optimization method based on a consonant earphone is characterized by comprising the following steps:
acquiring a plurality of sound source information through a consonant earphone;
identifying content information of the plurality of sound source information and selecting target sound source information based on the content information;
adjusting the playing volume of the target sound source information in the consonant earphone;
wherein the selecting target sound source information based on the content information includes:
if the contents of the sound source information are the same, judging whether the distances between the sound source information and the consonant earphones are the same or not;
and if the distances between the sound source information and the consonant earphones are different, selecting the sound source information closest to the distance between the sound source information and the consonant earphones as target sound source information.
2. The consonant headphone-based volume adjustment optimization method of claim 1, wherein the selecting target sound source information based on the content information comprises:
if the contents of the sound source information are different, receiving a selection instruction of a consonant earphone user from the sound source information in a mode of switching the sound source information, determining one of the sound source information as target sound source information, and shielding other sound source information.
3. The method of claim 1, wherein the determining whether the distances between the sound source information and the consonant headphones are the same if the sound source information contents are the same comprises:
if the distances between the sound source information and the consonant earphones are the same, judging whether obstacles exist in the propagation space of the sound source information and the consonant earphones or not;
and if the obstacle exists in part of the propagation space and no obstacle exists in part of the propagation space, selecting part of sound source information without the obstacle in the propagation space, and judging target sound source information in the part of sound source information according to the hearing data of the two ears of the user of the consonant earphone.
4. The method of claim 3, wherein the adjusting the playback volume of the target sound source information in the consonant headphones comprises:
and if the target sound source information and the propagation space of the consonant earphone have obstacles, performing echo cancellation by using an acoustic echo cancellation technology.
5. The method of claim 1, wherein selecting the target sound source information based on the content information comprises:
when the target sound source information is the same sound source information and the continuous playing reaches a first specified time, prompting a user to confirm whether the target sound source information needs to be locked;
if yes, locking target sound source information;
when the target sound source information disappears or an instruction to unlock the target sound source information is detected, the target sound source information is unlocked.
6. The method for optimizing volume adjustment based on a consonant headset of claim 1, wherein the adjusting the playing volume of the target sound source information in the consonant headset comprises:
and adaptively adjusting the sound size in the consonant earphones according to the distance between the consonant earphones and the target sound source information and the sound size of the target sound source information.
7. A consonant headphone-based volume adjustment optimization device, the device comprising:
the sound source information acquisition module is used for acquiring a plurality of sound source information through a consonant headset;
a target sound source information selection module for identifying content information of the plurality of sound source information and selecting target sound source information based on the content information;
the volume adjusting module is used for adjusting the playing volume of the target sound source information in the consonant earphone;
wherein, the target sound source information selection module comprises:
the distance judging module is used for judging whether the distances between the sound source information and the consonant earphones are the same or not if the sound source information contents are the same;
and the second selection module is used for selecting the sound source information closest to the consonant earphone as the target sound source information if the distances between the sound source information and the consonant earphone are different.
8. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN202210830847.7A 2022-07-15 2022-07-15 Volume adjustment optimization method, device, equipment and medium based on consonant earphone Active CN114900771B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210830847.7A CN114900771B (en) 2022-07-15 2022-07-15 Volume adjustment optimization method, device, equipment and medium based on consonant earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210830847.7A CN114900771B (en) 2022-07-15 2022-07-15 Volume adjustment optimization method, device, equipment and medium based on consonant earphone

Publications (2)

Publication Number Publication Date
CN114900771A CN114900771A (en) 2022-08-12
CN114900771B true CN114900771B (en) 2022-09-23

Family

ID=82729406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210830847.7A Active CN114900771B (en) 2022-07-15 2022-07-15 Volume adjustment optimization method, device, equipment and medium based on consonant earphone

Country Status (1)

Country Link
CN (1) CN114900771B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115240689B (en) * 2022-09-15 2022-12-02 深圳市水世界信息有限公司 Target sound determination method, target sound determination device, computer equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07312800A (en) * 1994-05-19 1995-11-28 Sharp Corp Three-dimension sound field space reproducing device
WO2013087120A1 (en) * 2011-12-16 2013-06-20 Phonak Ag Method for operating a hearing system and at least one audio system
WO2017128481A1 (en) * 2016-01-26 2017-08-03 宇龙计算机通信科技(深圳)有限公司 Method of controlling bone conduction headphone, device and bone conduction headphone apparatus
CN111147982A (en) * 2019-12-27 2020-05-12 宇龙计算机通信科技(深圳)有限公司 Audio playing method and device, storage medium and terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006018634B4 (en) * 2006-04-21 2017-12-07 Sivantos Gmbh Hearing aid with source separation and corresponding method
US8331591B2 (en) * 2006-10-10 2012-12-11 Siemens Audiologische Technik Gmbh Hearing aid and method for operating a hearing aid
US8781142B2 (en) * 2012-02-24 2014-07-15 Sverrir Olafsson Selective acoustic enhancement of ambient sound
US20180270571A1 (en) * 2015-01-21 2018-09-20 Harman International Industries, Incorporated Techniques for amplifying sound based on directions of interest
CN208424762U (en) * 2018-02-07 2019-01-22 西安建筑科技大学 A kind of hearing aid device system with volume self-regulation and dangerous prompting function
EP3868128A2 (en) * 2018-10-15 2021-08-25 Orcam Technologies Ltd. Hearing aid systems and methods
CN109874096A (en) * 2019-01-17 2019-06-11 天津大学 A kind of ears microphone hearing aid noise reduction algorithm based on intelligent terminal selection output
US11245984B1 (en) * 2020-07-15 2022-02-08 Facebook Technologies, Llc Audio system using individualized sound profiles

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07312800A (en) * 1994-05-19 1995-11-28 Sharp Corp Three-dimension sound field space reproducing device
WO2013087120A1 (en) * 2011-12-16 2013-06-20 Phonak Ag Method for operating a hearing system and at least one audio system
WO2017128481A1 (en) * 2016-01-26 2017-08-03 宇龙计算机通信科技(深圳)有限公司 Method of controlling bone conduction headphone, device and bone conduction headphone apparatus
CN111147982A (en) * 2019-12-27 2020-05-12 宇龙计算机通信科技(深圳)有限公司 Audio playing method and device, storage medium and terminal

Also Published As

Publication number Publication date
CN114900771A (en) 2022-08-12

Similar Documents

Publication Publication Date Title
US9711131B2 (en) Sound zone arrangement with zonewise speech suppression
US20170316773A1 (en) Speech reproduction device configured for masking reproduced speech in a masked speech zone
KR101171494B1 (en) Robust two microphone noise suppression system
US8693704B2 (en) Method and apparatus for canceling noise from mixed sound
US20190273988A1 (en) Beamsteering
US9313573B2 (en) Method and device for microphone selection
CN105304089B (en) Virtual masking method
US20180206038A1 (en) Real-time processing of audio data captured using a microphone array
US10339951B2 (en) Audio signal processing in a vehicle
CN110111805B (en) Automatic gain control method and device in far-field voice interaction and readable storage medium
US11651759B2 (en) Gain adjustment in ANR system with multiple feedforward microphones
CN114900771B (en) Volume adjustment optimization method, device, equipment and medium based on consonant earphone
CN110996203A (en) Earphone noise reduction method, device and system and wireless earphone
CN109360578B (en) Echo cancellation method of audio device, audio device and readable storage medium
KR20210043565A (en) Signal processing apparatus and method, and program
CN111081233B (en) Audio processing method and electronic equipment
US11323804B2 (en) Methods, systems and apparatus for improved feedback control
US11682414B1 (en) Adjusting audio transparency based on content
EP3148217B1 (en) Method for operating a binaural hearing system
KR102288182B1 (en) Method and apparatus for speech privacy, and mobile terminal using the same
US20230328462A1 (en) Method, device, headphones and computer program for actively suppressing the occlusion effect during the playback of audio signals
US11523215B2 (en) Method and system for using single adaptive filter for echo and point noise cancellation
US11095979B2 (en) Sound pick-up apparatus, recording medium, and sound pick-up method
CN108419163A (en) Earphone and for earphone uplink noise eliminate method
JP6861303B2 (en) How to operate the hearing aid system and the hearing aid system

Legal Events

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