CN107977187B - Reverberation adjusting method and electronic equipment - Google Patents

Reverberation adjusting method and electronic equipment Download PDF

Info

Publication number
CN107977187B
CN107977187B CN201711191021.6A CN201711191021A CN107977187B CN 107977187 B CN107977187 B CN 107977187B CN 201711191021 A CN201711191021 A CN 201711191021A CN 107977187 B CN107977187 B CN 107977187B
Authority
CN
China
Prior art keywords
user
reverberation
microphone
identity
electronic device
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
CN201711191021.6A
Other languages
Chinese (zh)
Other versions
CN107977187A (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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201711191021.6A priority Critical patent/CN107977187B/en
Publication of CN107977187A publication Critical patent/CN107977187A/en
Application granted granted Critical
Publication of CN107977187B publication Critical patent/CN107977187B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • 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

Abstract

A reverberation adjustment method and an electronic device, the method comprising: the method comprises the steps that electronic equipment receives any target sound signal collected by microphone equipment and extracts target sound characteristics of the target sound signal; the electronic equipment judges whether the target sound characteristics are matched with any preset sample sound characteristics, if so, a target user identity corresponding to the sample sound characteristics is searched, and the target user identity is one of at least two preset user identities; and the electronic equipment adjusts the current reverberation scheme to be the user reverberation scheme corresponding to the target user identity. By implementing the embodiment of the invention, the efficiency of adjusting reverberation can be improved, and the technical threshold is reduced.

Description

Reverberation adjusting method and electronic equipment
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a reverberation adjusting method and electronic equipment.
Background
The child microphone is a microphone device with a playing function, and can be in communication connection with electronic devices such as a smart phone and a mobile tablet, so that a user can control the sound playing effect of the microphone device on the electronic devices. One common method of controlling the sound playing effect is to adjust the reverberation of the sound output, however, in practice, it has been found that if the same reverberation scheme is used for different users, the sound playing effect will be affected. In addition, common users do not have professional knowledge and capability of adjusting reverberation, and are difficult to adjust the ideal reverberation effect, so that the technical threshold is high.
Disclosure of Invention
The embodiment of the invention discloses a reverberation adjusting method and electronic equipment, which can improve the efficiency of adjusting reverberation and reduce the technical threshold.
The first aspect of the embodiments of the present invention discloses a reverberation adjustment method, including:
the method comprises the steps that electronic equipment receives any target sound signal collected by microphone equipment and extracts target sound characteristics of the target sound signal;
the electronic equipment judges whether the target sound characteristics are matched with any preset sample sound characteristics, if so, a target user identity corresponding to the sample sound characteristics is searched, and the target user identity is one of at least two preset user identities;
and the electronic equipment adjusts the current reverberation scheme to be the user reverberation scheme corresponding to the target user identity.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, if the target sound characteristic does not match the sample sound characteristic, the method further includes:
the electronic device adjusts a current reverberation scheme to a default reverberation scheme that is different from all reverberation schemes corresponding to the at least two user identities.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
the electronic equipment detects an identity setting instruction, wherein the identity setting instruction is used for setting any one of the at least two user identities;
the electronic equipment receives the user voice signal collected by the microphone equipment according to the identity setting instruction and extracts the user voice feature of the user voice signal;
the electronic device stores the user voice signature as a sample voice signature corresponding to the any user identity.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the electronic device detects the identity setting instruction, the method further includes:
the electronic equipment judges whether communication connection is established between the electronic equipment and the microphone equipment;
if the communication connection between the electronic equipment and the microphone equipment is established, the electronic equipment sends a playing instruction to the microphone equipment so as to enable the microphone equipment to play test sound content;
the electronic equipment detects whether a feedback instruction is received, wherein the feedback instruction is sent by the microphone equipment when the test sound content is played;
and if the feedback instruction is detected, the electronic equipment executes the user voice signal acquired by the microphone equipment according to the identity setting instruction, and extracts the user voice feature of the user voice signal.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, if the communication connection is not established between the electronic device and the microphone device, the method further includes:
the electronic equipment outputs prompt information, and the prompt information is used for prompting a user to establish the communication connection between the electronic equipment and the microphone equipment;
the electronic equipment detects a communication connection instruction input by a user aiming at the prompt information, and establishes the communication connection between the electronic equipment and the microphone equipment according to the communication connection instruction;
and the electronic equipment executes the playing instruction sent to the microphone equipment so as to enable the microphone equipment to play the test sound content.
A second aspect of an embodiment of the present invention discloses an electronic device, including:
the extraction unit is used for receiving any target sound signal collected by the microphone equipment and extracting the target sound characteristic of the target sound signal;
the first judging unit is used for judging whether the target sound characteristics are matched with any preset sample sound characteristics;
the searching unit is used for searching a target user identity corresponding to the sample sound feature when the first judging unit judges that the target sound feature is matched with the sample sound feature, wherein the target user identity is one of at least two preset user identities;
and the adjusting unit is used for adjusting the current reverberation scheme to the user reverberation scheme corresponding to the target user identity.
As an alternative implementation, in the second aspect of the embodiment of the present invention:
the adjusting unit is further configured to adjust a current reverberation scheme to a default reverberation scheme when the first determining unit determines that the target sound characteristic does not match the sample sound characteristic, where the default reverberation scheme is different from all reverberation schemes corresponding to the at least two user identities.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the method further includes:
the first detection unit is used for detecting an identity setting instruction, and the identity setting instruction is used for setting any user identity in the at least two user identities;
the extracting unit is further used for receiving the user voice signal collected by the microphone device according to the identity setting instruction and extracting the user voice feature of the user voice signal;
and the storage unit is used for storing the user voice characteristics as sample voice characteristics corresponding to any user identity.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the method further includes:
a second determination unit, configured to determine whether a communication connection has been established between the electronic device and the microphone device after the first detection unit detects the identity setting instruction;
a sending unit, configured to send a playing instruction to the microphone device when the second determining unit determines that the communication connection between the electronic device and the microphone device is established, so that the microphone device plays the test sound content;
a second detecting unit, configured to detect whether a feedback instruction is received, where the feedback instruction is sent by the microphone device when the test sound content is played;
the mode that the extracting unit receives the user voice signal collected by the microphone device according to the identity setting instruction and extracts the user voice feature of the user voice signal is specifically as follows:
and after the second detection unit detects the feedback instruction, the extraction unit receives the user voice signal acquired by the microphone device according to the identity setting instruction and extracts the user voice feature of the user voice signal.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the method further includes:
an output unit, configured to output prompt information when the second determination unit determines that the communication connection between the electronic device and the microphone device is not established, where the prompt information is used to prompt a user to establish the communication connection between the electronic device and the microphone device;
the third detection unit is used for detecting a communication connection instruction input by a user aiming at the prompt information;
an establishing unit, configured to establish the communication connection between the electronic device and the microphone device according to the communication connection instruction;
the sending unit is further configured to send a playing instruction to the microphone device after the establishing unit establishes the communication connection between the electronic device and the microphone device, so that the microphone device plays the test sound content.
A third aspect of an embodiment of the present invention discloses an electronic device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the reverberation adjustment method disclosed in the first aspect of the embodiment of the present invention.
A fourth aspect of embodiments of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute the reverberation adjustment method disclosed in the first aspect of embodiments of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
after receiving the target sound signal from the microphone device, the electronic device extracts the target sound feature of the target sound signal and compares the target sound feature with a preset sample sound feature; when the target sound characteristic is matched with any preset sample sound characteristic, the electronic equipment can find out the corresponding target user identity through the target sound characteristic and adjust the current reverberation scheme to the user reverberation scheme corresponding to the target user identity, so that the optimal reverberation scheme can be automatically selected according to the sound characteristic of the user, and the reverberation is automatically adjusted for the user according to the reverberation scheme. Therefore, by implementing the embodiment of the invention, a user does not need to manually adjust a reverberation scheme and professional knowledge and ability for adjusting reverberation, so that the reverberation adjusting efficiency can be improved, and the technical threshold is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flow chart of a reverberation adjustment method according to an embodiment of the present invention;
fig. 2 is a flow chart diagram of another reverberation adjustment method disclosed by the embodiment of the present invention;
fig. 3 is a flow chart diagram of another reverberation adjustment method disclosed by the embodiments of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure;
FIG. 5 is a schematic structural diagram of another electronic device disclosed in the embodiments of the present invention;
FIG. 6 is a schematic structural diagram of another electronic device disclosed in the embodiments of the present invention;
fig. 7 is a schematic structural diagram of another electronic device disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a reverberation adjusting method and electronic equipment, which can improve the efficiency of adjusting reverberation and reduce the technical threshold. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating a reverberation adjustment method according to an embodiment of the present invention. The reverberation adjustment method described in fig. 1 is suitable for electronic devices such as mobile phones and tablet computers that can establish a communication connection with a microphone device, and the embodiment of the present invention is not limited thereto. The operating system of the electronic device may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a blackberry operating system, a Windows Phone8 operating system, and the like. As shown in fig. 1, the reverberation adjustment method may include the steps of:
101. the electronic equipment receives any target sound signal collected by the microphone equipment and extracts the target sound characteristics of the target sound signal.
In the embodiment of the invention, the microphone device can have a recording function, after the microphone device collects any sound signal under the condition that the recording function is started, the sound signal can be stored as a target sound signal and sent to the electronic device, and the microphone device can also transmit the target sound signal to the electronic device in a data stream mode so as to realize real-time transmission of the target sound signal. In addition, the communication connection between the electronic device and the microphone device may be a wired connection, or a wireless connection such as a bluetooth connection or a Wi-Fi connection, which is not limited in the embodiment of the present invention.
In practical applications, the target sound signal received by the electronic device may include a sound recorded by a user during speaking and may also include noise of the surrounding environment due to various interferences, and therefore, in order to reduce the influence of the noise interferences on subsequent matching of the sound features, the electronic device may perform preprocessing on the target sound signal after receiving the target sound signal and before extracting the sound features of the target sound signal. The preprocessing method may include, but is not limited to, pre-emphasis, end point detection, framing, windowing, and denoising, and the embodiments of the present invention are not limited thereto. By preprocessing the target sound signal, the accuracy of user identity recognition can be improved.
In addition, because the structure of each pronunciation organ is different, and each person's sound is different in sound physical properties such as tone quality, duration, intensity or pitch, therefore, can carry out user identification through the sound characteristic. The target sound feature extracted from the target sound signal by the electronic device may be one or more of the above-mentioned sound physical attributes, and the embodiment of the present invention is not limited.
102. The electronic device judges whether the target sound characteristic is matched with any preset sample sound characteristic, if so, the steps 103-104 are executed, and if not, the step 105 is executed.
In the embodiment of the invention, Mel-scale Frequency Cepstral Coefficients (MFCC for short) can be used as the parameter for representing the sound characteristics.
Optionally, when the electronic device determines whether the target sound feature matches any preset sample sound feature, a template matching method may be used to calculate a distance between each sample sound feature of all preset sample sound features and the target sound feature, and determine whether the distance between the two sample sound features is smaller than a specified threshold, and if the distance between any sample sound feature and the target sound feature is smaller than the specified threshold, it may be considered that the target sound feature matches the sample sound feature; if the distance between one sample sound feature and the target sound feature is not smaller than the specified threshold in all the sample sound features, the target sound feature may be considered to be not matched with any preset sample sound feature, that is, the electronic device cannot identify the user identity through the target sound feature.
Further optionally, when the electronic device determines that the target sound feature matches the sample sound feature, the electronic device may further adjust the sample sound feature by using the target sound feature to optimize the sample sound feature and improve the accuracy of the identification.
103. And the electronic equipment searches the target user identity corresponding to the sample sound characteristics.
In the embodiment of the invention, the target user identity is one of at least two preset user identities. For example, the user identities may be divided into five different identities of children, mom, dad, grande/grande, etc. according to the user age, or may be divided into two identities of males and females according to the age, which is not limited in the embodiment of the present invention. In the preset sample sound characteristics of the electronic equipment, each sample sound characteristic is bound with one user identity, so that when the electronic equipment judges that the target sound characteristics are matched with any preset sample sound characteristics, the target user identity corresponding to the sample sound characteristics can be found through the binding relation between the sample sound characteristics and the user identities, and the user identities are identified.
104. And the electronic equipment adjusts the current reverberation scheme to be the user reverberation scheme corresponding to the target user identity.
In the embodiment of the invention, the electronic equipment can preset the reverberation scheme corresponding to each user identity, and the reverberation scheme corresponding to each user identity is different. For example, for a reverberation scheme corresponding to the user identity of the child, the reverberation time of the reverberation scheme can be longer than that of other reverberation schemes, and can be extended to 1.5 ms.
105. The electronics adjust the current reverberation scheme to a default reverberation scheme.
In the embodiment of the present invention, the default reverberation scheme is different from all the reverberation schemes corresponding to the at least two user identities.
Optionally, if the electronic device determines that the target sound signal does not match any preset sample sound signal, the electronic device may further determine a pitch of the target sound signal by analyzing a frequency of the target sound signal, and adjust the current reverberation scheme to a reverberation scheme corresponding to the pitch of the target sound signal. For example, the electronic device analyzes that the occupation ratio of the low-frequency signal with the frequency lower than the specified frequency value in the target sound signal is higher than the specified threshold, and then the electronic device may consider the pitch of the target sound signal as bass and adjust the current reverberation scheme to the reverberation scheme corresponding to the bass. The reverberation time of the reverberation scheme corresponding to the bass may be shorter than the reverberation time of the default reverberation scheme, or the reverberation intensity of the reverberation scheme corresponding to the bass may be lower than the reverberation intensity of the default reverberation scheme, so as to improve the clarity of the sound.
It can be seen that, in the method described in fig. 1, the electronic device may identify a user identity through the target sound feature, and automatically adjust the current reverberation scheme to the user reverberation scheme corresponding to the user identity, without manually adjusting reverberation by the user, so that efficiency of adjusting reverberation may be improved, and a technical threshold of the user may be lowered. Further, in the method described in fig. 1, the electronic device may further adjust the current reverberation scheme to a default reverberation scheme in a case where the user identity cannot be recognized, or determine a pitch of the target sound signal by analyzing the frequency of the target sound signal, so as to adjust the current reverberation scheme to a reverberation scheme corresponding to the pitch of the target sound signal, so that the sound playing effect may be improved in a case where the user identity cannot be recognized.
Example two
Referring to fig. 2, fig. 2 is a flow chart illustrating another reverberation adjustment method according to an embodiment of the present invention. As shown in fig. 2, the reverberation adjustment method may include the steps of:
in the embodiment of the present invention, steps 201 to 205 are the same as steps 101 to 105, and the following description is omitted.
206. The electronic device detects the identity setting instruction.
In the embodiment of the present invention, the identity setting instruction is used to set any one of the at least two user identities, and the identity setting instruction may carry user identity information that needs to be set by the identity setting instruction.
As an alternative embodiment, the electronic device may detect the identity setting instruction by detecting a click event occurring on a screen of the electronic device, and if the occurrence location of the click event is a location bound to any user identity, the electronic device may determine that the identity setting instruction is detected, and the identity setting instruction is used to set any user identity.
As another optional implementation, the electronic device may also detect voice information input by a user, where the voice information may be a sound signal collected by a microphone device and sent to the electronic device, or a sound signal collected by a microphone device carried by the electronic device, and the embodiment of the present invention is not limited thereto. After the electronic device detects the voice information, the electronic device may perform voice recognition on the voice information, when the voice information is recognized to include preset keywords such as "identity" and "setting", the electronic device may determine that an identity setting instruction is detected, and if the keywords recognized by the electronic device from the voice information include preset user identities such as "child" or "male", the electronic device may use the user identity recognized from the keywords as the user identity information carried by the identity setting instruction. Therefore, the electronic equipment acquires the user identity information in a voice recognition mode, and the user does not need to directly operate the screen of the electronic equipment, so that the operation steps of the user are simplified.
As another alternative implementation, the electronic device may further start a front-facing camera on the same side as a screen of the electronic device to capture an image, and determine whether the captured image is a human face image, and if the captured image is a human face image, the electronic device may determine that the identity setting instruction is detected. In addition, the electronic equipment can also analyze the face image, extract the identity characteristics such as age characteristics or sex characteristics of the face image, and recognize the user identity of the user as the user identity information carried by the identity setting instruction according to the identity characteristics, so that the probability that the user identity information acquired by the electronic equipment is consistent with the actual identity information of the user can be improved.
207. The electronic equipment receives the user voice signal collected by the microphone equipment according to the identity setting instruction, and extracts the user voice feature of the user voice signal.
208. The electronic device stores the user voice signature as a sample voice signature corresponding to any of the user identities described above.
In the embodiment of the present invention, before the electronic device stores the user sound feature as the sample sound feature corresponding to any user identity, the electronic device may further determine whether a sample sound feature matching the user sound feature exists in all sample sound features corresponding to the user identity, if so, adjust the sample sound feature matching the user sound feature by using the user sound feature, and if not, store the user sound as the sample sound feature corresponding to the user identity, so that the sample sound feature database may be updated and adjusted.
Furthermore, for convenience of description, in the embodiment of the present invention, step 206 may be performed after step 205. It should be noted that there is no logical precedence relationship between step 206 and step 205, and step 206 may be executed before step 205 or after step 205, which is not limited in the embodiments of the present invention.
As can be seen, in the method described in fig. 2, the electronic device may identify the target user identity by matching the target sound feature and the sample sound feature, and adjust the current reverberation scheme to the reverberation scheme corresponding to the target user identity, so as to improve the efficiency of reverberation adjustment and reduce the technical threshold of the user. In addition, after the identity setting instruction is detected, the electronic device can store the user voice feature as a sample voice feature corresponding to the user identity, so that the sample voice feature database can be updated and adjusted. In the method described in fig. 2, the manner in which the electronic device detects the identity setting instruction may be to detect a click event occurring on a screen of the electronic device; furthermore, the mode of the electronic equipment for detecting the identity setting instruction can also be voice recognition on the collected voice information, so that a user does not need to directly operate a screen of the electronic equipment, and the operation steps of the user are simplified; furthermore, the mode of the electronic device for detecting the identity setting instruction may also be that a front-facing camera is started to collect an image, and the identity feature included in the face image is extracted as the user identity information under the condition that the collected image is the face image, so that the probability that the user identity information acquired by the electronic device is consistent with the actual identity information of the user can be improved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a flow chart illustrating another reverberation adjustment method according to an embodiment of the present invention. As shown in fig. 3, the reverberation adjustment method may include the steps of:
301. the electronic device detects the identity setting instruction.
In the embodiment of the present invention, the identity setting instruction is used to set any one of the at least two user identities.
302. The electronic device determines whether a communication connection has been established between the electronic device and the microphone device, and if so, directly performs step 305, and if not, performs steps 303 to 304.
303. And the electronic equipment outputs prompt information.
In the embodiment of the present invention, the prompt information is used to prompt a user to establish a communication connection between the electronic device and the microphone device, and the prompt information may be output through a screen of the electronic device in the form of text information, may also be output through a speaker device of the electronic device in the form of voice information, and may also be sent from the electronic device to the microphone device in the form of voice information, and the voice information is played through the microphone device. By outputting the prompt information, the probability of failure in user identity setting caused by the fact that communication connection is not established between the electronic equipment and the microphone equipment can be reduced, and user experience is improved.
304. The electronic equipment detects a communication connection instruction input by a user aiming at the prompt information, and establishes communication connection between the electronic equipment and the microphone equipment according to the communication connection instruction.
305. The electronic equipment sends a playing instruction to the microphone equipment so as to enable the microphone equipment to play the test sound content.
In the embodiment of the invention, the test sound content played by the microphone device is used for guiding the user to input the user sound signal containing the specified content. The content of the test tone played by the microphone device can be different according to the different user identity information carried by the identity setting instruction. For example, if the user is a child, the microphone device may play a test tone with "a child, please follow me, you good! Therefore, appropriate guidance can be provided in the process of setting the user identity of the user, and the technical threshold of the user is further reduced.
306. The electronic device detects whether a feedback instruction is received, if so, the steps 307 to 308 are executed, and if not, the step 309 is directly executed.
In the embodiment of the invention, the feedback instruction is sent by the microphone equipment when the playing of the test sound content is finished.
307. The electronic equipment receives the user voice signal collected by the microphone equipment according to the identity setting instruction, and extracts the user voice feature of the user voice signal.
308. The electronic device stores the user voice signature as a sample voice signature corresponding to any user identity.
In the embodiment of the present invention, the electronic device executes the above steps 301 to 308, so as to complete the setting of the user identity, add a new sample sound feature to the sample sound feature database, and establish a corresponding relationship between the new sample sound feature and the user identity.
309. The electronic equipment receives any target sound signal collected by the microphone equipment and extracts the target sound characteristics of the target sound signal.
310. The electronic device determines whether the target sound characteristic matches any preset sample sound characteristic, and if so, executes steps 311-312, and if not, executes step 313.
311. And the electronic equipment searches the target user identity corresponding to the sample sound characteristics.
312. And the electronic equipment adjusts the current reverberation scheme to be the user reverberation scheme corresponding to the target user identity.
313. The electronics adjust the current reverberation scheme to a default reverberation scheme.
In the method described in fig. 3, the electronic device may adjust the current reverberation scheme to the reverberation scheme corresponding to the target user identity according to the target sound characteristics, so as to improve the efficiency of reverberation adjustment and reduce the technical threshold of the user; the user voice feature can be stored as a sample voice feature after the identity setting instruction is detected, so that the setting of the user identity is completed. Further, in the method described in fig. 3, the electronic device may output a prompt message to remind the user when the electronic device and the microphone device do not establish a communication connection, so that the probability of the user identity setting failure due to the fact that the communication connection is not established between the electronic device and the microphone device may be improved, and the user experience may be improved. Furthermore, in the method described in fig. 3, the electronic device may further send a play instruction to enable the microphone device to play the test tone content for guiding the user, so that appropriate guidance may be provided in the process of setting the user identity by the user, thereby further reducing the technical threshold of the user.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. As shown in fig. 4, the electronic device may include:
an extracting unit 401, configured to receive any target sound signal collected by the microphone device, and extract a target sound feature of the target sound signal;
a first judging unit 402, configured to judge whether the target sound feature extracted by the extracting unit 401 matches any preset sample sound feature;
the searching unit 403 is configured to search for a target user identity corresponding to a sample sound feature when the first determining unit 402 determines that the target sound feature matches any preset sample sound feature;
in the embodiment of the invention, the target user identity is one of at least two preset user identities;
an adjusting unit 404, configured to adjust the current reverberation scheme to a user reverberation scheme corresponding to the target user identity found by the finding unit 403;
the adjusting unit 404 is further configured to adjust the current reverberation scheme to be a default reverberation scheme when the first determining unit 402 determines that the target sound characteristic does not match any preset sample sound characteristic;
in the embodiment of the present invention, the default reverberation scheme is different from all the reverberation schemes corresponding to the at least two user identities;
as an alternative embodiment, if the first determining unit 402 determines that the target sound signal does not match any preset sample sound signal, the adjusting unit 404 may further determine a pitch of the target sound signal by analyzing a frequency of the target sound signal, and adjust the current reverberation scheme to a reverberation scheme corresponding to the pitch of the target sound signal; for example, the adjusting unit 404 analyzes that the low-frequency signal with the frequency lower than the first specified threshold has a larger proportion in the target sound signal, and then the pitch of the target sound signal can be considered as a bass, and the adjusting unit 404 adjusts the current reverberation scheme to the reverberation scheme corresponding to the bass; the reverberation time of the reverberation scheme corresponding to the bass may be shorter than the reverberation time of the default reverberation scheme, or the reverberation intensity of the reverberation scheme corresponding to the bass may be lower than the reverberation intensity of the default reverberation scheme, so as to improve the clarity of the sound.
With the electronic device shown in fig. 4, the user identity can be identified through the target sound characteristic, and the current reverberation scheme is automatically adjusted to the user reverberation scheme corresponding to the user identity, so that the reverberation is not required to be manually adjusted by the user, the efficiency of adjusting the reverberation can be improved, and the technical threshold of the user is reduced. Further, when the electronic device shown in fig. 4 is implemented, the current reverberation scheme may be adjusted to the default reverberation scheme when the user identity cannot be recognized, or the pitch of the target sound signal is determined by analyzing the frequency of the target sound signal, so that the current reverberation scheme is adjusted to the reverberation scheme corresponding to the pitch of the target sound signal, and the sound playing effect may be improved when the user identity cannot be recognized.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the disclosure. The electronic device shown in fig. 5 is optimized from the electronic device shown in fig. 4. Compared to the electronic device shown in fig. 4, the electronic device shown in fig. 5 may further include:
a first detection unit 405, configured to detect an identity setting instruction;
in the embodiment of the invention, the identity setting instruction is used for setting any one of at least two user identities;
as an alternative implementation manner, the first detecting unit 405 may detect the identity setting instruction by detecting a click event occurring on a screen of the electronic device, and if an occurrence position of the click event is a position bound to any user identity, the first detecting unit 405 may determine that the identity setting instruction is detected, and the identity setting instruction is used for setting any user identity;
as another alternative, the first detecting unit 405 may also detect voice information input by a user, and perform voice recognition on the voice information, when it is recognized that the voice information includes a preset key, the first detecting unit 405 may determine that an identity setting instruction is detected, and if the recognized keyword includes a user identity, the first detecting unit 405 may use the user identity recognized from the keyword as the user identity information carried by the identity setting instruction. Therefore, the user identity information is acquired in a voice recognition mode, and the user does not need to directly operate a screen of the electronic equipment, so that the operation steps of the user are simplified;
as an optional implementation manner, the first detection unit 405 may further start a front-facing camera on the same side as the screen of the electronic device to collect an image, and determine whether the collected image is a face image, and if the collected image is a face image, the first detection unit 405 may determine that an identity setting instruction is detected; in addition, the first detection unit 405 may further analyze the face image, extract identity features such as age features or gender features of the face image, and identify the user identity of the user according to the identity features, so as to serve as the user identity information carried by the identity setting instruction, thereby improving the probability that the user identity information acquired by the electronic device is consistent with the actual identity information of the user;
the extracting unit 401 is further configured to receive a user voice signal collected by the microphone device according to the identity setting instruction detected by the first detecting unit 405, and extract a user voice feature of the user voice signal;
in this embodiment of the present invention, after the first detecting unit 405 detects the identity setting instruction, the extracting unit 401 may be directly triggered to execute the above-mentioned receiving of the user voice signal collected by the microphone device according to the identity setting instruction detected by the first detecting unit 405, and extract the user voice feature of the user voice signal;
a storage unit 406, configured to store the user voice feature extracted by the extraction unit 401 as a sample voice feature corresponding to any one of the user identities;
the first judging unit 402 obtains the preset sample sound features from the storage unit 406 when judging whether the target sound features extracted by the extracting unit 401 match any preset sample sound features.
It can be seen that, with the electronic device shown in fig. 5, the target user identity may be identified by matching the target sound feature and the sample sound feature, and the current reverberation scheme is adjusted to the reverberation scheme corresponding to the target user identity, so as to improve the efficiency of reverberation adjustment and reduce the technical threshold of the user. In addition, after the identity setting instruction is detected, the electronic device can store the user voice feature as a sample voice feature corresponding to the user identity, so that the sample voice feature database can be updated and adjusted. The manner of detecting the identity setting instruction by the electronic device shown in fig. 5 may be to detect a click event occurring on a screen of the electronic device; furthermore, the mode of the electronic equipment for detecting the identity setting instruction can also be voice recognition on the collected voice information, so that a user does not need to directly operate a screen of the electronic equipment, and the operation steps of the user are simplified; furthermore, the mode of the electronic device for detecting the identity setting instruction may also be that a front-facing camera is started to collect an image, and the identity feature included in the face image is extracted as the user identity information under the condition that the collected image is the face image, so that the probability that the user identity information acquired by the electronic device is consistent with the actual identity information of the user can be improved.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another electronic device according to an embodiment of the disclosure. The electronic device shown in fig. 6 is optimized from the electronic device shown in fig. 5. Compared to the electronic device shown in fig. 5, the electronic device shown in fig. 6 further includes:
a second judging unit 407, configured to judge whether a communication connection has been established between the electronic device and the microphone device after the first detecting unit 405 detects the identity setting instruction;
a sending unit 408, configured to send a playing instruction to the microphone device to enable the microphone device to play the test sound content when the second determining unit 407 determines that the communication connection between the electronic device and the microphone device is established;
in this embodiment of the present invention, after the sending unit 408 sends the playing instruction to the microphone device, the second detecting unit 409 may be triggered and started;
a second detecting unit 409, configured to detect whether a feedback instruction is received after the sending unit 408 sends the play instruction to the microphone device;
in the embodiment of the invention, the feedback instruction is sent by the microphone equipment when the playing of the test sound content is finished;
the manner in which the extracting unit 401 receives the user voice signal collected by the microphone device according to the identity setting instruction detected by the first detecting unit 405, and extracts the user voice feature of the user voice signal is specifically as follows:
after the second detection unit 409 detects the feedback instruction, the extraction unit 401 receives the user voice signal collected by the microphone device according to the identity setting instruction detected by the first detection unit 405, and extracts the user voice feature of the user voice signal;
in this embodiment of the present invention, after detecting the identity setting instruction, the first detecting unit 405 may send a start instruction to the extracting unit 401, and trigger to start the extracting unit 401; the second detection unit 409 may send a reception instruction for receiving a user sound signal to the extraction unit 401 after detecting the feedback instruction; after receiving the receiving instruction sent by the second detecting unit 409, the extracting unit 401 receives the user voice signal collected by the microphone device according to the identity setting instruction detected by the first detecting unit 405, and extracts the user voice feature of the user voice signal;
and, the electronic device shown in fig. 6 may further include:
an output unit 410, configured to output a prompt message when the second determination unit 407 determines that the communication connection between the electronic device and the microphone device is not established;
in the embodiment of the invention, the prompt message is used for prompting a user to establish communication connection between the electronic equipment and the microphone equipment;
in addition, after the output unit 410 outputs the prompt message, the third detection unit 411 may also be triggered to start;
a third detecting unit 411, configured to detect, after the output unit 410 outputs the prompt information, a communication connection instruction input by the user for the prompt information;
an establishing unit 412 configured to establish a communication connection between the electronic apparatus and the microphone apparatus according to the communication connection instruction detected by the third detecting unit 411, and to trigger the start-up transmitting unit 408 after the communication connection is established;
the sending unit 408 is further configured to send a playing instruction to the microphone device after the establishing unit 412 establishes the communication connection between the electronic device and the microphone device, so that the microphone device plays the test tone content.
The electronic device shown in fig. 6 is implemented, and the current reverberation scheme can be adjusted to the reverberation scheme corresponding to the target user identity according to the target sound characteristics, so that the reverberation adjustment efficiency is improved, and the technical threshold of the user is reduced; the user voice feature can be stored as a sample voice feature after the identity setting instruction is detected, so that the setting of the user identity is completed. Further, with the electronic device shown in fig. 6, when the electronic device and the microphone device are not in communication connection, a prompt message may be output to remind the user, so that the probability of failure in setting the user identity due to the fact that the electronic device and the microphone device are not in communication connection may be increased, and user experience may be improved. Furthermore, when the electronic device shown in fig. 6 is implemented, a play instruction may be sent to enable the microphone device to play the test tone content for guiding the user, so that appropriate guidance may be provided in the process of setting the user identity of the user, and the technical threshold of the user is further reduced.
EXAMPLE seven
Referring to fig. 7, fig. 7 is a schematic structural diagram of another electronic device according to an embodiment of the disclosure. As shown in fig. 7, the electronic device may further include:
a memory 701 in which executable program code is stored;
a processor 702 coupled to the memory 701;
the processor 702 calls the executable program code stored in the memory 701 to execute any one of the reverberation adjustment methods described in fig. 1 to 3.
It should be noted that the electronic device shown in fig. 7 may further include components, which are not shown, such as a power supply, an input key, a camera, a speaker, a screen, an RF circuit, a Wi-Fi module, a bluetooth module, and a sensor, which are not described in detail in this embodiment.
An embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute any one of the reverberation adjustment methods described in fig. 1 to 3.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The reverberation adjusting method and the electronic device disclosed in the embodiments of the present invention are described in detail above, and the principle and the embodiments of the present invention are explained herein by applying specific examples, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method of reverberation adjustment, the method comprising:
the electronic equipment starts a front camera which is positioned on the same side with a screen of the electronic equipment to collect a face image, and determines user identity information carried by an identity setting instruction according to identity characteristics recognized from the face image;
the electronic equipment receives a user voice signal collected by microphone equipment according to the identity setting instruction and extracts the user voice feature of the user voice signal;
the electronic equipment stores the user voice features as sample voice features corresponding to the user identity information;
the method comprises the steps that electronic equipment receives any target sound signal collected by microphone equipment and extracts target sound characteristics of the target sound signal;
the electronic equipment judges whether the target sound characteristics are matched with any preset sample sound characteristics, if so, a target user identity corresponding to the sample sound characteristics is searched, the target user identity is one of at least two preset user identities, and the at least two preset user identities comprise user identities corresponding to the user identity information;
and the electronic equipment adjusts the current reverberation scheme to be the user reverberation scheme corresponding to the target user identity.
2. The reverberation adjustment method of claim 1, wherein if the target sound characteristic does not match the sample sound characteristic, the method further comprises:
the electronic device adjusts a current reverberation scheme to a default reverberation scheme that is different from all reverberation schemes corresponding to the at least two user identities.
3. The reverberation adjustment method according to claim 1, wherein after the electronic device detects an identity setting instruction, the method further comprises:
the electronic equipment judges whether communication connection is established between the electronic equipment and the microphone equipment;
if the communication connection between the electronic equipment and the microphone equipment is established, the electronic equipment sends a playing instruction to the microphone equipment so as to enable the microphone equipment to play test sound content;
the electronic equipment detects whether a feedback instruction is received, wherein the feedback instruction is sent by the microphone equipment when the test sound content is played;
and if the feedback instruction is detected, the electronic equipment executes the user voice signal acquired by the microphone equipment according to the identity setting instruction, and extracts the user voice feature of the user voice signal.
4. The reverberation adjustment method of claim 3, wherein if the communication connection is not established between the electronic device and the microphone device, the method further comprises:
the electronic equipment outputs prompt information, and the prompt information is used for prompting a user to establish the communication connection between the electronic equipment and the microphone equipment;
the electronic equipment detects a communication connection instruction input by a user aiming at the prompt information, and establishes the communication connection between the electronic equipment and the microphone equipment according to the communication connection instruction;
and the electronic equipment executes the playing instruction sent to the microphone equipment so as to enable the microphone equipment to play the test sound content.
5. An electronic device, comprising:
the first detection unit is used for starting a front camera which is positioned on the same side with a screen of the electronic equipment to collect a face image and determining user identity information carried by an identity setting instruction according to identity characteristics recognized from the face image;
the extracting unit is used for receiving the user voice signals collected by the microphone equipment according to the identity setting instruction and extracting the user voice characteristics of the user voice signals;
the storage unit is used for storing the user voice characteristics as sample voice characteristics corresponding to any user identity;
the extraction unit is also used for receiving any target sound signal collected by the microphone equipment and extracting the target sound characteristic of the target sound signal;
the first judging unit is used for judging whether the target sound characteristics are matched with any preset sample sound characteristics;
the searching unit is used for searching a target user identity corresponding to the sample sound feature when the first judging unit judges that the target sound feature is matched with the sample sound feature, wherein the target user identity is one of at least two preset user identities, and the at least two preset user identities comprise user identities corresponding to the user identity information;
and the adjusting unit is used for adjusting the current reverberation scheme to the user reverberation scheme corresponding to the target user identity.
6. The electronic device of claim 5, wherein:
the adjusting unit is further configured to adjust a current reverberation scheme to a default reverberation scheme when the first determining unit determines that the target sound characteristic does not match the sample sound characteristic, where the default reverberation scheme is different from all reverberation schemes corresponding to the at least two user identities.
7. The electronic device of claim 5, further comprising:
a second determination unit, configured to determine whether a communication connection has been established between the electronic device and the microphone device after the first detection unit detects the identity setting instruction;
a sending unit, configured to send a playing instruction to the microphone device when the second determining unit determines that the communication connection between the electronic device and the microphone device is established, so that the microphone device plays the test sound content;
a second detecting unit, configured to detect whether a feedback instruction is received, where the feedback instruction is sent by the microphone device when the test sound content is played;
the mode that the extracting unit receives the user voice signal collected by the microphone device according to the identity setting instruction and extracts the user voice feature of the user voice signal is specifically as follows:
and after the second detection unit detects the feedback instruction, the extraction unit receives the user voice signal acquired by the microphone device according to the identity setting instruction and extracts the user voice feature of the user voice signal.
8. The electronic device of claim 7, further comprising:
an output unit, configured to output prompt information when the second determination unit determines that the communication connection between the electronic device and the microphone device is not established, where the prompt information is used to prompt a user to establish the communication connection between the electronic device and the microphone device;
the third detection unit is used for detecting a communication connection instruction input by a user aiming at the prompt information;
an establishing unit, configured to establish the communication connection between the electronic device and the microphone device according to the communication connection instruction;
the sending unit is further configured to send a playing instruction to the microphone device after the establishing unit establishes the communication connection between the electronic device and the microphone device, so that the microphone device plays the test sound content.
9. An electronic device, comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform the reverberation adjustment method of any of the claims 1-4.
10. A computer-readable storage medium, characterized in that it stores a computer program, wherein the computer program causes a computer to execute the reverberation adjustment method of any one of claims 1-4.
CN201711191021.6A 2017-11-24 2017-11-24 Reverberation adjusting method and electronic equipment Active CN107977187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711191021.6A CN107977187B (en) 2017-11-24 2017-11-24 Reverberation adjusting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711191021.6A CN107977187B (en) 2017-11-24 2017-11-24 Reverberation adjusting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN107977187A CN107977187A (en) 2018-05-01
CN107977187B true CN107977187B (en) 2021-03-30

Family

ID=62011511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711191021.6A Active CN107977187B (en) 2017-11-24 2017-11-24 Reverberation adjusting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN107977187B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086448B (en) * 2018-08-20 2021-04-30 广东小天才科技有限公司 Voice question searching method based on gender characteristic information and family education equipment
CN109243413B (en) * 2018-09-25 2023-02-10 Oppo广东移动通信有限公司 3D sound effect processing method and related product
CN109448735B (en) * 2018-12-21 2022-05-20 深圳创维-Rgb电子有限公司 Method and device for adjusting video parameters based on voiceprint recognition and read storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102013252A (en) * 2010-10-27 2011-04-13 华为终端有限公司 Sound effect adjusting method and sound playing device
US20130028443A1 (en) * 2011-07-28 2013-01-31 Apple Inc. Devices with enhanced audio
US9933991B2 (en) * 2015-03-10 2018-04-03 Harman International Industries, Limited Remote controlled digital audio mixing system
US10515615B2 (en) * 2015-08-20 2019-12-24 Roy ELKINS Systems and methods for visual image audio composition based on user input
CN105827825A (en) * 2016-02-29 2016-08-03 维沃移动通信有限公司 Audio data processing method and mobile terminal
CN105872688A (en) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 Voice control method and device of smart television

Also Published As

Publication number Publication date
CN107977187A (en) 2018-05-01

Similar Documents

Publication Publication Date Title
US9767795B2 (en) Speech recognition processing device, speech recognition processing method and display device
CN105190746B (en) Method and apparatus for detecting target keyword
CN112074900B (en) Audio analysis for natural language processing
EP3210205B1 (en) Sound sample verification for generating sound detection model
CN107172256B (en) Earphone call self-adaptive adjustment method and device, mobile terminal and storage medium
US9564119B2 (en) Voice converting apparatus and method for converting user voice thereof
KR20170032096A (en) Electronic Device, Driving Methdo of Electronic Device, Voice Recognition Apparatus, Driving Method of Voice Recognition Apparatus, and Computer Readable Recording Medium
EP3350804B1 (en) Collaborative audio processing
CN107977187B (en) Reverberation adjusting method and electronic equipment
US11848029B2 (en) Method and device for detecting audio signal, and storage medium
CN110335593A (en) Sound end detecting method, device, equipment and storage medium
CN111161746B (en) Voiceprint registration method and system
WO2014173325A1 (en) Gutturophony recognition method and device
US11437022B2 (en) Performing speaker change detection and speaker recognition on a trigger phrase
CN108322770B (en) Video program identification method, related device, equipment and system
CN110910876A (en) Article sound searching device and control method, and voice control setting method and system
CN111835522A (en) Audio processing method and device
CN107533415B (en) Voiceprint detection method and device
CN108600559B (en) Control method and device of mute mode, storage medium and electronic equipment
KR20190119521A (en) Electronic apparatus and operation method thereof
CN110931019B (en) Public security voice data acquisition method, device, equipment and computer storage medium
JP2003241788A (en) Device and system for speech recognition
CN109271480B (en) Voice question searching method and electronic equipment
CN113259826B (en) Method and device for realizing hearing aid in electronic terminal
CN110197663B (en) Control method and device and electronic equipment

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