Anti-howling method and vehicle-mounted KTV system
By presetting distance threshold and volume values in the on-board KTV system, combined with sensor and audio processing technology, the speaker volume and frequency are automatically adjusted, and the howling problem caused by the close position of the microphone and the speaker is solved, improving the audio quality and user experience.
Patent Information
- Application Number
- CN202411165909.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-12-03
AI Technical Summary
In the on-board KTV system, when the microphone and the speaker are too close, it is easy to whistle, resulting in closed-loop feedback of sound, affecting the audio quality and user experience.
By preset distance threshold and volume value, obtain the distance and orientation information between the microphone and the speaker, automatically adjust the speaker volume, and optionally use sensors, equalizers, feedback suppressors and filters to adjust the volume and frequency to eliminate howling. .
It effectively avoids the whistling of speakers, improves the clarity and user experience of the audio, and ensures the normal operation of the on-board KTV system.
Smart Images

Figure CN119071699A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of vehicle-mounted KTV, in particular to an anti-howling method and a vehicle-mounted KTV system. Background Art
[0002] When using the car KTV system, if the microphone and speaker are too close, after the sound is input from the microphone to the speaker, the sound output from the speaker will be captured by the microphone again, forming a closed-loop positive feedback of the audio signal, resulting in a sharp, continuous high-frequency sound in the microphone, namely howling; this phenomenon will make the use of the car KTV system feel poor.
[0003] Therefore, it is very important for those skilled in the art to design an anti-howling method and a vehicle-mounted KTV system for use in a vehicle-mounted KTV system. Summary of the invention
[0004] The technical problem to be solved by the embodiments of the present invention is to provide an anti-howling method for a vehicle-mounted KTV system and a vehicle-mounted KTV system, so as to solve the problem that the microphone is prone to howling in the prior art.
[0005] The present invention discloses a method for preventing howling, which is used in a vehicle-mounted KTV system. The method comprises the following steps:
[0006] Preset a first distance threshold and a corresponding first volume value and a second volume value;
[0007] Obtain the distance between the microphone and the speaker and the orientation information of the microphone relative to the speaker;
[0008] When the distance between the microphone and the speaker is less than a first distance threshold and the microphone is not facing the speaker, controlling the volume of the speaker to be adjusted to a first volume value;
[0009] When the distance between the microphone and the speaker is less than the first distance threshold and the microphone is facing the speaker, the volume of the speaker is controlled to be adjusted to a second volume value.
[0010] Optionally, the second volume value is smaller than the first volume value.
[0011] Optionally, the method further comprises the following steps:
[0012] A sensor is arranged on the microphone, and position information and direction information of the microphone is obtained through the sensor;
[0013] The distance between the microphone and the speaker and the orientation information of the microphone relative to the speaker are obtained through the position information and direction information of the microphone.
[0014] Optionally, the method further comprises the following steps:
[0015] Identify the sound frequency of repeated feedback between the microphone and the speaker, and control the equalizer to reduce the gain at this sound frequency.
[0016] Optionally, the method further comprises the following steps:
[0017] Identify the sound frequency of repeated feedback between the microphone and the speaker, and control the feedback suppressor to eliminate the sound frequency.
[0018] Optionally, the method further comprises the following steps:
[0019] Preset a first distance threshold and a corresponding first response frequency and second response frequency;
[0020] When the distance between the microphone and the speaker is less than a first distance threshold and the microphone is not facing the speaker, the filter is controlled to adjust to a first response frequency;
[0021] When the distance between the microphone and the loudspeaker is less than a first distance threshold and the microphone is facing the loudspeaker, the filter is controlled to be adjusted to a second response frequency.
[0022] Optionally, the method further comprises the following steps:
[0023] Presetting a second distance threshold;
[0024] When the distance between the microphone and the speaker is less than a second distance threshold, the speaker is turned off.
[0025] To solve the problems of the prior art, the present invention also provides a car-mounted KTV system, which is used to implement the anti-howling method as described in any one of claims 1-7, including: a controller, a microphone and multiple speakers, and the microphone and the speakers are all connected to the controller.
[0026] Optionally, the microphone is provided with a sensor, and the controller is provided with a receiving end, and the receiving end is used to receive the sensor signal.
[0027] Optionally, an equalizer, a feedback suppressor and a filter are also included, and the equalizer, feedback suppressor and filter are all connected to the controller.
[0028] Compared with the prior art, the anti-howling method provided by the embodiment of the present invention has the beneficial effect of: by designing an anti-howling method applied to a car-mounted KTV system, the distance between the microphone and the speaker and the orientation information of the microphone relative to the speaker are automatically obtained, and the volume of the speaker is automatically adjusted according to the distance between the microphone and the speaker and the orientation information of the microphone relative to the speaker, so as to timely avoid the howling of the speaker, thereby improving the clarity and quality of the audio and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments, in which:
[0030] Figure 1 The process of the anti-howling method provided by the embodiment of the present invention is as follows Figure 1 ;
[0031] Figure 2 The process of the anti-howling method provided by the embodiment of the present invention is as follows Figure 2 ;
[0032] Figure 3 The process of the anti-howling method provided by the embodiment of the present invention is as follows Figure 3 ;
[0033] Figure 4 The process of the anti-howling method provided by the embodiment of the present invention is as follows Figure 4 ;
[0034] Figure 5 The process of the anti-howling method provided by the embodiment of the present invention is as follows Figure 5 ;
[0035] Figure 6 The process of the anti-howling method provided by the embodiment of the present invention is as follows Figure 6 ;
[0036] Figure 7 It is a structural block diagram of the vehicle-mounted KTV system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0037] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. Now, in conjunction with the accompanying drawings, a preferred embodiment of the present invention is described in detail.
[0038] like Figures 1 to 6 As shown, the present invention provides a specific embodiment of an anti-howling method.
[0039] A method for preventing howling, used in a car KTV system, referring to Figure 1 , including the following steps:
[0040] S1, presetting a first distance threshold and a corresponding first volume value and a second volume value;
[0041] S2, obtaining the distance between the microphone and the speaker and the orientation information of the microphone relative to the speaker;
[0042] S3, when the distance between the microphone and the speaker is less than a first distance threshold and the microphone is not facing the speaker, controlling the volume of the speaker to be adjusted to a first volume value;
[0043] S4. When the distance between the microphone and the speaker is less than a first distance threshold and the microphone is directed toward the speaker, the volume of the speaker is controlled to be adjusted to a second volume value.
[0044] Specifically, a first distance threshold is preset, which is a critical value for whether howling occurs. When the distance between the microphone and the speaker is too close, the microphone captures the sound output by the speaker and inputs the captured sound into the amplifier again, forming a closed feedback loop, which will cause the sound to be continuously amplified and eventually produce a howling sound. Therefore, it is necessary to maintain a certain distance between the microphone and the speaker, or adjust the direction of the microphone to not directly point at the speaker. Both methods can reduce the generation of feedback loops, and the first distance threshold is the minimum distance allowed between the microphone and the speaker without generating howling.
[0045] Among them, for determining the first distance threshold, machine learning can be used to identify the impact of microphone direction and distance on howling, and a model can be trained based on historical learning data to infer the critical distance for howling and set it as the first distance threshold.
[0046] Furthermore, when the distance between the microphone and the speaker is greater than a first distance threshold, howling will not occur and there is no need to adjust the volume of the speaker; and when the distance between the microphone and the speaker is less than the first distance threshold, if the volume of the speaker is not adjusted, howling will occur in the speaker; after multiple tests, the maximum volume value at which the speaker does not howl when the distance between the microphone and the speaker is less than the first distance threshold and is not facing the speaker is obtained, and the volume value is set to the first volume value; after multiple tests, the maximum volume value at which the speaker does not howl when the distance between the microphone and the speaker is less than the first distance threshold and is facing the speaker is obtained, and the volume value is set to the second volume value.
[0047] Furthermore, a first distance threshold, a first volume value, and a second volume value are preset in the system. After obtaining the current distance between the microphone and the speaker and the orientation information of the microphone relative to the speaker, the speaker is controlled to make corresponding adjustments. That is, when the distance between the microphone and the speaker is less than the first distance threshold and is not facing the speaker, the speaker volume is controlled to be adjusted to the first volume value; when the distance between the microphone and the speaker is less than the first distance threshold and is facing the speaker, the speaker volume is controlled to be adjusted to the second volume value.
[0048] In this embodiment, by designing an anti-howling method applied to a car KTV system, the distance between the microphone and the speaker and the orientation information of the microphone relative to the speaker are automatically obtained, and the volume of the speaker is automatically adjusted according to the distance between the microphone and the speaker and the orientation information of the microphone relative to the speaker, so as to avoid the howling of the speaker in time, thereby improving the clarity and quality of the audio and improving the user experience.
[0049] In one embodiment, the second volume value is smaller than the first volume value.
[0050] Specifically, the adjustment of the speaker volume needs to consider two factors, the distance between the microphone and the speaker, and the direction of the microphone. When the microphone is not facing the speaker, the anti-howling adjustment distance standard can be appropriately reduced. Conversely, when the microphone is facing the speaker, the anti-howling adjustment distance standard can be appropriately increased. When the distance between the microphone and the speaker is fixed, when the microphone is facing the speaker, the volume of the speaker needs to be smaller to prevent howling, that is, the value of the second standard volume needs to be smaller than the value of the first standard volume.
[0051] In one embodiment, reference Figure 2 , further comprising the following steps:
[0052] S21, setting a sensor on the microphone, and obtaining microphone position information and direction information through the sensor;
[0053] S22. Acquire the distance between the microphone and the speaker and the orientation information of the microphone relative to the speaker through the position information and direction information of the microphone.
[0054] Specifically, by arranging a sensor on the microphone, the position information and direction information of the microphone can be obtained in real time. Specifically, a sensor such as a six-axis gyroscope can be used to communicate with a system receiver to obtain the position information and direction information of the microphone.
[0055] Among them, the six-axis gyroscope is a common inertial measurement device, which is usually used to measure parameters such as the attitude, angular velocity and acceleration of the equipment. It is usually composed of a three-axis gyroscope and a three-axis accelerometer, which can provide more comprehensive and accurate motion information; the three-axis gyroscope is used to measure the angular velocity of the device around three axes (X-axis, Y-axis and Z-axis). By measuring the angular velocity, the rotation direction and speed of the device can be determined, thereby monitoring the attitude changes of the device in real time; the three-axis accelerometer is used to measure the acceleration of the device on three axes. By measuring the acceleration, the linear motion state of the device can be determined, including acceleration, deceleration and stationary state, and provide accurate motion data.
[0056] In one embodiment, reference Figure 3 , further comprising the following steps:
[0057] S51, identifying the sound frequency of repeated feedback between the microphone and the speaker, and controlling the equalizer to reduce the gain at the sound frequency.
[0058] Specifically, speaker howling is caused by the sound frequency that is repeatedly fed back between the microphone and the speaker. The speaker howling can be prevented by identifying the sound frequency that is repeatedly fed back between the microphone and the speaker and reducing the gain of this sound frequency through an equalizer. When adjusting the equalizer, it is necessary to monitor the audio output in real time, pay attention to whether there is a howling sound, and gradually adjust the equalizer parameters based on the feedback from real-time monitoring.
[0059] In one embodiment, reference Figure 4 , further comprising the following steps:
[0060] S52, identifying the sound frequency of repeated feedback between the microphone and the speaker, and controlling the feedback suppressor to eliminate the sound frequency.
[0061] Specifically, the feedback suppressor is used to eliminate or reduce feedback occurring in the system, that is, the howling sound caused by the positive feedback loop between the microphone and the speaker. The feedback suppressor can identify and suppress this howling sound to ensure the normal operation and sound quality performance of the audio system.
[0062] In one embodiment, reference Figure 5 , further comprising the following steps:
[0063] S531, presetting a first distance threshold and a corresponding first response frequency and second response frequency;
[0064] S532, when the distance between the microphone and the speaker is less than a first distance threshold and the microphone is not facing the speaker, controlling the filter to adjust to a first response frequency;
[0065] S533: When the distance between the microphone and the speaker is less than a first distance threshold and the microphone is facing the speaker, control the filter to adjust to a second response frequency.
[0066] Specifically, a first distance threshold is preset, which is a critical value for whether howling occurs. When the distance between the microphone and the speaker is too close, the microphone captures the sound output by the speaker and inputs the captured sound into the amplifier again, forming a closed-loop feedback loop, which will cause the sound to be continuously amplified and eventually produce a howling sound. Therefore, it is necessary to maintain a certain distance between the microphone and the speaker, or adjust the direction of the microphone to not directly point at the speaker. Both methods can reduce the generation of feedback loops, and the first distance threshold is the minimum distance allowed between the microphone and the speaker without generating howling. Among them, for determining the first distance threshold, machine learning can be used to identify the influence of the microphone direction and distance on howling, and based on the historical learning data training model, the critical distance for generating howling is inferred and set as the first distance threshold.
[0067] Furthermore, when the distance between the microphone and the speaker is greater than a first distance threshold, no howling will occur and there is no need to adjust the response frequency of the filter; when the distance between the microphone and the speaker is less than the first distance threshold, the response frequency of the filter needs to be adjusted to eliminate the howling sound. Since the orientation of the microphone relative to the speaker is also likely to cause howling sounds to varying degrees, when adjusting the response frequency, it is necessary to set the first response frequency and the second response frequency according to the orientation of the microphone relative to the speaker to achieve different degrees of suppression of the howling sound in different situations.
[0068] Furthermore, the first distance threshold, the first response frequency and the second response frequency are preset in the system. After obtaining the current distance between the microphone and the speaker and the orientation information of the microphone relative to the speaker, the control filter is adjusted accordingly, that is, when the distance between the microphone and the speaker is less than the first distance threshold and is not facing the speaker, the control filter volume is adjusted to the first response frequency; when the distance between the microphone and the speaker is less than the first distance threshold and is facing the speaker, the control filter volume is adjusted to the second response frequency.
[0069] In one embodiment, reference Figure 6 , further comprising the following steps:
[0070] S41, presetting a second distance threshold;
[0071] S42: When the distance between the microphone and the speaker is less than a second distance threshold, turn off the speaker.
[0072] Specifically, the second distance threshold is smaller than the first distance threshold. The distance and direction between the microphone and the speaker are key factors affecting whether the speaker generates howling. When the distance between the microphone and the speaker is close, the volume of the speaker needs to be turned down to avoid howling. The smaller the distance between the microphone and the speaker, the smaller the volume of the speaker needs to be adjusted. When the distance between the microphone and the speaker is smaller than the second distance threshold, turning down the volume of the speaker cannot solve the howling problem. At this time, all speakers need to be turned off, or the speaker closest to the microphone needs to be turned off.
[0073] like Figure 7 As shown, the present invention also provides a specific embodiment of a vehicle-mounted KTV system.
[0074] A car KTV system, reference Figure 7 The car KTV system is used to implement the above anti-howling method. The car KTV system includes: a controller 1, a microphone 2, and multiple speakers (speaker 1, speaker 2, speaker 3, etc.), and the microphone 2 and the multiple speakers are all connected to the controller 1.
[0075] Specifically, refer to Figure 7 The microphone is used for audio input, and the multiple speakers are used for audio output. The controller is used to obtain the distance information and direction information between the microphone and the speaker, and is used to control the corresponding speaker to adjust the volume or control the corresponding speaker to be turned off according to the distance information and direction information between the microphone and the speaker.
[0076] In one embodiment, reference Figure 7 The microphone is provided with a sensor, and the controller is provided with a receiving end, which is used to receive the sensor signal.
[0077] Specifically, refer to Figure 7 By installing a sensor on the microphone and a sensor signal receiving end on the controller, and through the coordinated positioning of the sensor and the receiving end, the system can obtain the real-time position information and orientation information of the microphone, thereby obtaining the distance between the microphone and the speaker, as well as the orientation relationship between the microphone and the speaker.
[0078] In one embodiment, the vehicle-mounted KTV system further includes an equalizer, a feedback suppressor and a filter, and the equalizer, the feedback suppressor and the filter are all connected to the controller.
[0079] Specifically, the equalizer is used to adjust the volume of different frequency ranges in the audio signal to change the timbre of the sound and balance the volume of each frequency band. By adjusting the equalizer, the volume of the frequency range repeatedly received between the microphone and the speaker can be weakened, thereby eliminating howling. The feedback suppressor is used to identify and suppress feedback sounds that may be generated in the system, namely howling. Through technologies such as adaptive filters, the feedback signals in the system are monitored and processed in real time to reduce or eliminate howling to ensure the normal operation of the audio system. The filter is used to selectively pass or block signals in a specific frequency range to filter out unnecessary frequency components. In this embodiment, the filter can eliminate feedback sounds that may be generated in the system, namely howling.
[0080] It should be understood that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. For those skilled in the art, the technical solutions described in the above embodiments can be modified, or some of the technical features therein can be replaced by equivalents; and all these modifications and replacements should fall within the protection scope of the claims attached to the present invention.
Claims
1. A method for preventing howling, used in a car KTV system. It is characterized in that The following steps are involved: Preset a first distance threshold and a corresponding first volume value and a second volume value; Obtain the distance between the microphone and the speaker and the orientation information of the microphone relative to the speaker; When the distance between the microphone and the speaker is less than a first distance threshold and the microphone is not facing the speaker, controlling the volume of the speaker to be adjusted to a first volume value; When the distance between the microphone and the speaker is less than the first distance threshold and the microphone is facing the speaker, the volume of the speaker is controlled to be adjusted to a second volume value.
2. The anti-howling method according to claim 1, It is characterized in that The second volume value is smaller than the first volume value.
3. The anti-howling method according to claim 1, It is characterized in that The following steps are also included: A sensor is arranged on the microphone, and position information and direction information of the microphone is obtained through the sensor; The distance between the microphone and the speaker and the orientation information of the microphone relative to the speaker are obtained through the position information and direction information of the microphone.
4. The anti-howling method according to claim 1, It is characterized in that The following steps are also included: Identify the sound frequency of repeated feedback between the microphone and the speaker, and control the equalizer to reduce the gain at this sound frequency.
5. The anti-howling method according to claim 1, It is characterized in that The following steps are also included: Identify the sound frequency of repeated feedback between the microphone and the speaker, and control the feedback suppressor to eliminate the sound frequency.
6. The anti-howling method according to claim 1, It is characterized in that The following steps are also included: Preset a first distance threshold and a corresponding first response frequency and second response frequency; When the distance between the microphone and the speaker is less than a first distance threshold and the microphone is not facing the speaker, the filter is controlled to adjust to a first response frequency; When the distance between the microphone and the loudspeaker is less than a first distance threshold and the microphone is facing the loudspeaker, the filter is controlled to be adjusted to a second response frequency.
7. The anti-howling method according to claim 1, It is characterized in that The following steps are also included: Presetting a second distance threshold; When the distance between the microphone and the speaker is less than a second distance threshold, the speaker is turned off.
8. A car-mounted KTV system, It is characterized in that The anti-howling method according to any one of claims 1 to 7 comprises: a controller, a microphone and a plurality of speakers, wherein the microphone and the plurality of speakers are connected to the controller.
9. The vehicle-mounted KTV system according to claim 8, It is characterized in that The microphone is provided with a sensor, and the controller is provided with a receiving end, and the receiving end is used to receive the sensor signal.
10. The vehicle-mounted KTV system according to claim 8, It is characterized in that It also includes an equalizer, a feedback suppressor and a filter, and the equalizer, feedback suppressor and filter are all connected to the controller.
