Method, system and recording device for switching states of multiple microphones
By setting multiple microphones on the communication terminal and using technologies such as distance sensors and magnetic sensors to dynamically adjust the weighting values, the problem of blurry sound recording after the communication terminal is rotated is solved, and clear recording is achieved in different scenarios.
Patent Information
- Application Number
- CN202211625372.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-16
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2042-12-16
AI Technical Summary
When existing communication terminals are rotated, the relative position between the microphone and the user's vocal cords changes, resulting in blurry recorded audio.
A multi-microphone switching method is adopted, and the voice data calculation is optimized by adjusting the weighting value. By using distance sensors, magnetic sensors and key input signals, the roles of the main and auxiliary microphones are dynamically adjusted to ensure the clarity of the recorded sound.
After the communication terminal is rotated, the clarity of the recorded sound is maintained, and the MIC role is automatically or manually switched according to the usage scenario and application, thereby improving the recording quality.
Smart Images

Figure CN115942169B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of call recording devices, and more particularly to a method, system, and recording device for switching the state of multiple microphones. Background Technology
[0002] With the development of science and technology, there are increasingly more occasions in official activities where it is necessary to record the situation on the spot for subsequent analysis. In particular, when staff of administrative or judicial organs are performing their duties, call recording devices are needed to record the scene and preserve authentic information about the activities.
[0003] A communication terminal is a type of call recording device, a piece of evidence-gathering equipment worn by police officers during official duties. It integrates real-time video and audio recording, photography, and audio recording functions. The communication terminal combines video recording, photography, intercom, positioning, and storage functions, and can also transmit real-time video wirelessly via 4G. It can digitally record dynamic and static scenes during law enforcement, facilitating its use by police officers in various working environments. Communication terminals are widely used in public security, procuratorate, and judicial fields, as well as various indoor and outdoor testing sites and other scenarios requiring real-time communication.
[0004] The user wears the communication terminal on their chest. The communication terminal can rotate. When the user is leaning forward and needs the communication terminal to still record the scene facing the scene, they can rotate the communication terminal to keep it in a roughly vertical position.
[0005] In existing communication terminals, the microphone (MIC) is fixed to the device. When the communication terminal is rotated, the relative position between the MIC and the user's vocal cords changes. This change in relative position increases the distance between the MIC and the vocal cords, making the recorded sound blurry. Summary of the Invention
[0006] In order to ensure that the sound recorded by the user's communication terminal remains clear after rotation, this application provides a method, system and recording device for switching the state of multiple microphones.
[0007] Firstly, the method for switching the state of multiple microphones provided in this application adopts the following technical solution:
[0008] A method for switching states of multiple microphones includes the following steps:
[0009] First voice data is acquired based on a first microphone, the first voice data having a first weighted value; second voice data is acquired based on a second microphone, the second voice data having a second weighted value; the first weighted value is greater than the second weighted value.
[0010] Obtain first distance data between the first MIC and the target location, and obtain second distance data between the second MIC and the target location;
[0011] If the first distance data is greater than or equal to the second distance data, then the first weighted value is set to be less than the second weighted value; if the first distance data is less than the second distance data, then the first weighted value is set to be greater than the second weighted value.
[0012] The system calculates the first voice data and the second voice data into final voice data in real time based on the latest first weighting value and the second weighting value, and outputs the final voice data.
[0013] By adopting the above technical solution, the microphone is fixed on the communication terminal, which is worn vertically on the user's chest. The communication terminal has two microphones, for example, the first microphone is the main microphone on top and the second microphone is the auxiliary microphone on the bottom. The two microphones record separately, and the voice data recorded by each microphone is calculated into the final voice data and recorded. When the communication terminal is rotated, the relative position between the microphone on the communication terminal and the user's vocal part will change. The change in relative position will make the distance between the first microphone and the vocal part farther and the distance between the second microphone and the vocal part closer. By adjusting the calculation parameters of the final voice data, the recorded sound content remains clear. Rotating the communication terminal can realize the switching between the main microphone and the auxiliary microphone.
[0014] Preferably, the method further includes the following steps:
[0015] Calculate the ratio between the first distance data and the second distance data, and adjust the ratio between the first weighted value and the second weighted value based on the obtained ratio: where the first distance data is a, the second distance data is b, the first weighted value is m, and the second weighted value is n, then n / m=a / b and m+n=1.
[0016] By adopting the above technical solution, adjusting the ratio between the first weighting value and the second weighting value based on the inverse correlation between the ratio between the first distance data and the second distance data allows the sound recorded by the MIC that is closer to the object to be more reflected in the final voice data. This enables the communication terminal to select the main MIC according to the usage scenario to achieve optimal performance. For example, one of the MICs of the communication terminal can be pointed at the object or the person speaking.
[0017] Preferably, the method further includes the following steps:
[0018] The ratio between the first distance data and the second distance data is calculated based on the first input signal, and the ratio between the first weighted value and the second weighted value is adjusted according to the positive correlation of the obtained ratio: where the first distance data is a, the second distance data is b, the first weighted value is m, and the second weighted value is n, then m / n=a / b and m+n=1;
[0019] The ratio between the first distance data and the second distance data is calculated based on the acquired second input signal, and the ratio between the first weighted value and the second weighted value is adjusted according to the inverse correlation of the obtained ratio: where the first distance data is a, the second distance data is b, the first weighted value is m, and the second weighted value is n, then n / m=a / b and m+n=1.
[0020] By adopting the above technical solution, users can actively input a first input signal according to the usage scenario, so that the first MIC is the main MIC and the second MIC is the auxiliary MIC; users can also actively input a second input signal according to the usage scenario, so that the first MIC is the auxiliary MIC and the second MIC is the main MIC, thereby allowing users to actively select the main mic to achieve the best performance.
[0021] Preferably, the method further includes the following steps:
[0022] Within a preset usage period, obtain the current duration data of the current program calling MIC, and the total duration data of other programs calling MIC;
[0023] The final voice data is adjusted according to the positive correlation between the current duration and the total duration data, where: the current duration data is α, the total duration data is β, the first voice data is x, the second voice data is y, and the final voice data is Z, then Z = (α / β) * (a*m + b*n).
[0024] By adopting the above technical solution, the applications that the communication terminal has run are obtained. The importance relationship between the first MIC and the second MIC is adjusted according to the recording interface duration used by different applications. That is, the proportion of the first voice data and the second voice data in the final voice data is adjusted, thereby realizing the selection of the role of the main MIC and the auxiliary MIC. For example, the longer the current program is running, the more the communication terminal is used by the user on a daily basis. Therefore, the proportion of the first voice data of the first MIC needs to be increased. If the current program is only called temporarily, the proportion of the second voice data of the second MIC is increased.
[0025] Preferably, the method further includes the following steps:
[0026] Based on a magnetic component whose position is fixed relative to the sound-emitting part and a magnetic sensor whose position is fixed relative to one of the microphones, the magnetic force data of the magnetic sensor is acquired.
[0027] The first distance data and the second distance data are calculated by looking up the magnetic force data in a preset magnetic distance table.
[0028] By adopting the above technical solution, a magnetic component can be installed on the user's body, located above or below the communication terminal. A magnetic sensor is installed in the communication terminal, and the first distance data and the second distance data are obtained through magnetic force data. By rotating the communication terminal, the roles of the first microphone and the second microphone can be switched.
[0029] Preferably, the method further includes the following steps:
[0030] Record the maximum and minimum values of all the magnetic force data, and calculate the intermediate value based on the maximum and minimum values;
[0031] Calculate the magnetic force ratio between the current magnetic force data and the intermediate value, and adjust the coefficients of the first weighted value and the second weighted value according to the magnetic force ratio;
[0032] Wherein: the first weighting value is m, the second weighting value is n, the final voice data is Z, the maximum value is max, the minimum value is min, the median value is mid, the magnetic force data is C, and the magnetic force ratio is mag. Then, mid = (max + min) / 2, mag = C / mid, m / n = a / b and m + n = 1, Z = (a * m * mag + b * n / mag) or Z = (a * m / mag + b * n * mag).
[0033] By adopting the above technical solution, the magnetic force ratio obtained by using magnetic force data and intermediate values is used to adjust the first weighting value and the second weighting value, thereby adjusting the role allocation of the first MIC and the second MIC.
[0034] As a preferred option, the method also includes:
[0035] Record the maximum and minimum values of all the magnetic force data, and calculate the offset value based on the maximum and minimum values;
[0036] Calculate the magnetic force ratio between the current magnetic force data and the offset value, and adjust the coefficients of the first weighting value and the second weighting value according to the magnetic force ratio;
[0037] Where: the first weighting value is m, the second weighting value is n, the final voice data is Z, the maximum value is max, the minimum value is min, the offset value is offset, the magnetic force data is C, and the magnetic force ratio is mag. Then, offset = (max - min) / 2, mag = (max - C) / offset, m / n = a / b and m + n = 1, Z = (a * m * (1 - mag) + b * n * mag).
[0038] By adopting the above technical solution, the magnetic force ratio is obtained by using the maximum value, offset value and magnetic force data, and the first weighting value and the second weighting value are adjusted to adjust the role allocation of the first MIC and the second MIC.
[0039] Preferably, in the method, a magnetic conductor is provided next to both the first MIC and the second MIC, and the first MIC and the second MIC are both located at the middle position between the magnetic conductor ends of the corresponding magnetic conductors.
[0040] By adopting the above technical solution, the magnetic conductor can constrain most of the magnetic lines of force that originally passed through the MIC into the magnetic conductor, reducing the influence of the magnetic lines of force on the recording structure in the MIC; after the communication terminal is fixed in posture, the magnetic conductor and the magnetic components can also increase the stability of the communication terminal's posture.
[0041] Secondly, the method for switching the state of multiple microphones provided in this application adopts the following technical solution:
[0042] A state switching system for multiple microphones, wherein the state switching method for multiple microphones described above is used in the system.
[0043] Thirdly, the method for switching the state of multiple microphones provided in this application adopts the following technical solution:
[0044] A recording device includes the aforementioned state switching system for multiple microphones.
[0045] In summary, this application includes at least one of the following beneficial technical effects: the roles of the first MIC1 and the second MIC2 are selected by the position and posture of the first MIC and the second MIC on the user's body on the communication terminal, thereby helping to keep the content in the final voice data clear; the roles of the first MIC and the second MIC can also be selected by calling the application in the communication terminal, which can further help to keep the content in the final voice data clear. Attached Figure Description
[0046] Figure 1 This is a flowchart of the method in an embodiment of this application;
[0047] Figure 2This is a physical illustration of the distance sensor used in the embodiments of this application;
[0048] Figure 3 This is a flowchart of the method for adjusting the MIC according to the currently running program in this application embodiment;
[0049] Figure 4 This is a flowchart of the method for calculating the magnetic force ratio using intermediate values in the embodiments of this application;
[0050] Figure 5 This is a flowchart of the method for calculating the magnetic force ratio using offset values in the embodiments of this application;
[0051] Figure 6 This is a physical illustration of the magnetic sensor used in the embodiments of this application.
[0052] Reference numerals: 1. First microphone; 2. Second microphone; 3. Magnetic component; 4. Magnetic sensor; 5. Magnetic conductor; 6. First button; 7. Second button. Detailed Implementation
[0053] The following is in conjunction with the appendix Figure 1-6 This application will be described in further detail.
[0054] This application discloses a method for switching the state of multiple microphones, based on a communication terminal or other recording device with two microphones. MIC stands for Microphone, a device that converts sound signals into electrical signals. The principle of a microphone is that sound vibrations are transmitted to the microphone diaphragm, driving an internal coil or magnet to generate a changing current. This changing current is then sent to a subsequent sound processing circuit for amplification to obtain the recorded sound data. The communication terminal can be a walkie-talkie, mobile phone, or law enforcement recorder with recording, photography, or video recording functions, preferably a smart device with recording, photography, and video recording functions.
[0055] like Figure 1 and Figure 2 As shown, the MIC is fixed on the communication terminal. The communication terminal has a rotatable back clip that is clipped onto the user's clothing. The communication terminal is worn upright on the user's chest. The communication terminal has two MICs. For example, the first MIC1 is the main MIC on top, and the second MIC2 is the auxiliary MIC on the bottom. The two MICs record separately, and the voice data recorded by each MIC is calculated into the final voice data and recorded.
[0056] Reference Figure 1 A method for switching the state of multiple microphones includes the following steps:
[0057] First speech data is acquired based on the first microphone 1, and the first speech data has a first weighted value. Second speech data is acquired based on the second microphone 2, and the second speech data has a second weighted value. The first weighted value is greater than the second weighted value. The first weighted value corresponds to the first speech data, and the second weighted value corresponds to the second speech data. The first weighted value and the first speech data are used to calculate a first intermediate result, and the second weighted value and the second speech data are used to calculate a second intermediate result. The sound calculation here can be a frequency domain calculation method in sound wave processing. First, the first speech data and the second speech data are converted into frequency domain data through Fast Fourier Transform (FFT). Finally, in the selected frequency band, the data in the first speech data are calculated with the first weighted value, and the data in the second speech data are calculated with the second weighted value. Based on the calculation results, the frequency domain data is converted into time domain data to form sound wave data through Inverse Fast Fourier Transform (IFFT).
[0058] like Figure 1 and Figure 2 As shown, first distance data between the first microphone 1 and the target area is acquired, and second distance data between the second microphone 2 and the target area is acquired. A distance sensor can be installed on the communication terminal; the distance sensor can be an ultrasonic sensor or a laser length sensor. Distance sensors are installed next to both the first microphone 1 and the second microphone 2. The target area can be the user's head. When the communication terminal is worn normally, the distance sensor next to the first microphone 1 detects the distance between the first microphone 1 and the wearer's head to generate the first distance data, and the distance sensor next to the second microphone 2 detects the distance between the second microphone 2 and the wearer's head to generate the second distance data. In another embodiment, the distance sensor next to the second microphone 2 can also detect the distance between the second microphone 2 and the legs or the ground to generate the second distance data. The second distance data is indirectly related to the target area; for example, the sum of the first distance data, the second distance data, and the distance between the two distance sensors on the frame can be a preset value, which can be approximately the user's head height.
[0059] If the first distance data is greater than or equal to the second distance data, then the first weighting value is set to be less than the second weighting value. If the first distance data is greater than or equal to the second distance data, it means the distance between the first microphone 1 and the user's head is greater than the distance between the second microphone 2 and the user's head. Setting the first weighting value less than the second weighting value means that the proportion of the first voice data from the first microphone 1 is less than the proportion of the second voice data from the second microphone 2. Physically, this means setting the second microphone 2 as the primary microphone and the first microphone 1 as the auxiliary microphone. If the first distance data is less than the second distance data, then the first weighting value is set to be greater than the second weighting value. If the first distance data is less than the second distance data, then the first weighting value is set to be greater than the second weighting value. If the first distance data is less than the second distance data, it means the distance between the first microphone 1 and the user's head is closer than the distance between the second microphone 2 and the user's head. Setting the first weighting value greater than the second weighting value means that the proportion of the first voice data from the first microphone 1 is greater than the proportion of the second voice data from the second microphone 2. Physically, this means setting the first microphone 1 as the primary microphone and the second microphone 2 as the auxiliary microphone.
[0060] Based on adjusting the magnitude relationship between the first and second weighted values, the specific changes in the first and second weighted values can be further adjusted. For example, the ratio between the first and second distance data can be calculated, and the ratio can be adjusted inversely based on the obtained ratio. Where the first distance data is 'a', the second distance data is 'b', the first weighted value is 'm', and the second weighted value is 'n', then n / m = a / b and m + n = 1. As the first distance data gradually increases and the second distance data gradually decreases, the first weighted value also gradually decreases, and the second weighted value also gradually increases; conversely, as the first distance data gradually decreases and the second distance data gradually increases, the first weighted value also gradually increases, and the second weighted value also gradually decreases. By adjusting the ratio between the first and second weighted values based on the inverse correlation between the first and second distance data, the sound recorded by the microphone closer to the object will be more clearly reflected in the final voice data, allowing the communication terminal to select the main microphone according to the usage scenario. For example, the specific scenario of the usage method is as follows: the user points the first MIC1 of the communication terminal at himself, and the second MIC2 at the object making the sound or other people speaking. The closer the second MIC2 is to the object or other people, the more the second MIC2 will gradually become the main MIC, and the more the first MIC1 will gradually move away from the user, the more the first MIC1 will gradually become the auxiliary MIC.
[0061] In some use cases, such as Figure 3 As shown, in the above method, the user cannot directly switch between the roles of the first MIC1 and the second MIC2. To allow the user to directly switch between the roles of the first MIC1 and the second MIC2, the method further includes the following steps:
[0062] Based on the acquired first input signal, the ratio between the first distance data and the second distance data is calculated, and the ratio between the first weighted value and the second weighted value is adjusted according to the obtained ratio in a positive correlation: where the first distance data is a, the second distance data is b, the first weighted value is m, and the second weighted value is n, then m / n=a / b and m+n=1. A first button 6 can be set on the communication terminal. After the user presses the first button 6, the first input signal is triggered. After the processor of the communication terminal receives the first input signal, it adjusts the ratio between the first weighted value and the second weighted value in a positive correlation, thereby making the first MIC1, which is the main MIC, become the auxiliary MIC, and the second MIC2, which is the auxiliary MIC, become the main MIC.
[0063] Simultaneously, a second button 7 can be set on the communication terminal. When the user presses the second button 7, a second input signal is triggered. After receiving the second input signal, the processor of the communication terminal adjusts the ratio between the first weighted value and the second weighted value inversely, thereby making the first MIC1, which is an auxiliary MIC, become the main MIC, and the second MIC2, which is the main MIC, become an auxiliary MIC. The method steps for the second input signal are as follows: calculate the ratio between the first distance data and the second distance data based on the acquired second input signal, and adjust the ratio between the first weighted value and the second weighted value inversely according to the obtained ratio: where the first distance data is a, the second distance data is b, the first weighted value is m, and the second weighted value is n, then n / m=a / b and m+n=1.
[0064] The first button 6 and the second button 7 can be physical buttons or touch-triggered buttons. Alternatively, the function of the first button 6 and the second button 7 can be achieved by using the odd or even number of times a single button is pressed. If a single button is used, a proximity sensor or an image sensor can be used to achieve the function of a single button.
[0065] With its multi-functional parameters as required, the communication terminal can run multiple programs. Users can select and call different programs according to different on-site needs. Different programs will also have different methods for calling the microphone, such as... Figure 3 As shown, the specific method includes the following steps: Within a preset usage period, obtain the current duration data of the current program calling the MIC, and the total duration data of other programs calling the MIC. Different running programs use different MIC durations; for example, application ① calls the MIC for 5 seconds, while application ② calls the MIC for 8 seconds.
[0066] Next, the final voice data is adjusted according to the positive correlation between the current duration and the total duration data, where: the current duration data is α, the total duration data is β, the first voice data is x, the second voice data is y, and the final voice data is Z. Then, Z = (α / β) * (a*m + b*n). The processor obtains the applications that the communication terminal has run within a preset 1-hour period. Based on the recording duration used by different applications, it adjusts the importance relationship between the first MIC1 and the second MIC2, that is, adjusts the proportion of first and second voice data in the final voice data, thereby realizing the selection of the main MIC and auxiliary MIC roles. Specifically, the longer the currently running program runs, such as when the MIC is called for up to 45 minutes, the more it indicates that the running program is a program that the user uses regularly. If the user of the communication terminal uses the initial software that only records video for a long time, then the proportion of first voice data of the first MIC1 needs to be increased. At this time, the communication terminal is in a normal operating state. If the currently running program is only a program that is called temporarily, such as a program that is specifically for taking pictures, recording audio, or having conversations, then the communication terminal is in a special operating state, and the proportion of second voice data of the second MIC2 is increased to facilitate taking pictures, recording audio, or having conversations with other objects or people.
[0067] In some other design schemes, refer to Figure 4 and Figure 6 The principle of detecting magnetic field strength can also be used to roughly measure the first and second distance data. Magnetic field strength detection is based on a magnetic component 3 and a magnetic sensor 4. The magnetic component 3 can be a magnet, and the magnetic sensor 4 can be a Hall switch or a reed switch. The magnet can be placed on the back clip near the first microphone 1 or the second microphone 2, or it can be placed on the user's clothing near the shoulder or in a pocket below the communication terminal, so that the position of the magnet relative to the sound-emitting part is relatively fixed. The magnetic sensor 4 preferably uses a Hall switch; one Hall switch is fixedly installed next to the first microphone 1, and another Hall switch is fixedly installed next to the second microphone 2. The processor in the communication terminal can acquire the magnetic force data generated by the two Hall switches detecting the magnetic field.
[0068] Based on the influence of the magnet on the two microphones, a magnetic conductor 5 is also provided next to both the first microphone 1 and the second microphone 2. The magnetic conductor 5 can be made of a flat, elongated silicon steel sheet. The communication terminal is rectangular, and the magnetic conductor 5 is parallel to the length direction of the communication terminal. The two ends of the silicon steel sheet along its length are magnetic ends, and the first microphone 1 and the second microphone 2 are both located in the middle position between the two magnetic ends. When one of the microphones is close to the magnet, the silicon steel sheet can constrain most of the magnetic lines of force that originally passed through the microphone within the silicon steel sheet, reducing the influence of the magnetic lines of force on the recording structure in the microphone. After the communication terminal's posture is fixed, the attraction between the silicon steel sheet and the magnet can also increase the stability of the communication terminal's posture.
[0069] Based on the magnetic data read by the processor, the processor uses the magnetic data to calculate the first distance data and the second distance data by looking up a preset magnetic distance table. If the magnetic data of the Hall switch next to the first MIC1 is greater than the magnetic data of the Hall switch next to the second MIC2, it means that the first distance data is less than the second distance data; if the magnetic data of the Hall switch next to the first MIC1 is less than the magnetic data of the Hall switch next to the second MIC2, it means that the first distance data is greater than the second distance data; then, the specific first distance data and the second distance data can be obtained by looking up the table.
[0070] Based on the lookup table, the maximum and minimum values of all magnetic force data can be recorded, and the median value can be calculated based on the maximum and minimum values. Here, the maximum value is `max`, the minimum value is `min`, the median value is `mid`, and the magnetic force data is `C`. Therefore, `mid` = (`max` + `min`) / 2. The magnetic force ratio between the current magnetic force data and the median value is calculated, and the coefficients of the first and second weighting values are adjusted according to the magnetic force ratio. Here, the first weighting value is `m`, the second weighting value is `n`, the final voice data is `Z`, and the magnetic force ratio is `mag`. Then, `mag` = `C` / `mid`, therefore, `m / n` = `a / b` and `m + n` = 1, Z = (`a * m * mag` + `b * n / mag`) or Z = (`a * m / mag` + `b * n * mag`).
[0071] Additionally, refer to Figure 5 and Figure 6 In addition to calculating the intermediate value, it can also record the maximum and minimum values of all magnetic force data. The offset value is calculated based on the maximum and minimum values. The magnetic force ratio of the current magnetic force data to the offset value is calculated. The coefficients of the first weighting value and the second weighting value are adjusted according to the magnetic force ratio. Then, offset = (max - min) / 2, mag = (max - C) / offset, m / n = a / b and m + n = 1, Z = (a * m * (1 - mag) + b * n * mag).
[0072] The role allocation of the first MIC1 and the second MIC2 can be adjusted by using the magnetic force ratio obtained from magnetic force data and intermediate values, or by using the maximum value, offset value, and magnetic force data to obtain the magnetic force ratio. When using intermediate values for adjustment, the changes in the first and second weighted values are roughly linear and the range of change is relatively limited; when using offset values for adjustment, the changes in the first and second weighted values are curvilinear and the range of change is more limited.
[0073] After obtaining the first and second weighted values adjusted in real time, the first and second voice data are calculated into the final voice data based on the latest first and second weighted values, and the final voice data is output.
[0074] The user wears the communication terminal. If the terminal does not have a magnet, the magnet can be placed on the top or bottom of the terminal. Rotating the terminal changes the relative position between the microphone and the user's vocal cords. This change increases the distance between the first microphone (MIC1) and the vocal cords, and decreases the distance between the second microphone (MIC2) and the vocal cords. By adjusting the calculation parameters of the final voice data, the recorded sound remains clear. Rotating the terminal allows switching between the primary and auxiliary microphones. Additionally, pressing the first button (6) or the second button (7) switches between the first and second microphones.
[0075] This embodiment also discloses a state switching system for multiple microphones, in which the above-described state switching method for multiple microphones is used.
[0076] This embodiment also discloses a recording device, which includes the aforementioned state switching system for multiple microphones.
[0077] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.
Claims
1. A method for switching states of multiple microphones, characterized in that: Includes the following steps: First voice data is acquired based on the first microphone (1), the first voice data having a first weighted value; second voice data is acquired based on the second microphone (2), the second voice data having a second weighted value; the first weighted value is greater than the second weighted value; Obtain first distance data between the first MIC (1) and the target part, and obtain second distance data between the second MIC (2) and the target part; If the first distance data is greater than or equal to the second distance data, then the first weighted value is set to be less than the second weighted value; if the first distance data is less than the second distance data, then the first weighted value is set to be greater than the second weighted value. The system calculates the first voice data and the second voice data into final voice data in real time based on the latest first weighting value and the second weighting value, and outputs the final voice data. The method also includes the following steps: Based on the magnetic component (3) which is fixed in position relative to the sound-emitting part and the magnetic sensor (4) which is fixed in position relative to one of the MICs, the magnetic force data of the magnetic sensor (4) is obtained. The first distance data and the second distance data are calculated by looking up the magnetic force data in a preset magnetic distance table. Calculate the ratio between the first distance data and the second distance data, and adjust the ratio between the first weighted value and the second weighted value based on the obtained ratio: where the first distance data is a, the second distance data is b, the first weighted value is m, and the second weighted value is n, then n / m=a / b and m+n=1; or, The ratio between the first distance data and the second distance data is calculated based on the first input signal, and the ratio between the first weighted value and the second weighted value is adjusted according to the positive correlation of the obtained ratio: where the first distance data is a, the second distance data is b, the first weighted value is m, and the second weighted value is n, then m / n=a / b and m+n=1; The ratio between the first distance data and the second distance data is calculated based on the acquired second input signal, and the ratio between the first weighted value and the second weighted value is adjusted according to the obtained ratio: where the first distance data is a, the second distance data is b, the first weighted value is m, and the second weighted value is n, then n / m=a / b and m+n=1; The method also includes the following steps: Record the maximum and minimum values of all the magnetic force data, and calculate the intermediate value based on the maximum and minimum values; Calculate the magnetic force ratio between the current magnetic force data and the intermediate value, and adjust the coefficients of the first weighted value and the second weighted value according to the magnetic force ratio; Where: the first weighting value is m, the second weighting value is n, the final voice data is Z, the maximum value is max, the minimum value is min, the median value is mid, the magnetic force data is C, and the magnetic force ratio is mag. Then, mid = (max + min) / 2, mag = C / mid, m / n = a / b and m + n = 1, Z = (a * m * mag + b * n / mag) or Z = (a * m / mag + b * n * mag). or, Record the maximum and minimum values of all the magnetic force data, and calculate the offset value based on the maximum and minimum values; Calculate the magnetic force ratio between the current magnetic force data and the offset value, and adjust the coefficients of the first weighting value and the second weighting value according to the magnetic force ratio; Where: the first weighting value is m, the second weighting value is n, the final voice data is Z, the maximum value is max, the minimum value is min, the offset value is offset, the magnetic force data is C, and the magnetic force ratio is mag. Then, offset = (max - min) / 2, mag = (max - C) / offset, m / n = a / b and m + n = 1, Z = (a * m * (1 - mag) + b * n * mag).
2. The method for switching states of multiple MICs according to claim 1, characterized in that: The method also includes the following steps: Within a preset usage period, obtain the current duration data of the current program calling MIC, and the total duration data of other programs calling MIC; The final voice data is adjusted according to the positive correlation between the current duration and the total duration data, where: the current duration data is α, the total duration data is β, the first voice data is x, the second voice data is y, and the final voice data is Z, then Z = (α / β) * (a*m + b*n).
3. The method for switching states of multiple MICs according to claim 1, characterized in that: In the method, a magnetic conductor (5) is provided next to both the first MIC (1) and the second MIC (2), and the first MIC (1) and the second MIC (2) are both located at the middle position between the magnetic conductor ends of the corresponding magnetic conductors (5).
4. A state switching system for multiple microphones, characterized in that: The system uses the state switching method for multiple MICs as described in any one of claims 1-3.
5. A recording device, characterized in that: A state switching system for multiple MICs as described in claim 4 is provided.
Citation Information
Patent Citations
Court trial voice real-time transcription method and device, compute device and storage medium
CN109192213A
Electronic equipment and included angle detection method applied to electronic equipment
CN113137913A