Pickup method, pickup device and storage medium
By acquiring the target signal in the sound pickup device and using the processor to control the sound pickup of the microphone array, the problem of adding hardware or software to traditional equipment is solved, the design of the sound pickup device is simplified and the cost is reduced, and the user experience is improved.
Patent Information
- Application Number
- CN202410821897.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-10-29
AI Technical Summary
Traditional sound pickup equipment needs to add additional hardware or software when switching the pickup mode and pickup direction of the microphone array, which leads to an increase in the complexity of the device structure, an increase in cost, and inconvenience for users to operate.
The target signal is obtained through the microphone array, and the processor is used to control the pickup mode and pickup direction based on these signals, enabling the design of pickup equipment without additional hardware and software, simplifying the device structure and reducing development, manufacturing and maintenance costs.
It enables flexible switching of the pickup mode and pickup direction of the microphone array without adding hardware and software, simplifying the device structure, reducing development, manufacturing and maintenance costs, and improving user experience.
Smart Images

Figure CN118870239A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of audio signal processing, and in particular to a sound pickup method, a sound pickup device and a storage medium. Background Art
[0002] A microphone array is a sound pickup system composed of multiple microphones. It can achieve high-quality sound pickup by combining different microphones. At present, sound pickup devices containing microphone arrays are widely used in office meetings, smart cockpits, voice recognition, smart homes, monitoring systems and other scenarios.
[0003] In some usage scenarios, such as office meeting scenarios, in order to avoid interference from multiple sound sources, the microphone array needs to pick up sound in a specified direction and be able to flexibly switch the pickup direction. This requires the pickup device to be able to flexibly switch the pickup mode (for example, switch to directional pickup) and pickup direction of the microphone array. Among them, directional pickup means that the microphone array concentrates on picking up sound in a specific direction, thereby reducing the interference of ambient noise and improving the quality of pickup. Switching the pickup direction means dynamically adjusting the pickup direction of the microphone array according to actual needs so as to pick up sound in different directions.
[0004] Traditional sound pickup devices need to add additional hardware or software to achieve the above functions. For example, adding buttons or knobs for switching the pickup mode and pickup direction to the sound pickup device, or developing supporting software for the sound pickup device to switch the pickup mode and pickup direction through software. This design not only increases the structural complexity of the device, but also significantly increases the manufacturing and maintenance costs. Summary of the invention
[0005] The embodiments of the present disclosure provide a sound pickup method, a sound pickup device and a storage medium, which can enable the sound pickup device to control the sound pickup of a microphone array without adding additional hardware and software, making the structure of the sound pickup device simpler and reducing the development, manufacturing and maintenance costs of the sound pickup device.
[0006] According to a first aspect of the present disclosure, a sound pickup method is provided, the method comprising: acquiring N target signals through a microphone array, wherein the microphone array comprises multiple microphones, the N target signals come from at least one microphone in the microphone array, and N is greater than or equal to 1; and controlling the sound pickup of the microphone array based on the N target signals.
[0007] The sound pickup method provided by the embodiment of the present disclosure enables the sound pickup device to control the sound pickup of the microphone array without adding additional hardware and software, such as switching the sound pickup mode and sound pickup direction of the microphone array, thereby making the structure of the sound pickup device simpler and reducing the development, manufacturing and maintenance costs of the sound pickup device.
[0008] According to a second aspect of the present disclosure, a sound pickup device is provided, which includes: a signal acquisition module, configured to acquire N target signals through a microphone array, wherein the microphone array includes multiple microphones, the N target signals come from at least one microphone in the microphone array, and N is a positive integer greater than or equal to 1; and a signal processing module, configured to control the sound pickup of the microphone array based on the N target signals.
[0009] According to a third aspect of the present disclosure, a sound pickup device is provided, which includes a microphone array, a processor and a memory, wherein the microphone array is used to obtain microphone signals, and a computer program is stored in the memory. When the computer program in the memory is executed by the processor, the sound pickup device implements the sound pickup method of the first aspect.
[0010] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and the computer program is used to execute the sound pickup method according to the first aspect.
[0011] The technical solution provided by the embodiments of the present disclosure enables the sound pickup device to control the sound pickup of the microphone array without adding additional hardware and software, such as switching the sound pickup mode and sound pickup direction of the microphone array, thereby making the structure of the sound pickup device simpler and reducing the development, manufacturing and maintenance costs of the sound pickup device. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the drawings, the same reference numerals generally represent the same components or steps.
[0013] Figure 1 is a structural schematic diagram of a sound pickup device shown in an exemplary embodiment of the present disclosure;
[0014] Figure 2 is a schematic diagram of a sound pickup direction shown in an exemplary embodiment of the present disclosure;
[0015] Figure 3 is a structural schematic diagram of a sound pickup device provided by an exemplary embodiment of the present disclosure;
[0016] Figure 4 is a flow chart of a sound pickup method provided by an exemplary embodiment of the present disclosure;
[0017] Figure 5 is a schematic diagram of a user issuing a first instruction provided by an exemplary embodiment of the present disclosure;
[0018] Figure 6 is another schematic diagram of a user issuing a first instruction provided by an exemplary embodiment of the present disclosure;
[0019] Figure 7 is a flowchart of controlling sound pickup by a microphone array provided by an exemplary embodiment of the present disclosure;
[0020] Figure 8 is a first example diagram of determining a target microphone provided by an exemplary embodiment of the present disclosure;
[0021] Fig. 9 is a second example diagram of determining a target microphone provided by an exemplary embodiment of the present disclosure;
[0022] Fig.10 is a third example diagram of determining a target microphone provided by an exemplary embodiment of the present disclosure;
[0023] Fig.11 is a fourth example diagram of determining a target microphone provided by an exemplary embodiment of the present disclosure;
[0024] Fig.12 is a fifth example diagram of determining a target microphone provided by an exemplary embodiment of the present disclosure;
[0025] Fig.13 is a sixth example diagram of determining a target microphone provided by an exemplary embodiment of the present disclosure;
[0026] Fig.14 is a first schematic diagram of a target signal provided by an exemplary embodiment of the present disclosure;
[0027] Fig.15 is a second schematic diagram of a target signal provided by an exemplary embodiment of the present disclosure;
[0028] Fig.16 is a third schematic diagram of a target signal provided by an exemplary embodiment of the present disclosure;
[0029] Fig.17 is a schematic diagram of a sound pickup device provided by an exemplary embodiment of the present disclosure;
[0030] Fig.18 It is a structural block diagram of a conference system provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0031] Below, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described here.
[0032] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
[0033] Before describing the embodiments of the present disclosure in detail, the nouns and terms involved in the embodiments of the present disclosure are described first. The nouns and terms involved in the embodiments of the present disclosure are subject to the following interpretations.
[0034] Microphone array: a sound pickup system composed of multiple microphones. The microphone array includes multiple microphones located at different positions. The microphone array can use the combination of multiple microphones at different positions to pick up one or more sound sources to achieve high-quality sound pickup.
[0035] Sound pickup device: a device used to collect and process sound signals. Sound pickup devices can be composed of one or more microphones (such as microphone arrays) and related processing circuits. Among them, one or more microphones are used to capture sound signals, and the processing circuit is used to process the sound signals captured by the microphones to achieve functions such as filtering, amplification, and transmission. At present, sound pickup devices are widely used in office meetings, voice recognition, smart homes, monitoring systems and other scenarios.
[0036] It should be noted here that, for a sound pickup device including a microphone array, the sound pickup direction of the microphone array can also be referred to as the sound pickup direction of the sound pickup device, and the sound pickup pattern of the microphone array can also be referred to as the sound pickup pattern of the sound pickup device.
[0037] In the embodiments of the present disclosure, the sound pickup device may include various forms, may be installed in different positions, and may be applied to various scenarios.
[0038] In one example, the sound pickup device may be a conference device including a microphone array, such as a desktop conference device installed on a desktop.
[0039] In one example, the sound pickup device may be a video conferencing terminal including a microphone array.
[0040] In one example, the sound pickup device may be a smart home device including a microphone array, such as a smart speaker, a smart camera, etc.
[0041] In one example, the sound pickup device may be a vehicle-mounted device including a microphone array, such as a vehicle-mounted microphone array system.
[0042] In one example, the sound pickup device may be a security monitoring device including a microphone array, such as a surveillance camera.
[0043] It should be noted that in the field of audio equipment, "a sound pickup device including a microphone array" is sometimes referred to as a "microphone array". Therefore, the "microphone array" referred to by relevant technicians can be a sound pickup device in any form in the above examples. Those skilled in the art can understand the specific meaning of the "microphone array" according to the specific form of the device, and the embodiments of the present disclosure do not limit this.
[0044] In one example, when the sound pickup device includes a microphone array, the sound pickup device can adopt technologies such as beamforming to pick up sound in one or more specific directions and shield or suppress sound signals in other directions to achieve the function of directional sound pickup.
[0045] Beam forming: Also known as beamforming, in the sound pickup scenario, beam forming means adjusting the weights and delays of each microphone in the microphone array and combining it with a noise suppression algorithm to make the microphone array more sensitive in a specific direction, thereby enhancing the sound signal in that direction while suppressing noise in other directions.
[0046] Application Overview
[0047] In some usage scenarios, such as office meeting scenarios, in order to avoid interference from multiple sound sources, the microphone array of the sound pickup device needs to pick up sound in a specified direction and be able to flexibly switch the sound pickup direction. This requires the sound pickup device to have the function of switching the sound pickup mode and sound pickup direction of the microphone array.
[0048] For example, in an office meeting scenario, multiple participants are distributed in different directions of the sound pickup device. When participant A speaks, the microphone array needs to pick up sound in the direction of participant A to avoid noise interference from other directions; when participant B speaks, the pickup direction of the microphone array needs to be switched to the direction of participant B.
[0049] Figure 1 It is a structural schematic diagram of a sound pickup device shown in an exemplary embodiment of the present disclosure.
[0050] like Figure 1As shown, taking the sound pickup device as a desktop microphone array system used in an office meeting scene as an example, the sound pickup device 100 may include a housing 110 and multiple microphones, for example, including 8 microphones, namely microphone 1, microphone 2, microphone 3, microphone 4, microphone 5, microphone 6, microphone 7 and microphone 8, and the multiple microphones are located in the housing 110 and distributed at different positions of the sound pickup device to form a microphone array. Among them, the bodies of the multiple microphones can be arranged in the housing 110, and each microphone is provided with a hole for picking up sound on the housing 110, namely a sound pickup hole 120. In this way, the external sound can be transmitted to the diaphragm or sensor of the microphone through the sound pickup hole 120, and then converted into an electrical signal.
[0051] In the embodiments of the present disclosure, the multiple microphones of the sound pickup device can be distributed in a variety of ways. In one example, the multiple microphones can be distributed in a ring shape, such as a circular array, and the center angle α between two adjacent microphones can be equal or unequal. For example, Figure 1 As shown, when the number of microphones is 8, the 8 microphones are distributed in an equiangular circular array, and the center angle between two adjacent microphones is 45 degrees. In another example, the multiple microphones may also be distributed in a rectangular array, or the multiple microphones may also be distributed in other ways. The embodiment of the present disclosure does not limit the distribution of the multiple microphones.
[0052] In the microphone array, the distribution positions of the microphones are different, and each microphone may have its corresponding sound pickup direction. Figure 2 FIG. 1 is a schematic diagram of a sound pickup direction shown in an exemplary embodiment of the present disclosure. Figure 2 As shown, taking the microphone array including 8 microphones, and the 8 microphones are distributed in a circular array as an example, the directions within a certain angle on the left and right sides of each microphone are the pickup directions of the microphone, that is, the pickup direction of each microphone has a certain angle range. Exemplarily, since a circle is 360°, then, when the microphone array includes 8 microphones, the angle range corresponding to the pickup direction of each microphone can be 45°, that is, 360° / 8. Then, for any microphone, its pickup direction can be a direction within 22.5° on the left and right sides of the microphone. Each microphone is located at the center of its pickup direction. Similarly, if the microphone array includes 6 microphones, the pickup direction of each microphone is the direction within 30° on its left and right sides. The embodiment of the present disclosure does not specifically limit the method of defining the pickup direction.
[0053] In one implementation, in order to enable the sound pickup device to have the function of switching the sound pickup mode and the sound pickup direction of the microphone array, the sound pickup device may further include at least one button or knob.
[0054] Taking adding a button to the sound pickup device as an example, the button can be a mechanical button or a non-mechanical button. For example, a mechanical button can be a button including a micro switch, a membrane switch, a soft glue switch, a metal dome, etc., and a non-mechanical button can be, for example, a capacitive button, an inductive button, a pressure-sensitive button, etc. The number of buttons can be one or more. For example, a button can be set for each microphone, or only one button can be set. Among them, each button can be set adjacent to its corresponding microphone, or set at other positions of the sound pickup device, and the implementation of the present disclosure does not limit this.
[0055] In this way, the user can switch the pickup mode and pickup direction of the microphone array by pressing a button. For example, taking each microphone as an example, if the user wants the microphone array to pick up sound in the direction where microphone 1 is located, the user can press the button corresponding to microphone 1, so that the pickup device can control the microphone array to pick up sound in the direction where microphone 1 is located. Next, if the user wants the microphone array to pick up sound in the direction where microphone 3 is located, the user can press the button corresponding to microphone 3, so that the pickup device can switch the pickup direction of the microphone array to the direction where microphone 3 is located.
[0056] It is understandable that adding buttons or knobs to the sound pickup device will make the structure of the sound pickup device more complicated, and the sound pickup device also needs to be equipped with an additional circuit for transmitting button or knob signals, which increases the hardware cost of the sound pickup device. In addition, if the user is not familiar with the button function, the user may accidentally press the button, causing the function of switching the sound pickup direction to be accidentally triggered, thereby reducing the user experience.
[0057] In one implementation, in order to enable the sound pickup device to have the function of switching the sound pickup mode and sound pickup direction of the microphone array, supporting control software can also be developed for the sound pickup device.
[0058] For example, the control software can be installed in electronic devices such as personal computers, mobile phones, and tablet computers. In this way, the user can use the electronic device to perform preset control operations in the control software, so that the electronic device sends a control signal to the sound pickup device, and the sound pickup device can switch the sound pickup mode and sound pickup direction of the microphone array based on the received control signal.
[0059] It is understandable that developing supporting control software for the sound pickup device will significantly increase the development cost and maintenance cost of the sound pickup device. In addition, in order for the sound pickup device to receive the control signal sent by the electronic device, it is also necessary to add relevant hardware for communicating with the electronic device and circuits for processing the control signal in the sound pickup device. However, this not only makes the structure of the sound pickup device more complicated, but also increases the hardware cost of the sound pickup device. For example, if wireless communication between the sound pickup device and the electronic device is to be achieved, it is necessary to add wireless communication modules such as wireless fidelity (Wi-Fi) modules and Bluetooth modules to the sound pickup device; if wired communication between the sound pickup device and the electronic device is to be achieved, then the communication cable between the sound pickup device and the electronic device must not only have the ability to transmit sound signals, but also the ability to transmit control signals, that is, it is necessary to use cables with more complex structures.
[0060] It can be seen that in order to achieve the function of switching the pickup mode and pickup direction of the microphone array, the traditional sound pickup device needs to add additional hardware or software, which not only increases the structural complexity of the sound pickup device, but also significantly increases the development, manufacturing and maintenance costs.
[0061] In order to solve the above technical problems, an embodiment of the present disclosure provides a sound pickup method, which can enable a sound pickup device to control the sound pickup of a microphone array without adding additional hardware and software, such as switching the sound pickup mode and sound pickup direction of the microphone array, thereby making the structure of the sound pickup device simpler and reducing the development, manufacturing and maintenance costs of the sound pickup device.
[0062] Exemplary Hardware Devices
[0063] Figure 3 It is a schematic diagram of the structure of a sound pickup device provided by an exemplary embodiment of the present disclosure.
[0064] like Figure 3 As shown, the sound pickup device 130 can be applied to any form of sound pickup device. The sound pickup device 130 can implement the sound pickup method provided by the embodiment of the present disclosure, so that the sound pickup device has the function of switching the sound pickup mode and sound pickup direction of the microphone array without adding additional hardware and software. Figure 3 As shown, the sound pickup device 130 may include a microphone array 131, an analog-to-digital converter 132, a memory 133, a processor 134, and an encoder 135. Among them:
[0065] The microphone array 131 includes a plurality of microphones, which may be distributed at different locations. The microphones may sense sound waves and vibrations in the environment and generate corresponding electrical signals, such as current signals or voltage signals. The waveform of the electrical signal corresponds to the waveform of the sound wave or vibration; the amplitude of the electrical signal, such as the amplitude of the current or the amplitude of the voltage, corresponds to the amplitude of the sound wave or vibration.
[0066] In the embodiments of the present disclosure, the microphone may be, for example, a dynamic microphone, a condenser microphone, an electret microphone, a piezoelectric microphone, a micro-electro-mechanical systems microphone (MEMS), etc. The embodiments of the present disclosure do not specifically limit the type of microphone.
[0067] Multiple microphones can be arranged at different positions of the sound pickup device 130 in a certain manner. In one example, the multiple microphones can be distributed in a ring shape, such as a circular array, and the center angles between two adjacent microphones can be equal or unequal. In another example, the multiple microphones can also be distributed in a rectangular array, or the multiple microphones can also be distributed in other ways. The embodiments of the present disclosure do not limit the distribution of the multiple microphones.
[0068] The input end of the analog-to-digital converter 132 (ADC) is communicatively connected to the microphone array 131. In the embodiment of the present disclosure, the electrical signal generated by the microphone may be an analog signal, such as an analog audio signal. In this case, the analog-to-digital converter 132 is used to perform analog-to-digital conversion on the analog signal generated by the microphone to obtain a corresponding digital signal, such as a digital audio signal, for subsequent processing. The analog-to-digital conversion may be achieved by sampling, quantizing or encoding the analog signal, which is not limited in the embodiment of the present disclosure.
[0069] In one implementation, the analog-to-digital converter 132 may receive electrical signals from multiple microphones of the microphone array 131. In a specific implementation, the analog-to-digital converter 132 may include multiple analog-to-digital conversion units, each of which includes an input terminal and an output terminal, wherein the number of analog-to-digital conversion units may be the same as the number of microphones in the microphone array 131. Exemplarily, if the microphone array 131 includes 8 microphones, the number of analog-to-digital conversion units may be 8. The multiple input terminals of the multiple analog-to-digital conversion units are electrically connected to the multiple microphones in the microphone array 131 in a one-to-one correspondence, so that each analog-to-digital conversion unit is used to receive an analog signal from one of the microphones, perform analog-to-digital conversion on the received analog signal, obtain a corresponding digital signal, and output the digital signal at its output terminal.
[0070] In another implementation, the analog-to-digital converter 132 may have the ability to process multiple signals simultaneously, so that one analog-to-digital converter 132 may be used to perform analog-to-digital conversion on the electrical signals generated by multiple microphones in the microphone array 131. In a specific implementation, the analog-to-digital converter 132 may include multiple input terminals, wherein the number of input terminals of the analog-to-digital converter 132 may be the same as the number of microphones in the microphone array 131. For example, if the microphone array 131 includes 8 microphones, then the analog-to-digital converter 132 may include 8 input terminals. The multiple input terminals of the analog-to-digital converter 132 are electrically connected to the multiple microphones in the microphone array 131 in a one-to-one correspondence, so that the analog-to-digital converter 132 can receive analog signals from multiple microphones, and perform analog-to-digital conversion on the received analog signals to obtain corresponding multiple digital signals. The analog-to-digital converter 132 may include one or more output terminals, that is, the multiple digital signals obtained by the analog-to-digital converter 132 may be output through one output terminal, or may be output through multiple output terminals respectively, which is not limited in the embodiments of the present disclosure.
[0071] The memory 133 is connected to the analog-to-digital converter 132 in communication. The memory 133 is used to receive the digital signal from the analog-to-digital converter 132 (or the analog-to-digital conversion unit), and store the digital signal output by the analog-to-digital converter 132 (or the analog-to-digital conversion unit) for subsequent processing. In the embodiment of the present disclosure, the memory 133 can be, for example, a random access memory (RAM), such as a dynamic random access memory (DRAM) or a static random access memory (SRAM). Among them, the dynamic random access memory includes but is not limited to double data rate (DDR), synchronous dynamic random access memory (SDRAM), etc.; the static random access memory includes but is not limited to asynchronous static random access memory Asynchronous SRAM, synchronous static random access memory Synchronous SRAM, non-volatile static random access memory (Non-Volatile SRAM, nvSRAM), etc. The embodiment of the present disclosure does not specifically limit the type of the memory 133.
[0072] In one implementation, the memory 133 and the analog-to-digital converter 132 may be connected via a bus. For example, the memory 133 and the analog-to-digital converter 132 may be connected via an integrated circuit built-in audio bus (inter-ic sound, I 2 S) connection, or it can be connected through other buses, which is not limited in the embodiments of the present disclosure.
[0073] In one implementation, the microphone array 131 may also integrate an analog-to-digital converter 132 , so that the microphone array 131 can directly output digital signals, and an additional independent analog-to-digital converter 132 is no longer needed.
[0074] It should be noted here that in the embodiment of the present disclosure, the analog signal is the electrical signal directly output by the microphone, and the digital signal is the electrical signal obtained by performing analog-to-digital conversion on the analog signal in order to facilitate signal processing. In other words, the analog signal is the analog form of the electrical signal acquired by the microphone, and the digital signal is the digital form of the electrical signal acquired by the microphone.
[0075] Therefore, for the convenience of description, the embodiments of the present disclosure will no longer distinguish between the analog form and the digital form of the electrical signal acquired by the microphone, and will all be referred to as microphone signals.
[0076] The processor 134 is in communication with the memory 133. The processor 134 can access the memory 133 and process the microphone signals from each microphone in the memory 133, for example:
[0077] Noise reduction processing: Call the noise reduction algorithm to reduce the ambient noise in the signal and improve the clarity of the audio.
[0078] Echo Cancellation: Eliminates echo caused by feedback between the speaker and microphone.
[0079] Gain control: Adjust the gain of the signal to ensure that the volume picked up by the sound device is stable.
[0080] Equalizer processing: adjust the signal gain of different frequency bands to improve the pickup quality.
[0081] Dynamic range compression: Reduce the dynamic range of a signal to make it suitable for subsequent processing and transmission.
[0082] Speech recognition: Identify specific trigger words in the signal and perform corresponding speech recognition functions.
[0083] In the embodiment of the present disclosure, the processor 134 may be a central processing unit (CPU), a digital signal processor (DSP), a microcontroller unit (MCU) or other audio processor. The processor 134 and the memory 133 may be connected via a bus, such as a DDR memory interface communication connection, an SRAM interface communication connection or an I 2 S bus communication connection, etc. The embodiment of the present disclosure does not limit the form of the processor 134 and the communication connection method between the processor 134 and the memory 133.
[0084] In the embodiment of the present disclosure, the switchable pickup modes of the microphone array 131 include at least directional pickup and omnidirectional pickup, wherein directional pickup may include picking up sound in a specified direction or picking up sound in multiple specified directions. The switchable pickup direction of the microphone may be the pickup direction corresponding to any one or more microphones. The switchable pickup modes and pickup directions of the microphone array 131 may be flexibly configured based on actual needs, and the embodiment of the present disclosure does not limit this.
[0085] In one implementation, the processor 134 may call different audio processing algorithms to process the acquired microphone signals to achieve different pickup modes or different pickup directions. Taking directional pickup in the direction of the microphone 8 as an example, the processor 134 may call a beamforming algorithm and a filtering algorithm to process the acquired microphone signals, enhance the sound in the direction of the microphone 8, and shield the sound in other directions, thereby achieving directional pickup in the direction of the microphone 8.
[0086] In the embodiment of the present disclosure, after the processor 134 processes the microphone signal, a first audio stream to be encoded may be obtained, and the first audio stream may be, for example, an audio stream with directional audio enhancement, an audio stream with human voice enhancement, or other audio streams, depending on the current sound pickup mode and sound pickup direction of the microphone array 131. The processor 134 may store the first audio stream in the memory 133 for the encoder 135 to read and perform subsequent processing.
[0087] The encoder 135 is used to encode the first audio stream for subsequent transmission and / or data compression. Exemplarily, the encoder 135 can encode the first audio stream into a pulse code modulation (PCM) format, an advanced audio coding (AAC) format, or other formats, which is not limited in the embodiments of the present disclosure.
[0088] It should be noted that, in the embodiment of the present disclosure, the encoder 135 may be a hardware encoder or a software encoder. When the encoder 135 is a hardware encoder, the hardware encoder may be an independent encoder, in which case the encoder 135 may be connected to the memory 133 for communication. In addition, the hardware encoder may also be an encoder integrated in the processor 134. When the encoder 135 is a software encoder, the software encoder may be run by the processor 134. The embodiment of the present disclosure does not limit the form of the encoder 135.
[0089] After the encoder 135 encodes the first audio stream, the sound pickup device 130 may send the encoded audio stream to other devices, such as a computer, a mobile phone, a network side, etc., for subsequent processing and transmission.
[0090] In some embodiments, the sound pickup device 130 may also have an audio playback function. Accordingly, the sound pickup device 130 may also include a decoder 136, a power amplifier module 137 and a speaker 138.
[0091] The decoder 136 can decode the encoded audio stream from other devices, such as a computer, a mobile phone, a network side, etc., to obtain a second audio stream, and store the second audio stream in the memory 133. The second audio stream is the audio stream to be played.
[0092] It should be noted that, in the embodiment of the present disclosure, the decoder 136 may be a hardware decoder or a software decoder. When the decoder 136 is a hardware decoder, the hardware decoder may be an independent decoder, in which case the decoder 136 may be connected to the memory 133 for communication. In addition, the hardware decoder may also be a decoder integrated in the processor 134. When the decoder 136 is a software decoder, the software decoder may be run by the processor 134. The embodiment of the present disclosure does not limit the form of the decoder 136.
[0093] The power amplification module 137 is in communication with the memory 133 and the speaker 138. The power amplification module 137 can perform digital-to-analog conversion and power amplification on the second audio stream to drive the speaker 138 to emit sound.
[0094] In one implementation, the power amplifier module 137 may include a digital-to-analog converter (ADC) and a power amplifier (PA). The ADC is used to perform analog-to-digital conversion on the second audio stream to obtain a corresponding analog signal. The power amplifier is used to perform power amplification on the analog signal corresponding to the second audio stream to generate sufficient current and voltage to drive the speaker 138 to produce sound.
[0095] In one embodiment, the processor 134 may control the sound pickup of the microphone array 131 based on at least one microphone signal, for example, switching the sound pickup pattern of the microphone array 131 or switching the sound pickup direction of the microphone array 131 .
[0096] In one implementation, the memory 133 stores computer program instructions, and when the computer program instructions in the memory 133 are executed by the processor 134, the processor 134 performs the sound pickup method provided by the embodiment of the present disclosure. For example, the processor 134 can determine whether N target signals are acquired through the microphone array 131. If N target signals are acquired, the processor 134 can control the sound pickup of the microphone array 131 based on the N target signals. Where N is greater than or equal to 1, and the N target signals can come from at least one microphone in the microphone array 131.
[0097] In one implementation, the target signal may be a microphone signal generated by a microphone that meets certain characteristics. The target signal may be generated by a first indication of a user. The first indication may be any indication issued independently of a key, a knob or software.
[0098] Exemplarily, the first indication may be a user touching the microphone, a user covering the microphone, a user's hand approaching the microphone, a user's hand tapping the microphone or near the microphone, etc. In other words, the target signal may be a signal generated by the microphone when the user touches the microphone; may be a signal generated by the microphone when the user covers the microphone; may be a signal generated by the microphone when the user's hand approaches the microphone; may be a signal generated by the microphone when the user's hand taps near the microphone, etc. The disclosed embodiments do not limit the user's indication method.
[0099] The technical solution provided by the embodiment of the present disclosure utilizes N target signals acquired through the microphone array 131 to control the sound pickup of the microphone array 131, such as switching the sound pickup mode and the sound pickup direction of the microphone array 131. In this way, the sound pickup device does not need to be provided with hardware and software for controlling the sound pickup of the microphone array 131, thereby making the structure of the sound pickup device simpler and reducing the development, manufacturing and maintenance costs of the sound pickup device.
[0100] Exemplary Methods
[0101] The present disclosure provides a sound pickup method. Figure 3 The sound pickup device shown in the figure can also be implemented based on other sound pickup devices. The specific steps of a sound pickup method provided by the embodiment of the present disclosure are exemplarily described below in conjunction with the accompanying drawings.
[0102] Figure 4 is a flow chart of a sound pickup method provided by an exemplary embodiment of the present disclosure.
[0103] like Figure 4 As shown, in one embodiment, the sound pickup method may include the following steps:
[0104] Step S101: acquiring N target signals through a microphone array, where N is greater than or equal to 1.
[0105] In one implementation, the target signal may be a microphone signal that meets certain characteristics (eg, target characteristics), and the N target signals may come from at least one microphone in the microphone array.
[0106] Exemplarily, the N target signals may come from the same microphone in the microphone array, for example, N=3, and the three target signals all come from microphone 1 .
[0107] Exemplarily, the N target signals may come from multiple microphones in a microphone array.
[0108] For example, N target signals may come from L microphones in a microphone array, where L is greater than 1, and L may be equal to N or may not be equal to N.
[0109] Assuming L is equal to N, for example, N=L=4, four target signals may come from four microphones, for example: microphone 1, microphone 2, microphone 3, and microphone 4.
[0110] Taking L not equal to N, such as N=4, L=3 as an example, 4 target signals may come from 3 microphones, for example, 2 target signals come from microphone 1, 1 target signal comes from microphone 2, and another target signal comes from microphone 3.
[0111] In one implementation, N signals may be generated by M first indications, where M is greater than or equal to 1, and M may be equal to N or may not be equal to N. Each first indication is used to cause one of the microphones in the microphone array to generate at least one target signal.
[0112] Exemplarily, taking M equal to N, for example, M=N=4, the first indication 1 can make microphone 1 generate 1 target signal, the first indication 2 can make microphone 2 generate 1 target signal, the first indication 3 can make microphone 3 generate 1 target signal, and the first indication 4 can make microphone 4 generate 1 target signal.
[0113] Exemplarily, taking M equal to N, for example, M=N=4, the first indication 1 can make microphone 1 generate a target signal, the first indication 2 can also make microphone 1 generate a target signal, the first indication 3 can also make microphone 1 generate a target signal, and the first indication 4 can make microphone 4 generate a target signal.
[0114] That is, each first indication may cause one of the microphones in the microphone array to generate a target signal, and multiple first indications may cause the same microphone in the microphone array to generate multiple target signals.
[0115] Exemplarily, taking M not equal to N, for example, M=3, N=4, the first indication 1 can make microphone 1 generate 2 target signals, the first indication 2 can make microphone 2 generate 1 target signal, and the first indication 3 can make microphone 3 generate 1 target signal.
[0116] Exemplarily, taking M not equal to N, such as M=3, N=4 as an example, the first indication 1 can make microphone 1 generate 2 target signals, the first indication 2 can make microphone 1 generate 1 target signal, and the first indication 3 can make microphone 1 generate 1 target signal.
[0117] That is, each first indication may cause one of the microphones in the microphone array to generate one target signal, or each first indication may cause one of the microphones in the microphone array to generate multiple target signals.
[0118] It can be seen that in the embodiment of the present disclosure, each first indication is used to make one of the microphones in the microphone array generate at least one target signal. M first indications can also make the same microphone generate N target signals, or can also make multiple different microphones generate N target signals. In the embodiment of the present disclosure, the source of the N target signals is not specifically limited.
[0119] In one implementation, the first indication may include a specific operation of a microphone by the user.
[0120] Figure 5 It is a schematic diagram of a user issuing a first instruction provided by an exemplary embodiment of the present disclosure.
[0121] In one example, if Figure 5 As shown, the first indication may be that the user 310 presses any microphone, or in other words, the user 310 touches any microphone. For example, the first indication may be that the user 310 presses the sound pickup hole 120 of any microphone with a finger.
[0122] It is understandable that the action of the user 310 pressing the microphone's sound pickup hole with his finger may include three stages: finger pressing - keeping pressing - finger lifting. During the process of the user 310 pressing and lifting the finger, the user 310's finger will cause the air at the sound pickup hole to be disturbed, thereby generating airflow. The airflow acts on the diaphragm of the microphone, causing the diaphragm to vibrate, thereby causing the microphone to generate a microphone signal corresponding to the user's finger pressing and lifting actions. In addition, during the process of keeping pressing, the user 310's finger will cover or partially cover the microphone's sound pickup hole, reducing the sound captured by the microphone, thereby causing the microphone to generate a microphone signal corresponding to the user's finger keeping pressing.
[0123] It can be seen that when the user 310 presses the sound pickup hole of the microphone, the microphone will sequentially generate microphone signals corresponding to the user's finger pressing, finger lifting, and keeping pressing behaviors. This "microphone signal corresponding to the user's finger pressing, finger lifting, and keeping pressing behaviors" can be used as a target signal. In other words, each time the user 310 presses the microphone, the microphone can generate a target signal. For example, when the user 310 presses microphone 1 once, microphone 1 can generate a target signal.
[0124] The embodiment of the present disclosure will further explain how to identify the target signal corresponding to the user's finger pressing behavior, which will not be repeated here.
[0125] In one example, the first indication may be that the user presses any microphone once. That is, the user may send a first indication to the microphone by pressing the microphone once, so that the pressed microphone generates a target signal. It is understandable that the way in which the user sends the first indication by pressing the microphone once is similar to the operation of the user clicking a mouse when using a computer.
[0126] In one example, the first indication may be that the user quickly presses any microphone multiple times, for example, quickly presses twice, quickly presses three times, etc. That is, the user can send a first indication to the microphone by quickly pressing the microphone multiple times, so that the microphone generates multiple target signals. For example, the user quickly presses the microphone twice to send a first indication, and the first indication may cause the pressed microphone to generate two microphone signals corresponding to the user's pressing behavior, that is, cause the pressed microphone to generate two target signals. It is understandable that the way in which the user sends the first indication by pressing the microphone multiple times is similar to the operation of double-clicking or triple-clicking the mouse when the user uses a computer.
[0127] Here, "the user quickly presses any microphone multiple times" may be the user quickly pressing any microphone multiple times in a short period of time, for example, the user quickly presses any microphone twice within 0.5 seconds (for example, less than or equal to 0.5 seconds), the user quickly presses any microphone three times within 0.8 seconds, etc. In other words, if the user presses the microphone twice within 0.5 seconds, then the two presses can be regarded as a first indication, and the first indication causes the microphone to generate two target signals; if the user presses the microphone twice within a period of more than 0.5 seconds, then the two presses can be regarded as two first indications, each of which causes the microphone to generate a target signal, generating two target signals in total.
[0128] It should be noted here that the 0.5 seconds, 0.8 seconds, etc. corresponding to the above-mentioned "short time" are only examples, and the time can also be 0.3 seconds, 0.4 seconds, 0.6 seconds, 0.9 seconds, etc., which can be set by technical personnel according to actual needs, and the embodiments of the present disclosure are not limited to this.
[0129] It should also be noted that, when a user quickly presses any microphone multiple times within a short period of time, for example within 0.5 seconds, it may mean that the time interval from the first time the user starts pressing the microphone (the finger starts pressing) to the last time the user presses the microphone (the finger is completely lifted) is less than 0.5 seconds, or it may mean that the time interval from the first time the user starts pressing the microphone to the last time the user presses the microphone is less than 0.5 seconds, or it may mean that the time interval from the first time the user presses the microphone to the last time the user presses the microphone is less than 0.5 seconds, or it may mean that the time interval from the first time the user presses the microphone to the last time the user presses the microphone is less than 0.5 seconds. The embodiments of the present disclosure are not limited to this.
[0130] In one example, the user's finger pressing the microphone may include a short press of the microphone or a long press of the microphone. Exemplarily, the short press of the microphone may be that the duration from the user's finger pressing to the finger lifting is less than a threshold, for example, less than (or equal to) threshold A; the long press of the microphone may be that the duration from the user's finger pressing to the finger lifting is greater than (or equal to) a threshold, for example, greater than threshold B. Among them, threshold A and threshold B may be the same or different, for example, threshold A and threshold B may both be 1 second, or threshold A may be 1 second, threshold B may be 1.5 seconds, etc., and the embodiments of the present disclosure are not limited to this.
[0131] It is understandable that, in the case where the target signal corresponds to the user's behavior of pressing the microphone, therefore, the duration of the target signal can be equal to the duration of the user pressing the microphone, such as the duration from the user's finger pressing to the finger lifting. In other words, the duration of the target signals corresponding to short pressing the microphone and long pressing the microphone are different. For example, the target signal corresponding to short pressing the microphone may be a short target signal, and the target signal corresponding to long pressing the microphone may be a long target signal, wherein the duration of the short target signal is less than the duration of the long target signal. In the disclosed embodiments, the short target signal and the long target signal can be used to trigger different control strategies for the microphone array, and the specific method will be described in detail in subsequent embodiments and will not be repeated here.
[0132] Figure 6 is another schematic diagram of a user issuing a first indication provided by an exemplary embodiment of the present disclosure.
[0133] In one example, the first indication may be that the user 310 taps any microphone, or taps near any microphone. For example, the first indication may be that the user 310 taps near any microphone with a finger, such as a knuckle or a fingertip.
[0134] It is understandable that the sound pickup device includes a housing 110, and accordingly, the first indication can be that the user 310 taps the housing 110 near the sound pickup hole 120 of any microphone with his / her finger. When the user 310 taps the housing 110 with his / her finger, the housing 110 vibrates, and this vibration can be transmitted to the microphone closest to the tapping point, causing the diaphragm of the nearest microphone to vibrate, thereby causing the nearest microphone to generate a microphone signal corresponding to the tapping behavior of the user 310, and this microphone signal can be used as a target signal. In other words, every time the user 310 taps the microphone (or taps once near the microphone), the microphone closest to the tapping point can generate a target signal. For example, every time the user 310 taps microphone 1 (or taps once near microphone 1), microphone 1 can generate a target signal.
[0135] It is understandable that when the user 310 taps the housing 110 near the pickup hole 120 of any microphone with his finger, the vibration generated by the housing 110 may be transmitted to other microphones in addition to the microphone closest to the tapping location. However, since the distance between the other microphones and the tapping location is far, the energy loss of the vibration is greater during the transmission process. Therefore, the vibration amplitude of the diaphragm of the other microphone is smaller, and the generated microphone signal cannot be distinguished from the human voice picked up by the microphone. Therefore, the microphone signal generated by other microphones will not be used as the target signal. The disclosed embodiment will hereinafter elaborate on how to identify the target signal corresponding to the tapping behavior of the user 310 finger, which will not be repeated here.
[0136] In one example, the first instruction may be tapping once near any microphone. That is, the user may send a first instruction to the microphone by tapping once near any microphone, so that the microphone closest to the tapping point generates a target signal. The user tapping once near the microphone to send the first instruction is similar to the operation of clicking a mouse when using a computer.
[0137] In one example, the first indication may be that the user taps quickly multiple times near any microphone, for example, taps quickly twice, taps quickly three times, etc. That is, the user can send a first indication to the microphone by tapping quickly multiple times near any microphone, causing the microphone to generate multiple target signals. For example, the user taps quickly twice near any microphone to send a first indication, and the first indication may cause the microphone closest to the tapping point to generate two microphone signals corresponding to the user's tapping behavior, that is, cause the microphone closest to the tapping point to generate two target signals. The way in which the user taps multiple times near the microphone to send the first indication is similar to the operation of double-clicking, triple-clicking, etc. of the mouse when the user uses a computer.
[0138] Here, "the user quickly taps multiple times near any microphone" can mean that the user quickly taps multiple times near any microphone in a short period of time, for example, the user quickly taps twice near any microphone within 0.4 seconds (for example, less than or equal to 0.4 seconds), the user quickly taps three times near any microphone within 0.6 seconds, etc. In other words, if the user taps twice near any microphone within 0.4 seconds, then the two taps can be regarded as a first indication, and the first indication causes the microphone closest to the tapping point to generate two target signals; if the user taps twice near any microphone within a time greater than 0.4 seconds, then the two taps can be regarded as two first indications, each first indication causes the microphone closest to the tapping point to generate a target signal, and a total of two target signals are generated.
[0139] It should be noted here that the 0.4 seconds, 0.6 seconds, etc. corresponding to the above-mentioned "short time" are only examples, and the time can also be 0.3 seconds, 0.5 seconds, 0.7 seconds, 0.8 seconds, etc., which can be set by technical personnel according to actual needs, and the embodiments of the present disclosure are not limited to this.
[0140] It is understandable that when a user taps quickly near any microphone multiple times, the vibration generated by the tapping is a pulse vibration, or in other words, an instantaneous vibration, and therefore, the target signal corresponding to the user's tapping behavior is a pulse signal. Accordingly, when a user taps quickly near any microphone multiple times within a short period of time, such as within 0.4 seconds, the pulse start time of the first target signal and the pulse start time of the last target signal are less than 0.4 seconds.
[0141] In the embodiments of the present disclosure, the first indication may also be other user operations, that is, any user operation that can be sensed by the diaphragm of the microphone and causes the microphone to generate a microphone signal with certain characteristics can be used as the first indication. In other words, what kind of microphone signal is used as the target signal depends on what kind of user operation is used as the first indication, which can be flexibly set by the technician based on the needs, and the embodiments of the present disclosure do not limit this.
[0142] Exemplarily, the first instruction may be that the user uses multiple fingers to press multiple microphones, so that one first instruction can cause multiple microphones to generate multiple target signals. For example, the user can use one finger to press microphone 1 and another finger to press microphone 2 at the same time. In this case, microphone 1 and microphone 2 can generate target signals at the same time. In other words, one first instruction causes two microphones to generate two target signals.
[0143] Of course, the first indication may also be that the user taps multiple microphones with multiple fingers, etc. In this case, the first indication may also cause the multiple microphones to generate multiple target signals, which will not be elaborated in the embodiments of the present disclosure.
[0144] Step S102: Control the sound pickup of the microphone array based on the N target signals.
[0145] In the embodiment of the present disclosure, controlling the sound pickup of the microphone array may include one or more methods.
[0146] In one implementation, controlling the sound pickup of the microphone array may include controlling the sound pickup direction of the microphone array. For example, controlling the microphone array to pick up sound in a sound pickup direction corresponding to at least one microphone.
[0147] In the first example, controlling the sound pickup direction of the microphone array includes switching the sound pickup direction of the microphone array. That is, the microphone array is switched from the sound pickup direction corresponding to at least one microphone to the sound pickup direction corresponding to at least one other microphone. For example, if the microphone array currently picks up sound in the sound pickup direction corresponding to microphone 1, the microphone array can be switched to pick up sound in the sound pickup direction corresponding to microphone 1.
[0148] In the second example, controlling the sound pickup direction of the microphone array includes increasing the sound pickup direction of the microphone array. For example, if the microphone array currently picks up sound in the sound pickup direction corresponding to microphone 3, then the microphone array can be increased to pick up sound in the sound pickup direction corresponding to microphone 1, so that the microphone array picks up sound in the sound pickup directions corresponding to microphone 3 and microphone 1 at the same time.
[0149] In a third example, controlling the sound pickup direction of the microphone array includes reducing the sound pickup direction of the microphone array. For example, if the microphone array currently picks up sound in the sound pickup directions corresponding to microphone 1 and microphone 8, then the microphone array can stop picking up sound in the sound pickup direction corresponding to microphone 1 and only pick up sound in the sound pickup direction corresponding to microphone 8.
[0150] In one implementation, controlling the sound pickup of the microphone array may include switching the sound pickup pattern of the microphone array.
[0151] In the fourth example, the pickup mode of the microphone array may include at least an omnidirectional pickup mode and a directional pickup mode. Exemplarily, switching the pickup mode of the microphone array may include switching the microphone array from the omnidirectional pickup mode to the directional pickup mode, or switching the microphone array from the directional pickup mode to the omnidirectional pickup mode. When the microphone array is switched to the directional pickup mode, the direction of the directional pickup may be a default direction or the pickup direction when it was in the directional pickup mode last time, which is not limited in the embodiments of the present disclosure.
[0152] It is understandable that the first to third examples of controlling the pickup direction of the microphone array can be implemented in the directional pickup mode. Of course, the third example can also be implemented in the omnidirectional pickup mode, that is, by reducing the pickup direction of the microphone array, the microphone array can be switched from the omnidirectional pickup mode to the directional pickup mode.
[0153] In one implementation, controlling the sound pickup of the microphone array may switch the sound pickup state of the microphone array.
[0154] In the fifth example, the sound pickup state of the microphone array may include turning on sound pickup and turning off sound pickup. Exemplarily, switching the sound pickup state of the microphone array may include switching the microphone array from turning on sound pickup to turning off sound pickup, or switching the microphone array from turning off sound pickup to turning on sound pickup. When the microphone array is switched to turning on sound pickup, the sound pickup direction and / or sound pickup mode of the microphone array may be a default sound pickup direction and / or sound pickup mode, or may be a sound pickup direction and / or sound pickup mode before the last shutdown, which is not limited in the embodiments of the present disclosure.
[0155] It is understandable that in the embodiment of the present disclosure, the user can issue M first instructions by pressing or tapping the microphone, so that one or more microphones generate N target signals. Accordingly, the number of N target signals depends on the number of times the user presses or taps the microphone; the source of the N target signals depends on which microphone the user presses or taps; when N is greater than 1, the order of the N target signals depends on the order in which the user presses or taps the N microphones.
[0156] Therefore, in one implementation, the sound pickup of the microphone array may be controlled based on the number, source, and / or order of the N target signals.
[0157] In the sixth example, the sound pickup of the microphone array can be controlled based on the number of N target signals. Exemplarily, different numbers of N target signals can correspond to different sound pickup modes or sound pickup states. For example, when the number of target signals is N1, the microphone array can be switched to a directional sound pickup mode, and when the number of target signals is N2, the microphone array can be switched to an omnidirectional sound pickup mode, and N1 is different from N2. For another example, when the number of target signals is N3, the microphone array can be switched to turn on the sound pickup, and when the number of target signals is N4, the microphone array can be switched to turn off the sound pickup, and N3 is different from N4.
[0158] In the seventh example, the sound pickup of the microphone array can be controlled based on the sources of the N target signals. For example, different sources of the N target signals can correspond to different sound pickup directions. Alternatively, different sources of the N target signals can also correspond to different sound pickup modes. Alternatively, different sources of the N target signals can also correspond to different sound pickup states.
[0159] In the eighth example, the sound pickup of the microphone array can be controlled based on the order of the N target signals. For example, different orders of the N target signals can correspond to different sound pickup directions. Alternatively, different orders of the N target signals can also correspond to different sound pickup modes. Alternatively, different orders of the N target signals can also correspond to different sound pickup states.
[0160] In one implementation, at least two of the sixth to eighth examples described above may be used in combination, that is, the sound pickup of the microphone array may be controlled based on at least two of the number, source and / or order of N target signals to improve the flexibility of controlling the sound pickup of the microphone array.
[0161] In one implementation, the above-mentioned methods of controlling the sound pickup of the microphone array, such as the first to fifth examples, and the above-mentioned basis for controlling the sound pickup of the microphone array, such as the sixth to eighth examples, can be used in combination to form a variety of combinations, so that the sound pickup of the microphone array can be controlled more flexibly and more richly. The embodiments of the present disclosure do not specifically limit the available combination methods, and the above-mentioned combination methods can be preset in the sound pickup device or set by the user.
[0162] It can be seen from the above technical solutions that the method provided by the embodiment of the present disclosure can obtain N target signals through the microphone array, and control the sound pickup of the microphone array based on the N target signals. Therefore, the sound pickup device can control the sound pickup of the microphone array without adding additional hardware and software, such as switching the sound pickup mode and sound pickup direction of the microphone array, thereby making the structure of the sound pickup device simpler and reducing the development, manufacturing and maintenance costs of the sound pickup device.
[0163] It is understandable that the user's pressing of any microphone or the user's tapping near any microphone will cause the microphone to generate a target signal. Therefore, there are various combinations (referred to as combination methods) formed by the number, source, and order of the N target signals. However, the method of controlling the sound pickup of the microphone array (referred to as the control method) is relatively limited. Therefore, it is not necessary to set corresponding control methods for all combinations. In addition, when the user moves or accidentally touches the sound pickup device, such as accidentally touching the sound pickup hole of a microphone, the microphone will also generate a target signal. Therefore, in actual use, it is also necessary to avoid triggering the control of the sound pickup of the microphone array due to the user's accidental touching of the sound pickup device.
[0164] In this regard, in one implementation, corresponding trigger conditions may be preset for N target signals. In step S102, based on the N target signals, controlling the sound pickup of the microphone array may include: when the N target signals meet the preset trigger conditions, controlling the sound pickup of the microphone array.
[0165] That is to say, when the sound pickup device obtains N target signals through the microphone array, the sound pickup device can determine whether the N target signals meet the preset trigger conditions. If the preset trigger conditions are met, the sound pickup device triggers the operation of controlling the sound pickup of the microphone array. If the preset trigger conditions are not met, the sound pickup device will not trigger the operation of controlling the sound pickup of the microphone array.
[0166] In the embodiment of the present disclosure, there may be one or more trigger conditions, and different trigger conditions may be used for the same or different control methods. The trigger conditions may be preset in the sound pickup device or set by the user, which is not limited in the embodiment of the present disclosure.
[0167] To facilitate understanding of the trigger conditions in the embodiments of the present disclosure, some examples are provided below. In the following examples, a first trigger condition, a second trigger condition, and a third trigger condition are included. It can be understood that these trigger conditions are only some of the trigger conditions that can be realized, rather than all the trigger conditions. Based on the following examples, those skilled in the art can make various adjustments to the trigger conditions, including but not limited to addition, reduction, combination, change, etc., which do not exceed the protection scope of the embodiments of the present disclosure.
[0168] In one implementation, the first trigger condition may include: N is equal to a first target value, the first target value is greater than or equal to 1, for example, the first target value is equal to 2, 3, 4, 5, etc., and the N target signals are acquired by the same microphone in the microphone array within a first time length, for example, the first time length may be 2 seconds, 3 seconds, 5 seconds, 10 seconds, etc., and the embodiments of the present disclosure do not specifically limit this.
[0169] For example, taking the first target value as 3 and the first duration as 5 seconds, if 3 target signals are obtained from the same microphone in the microphone array within 5 seconds, the first trigger condition is met.
[0170] For example, taking the first target value as 4 and the first duration as 3 seconds, if 4 target signals are obtained from the same microphone in the microphone array within 3 seconds, the first trigger condition is met.
[0171] In the above two examples, the first target value and the first duration are both numerical values. Of course, the first target value and / or the first duration may also be a numerical range.
[0172] For example, if the first target value is 3 to 5 and the first duration is 5 to 10 seconds, if 3 to 5 target signals are obtained from the same microphone in the microphone array within 5 to 10 seconds, the first trigger condition is met.
[0173] It can be understood that when the first target value and / or the first duration are within a numerical range, the first trigger condition is more relaxed and easier to be satisfied, and has lower requirements on the speed and number of times the user presses or taps the microphone, which can reduce the difficulty of operation for the user.
[0174] It can be understood that in the first trigger condition, the N target signals come from the same microphone in the microphone array. Therefore, the corresponding user scenario may be: the user presses the same microphone in the microphone array N times within the first time length, or the user taps near the same microphone in the microphone array N times within the first time length.
[0175] In one example, considering that in actual operation, the time consumed by a user pressing the same microphone N times is longer than the time consumed by a user tapping near the same microphone N times, the first time duration in the first trigger condition may be different for N target signals triggered by different operation modes. For example, for a target signal generated by a user pressing the microphone, the first time duration may be longer, and for a target signal generated by a user tapping near the microphone, the first time duration may be shorter.
[0176] Exemplarily, taking N as 3, if the three target signals are triggered by the user pressing the same microphone three times, then the first duration can be 5 seconds, 6 seconds, 7 seconds, 10 seconds, etc.; if the three target signals are triggered by the user knocking three times near the same microphone, then the first duration can be 2 seconds, 3 seconds, 4 seconds, etc.
[0177] In one implementation, the second trigger condition may include N equal to a second target value, the second target value is greater than 1, the second target value is equal to 3, 4, 5, 6, etc., and the N target signals are acquired sequentially by the K microphones in the microphone array in a preset order within a second time length. For example, the second time length may be 6 seconds, 7 seconds, 10 seconds, 12 seconds, etc.
[0178] Wherein, K is greater than 1, and K may be equal to N or may be less than N. In the second trigger condition, the value of K may be limited or not limited.
[0179] If K is equal to N, the second trigger condition defines that the N target signals come from the N microphones in the microphone array, that is, each of the K microphones obtains a target signal. If K is less than N, then at least one of the K microphones can obtain multiple target signals.
[0180] It is understandable that the order in which the user presses or taps the K microphones (including tapping near the microphones, the same below) is the order in which the K microphones acquire the target signal. Therefore, the "preset order" in the second trigger condition actually limits the user to pressing or tapping the K microphones in a certain order in order for the target signal to meet the second trigger condition.
[0181] Exemplarily, the preset order may be that the K microphones acquire the target signal in sequence in a clockwise direction (hereinafter referred to as clockwise).
[0182] For example, if the second target value is 4, K is equal to 4 (i.e., K is equal to N), the second duration is 10 seconds, and the preset order is clockwise, if microphone 2, microphone 3, microphone 4, and microphone 5 obtain a target signal in turn within 10 seconds, that is, a total of 4 target signals are obtained, then it can be considered that these 4 target signals meet the second trigger condition. In specific operation, when the user presses or taps microphone 2, microphone 3, microphone 4, and microphone 5 once each in turn within 10 seconds, the generated 4 target signals meet such a second trigger condition.
[0183] For another example, if the second target value is 4, K is equal to 3 (i.e., K is less than N), the second duration is 10 seconds, and the preset order is clockwise, if within 10 seconds, microphone 2 first obtains a target signal, then microphone 3 obtains two target signals, and then microphone 4 obtains a target signal, that is, a total of 4 target signals are obtained, then it can be considered that these 4 target signals meet the second trigger condition. In specific operation, when the user presses or taps microphone 2 once, microphone 3 twice, and microphone 4 once in sequence within 10 seconds, the generated 4 target signals meet such a second trigger condition.
[0184] Exemplarily, the preset order may be that the K microphones acquire the target signal in sequence counterclockwise (hereinafter referred to as counterclockwise).
[0185] For example, if the second target value is 3, K is equal to 3 (i.e., K is equal to N), the second duration is 8 seconds, and the preset order is counterclockwise, if microphone 8, microphone 5, and microphone 3 obtain a target signal in turn within 8 seconds, that is, a total of 3 target signals are obtained, then it can be considered that these 3 target signals meet the second trigger condition. In specific operation, when the user presses or taps microphone 8, microphone 5, and microphone 3 once in turn within 8 seconds, the generated 3 target signals meet such a second trigger condition.
[0186] For another example, if the second target value is 5, K is equal to 4 (i.e., K is less than N), the second duration is 12 seconds, and the preset order is counterclockwise, if within 12 seconds, microphone 6 first obtains a target signal, then microphone 5 obtains a target signal, then microphone 4 obtains two target signals, and then microphone 3 obtains a target signal, that is, a total of 5 target signals are obtained, then it can be considered that these 5 target signals meet the second trigger condition. In specific operation, when the user presses or taps microphone 6 once, microphone 5 once, microphone 4 twice, and microphone 3 once in sequence within 12 seconds, the generated 5 target signals meet such a second trigger condition.
[0187] Exemplarily, the second trigger condition may also include relative positions of the K microphones, for example, the K microphones are adjacent, or the K microphones are not adjacent, for example, two adjacent microphones among the K microphones are separated by one microphone.
[0188] For example, if the second target value is 4, K is equal to 4 (i.e., K is equal to N), the second duration is 10 seconds, the preset order is clockwise, and K microphones are adjacent, if microphone 5, microphone 6, microphone 7, and microphone 8 obtain a target signal in sequence within 10 seconds, then it can be considered that the obtained 4 target signals meet the second trigger condition. In specific operation, when the user presses or taps microphone 5, microphone 6, microphone 7, and microphone 8 once in sequence within 10 seconds, the generated 4 target signals meet such a second trigger condition.
[0189] In contrast, if microphone 4, microphone 6, microphone 7, and microphone 8 also obtain a target signal in sequence within 10 seconds, then since microphone 4 and microphone 6 are not adjacent, these four target signals do not meet the second trigger condition. In specific operation, when the user presses or taps microphone 4, microphone 6, microphone 7, and microphone 8 once in sequence within 10 seconds, the four target signals generated do not meet such a second trigger condition.
[0190] For example, if the second target value is 4, K is equal to 4 (i.e., K is equal to N), the second duration is 10 seconds, the preset order is clockwise, and there is one microphone between two adjacent microphones among the K microphones, if microphone 2, microphone 4, microphone 6, and microphone 8 obtain a target signal in sequence within 10 seconds, then it can be considered that the obtained 4 target signals meet the second trigger condition. In specific operation, when the user presses or taps microphone 2, microphone 4, microphone 6, and microphone 8 once in sequence within 10 seconds, the generated 4 target signals meet such a second trigger condition.
[0191] In contrast, if microphone 3, microphone 4, microphone 6, and microphone 8 also obtain a target signal in sequence within 10 seconds, then since there is no microphone between microphone 3 and microphone 4, these four target signals do not meet the second trigger condition. In specific operation, when the user presses or taps microphone 3, microphone 4, microphone 6, and microphone 8 once in sequence within 10 seconds, the four target signals generated do not meet such a second trigger condition.
[0192] In one implementation, the third trigger condition may include that the N target signals include at least one first target signal, and the signal duration of the first target signal is greater than the third duration.
[0193] The first target signal may be the long target signal mentioned in the above embodiment of the present disclosure, and the third duration may be, for example, 2 seconds, 3 seconds, 4 seconds, etc. In other words, if the duration of a target signal is greater than the third duration, for example, greater than 3 seconds, then the target signal is the first target signal, or the long target signal. If the duration of a target signal is less than or equal to the third duration, for example, less than or equal to 3 seconds, then the target signal is the short target signal.
[0194] It is understandable that the inclusion of at least one first target signal among the N target signals means that the user has performed at least one long press operation on the microphone, that is, the user can make the microphone generate a target signal that meets the third trigger condition by long pressing the microphone.
[0195] It should be noted here that in the embodiments of the present disclosure, the trigger conditions, such as the first trigger condition, the second trigger condition and the third trigger condition, etc., can be pre-set in the sound pickup device, can be personalized by the user, or can be pushed to the sound pickup device through firmware updates, etc. The embodiments of the present disclosure do not specifically limit the setting method and content of the trigger conditions.
[0196] In one implementation, each trigger condition may correspond to one or more control methods. For example, when N target signals meet the first trigger condition, the control method may be to control the microphone array to pick up sound in the sound pickup direction corresponding to one of the microphones. When N target signals meet the second trigger condition, the control method may be to control the microphone array to pick up sound in the sound pickup direction corresponding to one or more microphones. When N target signals meet the third trigger condition, the control method may be to control the microphone array to pick up sound in the sound pickup direction corresponding to one microphone, or to control the sound pickup state of the microphone array.
[0197] It should be noted here that the correspondence between the trigger condition and the control mode can be pre-set in the sound pickup device, or can be flexibly set by the user to fully meet the personalized needs of different users, and the embodiments of the present disclosure do not make specific limitations on this.
[0198] It can be seen from the above technical solutions that the method provided in the embodiment of the present disclosure sets a trigger condition. When the N target signals obtained meet the trigger condition, the microphone array is controlled to pick up sound, thereby avoiding accidental touch by the user. In addition, different trigger conditions can also correspond to different control methods, making the microphone array pickup method more flexible and rich.
[0199] Figure 7 The flowchart of controlling the microphone array to pick up sound is provided by an exemplary embodiment of the present disclosure.
[0200] In one implementation, Figure 7 As shown, when N target signals meet the preset trigger conditions, the sound pickup of the microphone array can be controlled through the following steps S301-S302.
[0201] Step S301: determining at least one target microphone from at least one microphone that acquires N target signals.
[0202] In the case where N target signals satisfy different preset trigger conditions, different methods can be used to determine at least one target microphone. The following uses the case where N target signals satisfy the first trigger condition, the second trigger condition, and the third trigger condition as examples to illustrate the method of determining at least one target microphone.
[0203] In the first example, when N target signals meet the first trigger condition, the microphone that acquires the N target signals may be determined as the target microphone.
[0204] For example, Figure 8As shown, taking the first target value as 3 and the first duration as 5 seconds as an example, if 3 target signals are obtained from microphone 1 within 5 seconds, then microphone 1 can be determined as the target microphone. In other words, if the user presses or taps microphone 1 three times within 5 seconds, then microphone 1 can be determined as the target microphone.
[0205] Similarly, if three target signals are obtained from microphone 2 within 5 seconds, microphone 2 can be determined as the target microphone. In other words, if the user presses or taps microphone 2 three times within 5 seconds, microphone 2 can be determined as the target microphone. More examples are not repeated here.
[0206] In the second example, when N target signals meet the second trigger condition, the microphone that first acquires the target signal may be determined as the target microphone.
[0207] For example, Fig. 9 As shown, taking the second target value as 4 and the second duration as 10 seconds as an example, if within 10 seconds, the target signal is obtained from microphone 2, microphone 4, microphone 6, and microphone 8 in sequence, then microphone 2 can be determined as the target microphone. In other words, if the user presses or taps microphone 2, microphone 4, microphone 6, and microphone 8 in sequence within 10 seconds, then microphone 2 can be determined as the target microphone.
[0208] Similarly, if within 10 seconds, the target signal is obtained from microphone 7, microphone 5, microphone 3, and microphone 1 in sequence, then microphone 7 can be determined as the target microphone. In other words, if the user presses or taps microphone 7, microphone 5, microphone 3, and microphone 1 in sequence within 10 seconds, then microphone 7 can be determined as the target microphone. More examples are not repeated here.
[0209] In a third example, when N target signals satisfy the second trigger condition, the microphone that acquires the target signal last may be determined as the target microphone.
[0210] For example, Fig.10 As shown, taking the second target value as 4 and the second duration as 10 seconds as an example, if within 10 seconds, the target signal is obtained from microphone 2, microphone 4, microphone 6, and microphone 8 in sequence, then microphone 8 can be determined as the target microphone. In other words, if the user presses or taps microphone 2, microphone 4, microphone 6, and microphone 8 in sequence within 10 seconds, then microphone 8 can be determined as the target microphone.
[0211] Similarly, if the target signal is obtained from microphone 7, microphone 5, microphone 3, and microphone 1 in sequence within 10 seconds, microphone 1 can be determined as the target microphone. In other words, if the user presses or taps microphone 7, microphone 5, microphone 3, and microphone 1 in sequence within 10 seconds, microphone 1 can be determined as the target microphone. More examples are not repeated here.
[0212] In a fourth example, when N target signals satisfy the second trigger condition, the microphone that first acquires the target signal and the microphone that last acquires the target signal may both be determined as the target microphone.
[0213] For example, Fig.11 As shown, taking the second target value as 4 and the second duration as 10 seconds as an example, if within 10 seconds, the target signal is obtained from microphone 2, microphone 4, microphone 6, and microphone 8 in sequence, then microphone 2 and microphone 8 can be determined as target microphones. In other words, if the user presses or taps microphone 2, microphone 4, microphone 6, and microphone 8 in sequence within 10 seconds, then microphone 2 and microphone 8 can be determined as target microphones.
[0214] Similarly, if the target signal is obtained from microphone 7, microphone 5, microphone 3, and microphone 1 in sequence within 10 seconds, microphone 7 and microphone 1 can be determined as the target microphones. In other words, if the user presses or taps microphone 7, microphone 5, microphone 3, and microphone 1 in sequence within 10 seconds, microphone 7 and microphone 1 can be determined as the target microphones. More examples are not repeated here.
[0215] In the fifth example, when N target signals satisfy the third trigger condition, the microphone that acquires the long target signal may be determined as the target microphone.
[0216] For example, Fig.12 As shown, if the N target signals include a long target signal obtained from microphone 1, microphone 1 can be determined as the target microphone. In other words, if the user long presses microphone 1, microphone 1 can be determined as the target microphone.
[0217] For example, Fig.13 As shown, if the N target signals include a long target signal obtained from microphone 1 and a long target signal obtained from microphone 5, microphone 1 and microphone 5 can be determined as target microphones. In other words, if the user long presses microphone 1 and microphone 5, microphone 1 and microphone 5 can be determined as target microphones.
[0218] Next, when at least one target microphone is determined, step S302 may be performed.
[0219] Step S302: Control the microphone array to pick up sound in a sound pickup direction corresponding to at least one target microphone.
[0220] Among them, controlling the microphone array to pick up sound in the pickup direction corresponding to the target microphone (referred to as the target pickup direction) means directionally picking up the sound within the target pickup direction and shielding the sound in other directions as interference, so as to obtain clear voice in the target pickup direction, bring interference-free conference call effect, and improve user experience.
[0221] The following continues with the examples in step S301 to illustrate possible implementations of step S302.
[0222] like Figure 8 As shown, continuing with the first example of step S301, if the user presses or taps microphone 1 three times within 5 seconds, microphone 1 can be determined as the target microphone, and the microphone array can be controlled to directionally pick up sound in the sound pickup direction corresponding to microphone 1.
[0223] like Fig. 9 As shown, continuing with the second example of step S301, if the user presses or taps microphone 2, microphone 4, microphone 6, and microphone 8 in sequence within 10 seconds, microphone 2 can be determined as the target microphone, and the microphone array can be controlled to pickup sound in the pickup direction corresponding to microphone 2.
[0224] Similarly, if the user presses or taps microphone 7, microphone 5, microphone 3, and microphone 1 in sequence within 10 seconds, microphone 7 can also be determined as the target microphone, and the microphone array can be controlled to pick up sound in the pickup direction corresponding to microphone 7.
[0225] like Figure 8 As shown, continuing with the third example of step S301, if the user presses or taps microphone 2, microphone 4, microphone 6, and microphone 8 in sequence within 10 seconds, microphone 8 can be determined as the target microphone, and the microphone array can be controlled to pickup sound in the pickup direction corresponding to microphone 8.
[0226] Similarly, if the user presses or taps microphone 7, microphone 5, microphone 3, and microphone 1 in sequence within 10 seconds, microphone 1 can also be determined as the target microphone, and the microphone array can be controlled to pick up sound in the pickup direction corresponding to microphone 1.
[0227] like Fig.11As shown, continuing with the fourth example of step S301, if the user presses or taps microphone 2, microphone 4, microphone 6, and microphone 8 in sequence within 10 seconds, microphone 2 and microphone 8 can be identified as target microphones, and the microphone array can be controlled to pickup sound in the pickup directions corresponding to microphone 2 and microphone 8.
[0228] Similarly, if the user presses or taps microphone 7, microphone 5, microphone 3, and microphone 1 in sequence within 10 seconds, microphone 7 and microphone 1 can be identified as target microphones, and the microphone array can be controlled to pick up sound in the pickup directions corresponding to microphone 7 and microphone 1.
[0229] like Fig.12 As shown, continuing with the fifth example of step S301 , if the user long presses microphone 1 , microphone 1 can be determined as the target microphone, and the microphone array can be controlled to directionally pick up sound in the sound pickup direction corresponding to microphone 1 .
[0230] like Fig.13 As shown, if the user long presses microphone 1 and microphone 5, microphone 1 and microphone 5 can be determined as target microphones, and the microphone array can be controlled to directionally pick up sound in the sound pickup directions corresponding to microphone 1 and microphone 5.
[0231] It can be seen from the above technical solutions that the method provided in the embodiment of the present disclosure can control the sound pickup of the microphone array based on the user's long press or tapping operation of the microphone. In this way, the sound pickup device does not need to add additional hardware and software, thereby making the structure of the sound pickup device simpler and reducing the development, manufacturing and maintenance costs of the sound pickup device.
[0232] In one implementation, controlling the microphone array to pick up sound in the sound pickup direction corresponding to at least one target microphone can be achieved by a processor in the sound pickup device by calling corresponding software modules and algorithms. For example, the processor can call a preset software filter module and use a beamforming algorithm and an adaptive filtering algorithm to achieve directional sound pickup.
[0233] Among them, the beamforming algorithm may include, for example, a delayed-add algorithm, a minimum variance distortion-free response algorithm, a generalized sidelobe canceller algorithm, a minimum mean square error algorithm, a minimum variance algorithm, a maximum likelihood algorithm, etc., which are not limited in the embodiments of the present disclosure. The adaptive filtering algorithm may include, for example, a minimum mean square error algorithm, a recursive least squares method, a normalized mean square error algorithm, etc., which are not limited in the embodiments of the present disclosure.
[0234] In one example, when at least one target sound pickup direction is determined, the processor can call a pre-designed software filter and use a beamforming algorithm to process the microphone signals of each microphone to obtain beam signals in each sound pickup direction. The software filter can be a fixed filter or an adaptive filter, which is not limited in the embodiments of the present disclosure. An adaptive filter is a filter that can automatically adjust its parameters according to changes in the input signal, which can better suppress interference and improve signal quality.
[0235] Next, the processor can use an adaptive filtering algorithm to process the beam signal in the target pickup direction, remove the interfering sound components in other directions, and obtain the final voice signal to be output. In addition, the processor can also adaptively change the filter parameters based on the beam signals in other pickup directions. Through continuous iteration, the filter parameters gradually converge to achieve the best real-time suppression effect.
[0236] When the target sound pickup direction needs to be switched, the adaptive filter can be reset to the initial state and iterative convergence can be performed again, so that the parameters of the adaptive filter after convergence are adapted to the new target sound pickup direction, thereby achieving the purpose of switching the target sound pickup direction.
[0237] It can be understood that when there are multiple target sound pickup directions, the processor can run multiple adaptive filters, each adaptive filter is used to process the beam signal in a target sound pickup direction, and the maximum number of adaptive filters that can be run can be determined according to the computing power of the processor, which will not be elaborated here.
[0238] In some embodiments, the processor may identify microphone signals acquired by multiple microphones in the microphone array to identify a target signal therefrom. The following is an exemplary description of a method for the processor to identify a target signal by taking any microphone in the microphone array, such as the first microphone, as an example. For ease of description, the microphone signal acquired by the first microphone is referred to as the first signal.
[0239] In one implementation, the processor may determine whether the first signal acquired by the first microphone meets a preset first feature, and if the first signal acquired by the first microphone meets the first feature, the processor may determine that the target signal is acquired from the first microphone. The first feature may be a feature of a microphone signal generated by the microphone when the user presses or taps the microphone.
[0240] It is understandable that the target signal generated by the user pressing the microphone is different from the target signal generated by the user tapping the microphone, and therefore, the corresponding first features are also different.
[0241] Fig.14 It is a first schematic diagram of a target signal provided by an exemplary embodiment of the present disclosure.
[0242] In the first example, if Fig.14 As shown, taking identifying the target signal generated by the user pressing the first microphone as an example, the first feature may include: the amplitude of the first signal in the first time period and the second time period is greater than or equal to the first threshold, and the amplitude of the first signal before the first time period and after the second time period is less than or equal to the second threshold, and the amplitude of the first signal in the third time period is less than the third threshold; wherein the first time period is earlier than the third time period, the third time period is earlier than the second time period, the first threshold is greater than the second threshold, and the second threshold is greater than the third threshold.
[0243] It can be seen that based on the first feature, the recognition of the first signal can be divided into three time periods, wherein the first time period corresponds to the finger pressing stage when the user presses the microphone, the second time period corresponds to the finger holding stage when the user presses the microphone, and the third time period corresponds to the finger lifting stage when the user presses the microphone. Therefore, the first time period, the second time period and the third time period can be continuous time periods.
[0244] Generally speaking, when the user does not press the first microphone, for example, before the first period and after the third period, the amplitude of the first signal obtained by the first microphone picking up sound normally is usually less than or equal to a threshold, for example, less than or equal to the second threshold. For example, when the first signal is a digital audio signal obtained by analog-to-digital conversion, the second threshold can be a digital decibel threshold in dBFS (full scale decibels). Exemplarily, the second threshold can be -30 dBFS.
[0245] In addition, if the first signal is a microphone signal in other forms, such as a current signal, a voltage signal, a power signal, etc., the second threshold can also be a threshold in other forms, such as a current threshold, a voltage threshold, a power threshold, etc., which is not limited in the embodiments of the present disclosure.
[0246] During the user's finger pressing stage, for example, in the first time period, the pressing action of the user's finger will cause the air at the pickup hole of the first microphone to be disturbed, forming an airflow, which will form an air pressure shock, acting on the diaphragm of the first microphone, causing the first signal to mutate, increase its amplitude, and even reach a clipping state of 0dBFS. Therefore, if the first signal is a target signal, then the amplitude of the first signal in the first time period should be greater than or equal to a threshold, for example, greater than or equal to the first threshold. The first threshold should be greater than the amplitude of the first signal corresponding to the human voice, for example, greater than the second threshold. Exemplarily, the first threshold can be 0dBFS, -1dBFS, -2dBFS, -5dBFS, etc., which is not limited in the embodiments of the present disclosure.
[0247] It should be noted here that since the analog-to-digital converter has a certain sampling range, when the analog-to-digital converter performs analog-to-digital conversion on an analog microphone signal, if the amplitude of the analog microphone signal exceeds the sampling range of the analog-to-digital converter, the analog-to-digital converter will output the maximum amplitude it can output, such as 0dBFS. This state is called the clipping state.
[0248] When the user lifts his finger, for example, in the third time period, the lifting action of the user's finger will also cause the air at the pickup hole of the first microphone to be disturbed, forming an airflow, and the airflow will also form an air pressure shock, acting on the diaphragm of the first microphone, causing the first signal to suddenly change, increase its amplitude, and even reach a clipping state of 0dBFS. Therefore, if the first signal is a target signal, then the amplitude of the first signal in the third time period should also be greater than or equal to a threshold, for example, greater than or equal to the first threshold.
[0249] During the user's finger holding stage, for example, in the second time period, the user's finger keeps pressing the sound pickup hole, blocking the first microphone from picking up sound, which will cause the amplitude of the first signal to decrease. Therefore, if the first signal is a target signal, then the amplitude of the first signal in the second time period should be less than or equal to a threshold, for example, less than or equal to a third threshold. The third threshold should be less than the amplitude of the first signal corresponding to the human voice, for example, less than the second threshold. Exemplarily, the third threshold can be -96dBFS, -80dBFS, -60dBFS, -48dBFS, -40dBFS, etc., which is not limited in the embodiments of the present disclosure.
[0250] Fig.15 is a second schematic diagram of a target signal provided by an exemplary embodiment of the present disclosure.
[0251] In the second example, if Fig.15 As shown, taking identifying the target signal generated by the user pressing the first microphone as an example, the first feature may include: the amplitude of the first signal in the first time period and the second time period is greater than the amplitude in the third time period, and the difference ΔR1 between the amplitudes of the first signal in the first time period and the third time period is greater than the fourth threshold, and the difference ΔR2 between the amplitudes of the first signal in the second time period and the third time period is greater than the fifth threshold; wherein the first time period is earlier than the third time period, and the third time period is earlier than the second time period.
[0252] This example is similar to the first example of the first feature, except that the first example uses the true amplitude of the first signal to match the three stages when the user presses the first microphone, while this example uses the amplitude change of the first signal to match the three stages when the user presses the first microphone. Therefore, for the contents not specifically expanded in this example, please refer to the first example of the first feature above, and no further description will be given here.
[0253] Exemplarily, the fourth threshold may be, for example, 96 dBFS, 90 dBFS, 80 dBFS, 48 dBFS, 50 dBFS, etc. The fifth threshold may be, for example, 96 dBFS, 80 dBFS, 70 dBFS, 48 dBFS, 30 dBFS, etc. The fourth threshold may be the same as or different from the fifth threshold.
[0254] Based on the above two examples, the processor can identify the target signal generated by the user pressing the microphone by determining whether the microphone signal meets the first feature.
[0255] In the third example, taking identifying the target signal generated by the user pressing the first microphone as an example, when the first signal meets the first feature, the duration for which the user presses the first microphone can also be determined. If the duration for which the user presses the microphone is greater than or equal to the fourth duration and less than or equal to the fifth duration, the first signal is determined to be the target signal. If the duration for which the user presses the microphone is less than the fourth duration or greater than the fifth duration, the first signal is determined not to be the target signal.
[0256] The fourth duration is shorter than the fifth duration. For example, the fourth duration may be 300 milliseconds, 500 milliseconds, 700 milliseconds, etc., and the fifth duration may be 4 seconds, 5 seconds, 6 seconds, etc.
[0257] Taking the fourth time length of 500 milliseconds and the fifth time length of 5 seconds as an example, when the user presses the first microphone for a time length between 500 milliseconds and 5 seconds, the generated first signal is the target signal, otherwise, the generated signal is not the target signal.
[0258] The duration of the user pressing the first microphone may be the duration between the time t1 when the first signal suddenly changes at the beginning of the first period and the time t2 when the first signal suddenly changes at the end of the second period.
[0259] In this example, a limit is placed on the length of time the user presses the first microphone. When the user presses the first microphone for too long or too short, no target signal is generated. This avoids using the first signal generated by a short-term accidental touch or long-term occlusion of the first microphone as a target signal, thereby improving the accuracy of target signal recognition.
[0260] Fig.16 is a third schematic diagram of a target signal provided by an exemplary embodiment of the present disclosure.
[0261] In the fourth example, Fig.16As shown, taking identifying the target signal generated by the user tapping the first microphone as an example, the first feature may include: the amplitude of the first signal is greater than the amplitude of the microphone signals acquired by other microphones at the same time, and the difference ΔR3 between the amplitude of the first signal and the amplitude of the microphone signals acquired by other microphones is greater than the sixth threshold.
[0262] It is understandable that when the user taps the pickup hole of the first microphone or taps near the pickup hole of the first microphone, the amplitude of the first signal will suddenly increase, that is, a pulse will be generated. At this time, the amplitude of the first signal will be much larger than the amplitude of the microphone signal obtained by other microphones at the same time. Therefore, if the difference between the amplitude of the first signal and the amplitude of the microphone signal obtained by other microphones is greater than the sixth threshold, that is, the amplitude of the first signal is much larger than the amplitude of the microphone signal obtained by other microphones at the same time, then the first signal is the target signal.
[0263] Exemplarily, the sixth threshold may be 20 dBFS, 30 dBFS, 40 dBFS, 58 dBFS, 60 dBFS, etc., which is not limited in the embodiments of the present disclosure.
[0264] Based on this example, the processor can identify the target signal generated by the user tapping the microphone by determining whether the microphone signal meets the first feature.
[0265] In one implementation, a feature matching network may be used to identify a target signal from microphone signals acquired by multiple microphones. The feature matching network may be a pre-trained neural network.
[0266] Exemplarily, the neural network can be composed of a feature extraction network and a matching network. Among them, the feature extraction network can be, for example, a convolutional neural network, a recurrent neural network, etc., and the matching network can be, for example, a fully connected network, etc. In order to train this feature matching network, a data set containing sample target signals and sample non-target signals can be constructed, and corresponding labels can be added to each signal in the data set, for example, a target signal label is added to the sample target signal, and a non-target signal label is added to the sample non-standard signal. Next, the sample target signal and the sample non-target signal can be input into the feature extraction network to extract signal features. Next, the extracted signal features are input into the matching network, and a loss function is constructed from the output of the matching network to the target output (i.e., the label corresponding to the signal). Next, the feature matching network can be trained using a neural network optimization algorithm, such as a stochastic gradient descent algorithm, with the goal of minimizing the loss function, and the parameters of the feature matching network are iteratively updated until a preset convergence condition is reached, thereby obtaining a trained feature matching network.
[0267] In this way, when a microphone signal is obtained from a microphone, the obtained microphone signal can be input into a trained feature matching network, and the target signal therein can be identified using the feature matching network. Exemplarily, the feature matching network can output the probability that the microphone signal is the target signal, and when this probability is greater than a preset probability threshold, for example, greater than 0.9, the input microphone signal can be considered to be the target signal.
[0268] In one implementation, when a microphone signal is acquired from a microphone, for example, when multiple microphone signals are acquired from multiple microphones of a microphone array, the similarity between the microphone signal acquired by each microphone and the sample signal can be calculated respectively, and based on the similarity result, it is determined whether the acquired microphone signal is a target signal. The sample signal can be a microphone signal pre-collected corresponding to a user pressing or tapping the microphone.
[0269] In one example, the Fourier transform method can be used to calculate the similarity between the microphone signal and the sample signal. Exemplarily, the microphone signal and the sample signal can be Fourier transformed to convert the microphone signal and the sample signal from time domain signals to frequency domain signals, that is, to extract the spectral features of the microphone signal and the sample signal, and then perform similarity calculation on the spectral features of the microphone signal and the sample signal to obtain the similarity result between the microphone signal and the sample signal.
[0270] In one example, a waveform comparison method may be used to calculate the similarity between the microphone signal and the sample signal. Exemplarily, the waveform of the microphone signal may be compared with the waveform of the sample signal to calculate the similarity between the waveforms. For example, the correlation, Euclidean distance, Mahalanobis distance, etc. between the waveform of the microphone signal and the waveform of the sample signal may be calculated.
[0271] In one example, a Mel-spectrum comparison method can be used to calculate the similarity between the microphone signal and the sample signal. Exemplarily, the microphone signal and the sample signal can be Fourier transformed to convert the microphone signal and the sample signal from time domain signals to frequency domain signals, and then the frequency domain signal can be processed using a Mel filter to obtain the Mel-spectrum corresponding to the microphone signal and the sample signal, and the similarity calculation is performed on the Mel-spectrum corresponding to the microphone signal and the sample signal to obtain the similarity result of the microphone signal and the sample signal.
[0272] Next, when the microphone signal acquired by any microphone, such as the first signal acquired by the first microphone, has a similarity with the sample signal greater than the seventh threshold, it is determined that the target signal is acquired from the first microphone. The seventh threshold may be, for example, 0.95, 0.9, 0.85, 0.8, etc., which may be determined by the technology itself, and the embodiments of the present disclosure do not limit this. For example, if you want to identify the target signal with higher accuracy, you can use a larger seventh threshold. If you want to identify the target signal with higher sensitivity, you can use a smaller seventh threshold.
[0273] It can be seen from the above technical solutions that the sound pickup method provided by the embodiment of the present disclosure can adopt different schemes to identify the target signal from the microphone signal. When the technicians implement this method, they can reasonably select any one or more schemes to identify the target signal based on the hardware specifications such as the processor computing power of the sound pickup device, and the method has strong adaptability.
[0274] Exemplary Software Devices
[0275] The above is an introduction to the sound pickup method provided by the embodiment of the present disclosure. It is understandable that, in order to realize the above functions, the sound pickup device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the steps of a sound pickup method described in each embodiment of the present disclosure, the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or electronic device software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present disclosure.
[0276] The embodiment of the present disclosure can divide the above-mentioned sound pickup device into functional modules or functional units according to the above-mentioned method example. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present disclosure is schematic, which is only a logical function division. There may be other division methods in actual implementation.
[0277] Fig.17 is a schematic diagram of a sound pickup device provided by an exemplary embodiment of the present disclosure.
[0278] In one embodiment, Fig.17As shown, the sound pickup device for implementing the above method based on software may include: a signal acquisition module 401, configured to acquire N target signals through a microphone array, wherein the microphone array includes multiple microphones, the N target signals come from at least one microphone in the microphone array, and N is a positive integer greater than or equal to 1; a signal processing module 402, configured to control the sound pickup of the microphone array based on the N target signals.
[0279] In one implementation, the signal processing module 402 is specifically configured to control the sound pickup of the microphone array when N target signals meet a preset trigger condition.
[0280] In one implementation, the signal processing module 402 is specifically configured to, when N target signals meet a preset trigger condition, determine at least one target microphone from at least one microphone that obtains the N target signals; and control the microphone array to pick up sound in the pickup direction corresponding to the at least one target microphone.
[0281] In one implementation, the signal processing module 402 is specifically configured to determine a microphone that acquires the N target signals as a target microphone when the N target signals meet a first trigger condition.
[0282] In one implementation, the signal processing module 402 is specifically configured to, when N target signals satisfy a second trigger condition, determine the microphone that first acquires the target signal as the target microphone; and / or, when N target signals satisfy the second trigger condition, determine the microphone that last acquires the target signal as the target microphone.
[0283] In one implementation, the signal acquisition module 401 is specifically configured to acquire signals through multiple microphones in a microphone array, where the multiple microphones include a first microphone; when a first signal acquired by the first microphone meets a first feature, it is determined that a target signal is acquired from the first microphone.
[0284] In one implementation, the signal acquisition module 401 is specifically configured to acquire signals through multiple microphones in a microphone array; and utilize a first feature matching network to identify a target signal from the signals acquired by the multiple microphones.
[0285] In one implementation, the signal acquisition module 401 is specifically configured to acquire signals through multiple microphones in a microphone array, where the multiple microphones include a first microphone; respectively calculate the similarity between the signal acquired by each microphone and the sample signal; and determine that the target signal is acquired from the first microphone when the similarity between the first signal acquired by the first microphone and the sample signal is greater than a seventh threshold.
[0286] Exemplary Systems
[0287] The embodiments of the present disclosure also provide a conference system, which may include the sound pickup devices provided by the above embodiments of the present disclosure.
[0288] Fig.18 It is a structural block diagram of a conference system provided by an exemplary embodiment of the present disclosure.
[0289] like Fig.18 As shown, the conference system 10 includes at least one sound pickup device 100, an image acquisition device 200, a computing device 300, a display device 400, an input device 500, etc. Among them:
[0290] The sound pickup device 100 may be, for example, a desktop sound pickup device including a microphone array, a video conferencing terminal including a microphone array, a smart home device including a microphone array, a vehicle-mounted device including a microphone array, etc. The sound pickup device 100 may collect the voice of a user 310 (e.g., a participant), and perform analog-to-digital conversion, noise reduction, filtering, and / or encoding on the collected sound signal before sending it to the computing device 300. In one embodiment, the sound pickup device 100 may execute the sound pickup method provided in the above-mentioned embodiments of the present disclosure.
[0291] The image acquisition device 200 may be, for example, a camera or a camera array. The image acquisition device 200 is used to acquire an image of a user 310 (eg, a participant), and encode the acquired image signal and then send it to the computing device 300.
[0292] The computing device 300 can be, for example, a personal computer or a server. On the one hand, the computing device 300 can process the received sound signal and video signal, such as compression, audio and video synchronization control, adding a virtual background to the image, image quality enhancement, etc., and send the processed sound signal and video signal to the cloud server 600 or the remote computing device of other participants of the remote conference through the network. On the other hand, the computing device 300 can also receive the downlink sound signal and the downlink video signal from the cloud server 600 or the remote computing device, send the downlink sound signal to the speaker in the sound pickup device 100 or an independent speaker for playback, and send the downlink video signal to the display device 400 for display. Among them, the computing device 300 can also decode the signal before sending the downlink sound signal and the downlink video signal, so that the decoding amount of the speaker and the display device 400 can be reduced, and the performance requirements of the device can be reduced. In addition, the computing device 300 can also be used to run conference software, and manage and control other devices in the conference system.
[0293] The display device 400 may be, for example, a television screen or a projector. The display device 400 may receive and display a video signal from the computing device 300. The video signal may be, for example, a video signal captured by the image acquisition device 200, a downlink video signal from the cloud server 600 or a remote computing device, and the like.
[0294] The input device 500 may be, for example, a keyboard, a mouse, etc. The input device 500 is connected to the computing device 300 to implement input of text, commands, etc., for example, operating conference software, sending conference messages, and setting conference functions.
[0295] Of course, to simplify, Fig.18 Only a part of the components related to the present disclosure in the conference system 10 is shown, and components such as cables, network devices, etc. are omitted. In addition, according to specific application conditions, the conference system 10 may also include any other appropriate components.
[0296] Exemplary computer program products and computer-readable storage media
[0297] In addition to the above-mentioned methods and devices, the embodiments of the present disclosure may also be a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the processor executes the steps of the sound pickup method according to various embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section of this specification.
[0298] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0299] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the processor executes the steps of the sound pickup method according to various embodiments of the present disclosure described in the above “Exemplary Method” section of this specification.
[0300] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0301] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0302] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0303] It should also be noted that in the apparatus, device and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0304] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0305] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A sound pickup method, wherein: include: Acquire N target signals through a microphone array, wherein the microphone array includes a plurality of microphones, the N target signals come from at least one microphone in the microphone array, and N is greater than or equal to 1; Based on the N target signals, the sound pickup of the microphone array is controlled.
2. The sound pickup method according to claim 1, wherein: The N target signals are generated by M first indications, where M is greater than or equal to 1, and each of the first indications is used to enable at least one microphone in the microphone array to generate at least one target signal.
3. The sound pickup method according to claim 1, wherein: The controlling the sound pickup of the microphone array based on the N target signals includes: controlling the sound pickup of the microphone array when the N target signals meet a preset trigger condition.
4. The sound pickup method according to claim 3, wherein: When the N target signals meet a preset trigger condition, controlling the microphone array to pick up sound includes: When the N target signals satisfy the preset trigger condition, determining at least one target microphone from the at least one microphone that acquires the N target signals; The microphone array is controlled to pick up sound in a sound pickup direction corresponding to the at least one target microphone.
5. The sound pickup method according to claim 4, wherein: The preset trigger condition includes at least a first trigger condition, a second trigger condition, or a third trigger condition; The first trigger condition includes: N is equal to a first target value, the first target value is greater than or equal to 1, and the N target signals are acquired by the same microphone in the microphone array within a first time length; The second trigger condition includes: N is equal to a second target value, the second target value is greater than 1, and the N target signals are acquired sequentially by K microphones in the microphone array in a preset order within a second time length, and K is greater than 1; The third trigger condition includes: the N target signals include at least one first target signal, and the signal duration of the first target signal is greater than the third duration.
6. The sound pickup method according to claim 5, wherein: The step of determining at least one target microphone from the at least one microphone that acquires the N target signals comprises: When the N target signals satisfy the first trigger condition, a microphone that acquires the N target signals is determined as the target microphone.
7. The sound pickup method according to claim 5, wherein: The step of determining at least one target microphone from the at least one microphone that acquires the N target signals comprises: When the N target signals satisfy the second trigger condition, determining the microphone that first acquires the target signal as the target microphone; and / or When the N target signals satisfy the second trigger condition, the microphone that acquires the target signal last is determined as the target microphone.
8. The sound pickup method according to claim 1, wherein: The method of acquiring N target signals through a microphone array includes: Acquire signals through the plurality of microphones in the microphone array, the plurality of microphones including a first microphone; When the first signal acquired by the first microphone meets the first feature, it is determined that the target signal is acquired from the first microphone.
9. The sound pickup method according to claim 8, wherein: The first signal meets the first characteristic, including: The amplitude of the first signal in the first time period and the second time period is greater than or equal to the first threshold, and the amplitude of the first signal before the first time period and after the second time period is less than or equal to the second threshold, and the amplitude of the first signal in the third time period is less than the third threshold; The first time period is earlier than the third time period, the third time period is earlier than the second time period, the first threshold is greater than the second threshold, and the second threshold is greater than the third threshold.
10. The sound pickup method according to claim 8, wherein: The first signal meets the first characteristic, including: The amplitude of the first signal in the first time period and the second time period is greater than the amplitude of the first signal in the third time period, and the difference between the amplitudes of the first signal in the first time period and the third time period is greater than a fourth threshold, and the difference between the amplitudes of the first signal in the second time period and the third time period is greater than a fifth threshold; The first time period is earlier than the third time period, and the third time period is earlier than the second time period.
11. The sound pickup method according to claim 8, wherein: The first signal meets the first characteristic, including: The amplitude of the first signal is greater than the amplitudes of signals acquired by other microphones at the same time, and the difference between the amplitude of the first signal and the amplitudes of signals acquired by other microphones is greater than a sixth threshold.
12. The sound pickup method according to claim 1, wherein: The method of acquiring N target signals through a microphone array includes: Acquiring signals through the plurality of microphones in the microphone array; The target signal is identified from the signals acquired by the multiple microphones using a first feature matching network.
13. The sound pickup method according to claim 1, wherein: The method of acquiring N target signals through a microphone array includes: Acquire signals through the plurality of microphones in the microphone array, the plurality of microphones including a first microphone; Calculate the similarity between the signal acquired by each microphone and the sample signal respectively; When the similarity between the first signal acquired by the first microphone and the sample signal is greater than a seventh threshold, it is determined that the target signal is acquired from the first microphone.
14. A sound pickup device, wherein: include: A signal acquisition module is configured to acquire N target signals through a microphone array, wherein the microphone array includes a plurality of microphones, the N target signals come from at least one microphone in the microphone array, and N is a positive integer greater than or equal to 1; The signal processing module is configured to control the sound pickup of the microphone array based on the N target signals.
15. A sound pickup device, wherein: include: microphone array, memory, and processor; The microphone array is used to obtain microphone signals. The memory stores computer program instructions. When the computer program instructions in the memory are executed by the processor, the sound pickup device implements the sound pickup method according to any one of claims 1 to 13.
16. A computer-readable storage medium, wherein: The computer-readable storage medium stores a computer program, and the computer program is used to execute the sound pickup method described in any one of claims 1 to 13.
Citation Information
Cited By
Interaction method of intelligent sound box and intelligent sound box
CN121905178A
