CN114928789A - Microphone pickup area adjusting method, device, equipment and storage medium - Google Patents

Microphone pickup area adjusting method, device, equipment and storage medium Download PDF

Info

Publication number
CN114928789A
CN114928789A CN202110150485.2A CN202110150485A CN114928789A CN 114928789 A CN114928789 A CN 114928789A CN 202110150485 A CN202110150485 A CN 202110150485A CN 114928789 A CN114928789 A CN 114928789A
Authority
CN
China
Prior art keywords
adjustment
angle
volume
pickup
pickup area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110150485.2A
Other languages
Chinese (zh)
Inventor
敖进元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shichuang Display Technology Co ltd
Original Assignee
Guangzhou Shichuang Display Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shichuang Display Technology Co ltd filed Critical Guangzhou Shichuang Display Technology Co ltd
Priority to CN202110150485.2A priority Critical patent/CN114928789A/en
Publication of CN114928789A publication Critical patent/CN114928789A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/20Arrangements for obtaining desired frequency or directional characteristics
    • H04R1/32Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only
    • H04R1/40Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only by combining a number of identical transducers
    • H04R1/406Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only by combining a number of identical transducers microphones
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D3/00Control of position or direction
    • G05D3/12Control of position or direction using feedback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the application discloses a method, a device, equipment and a storage medium for adjusting a microphone pickup area. The method comprises the following steps: acquiring a display rotation angle and a display rotation direction acquired by a triaxial acceleration sensor, and acquiring microphone pickup volume acquired by an array microphone; when the sound pick-up volume is confirmed to be within a preset effective volume range, recording the rotation angle and the rotation direction; when the sound pickup volume is confirmed to be within a preset invalid volume range, determining the adjustment angle and the adjustment direction of the array microphone according to the rotation angle and the rotation direction, or determining the volume adjustment gain of the array microphone according to the sound pickup volume; and adjusting the sound pickup area of the array microphone according to the adjustment angle and the adjustment direction, or adjusting the sound pickup gain of the array microphone according to the volume adjustment gain. Through above-mentioned technical means, solve prior art can not pinpoint the problem in pickup area to realize the accurate adjustment in pickup area, improve array microphone's pickup quality.

Description

Microphone pickup area adjusting method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of all-in-one machines, in particular to a method, a device, equipment and a storage medium for adjusting a microphone pickup area.
Background
The microphone and the screen setting of traditional all-in-one are in same plane, and when the screen rotated, the suitable pickup area of microphone also can be followed and rotated, and the pickup area of microphone can change this moment, and the pickup effect descends. For the reduction of the sound pickup effect, the existing solution is to adjust the sound pickup area and volume by the array microphone velocity shaping and the automatic gain adjusting mode.
The inventor finds that if the microphone placement is changed, so that the angular deviation of the speaker facing the microphone is large, if only gain is increased, the frequency response and distortion of the microphone can be changed differently, and the pickup quality of the microphone is affected. Array microphone wave speed takes shape can adjust to the pickup direction, but the pickup direction of sound localization determination is accurate inadequately, leads to the angle of pickup direction adjustment accurate inadequately, and under the noisy circumstances in use scene, the difficult condition of sound localization appears easily, and this leads to pickup direction adjustment also difficult relatively, can't guarantee the accuracy and the reliability of pickup direction adjustment.
Disclosure of Invention
The embodiment of the application provides a microphone pickup adjusting method, a microphone pickup adjusting device, microphone pickup adjusting equipment and a microphone pickup storage medium, which can solve the problem that a pickup area cannot be accurately positioned in the prior art, so that the pickup area can be accurately adjusted, and pickup quality is improved.
In a first aspect, an embodiment of the present application provides a microphone pickup adjustment method, including:
acquiring a display rotation angle and a display rotation direction acquired by a triaxial acceleration sensor, and acquiring microphone pickup volume acquired by an array microphone;
when the pickup volume is confirmed to be within a preset effective volume range, recording the rotation angle and the rotation direction;
when the pickup volume is confirmed to be within a preset invalid volume range, determining the adjustment angle and the adjustment direction of the array microphone according to the rotation angle and the rotation direction, or determining the volume adjustment gain of the array microphone according to the pickup volume;
and adjusting the pickup area of the array microphone according to the adjustment angle and the adjustment direction, or adjusting the pickup gain of the array microphone according to the volume adjustment gain.
In a second aspect, an embodiment of the present application provides a microphone pickup adjusting apparatus, including:
the data acquisition module is configured to acquire a rotation angle and a rotation direction of the display acquired by the triaxial acceleration sensor and acquire the pickup volume of the microphone acquired by the array microphone;
the data recording module is configured to record the rotation angle and the rotation direction when the pickup volume is confirmed to be within a preset effective volume range;
an adjustment parameter determining module configured to determine an adjustment angle and an adjustment direction of the array microphone according to the rotation angle and the rotation direction when the pickup volume is confirmed to be within a preset invalid volume range, or determine a volume adjustment gain of the array microphone according to the pickup volume;
and the pickup adjusting module is configured to adjust the pickup area of the array microphone according to the adjustment angle and the adjustment direction, or adjust the pickup gain of the array microphone according to the volume adjustment gain.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
the memory to store one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the microphone pickup adjustment method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the microphone pickup adjustment method according to the first aspect.
According to the embodiment of the application, the microphone pickup volume collected by the array microphone is obtained by obtaining the rotation angle and the rotation direction of the display collected by the triaxial acceleration sensor; when the sound pick-up volume is confirmed to be within a preset effective volume range, recording the rotation angle and the rotation direction; when the sound pickup volume is confirmed to be within a preset invalid volume range, determining the adjustment angle and the adjustment direction of the array microphone according to the rotation angle and the rotation direction, or determining the volume adjustment gain of the array microphone according to the sound pickup volume; and adjusting the sound pickup area of the array microphone according to the adjustment angle and the adjustment direction, or adjusting the sound pickup gain of the array microphone according to the volume adjustment gain. Through the technical means, the rotation angle and the rotation direction of the pickup area of the array microphone are accurately acquired through the triaxial acceleration sensor, and the pickup area is accurately monitored through double-threshold monitoring of the volume threshold and the angle threshold. Through the position adjustment to the pickup area and the cooperation adjustment of pickup gain for pickup adjustment is more accurate reliable, improves array microphone's pickup quality.
Drawings
Fig. 1 is a flowchart of a microphone pickup adjustment method according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a microphone pickup adjustment system according to an embodiment of the present disclosure;
FIG. 3 is a schematic structural diagram of a screen of an all-in-one machine provided in an embodiment of the present application before rotation;
fig. 4 is a schematic structural diagram of a screen of an all-in-one machine provided in an embodiment of the present application after rotating;
FIG. 5 is a flow chart of an alternative specific determination of the adjustment angle and the adjustment direction;
FIG. 6 is a flow chart of an alternative specific determination of the volume adjustment gain;
fig. 7 is a flowchart of another microphone pickup adjustment method according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a microphone pickup adjustment apparatus according to a second embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the matters relating to the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, subprograms, and the like.
The method, the device, the equipment and the storage medium for adjusting the microphone pickup aim to acquire the microphone pickup volume acquired by an array microphone by acquiring the rotation angle and the rotation direction of a display acquired by a triaxial acceleration sensor; when the sound pick-up volume is confirmed to be within a preset effective volume range, recording the rotation angle and the rotation direction; when the sound pickup volume is confirmed to be within a preset invalid volume range, determining the adjustment angle and the adjustment direction of the array microphone according to the rotation angle and the rotation direction, or determining the volume adjustment gain of the array microphone according to the sound pickup volume; and adjusting the sound pickup area of the array microphone according to the adjustment angle and the adjustment direction, or adjusting the sound pickup gain of the array microphone according to the volume adjustment gain. Compared with the traditional pickup adjusting technology, the pickup area is adjusted only through array microphone wave velocity forming, or the pickup volume is adjusted only through automatic gain, but when the angular deviation of the current speaker over against the microphone is large, if only gain is increased, the microphone frequency response and distortion can be changed differently, and the pickup quality of the microphone is influenced. And when carrying out pickup area adjustment, the pickup direction that sound localization confirmed is accurate inadequately, leads to the angle of pickup direction adjustment accurate inadequately, and under the noisy circumstances in use scene, the difficult circumstances of sound localization appears easily, and this leads to pickup direction adjustment also difficult relatively, can't guarantee the accuracy and the reliability of pickup direction adjustment. Based on this, embodiments of the present application provide a method, an apparatus, a device, and a storage medium for adjusting microphone pickup, so as to solve the problem in the prior art that a pickup area cannot be accurately located, implement accurate adjustment of the pickup area, and improve pickup quality.
The first embodiment is as follows:
fig. 1 is a flowchart of a microphone pickup adjustment method according to an embodiment of the present disclosure. The method for adjusting the microphone pickup provided in the embodiments may be performed by a microphone pickup adjusting apparatus, the microphone pickup adjusting apparatus may be implemented by software and/or hardware, and the microphone pickup adjusting apparatus may be formed by two or more physical entities or may be formed by one physical entity.
For example, referring to fig. 2, fig. 2 is a schematic structural diagram of a microphone pickup adjustment system according to an embodiment of the present disclosure. As shown in fig. 2, the microphone pickup adjustment system includes: the array microphone is used for collecting volume data, namely microphone pickup volume, the three-axis acceleration sensor is used for collecting rotation data, namely display rotation angle and rotation direction, and the main controller is used for determining adjustment parameters of the array microphone according to the volume data and the rotation data and adjusting the array microphone according to the adjustment parameters.
For the convenience of understanding, the main controller is used as the microphone pickup adjustment device in the embodiment for exemplary description. Specifically, referring to fig. 1, a microphone pickup adjustment method provided in the embodiment of the present application includes:
s101, obtaining a display rotation angle and a display rotation direction collected by a triaxial acceleration sensor, and obtaining microphone pickup volume collected by an array microphone.
Exemplarily, referring to fig. 3, fig. 3 is a schematic structural diagram of a screen of a kiosk according to an embodiment of the present application before rotation. As shown in fig. 3, the all-in-one machine includes: the microphone array comprises a rotating shaft, a support, a display, an array microphone and a three-axis acceleration sensor, wherein the display is installed on the support through the rotating shaft, the array microphone and the three-axis acceleration sensor are installed on the display, and a dotted line area is a current pickup area of the array microphone. The display is perpendicular to the X axis, the support is parallel to the Z axis, and the Y axis, the X axis and the Z axis are perpendicular to each other. The display can be rotated clockwise or counterclockwise about the Y-axis, it being understood that the display is not rotated perpendicular to the X-axis. When the display rotates, the display drives the three-axis acceleration sensor arranged inside to rotate, the three-axis acceleration sensor detects the acceleration of the display in the directions of the Y axis, the X axis and the Z axis, and the rotation angle and the rotation direction of the display are calculated according to the acceleration in the directions of the Y axis, the X axis and the Z axis. Because the triaxial acceleration sensor, the display and the array microphone rotate synchronously, the rotation angle and the rotation direction measured by the triaxial acceleration sensor can be used as the rotation angle and the rotation direction of the display and the array microphone, and then the position of a sound pickup area after rotation can be determined through the rotation angle and the rotation direction of the array microphone. Specifically, assume that the state of the display in fig. 3 is the initial state, i.e., the display is perpendicular to the X-axis. At this time, the sound pickup area of the array microphone is an initial sound pickup area, and the angle of the initial sound pickup area is assumed to be 0 ° and the direction is the right front of the display.
Further, referring to fig. 4, fig. 4 is a schematic structural diagram of a screen of an all-in-one machine provided in an embodiment of the present application after rotation. As shown in fig. 4, assuming that the display is rotated clockwise by an angle θ, the array microphone rotates along with the rotation of the display, and the initial sound pickup area rotates to the first sound pickup area, that is, the first sound pickup area is the sound pickup area of the current array microphone. Understandably, when the display rotates clockwise by an angle theta, the three-axis acceleration sensor acquires that the rotation angle of the display is theta degrees, and the rotation direction is the clockwise rotation direction.
And S102, recording the rotation angle and the rotation direction when the sound pickup volume is confirmed to be within a preset effective volume range.
For example, the sound volume collected by the array microphone is one of the criteria for determining whether the current sound pickup area is appropriate, if the sound volume is greater than or equal to the volume threshold, it indicates that the sound volume collected by the current array microphone meets the volume requirement of the user, and if the sound volume is less than the volume threshold, it indicates that the sound volume collected by the current array microphone does not meet the volume requirement of the user, and at this time, the sound pickup parameter of the array microphone needs to be adjusted to meet the user requirement. It is understood that the volume threshold can be set according to the volume requirement of the user, and is not limited herein.
Specifically, refer to fig. 4, assume that after the initial pickup area has rotated first pickup area, pickup volume is greater than or equal to predetermined volume threshold, then first pickup area this moment is suitable pickup area, to suitable pickup area, need not to carry out pickup area's adjustment to array microphone, but need record the turned angle and the direction of rotation of showing the front bezel, after being convenient for adjust the display next time, can more accurately calculate the position of current array microphone's pickup area, in order to adjust current pickup area to suitable pickup area. Further, based on the rotation direction and the sound pickup area direction recorded in the last adjustment, the rotation angle and the sound pickup area angle recorded in the last adjustment are calculated, and the current sound pickup area angle and direction are recorded. For example, referring to fig. 4, the sound pickup area at the last adjustment is the initial sound pickup area, and the current sound pickup area is the first sound pickup area. According to the clockwise rotation direction and the initial direction (right ahead of the display), the rotation angle theta DEG and the initial angle 0 DEG are added, the first sound pickup area direction is obliquely above the display, the first sound pickup area angle is theta DEG, and the first sound pickup area angle and direction are recorded.
S103, when the sound pickup volume is confirmed to be within a preset invalid volume range, determining the adjustment angle and the adjustment direction of the array microphone according to the rotation angle and the rotation direction, or determining the volume adjustment gain of the array microphone according to the sound pickup volume.
For example, referring to fig. 4, assuming that after the initial sound pickup area is rotated to the first sound pickup area, the sound pickup volume is smaller than the volume threshold, at this time, it needs to be determined whether the first sound pickup area is a suitable sound pickup area, if the first sound pickup area is a suitable sound pickup area, the sound pickup gain of the array microphone needs to be adjusted, and if the first sound pickup area is not a suitable sound pickup area, the sound pickup area of the array microphone needs to be adjusted.
Specifically, referring to fig. 5, fig. 5 is a flowchart of an alternative specific determination of the adjustment angle and the adjustment direction. As shown in fig. 5, the specific flow of determining the adjustment angle and the adjustment direction includes:
s1031, calculating the rotation angle and the sound pickup area angle recorded in the last adjustment based on the rotation direction and the sound pickup area direction recorded in the last adjustment to obtain the current sound pickup area angle and direction;
and S1032, determining an adjustment angle and an adjustment direction according to the current pickup area angle and the current pickup area direction when the current pickup area angle is confirmed to be within a preset invalid angle range.
For example, referring to fig. 4, the sound pickup area at the last adjustment is the initial sound pickup area, and the current sound pickup area is the first sound pickup area. According to the clockwise rotation direction and the initial direction (right in front of the display), the rotation angle theta DEG and the initial angle 0 DEG are added, and the first sound pickup area direction is obliquely upward of the display, and the first sound pickup area angle is theta deg. Assuming that the preset effective angle range is (- γ °, + γ °), if γ ° < θ °, the current sound pickup area is not a suitable sound pickup area. Furthermore, the opposite direction of the current sound pickup area direction is taken as the adjustment direction of the array microphone, and the current sound pickup area angle is taken as the adjustment angle of the array microphone. Illustratively, referring to fig. 4, the first pickup area direction is an oblique upper direction of the display, and the opposite direction, i.e. an oblique lower direction of the display, is rotated from the oblique upper direction to the oblique lower direction, the display needs to be rotated counterclockwise, and then the adjustment direction of the array microphone is the counterclockwise direction. The first pickup area angle is θ °, and the adjustment angle of the array microphone is θ °.
Specifically, referring to fig. 6, fig. 6 is a flow chart illustrating an alternative specific determination of the volume adjustment gain. As shown in fig. 6, the specific determination process of the volume adjustment gain includes:
s1033, calculating the rotation angle and the sound pickup area angle recorded in the last adjustment based on the rotation direction and the sound pickup area direction recorded in the last adjustment to obtain the current sound pickup area angle and direction;
s1034, when the current sound pickup area angle is confirmed to be within the preset effective angle range, determining the volume adjustment gain of the array microphone according to the sound pickup volume and the volume threshold value.
For example, referring to fig. 4, assuming that the preset effective angle range is (- γ °, + γ °), if γ ° ≧ θ °, the current sound pickup area is a suitable sound pickup area, and at this time, it may be determined that the sound pickup gain is small, and the sound pickup gain needs to be adjusted, without adjusting the sound pickup area position.
And S104, adjusting the sound pickup area of the array microphone according to the adjustment angle and the adjustment direction, or adjusting the sound pickup gain of the array microphone according to the volume adjustment gain.
Specifically, if the adjustment angle and the adjustment direction are determined in the previous step, the sound pickup area of the array microphone is adjusted according to the adjustment angle and the adjustment direction. It should be noted that, after the sound pickup area of the array microphone is adjusted, the direction and angle of the sound pickup area are changed, and the recorded current direction and angle of the sound pickup area need to be modified according to the adjustment direction and adjustment angle. Since the sound pickup area is adjusted to the initial sound pickup area every adjustment, the direction and angle of the initial sound pickup area can be taken as the current sound pickup area after each adjustment of the sound pickup area. Exemplarily, referring to fig. 4, it is determined that the adjustment angle of the first sound pickup area is θ ° and the adjustment direction is counterclockwise, so that the first sound pickup area is rotated counterclockwise by θ °, and is transferred to the second sound pickup area, which is the sound pickup area of the current array microphone, it can be understood that the second sound pickup area and the initial sound pickup area are in the same area, so that the current sound pickup area direction and angle are recorded, that is, the current sound pickup area direction and angle are recorded as the right front and 0 ° of the display.
Specifically, if the volume adjustment gain is determined in the previous step, the pickup gain of the array microphone is adjusted according to the volume adjustment gain. It should be noted that although the current sound pickup area is still an appropriate sound pickup area, the current sound pickup area is still changed from the sound pickup area at the time of the previous adjustment, and therefore, it is necessary to record the current sound pickup area direction and angle so that the sound pickup area direction and angle at the next time can be accurately calculated from the current sound pickup area direction and angle in the following. Illustratively, referring to fig. 4, if the current sound pickup area is also the first sound pickup area, the first sound pickup area direction and angle are recorded, the current sound pickup area direction is recorded obliquely above the display, and the sound pickup area angle at the current time is recorded as θ °.
On the other hand, fig. 7 is a flowchart of another microphone pickup adjustment method according to an embodiment of the present application. As shown in fig. 7, the microphone pickup adjustment method includes:
s201, acquiring a rotation angle and a rotation direction of a display, which are acquired by a triaxial acceleration sensor, and acquiring microphone pickup volume acquired by an array microphone;
s202, judging whether the sound collecting volume is in a preset invalid volume range, executing S203 when the sound collecting volume is confirmed to be in the preset invalid volume range, and executing S213 when the sound collecting volume is confirmed to be in the preset valid volume range;
s203, acquiring the angle and the direction of the current pickup area;
s204, judging whether the current sound pickup area angle is within a preset invalid angle range, executing S205 when the current sound pickup area angle is determined to be within the preset invalid angle range, and executing S209 when the current sound pickup area angle is determined to be within the preset valid angle range;
s205, determining an adjustment angle and an adjustment direction according to the angle and the direction of the current pickup area;
s206, adjusting the sound pickup area of the array microphone according to the adjustment angle and the adjustment direction;
s207, recording the current pickup area angle and direction as a preset initial angle and initial direction;
s208, judging whether the sound pickup volume is in an invalid volume range, executing S209 when the sound pickup volume is confirmed to be in a preset invalid volume range, and ending the operation when the sound pickup volume is confirmed to be in a preset valid volume range;
s209, determining the volume adjustment gain of the array microphone according to the pickup volume and the volume threshold;
s210, adjusting the pickup gain of the array microphone according to the volume adjustment gain;
s211, recording the angle and the direction of the current sound pickup area;
s212, judging whether the sound volume is in an invalid volume range, executing S205 when the sound volume is confirmed to be in a preset invalid volume range, and finishing the operation when the sound volume is confirmed to be in a preset valid volume range;
and S213, recording the rotation angle and the rotation direction, and finishing the operation.
Specifically, the specific implementation process of S201 may refer to S101, the specific implementation processes of S202 and S213 may refer to S102, and the specific implementation processes of S202 to S205 and S209 may refer to S103, and the specific implementation processes of S206 and S210 may refer to S104.
For example, after confirming that the current sound pickup area angle is within the invalid angle range, the adjustment angle and the adjustment direction need to be determined so as to adjust the sound pickup area to the initial sound pickup area according to the adjustment angle and the adjustment direction. However, in this case, there may be a case where, because the sound pickup gain of the microphone array is small, the sound pickup volume cannot meet the volume threshold required by the user regardless of whether the sound pickup area is in an appropriate sound pickup area, and at this time, the sound pickup gain needs to be adjusted. Specifically, after the pickup area is adjusted to the initial pickup area, whether the pickup volume is smaller than a volume threshold value or not is judged, if the pickup volume is smaller than the volume threshold value, the volume gain adjustment of the array microphone is determined according to the difference value or the ratio between the pickup volume and the volume threshold value, the pickup area is adjusted according to the volume gain adjustment, and the current angle and direction of the pickup area are recorded again.
Illustratively, after confirming that the current sound pickup area angle is within the valid angle range, it is necessary to determine a volume adjustment gain to adjust the sound pickup gain according to the volume adjustment gain. However, there may be a case where the area where the user is located is within the range of the angle threshold, but is just opposite to the current sound pickup area, and even if the current sound pickup area is in the appropriate sound pickup area, the sound pickup area needs to be adjusted to the initial sound pickup area because the area where the user is located changes. Specifically, after the pickup gain is adjusted, the current pickup area angle and direction are recorded, whether the pickup volume is smaller than a volume threshold value or not is judged, and if the pickup volume is smaller than the volume threshold value, the adjustment angle and the adjustment direction are determined according to the current pickup area angle and direction, so that the pickup area of the array microphone is adjusted according to the adjustment angle and the adjustment direction. After the sound pickup area is adjusted to the initial sound pickup area, the current sound pickup area direction and angle are recorded as the initial sound pickup area direction and angle.
In conclusion, the microphone pickup volume acquired by the array microphone is acquired by acquiring the display rotation angle and the display rotation direction acquired by the triaxial acceleration sensor; when the sound pick-up volume is confirmed to be within a preset effective volume range, recording the rotation angle and the rotation direction; when the sound pickup volume is confirmed to be within a preset invalid volume range, determining the adjustment angle and the adjustment direction of the array microphone according to the rotation angle and the rotation direction, or determining the volume adjustment gain of the array microphone according to the sound pickup volume; and adjusting the sound pickup area of the array microphone according to the adjustment angle and the adjustment direction, or adjusting the sound pickup gain of the array microphone according to the volume adjustment gain. Through the technical means, the rotation angle and the rotation direction of the pickup area of the array microphone are accurately acquired through the triaxial acceleration sensor, and the pickup area is accurately monitored through double threshold monitoring of the volume threshold and the angle threshold. Through the position adjustment to the pickup area and the cooperation adjustment of pickup gain for pickup adjustment is more accurate reliable, improves array microphone's pickup quality.
Example two
Fig. 8 is a schematic structural diagram of a microphone pickup adjustment apparatus according to a second embodiment of the present application. Referring to fig. 8, the microphone pickup adjusting apparatus includes: a data acquisition module 31, a data recording module 32, an adjustment parameter determination module 33, and a sound pickup adjustment module 34.
The data acquisition module 31 is configured to acquire a display rotation angle and a rotation direction acquired by the triaxial acceleration sensor, and acquire microphone pickup volume acquired by the array microphone;
a data recording module 32 configured to record a rotation angle and a rotation direction when it is confirmed that the sound pickup volume is within a preset effective volume range;
an adjustment parameter determining module 33 configured to determine an adjustment angle and an adjustment direction of the array microphone according to the rotation angle and the rotation direction when it is determined that the sound pickup volume is within a preset invalid volume range, or determine a volume adjustment gain of the array microphone according to the sound pickup volume;
and the sound pickup adjusting module 34 is configured to adjust the sound pickup area of the array microphone according to the adjustment angle and the adjustment direction, or adjust the sound pickup gain of the array microphone according to the volume adjustment gain.
On the basis of the above embodiment, the data recording module includes: and a sound pickup area parameter recording unit configured to calculate the rotation angle and the sound pickup area angle recorded at the last adjustment based on the rotation direction and the sound pickup area direction recorded at the last adjustment, and record the current sound pickup area angle and direction.
On the basis of the above embodiment, the adjustment parameter determining module includes: a sound pickup area parameter first acquisition unit configured to calculate a rotation angle and a sound pickup area angle recorded at the last adjustment based on the rotation direction and the sound pickup area direction recorded at the last adjustment to obtain a current sound pickup area angle and direction; and an adjustment angle and adjustment direction determining unit configured to determine an adjustment angle and an adjustment direction according to the current sound pickup area angle and direction when it is confirmed that the current sound pickup area angle is within a preset invalid angle range.
On the basis of the above embodiment, the adjustment parameter determining module further includes: a second pickup area parameter acquisition unit configured to calculate a rotation angle and a pickup area angle recorded at the previous adjustment based on the rotation direction and the pickup area direction recorded at the previous adjustment, to obtain a current pickup area angle and direction; and the volume adjustment gain determining unit is configured to determine the volume adjustment gain of the array microphone according to the sound pickup volume and the volume threshold when the current sound pickup area angle is confirmed to be in the preset effective angle range.
On the basis of the above-described embodiment, the adjustment angle and adjustment direction determining unit includes: and the adjustment angle and adjustment direction determining subunit is configured to take the opposite direction of the current sound pickup area direction as the adjustment direction of the array microphone and take the current sound pickup area angle as the adjustment angle of the array microphone.
On the basis of the above embodiment, the microphone pickup adjustment apparatus further includes: the first initialization module of the pickup area parameters is configured to record the current pickup area angle and direction as a preset initial angle and initial direction; the sound pickup gain adjustment parameter determination module is configured to determine the volume adjustment gain of the array microphone according to the sound pickup volume of the microphone and a volume threshold value when the sound pickup volume is confirmed to be within an invalid volume range; and the pickup gain adjusting module is configured to adjust the pickup gain of the array microphone according to the volume adjusting gain.
On the basis of the above embodiment, the microphone pickup adjusting apparatus further includes: the pickup area parameter recording module is configured to record the current pickup area angle and direction; the pickup area adjusting parameter determining module is configured to determine an adjusting angle and an adjusting direction according to the current angle and direction of the pickup area when the pickup volume is confirmed to be within the invalid volume range; a sound pickup area adjusting module configured to adjust a sound pickup area of the array microphone according to the adjustment angle and the adjustment direction; a pickup area parameter second initialization module configured to record a current pickup area angle and direction as a preset initial angle and initial direction; and adjusting the sound pickup area of the array microphone according to the adjustment angle and the adjustment direction.
Acquiring the microphone pickup volume acquired by the array microphone by acquiring the rotation angle and the rotation direction of the display acquired by the triaxial acceleration sensor; when the sound pick-up volume is confirmed to be within a preset effective volume range, recording the rotation angle and the rotation direction; when the sound pickup volume is confirmed to be within a preset invalid volume range, determining the adjustment angle and the adjustment direction of the array microphone according to the rotation angle and the rotation direction, or determining the volume adjustment gain of the array microphone according to the sound pickup volume; and adjusting the sound pickup area of the array microphone according to the adjustment angle and the adjustment direction, or adjusting the sound pickup gain of the array microphone according to the volume adjustment gain. Through the technical means, the rotation angle and the rotation direction of the pickup area of the array microphone are accurately acquired through the triaxial acceleration sensor, and the pickup area is accurately monitored through double-threshold monitoring of the volume threshold and the angle threshold. Through the position adjustment to the pickup area and the cooperation adjustment of pickup gain for pickup adjustment is more accurate reliable, improves array microphone's pickup quality.
The microphone pickup adjusting device provided by the embodiment of the application is contained in the microphone pickup adjusting equipment, can be used for executing the microphone pickup adjusting method provided by any embodiment, and has corresponding functions and beneficial effects.
EXAMPLE III
Fig. 9 is a schematic structural diagram of an electronic device according to a third embodiment of the present application. As shown in fig. 9, the electronic apparatus includes a processor 40, a memory 41, an input device 42, an output device 43, and a display screen 44; the number of the processors 40 in the electronic device may be one or more, and one processor 40 is taken as an example in fig. 9; the processor 40, the memory 41, the input device 42, the output device 43, and the display 44 in the electronic device may be connected by a bus or other means, and the bus connection is exemplified in fig. 9.
The memory 41 is used as a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the microphone sound pickup adjusting method in the embodiment of the present application (for example, the data acquisition module 31, the data recording module 32, the adjustment parameter determination module 33, and the sound pickup adjusting module 34 in the microphone sound pickup adjusting apparatus). The processor 40 executes various functional applications and data processing of the electronic device by running software programs, instructions and modules stored in the memory 41, so as to implement the microphone sound collection adjustment method.
The memory 41 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 41 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 41 may further include memory located remotely from processor 40, which may be connected to electronic devices over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 42 may be used to receive input numeric or character information and generate key signal inputs relating to user settings and function controls of the electronic equipment. The output means 43 may comprise an audio output device such as a speaker. The display screen 44 is a display screen with a touch function, and may be a capacitive screen, an electromagnetic screen, or an infrared screen. Optionally, when the display screen 44 is an infrared screen, the display screen further includes an infrared touch frame, and the infrared touch frame is disposed around the display screen 44, and may also be configured to receive an infrared signal and send the infrared signal to the processor 40 or other devices.
The electronic equipment comprises the microphone sound pickup adjusting method, can be used for executing any microphone sound pickup adjusting method, and has corresponding functions and beneficial effects.
Example four
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a microphone pickup adjustment method, the method comprising:
acquiring a display rotation angle and a display rotation direction acquired by a triaxial acceleration sensor, and acquiring microphone pickup volume acquired by an array microphone;
when the sound pick-up volume is confirmed to be within a preset effective volume range, recording the rotation angle and the rotation direction;
when the sound pickup volume is confirmed to be within a preset invalid volume range, determining the adjustment angle and the adjustment direction of the array microphone according to the rotation angle and the rotation direction, or determining the volume adjustment gain of the array microphone according to the sound pickup volume;
and adjusting the sound pickup area of the array microphone according to the adjustment angle and the adjustment direction, or adjusting the sound pickup gain of the array microphone according to the volume adjustment gain.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the method operations described above, and may also perform related operations in the microphone pickup adjustment method provided in any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment based on the microphone sound pickup adjusting apparatus, the units and modules included in the embodiment are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will appreciate that the present invention is not limited to the particular embodiments described herein, and that various obvious changes, rearrangements and substitutions will now be apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A microphone pickup adjustment method is characterized by comprising the following steps:
acquiring a display rotation angle and a display rotation direction acquired by a triaxial acceleration sensor, and acquiring microphone pickup volume acquired by an array microphone;
when the pickup volume is confirmed to be within a preset effective volume range, recording the rotation angle and the rotation direction;
when the pickup volume is confirmed to be within a preset invalid volume range, determining the adjustment angle and the adjustment direction of the array microphone according to the rotation angle and the rotation direction, or determining the volume adjustment gain of the array microphone according to the pickup volume;
adjusting the pickup area of the array microphone according to the adjustment angle and the adjustment direction, or adjusting the pickup gain of the array microphone according to the volume adjustment gain.
2. The method of claim 1, wherein said recording said angle and direction of rotation comprises:
based on the rotation direction and the pickup area direction recorded during last adjustment, the rotation angle and the pickup area angle recorded during last adjustment are calculated, and the current pickup area angle and direction are recorded.
3. The method of claim 1, wherein determining the adjustment angle and the adjustment direction of the array microphone according to the rotation angle and the rotation direction comprises:
calculating the rotation angle and the pickup area angle recorded in the last adjustment based on the rotation direction and the pickup area direction recorded in the last adjustment to obtain the current pickup area angle and direction;
and when confirming that the current pickup area angle is within a preset invalid angle range, determining the adjustment angle and the adjustment direction according to the current pickup area angle and the current pickup area angle.
4. The method of claim 1, wherein the determining a volume adjustment gain of the array microphone according to the pickup volume comprises:
calculating the rotation angle and the sound pickup area angle recorded in the last adjustment based on the rotation direction and the sound pickup area direction recorded in the last adjustment to obtain the current sound pickup area angle and direction;
and when the current pickup area angle is confirmed to be within a preset effective angle range, determining the volume adjustment gain of the array microphone according to the pickup volume and the volume threshold value.
5. The method of claim 3, wherein the determining the adjustment angle and the adjustment direction according to the current pickup area angle and direction comprises:
and taking the opposite direction of the current pickup area direction as the adjustment direction of the array microphone, and taking the current pickup area angle as the adjustment angle of the array microphone.
6. The method according to claim 3, further comprising, after the adjusting the sound pickup area of the array microphone according to the adjustment angle and the adjustment direction:
recording the current pickup area angle and direction as a preset initial angle and initial direction;
when the pickup volume is confirmed to be within the invalid volume range, determining the volume adjustment gain of the array microphone according to the pickup volume of the microphone and the volume threshold;
and adjusting the pickup gain of the array microphone according to the volume adjustment gain.
7. The method of claim 4, further comprising, after the adjusting the pickup gain of the array microphone according to the volume adjustment gain:
recording the angle and the direction of the current pickup area;
when the pickup volume is confirmed to be within the invalid volume range, determining the adjustment angle and the adjustment direction according to the angle and the direction of the current pickup area;
adjusting the sound pickup area of the array microphone according to the adjusting angle and the adjusting direction;
and recording the current pickup area angle and direction as a preset initial angle and initial direction.
8. A microphone pickup adjustment apparatus, comprising:
the data acquisition module is configured to acquire a rotation angle and a rotation direction of the display acquired by the triaxial acceleration sensor and acquire the pickup volume of the microphone acquired by the array microphone;
the data recording module is configured to record the rotation angle and the rotation direction when the pickup volume is confirmed to be within a preset effective volume range;
an adjustment parameter determining module configured to determine an adjustment angle and an adjustment direction of the array microphone according to the rotation angle and the rotation direction, or determine a volume adjustment gain of the array microphone according to the sound pickup volume when the sound pickup volume is confirmed to be within a preset invalid volume range;
and the pickup adjusting module is configured to adjust the pickup area of the array microphone according to the adjustment angle and the adjustment direction, or adjust the pickup gain of the array microphone according to the volume adjustment gain.
9. An electronic device, comprising:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a microphone pickup adjustment method as recited in any of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the microphone pick-up adjustment method of any one of claims 1-7 when executed by a computer processor.
CN202110150485.2A 2021-02-03 2021-02-03 Microphone pickup area adjusting method, device, equipment and storage medium Pending CN114928789A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110150485.2A CN114928789A (en) 2021-02-03 2021-02-03 Microphone pickup area adjusting method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110150485.2A CN114928789A (en) 2021-02-03 2021-02-03 Microphone pickup area adjusting method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114928789A true CN114928789A (en) 2022-08-19

Family

ID=82804035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110150485.2A Pending CN114928789A (en) 2021-02-03 2021-02-03 Microphone pickup area adjusting method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114928789A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016187121A (en) * 2015-03-27 2016-10-27 キヤノン株式会社 Imaging apparatus and control method and program thereof
CN109257682A (en) * 2018-09-29 2019-01-22 歌尔科技有限公司 Pickup adjusting method, controlling terminal and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016187121A (en) * 2015-03-27 2016-10-27 キヤノン株式会社 Imaging apparatus and control method and program thereof
CN109257682A (en) * 2018-09-29 2019-01-22 歌尔科技有限公司 Pickup adjusting method, controlling terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
US11265414B2 (en) Method and device for waking up voice recognition function in mobile terminal, and computer readable storage medium
CN105205494B (en) Similar pictures recognition methods and device
US9131295B2 (en) Multi-microphone audio source separation based on combined statistical angle distributions
CN109164414A (en) Localization method, device and storage medium based on microphone array
US20140168057A1 (en) Gyro aided tap gesture detection
US9632570B2 (en) Maintaining or refraining from entering a sleep mode based on received conditions by application specific sensors
CN108335703B (en) Method and apparatus for determining accent position of audio data
CN110570465B (en) Real-time positioning and map construction method and device and computer readable storage medium
WO2019015159A1 (en) Sound pickup method and device
WO2019105238A1 (en) Method and terminal for speech signal reconstruction and computer storage medium
WO2020200132A1 (en) Electronic apparatus of microphone array and application method thereof
CN112233689B (en) Audio noise reduction method, device, equipment and medium
CN112492207B (en) Method and device for controlling camera to rotate based on sound source positioning
CN112468924A (en) Earphone noise reduction method and device
CN102176765A (en) Method for controlling speaker on electronic device and electronic device
CN114928789A (en) Microphone pickup area adjusting method, device, equipment and storage medium
US20190018493A1 (en) Actuating vibration element on device based on sensor input
CN103823654A (en) Information processing method and electronic device
CN111354378B (en) Voice endpoint detection method, device, equipment and computer storage medium
CN110633336A (en) Method and device for determining laser data search range and storage medium
CN111916079A (en) Voice response method, system, equipment and storage medium of electronic equipment
CN116312622A (en) Abnormal sound detection method, device and system
US20240159566A1 (en) Step counting method and device, electronic apparatus and readable storage medium
JP5318258B1 (en) Sound collector
CN112116908B (en) Wake-up audio determining method, device, equipment and storage medium

Legal Events

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